Re: [RFC] x86_64: A real proposal for iret-less return to kernel

From: H. Peter Anvin
Date: Tue May 20 2014 - 22:34:42 EST


On 05/20/2014 07:27 PM, Steven Rostedt wrote:
>>
>> FWIW, if there's a way to read the NMI masking bit, this would be a
>> lot simpler. I don't know of any way to do that, though.
>
> Is there such a thing on all x86?
>

It is not possible to read this bit without the assistance of SMM to the
best of my knowledge.

I'm going to do a detailed review of this proposal as soon as possible,
hopefully later tonight.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/