From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zh8NR-0000Sj-Gf for qemu-devel@nongnu.org; Tue, 29 Sep 2015 23:48:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zh8NQ-0005TU-KV for qemu-devel@nongnu.org; Tue, 29 Sep 2015 23:48:21 -0400 From: David Gibson Date: Wed, 30 Sep 2015 13:48:36 +1000 Message-Id: <1443584920-23015-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 0/4] Allow VFIO devices on spapr-pci-host-bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aik@ozlabs.ru, mdroth@linux.vnet.ibm.com Cc: lvivier@redhat.com, thuth@redhat.com, qemu-devel@nongnu.org, alex.williamson@redhat.com, qemu-ppc@nongnu.org, David Gibson At present, VFIO PCI devices attached to an spapr-pci-host-bridge device (the regular PCI host bridge for the pseries machine type) won't quite work properly. I've recently posted some extensions to VFIO that are almost enough to allow these to work - this series contains the final necessary changes to the host bridge implementation itself to let that work. NOTE: This must be applied on top of my recent series of patches to the VFIO core code. I'm sending this out now, in the hopes that it can be reviewed and ready to apply as soon as the VFIO changes are merged. David Gibson (4): spapr_pci: Allow PCI host bridge DMA window to be configured spapr_iommu: Rename vfio_accel parameter spapr_iommu: Provide a function to switch a TCE table to allowing VFIO spapr_pci: Allow VFIO devices to work on the normal PCI host bridge hw/ppc/spapr_iommu.c | 38 +++++++++++++++++++++++++++++++++++--- hw/ppc/spapr_pci.c | 13 +++++++++++-- include/hw/pci-host/spapr.h | 3 +-- include/hw/ppc/spapr.h | 6 ++++-- target-ppc/kvm.c | 4 ++-- target-ppc/kvm_ppc.h | 2 +- 6 files changed, 54 insertions(+), 12 deletions(-) -- 2.4.3