]> xenbits.xensource.com Git - xen.git/commit
x86/spec-ctrl: Support Intel PSFD for guests
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 19 Oct 2021 20:22:27 +0000 (21:22 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 8 Feb 2022 18:00:08 +0000 (18:00 +0000)
commit52ce1c97844db213de01c5300eaaa8cf101a285f
tree559ccdc16d97e830b9b1bd4fb436cd499820871a
parentf3709b15fc86c6c6a0959cec8d97f21d0e9f9629
x86/spec-ctrl: Support Intel PSFD for guests

The Feb 2022 microcode from Intel retrofits AMD's MSR_SPEC_CTRL.PSFD interface
to Sunny Cove (IceLake) and later cores.

Update the MSR_SPEC_CTRL emulation, and expose it to guests.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libs/light/libxl_cpuid.c
tools/misc/xen-cpuid.c
xen/arch/x86/msr.c
xen/arch/x86/spec_ctrl.c
xen/include/public/arch-x86/cpufeatureset.h
xen/tools/gen-cpuid.py