linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] KVM: x86: APICv cleanups
@ 2021-10-22  0:49 Sean Christopherson
  2021-10-22  0:49 ` [PATCH v2 1/4] KVM: x86/mmu: Use vCPU's APICv status when handling APIC_ACCESS memslot Sean Christopherson
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Sean Christopherson @ 2021-10-22  0:49 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Sean Christopherson, Vitaly Kuznetsov, Wanpeng Li, Jim Mattson,
	Joerg Roedel, kvm, linux-kernel, Maxim Levitsky

APICv cleanups and a dissertation on handling concurrent APIC access page
faults and APICv inhibit updates.

I've tested this but haven't hammered the AVIC stuff, I'd appreciate it if
someone with the Hyper-V setup can beat on the AVIC toggling.

Sean Christopherson (4):
  KVM: x86/mmu: Use vCPU's APICv status when handling APIC_ACCESS
    memslot
  KVM: x86: Move SVM's APICv sanity check to common x86
  KVM: x86: Move apicv_active flag from vCPU to in-kernel local APIC
  KVM: x86: Use rw_semaphore for APICv lock to allow vCPU parallelism

 arch/x86/include/asm/kvm_host.h |  3 +-
 arch/x86/kvm/hyperv.c           |  4 +--
 arch/x86/kvm/lapic.c            | 46 ++++++++++---------------
 arch/x86/kvm/lapic.h            |  5 +--
 arch/x86/kvm/mmu/mmu.c          | 29 ++++++++++++++--
 arch/x86/kvm/svm/avic.c         |  2 +-
 arch/x86/kvm/svm/svm.c          |  2 --
 arch/x86/kvm/vmx/vmx.c          |  4 +--
 arch/x86/kvm/x86.c              | 59 ++++++++++++++++++++++-----------
 9 files changed, 93 insertions(+), 61 deletions(-)

-- 
2.33.0.1079.g6e70778dc9-goog


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

end of thread, other threads:[~2021-10-25 16:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22  0:49 [PATCH v2 0/4] KVM: x86: APICv cleanups Sean Christopherson
2021-10-22  0:49 ` [PATCH v2 1/4] KVM: x86/mmu: Use vCPU's APICv status when handling APIC_ACCESS memslot Sean Christopherson
2021-10-22  0:49 ` [PATCH v2 2/4] KVM: x86: Move SVM's APICv sanity check to common x86 Sean Christopherson
2021-10-22  0:49 ` [PATCH v2 3/4] KVM: x86: Move apicv_active flag from vCPU to in-kernel local APIC Sean Christopherson
2021-10-22  0:49 ` [PATCH v2 4/4] KVM: x86: Use rw_semaphore for APICv lock to allow vCPU parallelism Sean Christopherson
2021-10-22 10:12 ` [PATCH v2 0/4] KVM: x86: APICv cleanups Paolo Bonzini
2021-10-22 14:56   ` Maxim Levitsky
2021-10-22 16:43     ` Paolo Bonzini
2021-10-25 14:35       ` Sean Christopherson
2021-10-25 15:21         ` Paolo Bonzini
2021-10-25 15:59           ` Sean Christopherson
2021-10-25 16:05             ` 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).