From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0FF-0003U5-4j for qemu-devel@nongnu.org; Thu, 25 Feb 2016 13:02:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ0FA-0007FT-6Y for qemu-devel@nongnu.org; Thu, 25 Feb 2016 13:02:33 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:40282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0F9-0007F4-Lg for qemu-devel@nongnu.org; Thu, 25 Feb 2016 13:02:28 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 25 Feb 2016 18:02:26 -0000 From: Greg Kurz Date: Thu, 25 Feb 2016 19:02:06 +0100 Message-ID: <20160225180206.30801.25098.stgit@bahia.huguette.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/3] spapr_pci and xics fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org Hi, This series fixes some issues when sPAPR allocates interrupts. Especially a potential IRQ leak (patch 2) and bogus interrupt numbers stored in the MSI table because of poor error reporting from the XICS layer (patch 3). Please review. I'd like to have this fixes in 2.6. --- Greg Kurz (3): spapr_pci: kill useless variable in rtas_ibm_change_msi() spapr_pci: fix irq leak in RTAS ibm,change-msi xics: report errors with the QEMU Error API hw/intc/xics.c | 22 ++++++++++++++-------- hw/ppc/spapr_events.c | 2 +- hw/ppc/spapr_pci.c | 33 ++++++++++++++++++++++----------- hw/ppc/spapr_vio.c | 8 +++++--- include/hw/ppc/xics.h | 6 ++++-- trace-events | 2 -- 6 files changed, 46 insertions(+), 27 deletions(-) -- Greg