KVM: irqfd generalization prepare patch set
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | KVM: Add KVM_IRQCHIP_NUM_PINS in addition to KVM_IOAPIC_NUM_PINSarch/ include/ virt/ | +4 | 1 reply | |
| 2/7 | KVM: Introduce __KVM_HAVE_IRQCHIParch/ include/ include/ +1 more | +7 | 9 replies | |
| 3/7 | KVM: Remove kvm_get_intr_delivery_bitmaskinclude/ | +0 | 0 replies | |
| 4/7 | KVM: Move irq routing to generic codevirt/ virt/ | +30 | 0 replies | |
| 5/7 | KVM: Extract generic irqchip logic into irqchip.carch/ include/ virt/ +1 more | +163 | 4 replies | |
| 6/7 | KVM: Move irq routing setup to irqchip.cinclude/ virt/ virt/ | +91 | 0 replies | |
| 7/7 | KVM: Move irqfd resample cap handling to generic codearch/ virt/ | +3 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Michael S. Tsirkin |
|---|---|
| Series | A-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] KVM: irqfd generalization prepare patch set
The concept of an irqfd and interrupt routing are nothing particularly tied into the IOAPIC implementation. In fact, most of the code already is perfectly generic.
This patch set decouples most bits of the existing irqchip and irqfd implementation to make it reusable for non-IOAPIC platforms, like the PPC MPIC.
I also have a patch that implements working irqfd support on top of these, but that requires the in-kernel MPIC implementation to go upstream first, so I'm holding off on it until we settled everything there, so the concept certainly does work.
Alex
Alexander Graf (7):
KVM: Add KVM_IRQCHIP_NUM_PINS in addition to KVM_IOAPIC_NUM_PINS
KVM: Introduce __KVM_HAVE_IRQCHIP
KVM: Remove kvm_get_intr_delivery_bitmask
KVM: Move irq routing to generic code
KVM: Extract generic irqchip logic into irqchip.c
KVM: Move irq routing setup to irqchip.c
KVM: Move irqfd resample cap handling to generic code
arch/x86/include/asm/kvm_host.h | 2 + arch/x86/include/uapi/asm/kvm.h | 1 + arch/x86/kvm/Makefile | 2 +- arch/x86/kvm/x86.c | 1 - include/linux/kvm_host.h | 14 +-- include/trace/events/kvm.h | 12 ++- include/uapi/linux/kvm.h | 2 +- virt/kvm/assigned-dev.c | 30 ----- virt/kvm/eventfd.c | 6 +- virt/kvm/irq_comm.c | 193 +------------------------------- virt/kvm/irqchip.c | 237 +++++++++++++++++++++++++++++++++++++++ virt/kvm/kvm_main.c | 33 ++++++ 12 files changed, 297 insertions(+), 236 deletions(-) create mode 100644 virt/kvm/irqchip.c