[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v2 0/8] Move interrupts from spapr to xics
From: |
Alexey Kardashevskiy |
Subject: |
[Qemu-ppc] [PATCH v2 0/8] Move interrupts from spapr to xics |
Date: |
Thu, 15 May 2014 19:59:51 +1000 |
This moves interrupts allocation business from SPAPR to XICS
and makes use of it.
Changes:
v2:
* s/server/source/
* fixed typos, code style, added an assert
* added patch for spapr_pci for better IRQ reuse for MSI/MSIX
There is just one source at the moment. We might create one
per PHB and one per VIO device or VIO bus but I do not see any
immediate profit from it. Makes any sense?
Please comment. Thanks!
Alexey Kardashevskiy (8):
xics: Add flags for interrupts
xics: Add xics_find_source()
xics: Disable flags reset on xics reset
spapr: Move interrupt allocator to xics
xics: Remove obsolete xics_set_irq_type()
spapr: Remove @next_irq
xics: Implement xics_ics_free()
spapr_pci: Use XICS interrupt allocator and do not cache interrupts in
PHB
hw/intc/xics.c | 160 ++++++++++++++++++++++++++++++++++++---
hw/intc/xics_kvm.c | 12 ++-
hw/ppc/spapr.c | 70 +----------------
hw/ppc/spapr_events.c | 2 +-
hw/ppc/spapr_pci.c | 181 +++++++++++++++++++++++---------------------
hw/ppc/spapr_vio.c | 2 +-
include/hw/pci-host/spapr.h | 11 +--
include/hw/ppc/spapr.h | 11 ---
include/hw/ppc/xics.h | 10 ++-
trace-events | 11 ++-
10 files changed, 275 insertions(+), 195 deletions(-)
--
1.9.rc0