x86: Begin to introduce support for MSR_ARCH_CAPS
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Apr 2018 15:25:40 +0000 (16:25 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 27 Aug 2020 11:48:46 +0000 (12:48 +0100)
commite32605b07ef2e01c9d05da9b2d5d7b8f9a5c7c1b
tree290e0d7ad82eabe541f37a89d6361efd8b754caf
parent70c52c46bca89de00f04aa9294e14d11a2adff80
x86: Begin to introduce support for MSR_ARCH_CAPS

... including serialisation/deserialisation logic and unit tests.

There is no current way to configure this MSR correctly for guests.
The toolstack side this logic needs building, which is far easier to
do with it in place.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/tests/cpu-policy/test-cpu-policy.c
xen/arch/x86/msr.c
xen/include/public/arch-x86/cpufeatureset.h
xen/include/xen/lib/x86/msr.h
xen/lib/x86/msr.c