mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: VMX: Make VMREAD error trampoline noinstr friendly
@ 2023-07-21 23:56 Sean Christopherson
  2023-07-21 23:56 ` [PATCH 1/2] KVM: VMX: Make VMREAD error path play nice with noinstr Sean Christopherson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Christopherson @ 2023-07-21 23:56 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini; +Cc: kvm, linux-kernel, Su Hui

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
-- 
2.41.0.487.g6d72f3e995-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-29 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21 23:56 [PATCH 0/2] KVM: VMX: Make VMREAD error trampoline noinstr friendly Sean Christopherson
2023-07-21 23:56 ` [PATCH 1/2] KVM: VMX: Make VMREAD error path play nice with noinstr Sean Christopherson
2023-07-21 23:56 ` [PATCH 2/2] KVM: VMX: Use vmread_error() to report VM-Fail in "goto" path Sean Christopherson
2023-07-29 14:55 ` [PATCH 0/2] KVM: VMX: Make VMREAD error trampoline noinstr friendly Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®