From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXMLC-00025D-J7 for qemu-devel@nongnu.org; Thu, 03 Sep 2015 00:41:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXML9-0008QU-A9 for qemu-devel@nongnu.org; Thu, 03 Sep 2015 00:41:38 -0400 Received: from e23smtp05.au.ibm.com ([202.81.31.147]:57596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXML8-0008Px-GY for qemu-devel@nongnu.org; Thu, 03 Sep 2015 00:41:35 -0400 Received: from /spool/local by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 3 Sep 2015 14:41:31 +1000 From: Alexey Kardashevskiy Date: Thu, 3 Sep 2015 14:40:29 +1000 Message-Id: <1441255231-18569-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH qemu v2 0/2] spapr_pci: Merge spapr-vfio-phb into spapr-phb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , Alex Williamson , qemu-ppc@nongnu.org, Gavin Shan , David Gibson This allows sharing the same PHB for both emulated and VFIO devices. This used to be a part of the Dynamic DMA window patchset. Since it was moved out and reworked quite a lot, all reviewed-by's got outdated. This is based on dgibson/spapr-next sha1 f91ffef. Please comment. Thanks. Changes: v2: * fixed bus_offset * moved DMA setup to a spapr_phb_dma_reset() helper - DDW patches would add it anyway * verified that migration still works Alexey Kardashevskiy (2): spapr_pci_vfio: Remove redundant spapr-pci-vfio-host-bridge spapr_pci: Remove constraints about VFIO-PCI devices hw/ppc/Makefile.objs | 5 +- hw/ppc/spapr_pci.c | 195 +++++++++++++++++++++++++++----------------- hw/ppc/spapr_pci_vfio.c | 147 +++++++++++++-------------------- hw/vfio/common.c | 22 ++--- include/hw/pci-host/spapr.h | 23 +++--- include/hw/vfio/vfio.h | 3 +- 6 files changed, 195 insertions(+), 200 deletions(-) -- 2.4.0.rc3.8.gfb3e7d5