mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] KVM: x86: Fix VM-Entry fail due to stale CR8 intercept
@ 2026-06-18 17:43 Sean Christopherson
  2026-06-18 17:43 ` [PATCH v3 1/2] KVM: VMX: Grab vmcs12 on CR8 interception update iff vCPU is in guest mode Sean Christopherson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Christopherson @ 2026-06-18 17:43 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini
  Cc: kvm, linux-kernel, syzbot ci, Stefano Garzarella, Carlos López

Carlos' fix for a bug where KVM neglects to update TPR_THRESHOLD and runs
afoul of VMX's consistency check that the current TPR won't immediately
generate a VM-Exit.

v3: Call get_vmcs12() iff is_guest_mode() is true to workaround a lockdep
    false positive. [syzbot]

v2:
 - https://lore.kernel.org/all/20260610214523.2905255-2-clopez@suse.de
 - Call kvm_lapic_update_cr8_intercept() from apic_update_ppr() instead
   of issuing KVM_REQ_EVENTS from handle_tpr_below_threshold().

Carlos López (1):
  KVM: x86: Unconditionally recompute CR8 intercept on PPR update

Sean Christopherson (1):
  KVM: VMX: Grab vmcs12 on CR8 interception update iff vCPU is in guest
    mode

 arch/x86/kvm/lapic.c   | 2 ++
 arch/x86/kvm/vmx/vmx.c | 3 +--
 arch/x86/kvm/x86.c     | 5 +----
 3 files changed, 4 insertions(+), 6 deletions(-)


base-commit: 9d4853b044beefa21c4ee3e18c40653601a64ced
-- 
2.55.0.rc0.738.g0c8ab3ebcc-goog


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

end of thread, other threads:[~2026-06-24  9:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 17:43 [PATCH v3 0/2] KVM: x86: Fix VM-Entry fail due to stale CR8 intercept Sean Christopherson
2026-06-18 17:43 ` [PATCH v3 1/2] KVM: VMX: Grab vmcs12 on CR8 interception update iff vCPU is in guest mode Sean Christopherson
2026-06-18 17:43 ` [PATCH v3 2/2] KVM: x86: Unconditionally recompute CR8 intercept on PPR update Sean Christopherson
2026-06-24  9:55 ` [PATCH v3 0/2] KVM: x86: Fix VM-Entry fail due to stale CR8 intercept 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®