Skip to content

Preparation for PIC-APIC rewiring

Avi Kivity kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: i8259: reduce excessive abstraction for pic_irq_request()arch/x86/kvm/i8259.c arch/x86/kvm/irq.h+7 -140 replies
2/4KVM: i8259: simplify pic_irq_request() calling sequencearch/x86/kvm/i8259.c+1 -40 replies
3/4KVM: Add mini-API for vcpu->requestsarch/x86/kvm/lapic.c arch/x86/kvm/mmu.c arch/x86/kvm/svm.c +5 more+37 -230 replies
4/4KVM: Reduce atomic operations on vcpu->requestsinclude/linux/kvm_host.h+6 -10 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/4] Preparation for PIC-APIC rewiring

These four patches were part of an optimization patchset I've been neglecting, but are equally useful as preparation for fixing the PIC-APIC wiring issues.

Avi Kivity (4):
KVM: i8259: reduce excessive abstraction for pic_irq_request()
KVM: i8259: simplify pic_irq_request() calling sequence
KVM: Add mini-API for vcpu->requests
KVM: Reduce atomic operations on vcpu->requests

 arch/x86/kvm/i8259.c     |   18 ++++++------------
 arch/x86/kvm/irq.h       |    4 ----
 arch/x86/kvm/lapic.c     |    2 +-
 arch/x86/kvm/mmu.c       |    6 +++---
 arch/x86/kvm/svm.c       |    2 +-
 arch/x86/kvm/timer.c     |    2 +-
 arch/x86/kvm/vmx.c       |    2 +-
 arch/x86/kvm/x86.c       |   27 +++++++++++++--------------
 include/linux/kvm_host.h |   20 ++++++++++++++++++++
 virt/kvm/kvm_main.c      |    4 ++--
 10 files changed, 48 insertions(+), 39 deletions(-)