Messages in this thread | | | From | Andy Lutomirski <> | Date | Wed, 23 Jul 2014 14:52:53 -0700 | Subject | Re: 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
| |