Skip to content

KVM: VMX: Make VMREAD error trampoline noinstr friendly

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: VMX: Make VMREAD error path play nice with noinstrarch/x86/kvm/vmx/vmenter.S arch/x86/kvm/vmx/vmx.c arch/x86/kvm/vmx/vmx_ops.h+26 -90 replies
2/2KVM: VMX: Use vmread_error() to report VM-Fail in "goto" patharch/x86/kvm/vmx/vmx_ops.h+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

Signature · 1 line
2.41.0.487.g6d72f3e995-goog