]> xenbits.xensource.com Git - xen.git/commit
x86/cmdline: Introduce a command line option to disable IBRS/IBPB, STIBP and IBPB
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Nov 2017 16:12:13 +0000 (16:12 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 16 Jan 2018 17:45:50 +0000 (17:45 +0000)
commit7850b1c00749df834ea2ad0c1f5d9364c4838795
tree24ec3216da72f1d56f24b2dfe4470a093bdb5d53
parent0d703a701cc4bc47773986b2796eebd28b1439b5
x86/cmdline: Introduce a command line option to disable IBRS/IBPB, STIBP and IBPB

Instead of gaining yet another top level boolean, introduce a more generic
cpuid= option.  Also introduce a helper function to parse a generic boolean
value.

This is part of XSA-254.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/cpuid.c
xen/common/kernel.c
xen/include/xen/lib.h