KVM: VMX: Move IRQ invocation to assembly subroutine
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 15 Sep 2020 19:15:04 +0000 (12:15 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:20 +0000 (07:57 -0400)
commit535f7ef2ab7dbfbcfe732ee7634faca21417a777
treea7039335dc7514303de586c26265148accbc689b
parent09e3e2a1cc8d8069085785f1236a64c72707e7f2
KVM: VMX: Move IRQ invocation to assembly subroutine

Move the asm blob that invokes the appropriate IRQ handler after VM-Exit
into a proper subroutine.  Unconditionally create a stack frame in the
subroutine so that, as objtool sees things, the function has standard
stack behavior.  The dynamic stack adjustment makes using unwind hints
problematic.

Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200915191505.10355-2-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmenter.S
arch/x86/kvm/vmx/vmx.c