]> xenbits.xensource.com Git - xen.git/commit
x86/msr: Correct the emulation behaviour of MSR_PRED_CMD
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 16 Apr 2018 10:56:00 +0000 (10:56 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 16 Apr 2018 12:18:19 +0000 (13:18 +0100)
commita6aa678fa380e9369cc44701a181142322b3a4b0
tree02dee31271213bcc5fdac6e0018cf23550a2dcb7
parent87c0718ce7f0fe80065c8f54d99774e0741780f2
x86/msr: Correct the emulation behaviour of MSR_PRED_CMD

Experimentally, the behaviour of reserved bits in MSR_PRED_CMD changed between
beta and production microcode, and now raises a #GP fault for set reserved
bits.  The AMD spec for future hardware also specifies this behaviour, and it
is the more sensible behaviour to implement.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/msr.c