]> xenbits.xensource.com Git - people/royger/xen.git/commit
amd: remove VIRT_SC_MSR_HVM synthetic feature virt-spec-ctrl2 gitlab/virt-spec-ctrl2
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 11 Oct 2022 09:58:35 +0000 (11:58 +0200)
committerRoger Pau Monne <roger.pau@citrix.com>
Fri, 28 Oct 2022 11:20:17 +0000 (13:20 +0200)
commitbb956e2261a9ebe5c9844142f7fcf810a0a54dd5
tree5f8012b37bc68812a05959fec1b1a0fefd4d9687
parentaaf0fb2bde9f175f9ece435100de254ce3eb9965
amd: remove VIRT_SC_MSR_HVM synthetic feature

Since the VIRT_SPEC_CTRL.SSBD selection is no longer context switched
on vm{entry,exit} there's no need to use a synthetic feature bit for
it anymore.

Remove the bit and instead use a global variable.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpuid.c
xen/arch/x86/include/asm/amd.h
xen/arch/x86/include/asm/cpufeatures.h
xen/arch/x86/spec_ctrl.c