kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: VMX: Avoid RDMSRs in PI x2APIC checks
@ 2021-01-15 22:03 Sean Christopherson
  2021-01-15 22:03 ` [PATCH 1/2] x86/apic: Export x2apic_mode for use by KVM in "warm" path Sean Christopherson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Christopherson @ 2021-01-15 22:03 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Sean Christopherson, Vitaly Kuznetsov, Wanpeng Li, Jim Mattson,
	Joerg Roedel, kvm, linux-kernel, luferry

Resurrect a patch[*] from over a year ago to avoid RDMSR in a fairly hot
path in KVM's posted interrupt support.  Note, in my response to that
patch, I suggested checking x2apic_supported() as well as x2apic_mode.  I
have no idea why I suggested that; unless I'm missing something,
x2apic_mode can never be set if x2apic_supported() is false.

[*] https://lkml.kernel.org/r/20190723130608.26528-1-luferry@163.com/

Sean Christopherson (2):
  x86/apic: Export x2apic_mode for use by KVM in "warm" path
  KVM: VMX: Use x2apic_mode to avoid RDMSR when querying PI state

 arch/x86/kernel/apic/apic.c    | 1 +
 arch/x86/kvm/vmx/posted_intr.c | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

-- 
2.30.0.284.gd98b1dd5eaa7-goog


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

end of thread, other threads:[~2021-01-18 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15 22:03 [PATCH 0/2] KVM: VMX: Avoid RDMSRs in PI x2APIC checks Sean Christopherson
2021-01-15 22:03 ` [PATCH 1/2] x86/apic: Export x2apic_mode for use by KVM in "warm" path Sean Christopherson
2021-01-15 22:03 ` [PATCH 2/2] KVM: VMX: Use x2apic_mode to avoid RDMSR when querying PI state Sean Christopherson
2021-01-18 18:24 ` [PATCH 0/2] KVM: VMX: Avoid RDMSRs in PI x2APIC checks Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).