x86/vmx: Drop spec_ctrl load in VMEntry path
PATCH 1/1 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 <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
CC: Jun Nakajima <[email protected]>
CC: Kevin Tian <[email protected]>
--- xen/arch/x86/hvm/vmx/entry.S | 3 --- 1 file changed, 3 deletions(-)
xen/arch/x86/hvm/vmx/entry.S +0 -3
@@ -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
Signature · 1 line
2.11.0
Quoted 5 lines · Andrew Cooper
This is not needed now that the VMEntry path is not responsible for loading the guest's
MSR_SPEC_CTRLvalue.Fixes 81f0eaadf84d ("x86/spec-ctrl: Fix NMI race condition with VT-x MSR_SPEC_CTRL handling")Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Jan Beulich <[email protected]>