x86: Enumeration for Control-flow Enforcement Technology
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 21 Feb 2020 17:56:57 +0000 (17:56 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 21 Apr 2020 15:52:03 +0000 (16:52 +0100)
commit4803a67114279a656a54a23cebed646da32efeb6
treef49724dad785cf270051a71aace777605b3b71bc
parent7aacf6ac49829d8dd6242f67460f4d52d0d36503
x86: Enumeration for Control-flow Enforcement Technology

The CET spec has been published and guest kernels are starting to get support.
Introduce the CPUID and MSRs, and fully block the MSRs from guest use.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libxl/libxl_cpuid.c
tools/misc/xen-cpuid.c
xen/arch/x86/msr.c
xen/include/asm-x86/msr-index.h
xen/include/public/arch-x86/cpufeatureset.h