lkml.org 
[lkml]   [2014]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: STI architectural question (and lretq -- I'm not even kidding)
On Wed, Jul 23, 2014 at 2:18 PM, Andi Kleen <andi@firstfloor.org> wrote:
> Andy Lutomirski <luto@amacapital.net> writes:
>
>> I think an MCE just might be okay -- it's not
>> really recoverable anyway.
>
> That's wrong.

I think that, other than broadcast MCEs, #MC that hits in kernel mode
is non-recoverable, or at least can't safely be recovered. (There's a
separate APIC interrupt for recoverable errors, I think, but that's a
much saner interface.)

Regardless, I put in a fixup in the patches I sent out -- they should
be just as safe as existing code if a #MC hits right after sti. I
have no idea how to test that, though...

--Andy

>
> -Andi
>
> --
> ak@linux.intel.com -- Speaking for myself only



--
Andy Lutomirski
AMA Capital Management, LLC


\
 
 \ /
  Last update: 2014-07-24 00:22    [W:0.383 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site