From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHTIM-0001yn-4t for qemu-devel@nongnu.org; Thu, 05 Sep 2013 02:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHTIE-00066A-PJ for qemu-devel@nongnu.org; Thu, 05 Sep 2013 02:43:58 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:44233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHTIE-00065w-JH for qemu-devel@nongnu.org; Thu, 05 Sep 2013 02:43:50 -0400 Received: by mail-pb0-f53.google.com with SMTP id up15so1394042pbc.12 for ; Wed, 04 Sep 2013 23:43:49 -0700 (PDT) Message-ID: <5228281F.7010209@ozlabs.ru> Date: Thu, 05 Sep 2013 16:43:43 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1377857738-14789-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1377857738-14789-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 00/12] vfio on spapr-ppc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Alexander Graf , qemu-devel@nongnu.org, Alex Williamson , qemu-ppc@nongnu.org, David Gibson On 08/30/2013 08:15 PM, Alexey Kardashevskiy wrote: > Yet another try with VFIO on SPAPR (server PPC64). Alex (Williamson), could you please give it some review and comment/sob/rb/ab (whichever suits) this stuff? Since kernel headers update is on its way to upstream, we could try to include this stuff (except the very last patch) to upstream QEMU as well. Thanks! > > Changes: > v3 -> 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 > > The "spapr vfio: add vfio_container_spapr_get_info()" needs kernel > headers update (v3.11-rc6); > The "spapr kvm vfio: enable in-kernel acceleration" needs a kernel > patch which is not in the kernel yet and posted separately as > "[PATCH v9 00/13] KVM: PPC: IOMMU in-kernel handling of VFIO". > > More details in the individual patches commit messages. > > Alexey Kardashevskiy (9): > spapr vfio: add vfio_container_spapr_get_info() > spapr_pci: convert init to realize > spapr_pci: add spapr_pci trace > spapr_pci: converts fprintf to error_report > spapr_iommu: introduce SPAPR_TCE_TABLE class > spapr_iommu: add SPAPR VFIO IOMMU > spapr vfio: add spapr-pci-vfio-host-bridge to support vfio > spapr vfio: enable for spapr > spapr kvm vfio: enable in-kernel acceleration > > David Gibson (3): > vfio: Introduce VFIO address spaces > vfio: Create VFIOAddressSpace objects as needed > vfio: Add guest side IOMMU support > > hw/misc/vfio.c | 291 ++++++++++++++++++++++++++++++++++++++++---- > hw/ppc/Makefile.objs | 2 +- > hw/ppc/spapr_iommu.c | 168 ++++++++++++++++++++++--- > hw/ppc/spapr_pci.c | 90 ++++++++------ > hw/ppc/spapr_pci_vfio.c | 198 ++++++++++++++++++++++++++++++ > include/hw/misc/vfio.h | 11 ++ > include/hw/pci-host/spapr.h | 31 ++++- > include/hw/ppc/spapr.h | 19 +++ > target-ppc/kvm.c | 47 +++++++ > target-ppc/kvm_ppc.h | 13 ++ > trace-events | 1 + > 11 files changed, 792 insertions(+), 79 deletions(-) > create mode 100644 hw/ppc/spapr_pci_vfio.c > create mode 100644 include/hw/misc/vfio.h > -- Alexey