]> xenbits.xensource.com Git - xen.git/commit
x86/msr: Emulation of MSR_{SPEC_CTRL,PRED_CMD} for guests
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 9 Nov 2017 19:28:04 +0000 (19:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 26 Jan 2018 14:10:21 +0000 (14:10 +0000)
commitea58a679a6190e714a592f1369b660769a48a80c
tree6533b518837b4c29a5d549cc9ba6d4274cc702cf
parentd297b56682e730d598e2529cc6998151d3b6f6f8
x86/msr: Emulation of MSR_{SPEC_CTRL,PRED_CMD} for guests

As per the spec currently available here:

https://software.intel.com/sites/default/files/managed/c5/63/336996-Speculative-Execution-Side-Channel-Mitigations.pdf

MSR_ARCH_CAPABILITIES will only come into existence on new hardware, but is
implemented as a straight #GP for now to avoid being leaky when new hardware
arrives.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/msr.c
xen/include/asm-x86/msr-index.h
xen/include/asm-x86/msr.h