Received: from eggs.gnu.org ([2001:4830:134:3::10]:34562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WksrJ-0000qg-7t for qemu-devel@nongnu.org; Thu, 15 May 2014 06:26:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wksr9-0006BM-Mm for qemu-devel@nongnu.org; Thu, 15 May 2014 06:25:53 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:38552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WksSQ-0005f9-OU for qemu-devel@nongnu.org; Thu, 15 May 2014 06:00:11 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 May 2014 20:00:08 +1000 From: Alexey Kardashevskiy Date: Thu, 15 May 2014 19:59:51 +1000 Message-Id: <1400147999-4793-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v2 0/8] Move interrupts from spapr to xics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Alexander Graf 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