[0/2] KVM: VMX: Make VMREAD error trampoline noinstr friendly

Message ID 20230721235637.2345403-1-seanjc@google.com
Headers
Series KVM: VMX: Make VMREAD error trampoline noinstr friendly |

Message

Sean Christopherson July 21, 2023, 11:56 p.m. UTC
  Add another trampoline for the CONFIG_CC_HAS_ASM_GOTO_OUTPUT=n VMREAD error
path in order to enable instrumentation, i.e. to make objtool happy, before
calling pr_warn_ratelimited().

Sean Christopherson (2):
  KVM: VMX: Make VMREAD error path play nice with noinstr
  KVM: VMX: Use vmread_error() to report VM-Fail in "goto" path

 arch/x86/kvm/vmx/vmenter.S |  8 ++++----
 arch/x86/kvm/vmx/vmx.c     | 18 ++++++++++++++----
 arch/x86/kvm/vmx/vmx_ops.h | 12 +++++++++---
 3 files changed, 27 insertions(+), 11 deletions(-)


base-commit: fdf0eaf11452d72945af31804e2a1048ee1b574c
  

Comments

Paolo Bonzini July 29, 2023, 2:55 p.m. UTC | #1
Queued, thanks.

Paolo