Re: [RFC] #MC mess

From: Borislav Petkov
Date: Wed Feb 19 2020 - 09:43:30 EST


On Wed, Feb 19, 2020 at 09:21:15AM -0500, Steven Rostedt wrote:
> What would be nice is to have a NMI_IRET, that is defined as something
> that wont break legacy CPUs. Where it could be just a nop iret, or maybe
> if possible a "lock iret"? That is, not have a IRET_NON_NMI, as that
> would be all over the place, but just the iret for NMI itself. As
> that's in one place.

You mean, we could keep the nested NMI thing but it won't practically
get executed on NMI_IRET CPUs because there won't be any NMI nesting
anymore?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette