x86/vPMU: Drop supported parameter from the wrmsr path
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 30 Nov 2021 21:28:48 +0000 (21:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Dec 2021 17:22:44 +0000 (17:22 +0000)
commitea0c08bc77fe7bd7e4e65c648e17752e91912d01
tree0abd0283ace8eb51fb3d5bbc9ec505496c4fe281
parent5f4f6c51045b1ce311f21285653cd1516ce8c419
x86/vPMU: Drop supported parameter from the wrmsr path

The supported parameter was added in 2d9b91f1aeaa ("VMX/vPMU: fix DebugCtl MSR
handling").  It unfortunately laid the groundwork for XSA-269, and the fix
2a8a8e99feb9 ("x86/vtx: Fix the checking for unknown/invalid MSR_DEBUGCTL
bits") totally rewrote MSR_DEBUGCTL handling.

Strip out the parameter again.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/vpmu.c
xen/arch/x86/cpu/vpmu_amd.c
xen/arch/x86/cpu/vpmu_intel.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/pv/emul-priv-op.c
xen/include/asm-x86/vpmu.h