Skip to content

KVM: x86: APICv cleanups

Sean Christopherson kvm lkml 2 versions – Applied

Status from this message: Queued, thanks. I only made small edits to the comment in patch

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesApplied
  2. v12 patches 11 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4KVM: x86/mmu: Use vCPU's APICv status when handling APIC_ACCESS memslotarch/x86/kvm/mmu/mmu.c+27 -20 replies
2/4KVM: x86: Move SVM's APICv sanity check to common x86arch/x86/kvm/svm/svm.c arch/x86/kvm/x86.c+20 -20 replies
3/4KVM: x86: Move apicv_active flag from vCPU to in-kernel local APICarch/x86/include/asm/kvm_host.h arch/x86/kvm/lapic.c arch/x86/kvm/lapic.h +3 more+36 -490 replies
4/4KVM: x86: Use rw_semaphore for APICv lock to allow vCPU parallelismarch/x86/include/asm/kvm_host.h arch/x86/kvm/hyperv.c arch/x86/kvm/x86.c+10 -80 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] KVM: x86: APICv cleanups

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(-)
Signature · 1 line
2.33.0.1079.g6e70778dc9-goog