diff options
author | Andrew Cooper <andrew.cooper3@citrix.com> | 2022-02-01 13:34:49 +0000 |
---|---|---|
committer | Andrew Cooper <andrew.cooper3@citrix.com> | 2022-02-04 15:45:24 +0000 |
commit | e253d0a65cca3770f404241f2435791b61159cd6 (patch) | |
tree | 37b401036362d5ec50a93c24d90838d11020b378 | |
parent | 0b7aba57b310cfc41287a88c4f9198739706dd71 (diff) |
x86/vmx: Drop spec_ctrl load in VMEntry path
This is not needed now that the VMEntry path is not responsible for loading
the guest's MSR_SPEC_CTRL value.
Fixes: 81f0eaadf84d ("x86/spec-ctrl: Fix NMI race condition with VT-x MSR_SPEC_CTRL handling")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 9ce3ef20b4f085a7dc8ee41b0fec6fdeced3773e)
-rw-r--r-- | xen/arch/x86/hvm/vmx/entry.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xen/arch/x86/hvm/vmx/entry.S b/xen/arch/x86/hvm/vmx/entry.S index 7ee3382fd0..49651f3c43 100644 --- a/xen/arch/x86/hvm/vmx/entry.S +++ b/xen/arch/x86/hvm/vmx/entry.S @@ -85,9 +85,6 @@ UNLIKELY_END(realmode) test %al, %al jz .Lvmx_vmentry_restart - mov VCPU_arch_msrs(%rbx), %rax - mov VCPUMSR_spec_ctrl_raw(%rax), %eax - /* WARNING! `ret`, `call *`, `jmp *` not safe beyond this point. */ /* SPEC_CTRL_EXIT_TO_VMX Req: %rsp=regs/cpuinfo Clob: */ ALTERNATIVE "", __stringify(verw CPUINFO_verw_sel(%rsp)), X86_FEATURE_SC_VERW_HVM |