KVM: x86: minor irqchip improvements (API change)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 14 repliesIn review
- v16 patches 6 repliesSuperseded
Changes in v2 from the cover letter
Uses enum kvm_irqchip_mode to encode state and renames irqchip_kvm to irqchip_kernel, which might be easily confused with irqchip_in_kernel.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: x86: don't allow kernel irqchip with split irqchiparch/ | +1 | 1 reply | |
| 2/6 | KVM: x86: decouple irqchip_in_kernel() and pic_irqchip()arch/ arch/ arch/ | +18 | 5 replies | |
| 3/6 | KVM: x86: make pic setup code look like ioapic setuparch/ arch/ arch/ | +28 | 3 replies | |
| 4/6 | KVM: x86: refactor pic setup in kvm_set_routing_entryarch/ | +3 | 1 reply | |
| 5/6 | KVM: x86: prevent setup of invalid routesarch/ | +6 | 3 replies | |
| 6/6 | KVM: x86: simplify conditions with split/kernel irqchiparch/ arch/ | +3 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini | David Hildenbrand |
|---|---|---|
| 1/6 | R-b | R-b |
| 2/6 | R-b | |
| 3/6 | R-b | R-b |
| 4/6 | R-b | R-b |
| 5/6 | R-b | R-b |
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] KVM: x86: minor irqchip improvements (API change)
v2:
Uses enum kvm_irqchip_mode to encode state and renames irqchip_kvm to irqchip_kernel, which might be easily confused with irqchip_in_kernel.
v1: https://www.spinics.net/lists/kernel/msg2391115.html
Quoted 7 lines
There are two API changes:
1) [1/6] forbidsKVM_CREATE_IRQCHIPafterKVM_CAP_SPLIT_IRQCHIP
2) [5/6] makesKVM_SET_GSI_ROUTINGreject pic and ioapic routes in split irqchip mode, because they make no sense and are currently "working" only because of a hacky NULL check.[1-4/6] are needed for [5/6]; [6/6] is just a cherry.
Radim Krčmář (6):
KVM: x86: don't allow kernel irqchip with split irqchip
KVM: x86: decouple irqchip_in_kernel() and pic_irqchip()
KVM: x86: make pic setup code look like ioapic setup
KVM: x86: refactor pic setup in kvm_set_routing_entry
KVM: x86: prevent setup of invalid routes
KVM: x86: simplify conditions with split/kernel irqchip
arch/x86/include/asm/kvm_host.h | 8 +++++++- arch/x86/kvm/i8259.c | 16 +++++++++++----- arch/x86/kvm/irq.h | 19 ++++++++++--------- arch/x86/kvm/irq_comm.c | 29 ++++++++++------------------- arch/x86/kvm/x86.c | 41 +++++++++++++++++++++-------------------- 5 files changed, 59 insertions(+), 54 deletions(-)
Signature · 1 line
2.11.0