Changes for two software visible changes in the Intel Feb 2022 microcode drop. 1) Deprecation of TSX on more client parts 2) Retrofitting of AMD's MSR_SPEC_CTRL.PSFD to various CPUs
These patches have been committed and backported to 4.14 and later. Andrew Cooper (6): x86/spec-ctrl: Clean up MSR_MCU_OPT_CTRL handling x86/tsx: Move has_rtm_always_abort to an outer scope x86/tsx: Cope with TSX deprecation on WHL-R/CFL-R tests/tsx: Extend test-tsx to check MSR_MCU_OPT_CTRL x86/cpuid: Infrastructure for cpuid word 7:2.edx x86/spec-ctrl: Support Intel PSFD for guests docs/misc/xen-command-line.pandoc | 25 +++++-- tools/libs/light/libxl_cpuid.c | 2 + tools/misc/xen-cpuid.c | 6 ++ tools/tests/tsx/test-tsx.c | 9 ++- xen/arch/x86/acpi/power.c | 3 +- xen/arch/x86/cpu/common.c | 4 ++ xen/arch/x86/cpu/intel.c | 32 +++++++++ xen/arch/x86/include/asm/cpufeature.h | 1 + xen/arch/x86/include/asm/msr-index.h | 2 + xen/arch/x86/include/asm/processor.h | 3 + xen/arch/x86/include/asm/spec_ctrl.h | 2 - xen/arch/x86/msr.c | 2 +- xen/arch/x86/platform_hypercall.c | 3 + xen/arch/x86/smpboot.c | 3 +- xen/arch/x86/spec_ctrl.c | 52 +++++++------- xen/arch/x86/tsx.c | 102 ++++++++++++++++++++++++---- xen/include/public/arch-x86/cpufeatureset.h | 3 + xen/include/xen/lib/x86/cpuid.h | 13 +++- xen/tools/gen-cpuid.py | 2 +- 19 files changed, 211 insertions(+), 58 deletions(-) -- 2.11.0
