From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNc66-00030d-2M for qemu-devel@nongnu.org; Wed, 12 Mar 2014 01:53:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNc5q-0005HV-SR for qemu-devel@nongnu.org; Wed, 12 Mar 2014 01:52:58 -0400 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:34936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNc5q-0005Gw-1G for qemu-devel@nongnu.org; Wed, 12 Mar 2014 01:52:42 -0400 Received: from /spool/local by e23smtp07.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 12 Mar 2014 15:52:37 +1000 From: Alexey Kardashevskiy Date: Wed, 12 Mar 2014 16:52:19 +1100 Message-Id: <1394603550-11556-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v5 00/11] vfio on spapr-ppc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf Yet another try with VFIO on SPAPR (server PPC64). As the previous try was too long time ago, I did not bother with the change log much as all of this requires review again. Also, it depends on these 2 patchsets which I cannot get reviewed yet (keep pinging...): [PATCH] spapr-iommu: extend SPAPR_TCE_TABLE class [PATCH 0/4] spapr-pci: prepare for vfio This does not include VFIO KVM device support as the host kernel part is not there yet because bigger rework of the host VFIO driver is going to happen soon. Alex (Williamson), if you find it possible, please "ack" or "rb" as much as you can. Thanks! Changes: v5: * rebase on top of the current upstream v4: * addressed all comments from Alex Williamson * moved spapr-pci-phb-vfio-phb to new file * split spapr-pci-phb-vfio to many smaller patches Alexey Kardashevskiy (7): int128: add int128_exts64() vfio: Fix 128 bit handling vfio: rework to have error paths spapr-iommu: add SPAPR VFIO IOMMU device spapr vfio: add vfio_container_spapr_get_info() spapr-vfio: add spapr-pci-vfio-host-bridge to support vfio spapr-vfio: enable for spapr David Gibson (4): memory: Sanity check that no listeners remain on a destroyed AddressSpace vfio: Introduce VFIO address spaces vfio: Create VFIOAddressSpace objects as needed vfio: Add guest side IOMMU support hw/misc/vfio.c | 338 +++++++++++++++++++++++++++++++++++++------- hw/ppc/Makefile.objs | 2 +- hw/ppc/spapr_iommu.c | 97 +++++++++++++ hw/ppc/spapr_pci_vfio.c | 206 +++++++++++++++++++++++++++ include/hw/misc/vfio.h | 11 ++ include/hw/pci-host/spapr.h | 13 ++ include/hw/ppc/spapr.h | 5 + include/qemu/int128.h | 5 + memory.c | 7 + 9 files changed, 633 insertions(+), 51 deletions(-) create mode 100644 hw/ppc/spapr_pci_vfio.c create mode 100644 include/hw/misc/vfio.h -- 1.8.4.rc4