Re: [PATCH v3 01/11] x86/boot: enumerate documentation for the x86 hardware_subarch

From: Andy Lutomirski
Date: Wed Feb 24 2016 - 11:40:59 EST


On Feb 24, 2016 12:33 AM, "Ingo Molnar" <mingo@xxxxxxxxxx> wrote:
>
> For hard coded platform quirks I'd suggest we add x86_platform.quirks flags. For
> example the F00F hack for Xen could be done via:
>
> x86_platform.quirks.idt_remap = 0;
>

Don't we unconditionally remap the IDT? I think Kees did it for
general purpose hardening due to our complete inability to hide the
IDT address. I.e. I think we can remove the f00f condition entirely.

Other than that, I agree with you.