Re: [PATCH v2 1/2] x86/boot/32: Delete cpuinfo_x86::wp_works_ok

From: Borislav Petkov
Date: Wed Mar 29 2017 - 16:22:10 EST


On Wed, Mar 29, 2017 at 09:48:41AM -0700, Andy Lutomirski wrote:
> Linux refuses to boot if WP doesn't work okay, so tracking whether
> it works serves no purpose. The only use I can see at all for wp_works_ok
> is that it lets Xen bypass test_wp_bit(). If this is truly needed,
> it could be more cleanly handled using X86_FEATURE_XENPV, but it
> looks like Xen can handle test_wp_bit() correctly without special
> cases at all.
>
> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=6415813bae75feba10b8ca3ed6634a72c2a4d313

What's up?

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.