From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSY0V-00067S-KY for qemu-devel@nongnu.org; Thu, 10 May 2012 14:22:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSY0T-0007pK-MR for qemu-devel@nongnu.org; Thu, 10 May 2012 14:22:31 -0400 Received: from david.siemens.de ([192.35.17.14]:21534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSY0T-0007oI-C4 for qemu-devel@nongnu.org; Thu, 10 May 2012 14:22:29 -0400 From: Jan Kiszka Date: Thu, 10 May 2012 15:22:11 -0300 Message-Id: Subject: [Qemu-devel] [PATCH 0/5] msi: Refactorings and reset 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 These patches had been sent before. I now rebased them and reduced them to a set that has a value independent of the ongoing MSI rework for KVM integration. I'm not yet sure if patch 1&2 should be considered for 1.1 as they implicitly fix the missing msi_reset for intel-hda and ahci. An alternative could be to add those reset calls the classic way and leave the refactoring for post-1.1. Maybe Gerd and Alex can comment on this. CC: Alexander Graf CC: Gerd Hoffmann CC: Isaku Yamahata Jan Kiszka (5): msi: Guard msi_reset with msi_present msi: Invoke msi/msix_reset from PCI core msi: Guard msi/msix_write_config with msi_present msi: Invoke msi/msix_write_config from PCI core msi: Use msi/msix_present more consistently hw/ide/ich.c | 8 -------- hw/intel-hda.c | 12 ------------ hw/ioh3420.c | 3 +-- hw/msi.c | 11 ++++++++--- hw/msix.c | 15 +++++++++------ hw/pci.c | 8 ++++++++ hw/pci_bridge.c | 4 ++++ hw/virtio-pci.c | 3 --- hw/xio3130_downstream.c | 3 +-- hw/xio3130_upstream.c | 3 +-- 10 files changed, 32 insertions(+), 38 deletions(-) -- 1.7.3.4