Skip to content
Snippets Groups Projects
Commit afd14a27 authored by Vitaly Kuznetsov's avatar Vitaly Kuznetsov
Browse files

KVM/VMX: Restore previously dropped ENDBR in vmx_vmexit

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2119111



commit 8bd200d2
Author: Josh Poimboeuf <jpoimboe@kernel.org>
Date:   Tue Jun 14 23:16:11 2022 +0200

    KVM: VMX: Flatten __vmx_vcpu_run()

    Move the vmx_vm{enter,exit}() functionality into __vmx_vcpu_run().  This
    will make it easier to do the spec_ctrl handling before the first RET.

Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>

Backport 227819d5 ("KVM: VMX: Flatten __vmx_vcpu_run()") had a RHEL
only change in __vmx_vcpu_run() which was needed at that time as
156ff4a5 ("x86/ibt: Base IBT bits") was not present. It is already
backported to RHEL9 so ENDBR has to be restored.

Fixes: 227819d5 ("KVM: VMX: Flatten __vmx_vcpu_run()")
Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
parent cd1a11af
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment