From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QULWB-0005tn-Ka for qemu-devel@nongnu.org; Wed, 08 Jun 2011 12:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QULW1-0004I3-GH for qemu-devel@nongnu.org; Wed, 08 Jun 2011 12:22:06 -0400 Received: from david.siemens.de ([192.35.17.14]:24289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QULW0-0004Gg-39 for qemu-devel@nongnu.org; Wed, 08 Jun 2011 12:21:56 -0400 From: Jan Kiszka Date: Wed, 8 Jun 2011 18:21:43 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/9] msi: Small cleanups and fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Isaku Yamahata , Gerd Hoffmann , qemu-devel , Alexander Graf A few patches to the MSI and MSI-X layer that clean up the interfaces and fix reset issues. They are from my MSI rework to prepare it for KVM's requirements (in-kernel irqchip). In contrast to the previous version, this one moves msi[x]_reset, msi[x]_write_config and msi[x]_uninit into the PCI core, avoiding related bugs and reducing boilerplate code on device side. CC: Alexander Graf CC: Gerd Hoffmann CC: Isaku Yamahata Jan Kiszka (9): msi: Fix copy&paste mistake in msi_uninit msi: Guard msi/msix_write_config with msi_present msi: Guard msi_reset with msi_present msi: Use msi/msix_present more consistently msi: Invoke msi/msix_reset from PCI core msi: Invoke msi/msix_write_config from PCI core msi: Invoke msi/msix_uninit from PCI core msix: Align MSI-X constants to libpci definitions and extend them msi: Move PCI_MSI_PENDING_32/64 into pci_regs.h hw/ide/ich.c | 9 --------- hw/intel-hda.c | 13 ------------- hw/ioh3420.c | 8 ++------ hw/msi.c | 17 +++++++++-------- hw/msix.c | 39 ++++++++++++++++++++------------------- hw/pci.c | 10 ++++++++++ hw/pci_bridge.c | 4 ++++ hw/pci_regs.h | 16 ++++++++++------ hw/virtio-pci.c | 14 +++----------- hw/xio3130_downstream.c | 8 ++------ hw/xio3130_upstream.c | 7 +------ 11 files changed, 61 insertions(+), 84 deletions(-)