summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx/vmenter.S
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-04-10 07:04:04 +0200
committerIngo Molnar <mingo@kernel.org>2024-04-10 07:04:04 +0200
commita40d2525eaa6ba40ebd39ea2ed9598e13092a7dc (patch)
treed5d5515c98d6163e14d56dfe3272cb3b4e9c7d71 /arch/x86/kvm/vmx/vmenter.S
parent5ce344beaca688f4cdea07045e0b8f03dc537e74 (diff)
parent2c71fdf02a95b3dd425b42f28fd47fb2b1d22702 (diff)
Merge branch 'linus' into x86/urgent, to pick up dependent commits
Prepare to fix aspects of the new BHI code. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kvm/vmx/vmenter.S')
-rw-r--r--arch/x86/kvm/vmx/vmenter.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx/vmenter.S b/arch/x86/kvm/vmx/vmenter.S
index 2bfbf758d061..f6986dee6f8c 100644
--- a/arch/x86/kvm/vmx/vmenter.S
+++ b/arch/x86/kvm/vmx/vmenter.S
@@ -275,6 +275,8 @@ SYM_INNER_LABEL_ALIGN(vmx_vmexit, SYM_L_GLOBAL)
call vmx_spec_ctrl_restore_host
+ CLEAR_BRANCH_HISTORY_VMEXIT
+
/* Put return value in AX */
mov %_ASM_BX, %_ASM_AX