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

From: H. Peter Anvin
Date: Wed May 21 2014 - 18:01:14 EST


On 05/21/2014 02:54 PM, Borislav Petkov wrote:
> On Wed, May 21, 2014 at 02:47:03PM -0700, Andy Lutomirski wrote:
>> Is there anything actually wrong with just panicking if
>> !user_mode_vm(regs)? That would make this a lot more sane.
>
> It does that already - mce_severity().
>

So this is not a problem then.

-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/