From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 500532C007B for ; Mon, 3 Dec 2012 13:53:13 +1100 (EST) Received: by mail-pb0-f51.google.com with SMTP id ro12so1386564pbb.38 for ; Sun, 02 Dec 2012 18:53:11 -0800 (PST) From: Alexey Kardashevskiy To: Alex Williamson Subject: [PATCH 0/2] vfio on power: yet another try Date: Mon, 3 Dec 2012 13:52:56 +1100 Message-Id: <1354503178-2602-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1353661396-14374-1-git-send-email-aik@ozlabs.ru> References: <1353661396-14374-1-git-send-email-aik@ozlabs.ru> Cc: kvm@vger.kernel.org, Alexey Kardashevskiy , linux-kernel@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The set includes 2 patches. The first one adds necessary support for VFIO IOMMU support, the second one adds a SPAPR TCE IOMMU driver to VFIO. At the moment we have decided to get rid of DMA64 window properties because we need more API than just 2 properties (such as dynamic window allocation) but have not decided about its actual design yet. Alexey Kardashevskiy (2): vfio powerpc: enabled on powernv platform vfio powerpc: implemented IOMMU driver for VFIO arch/powerpc/include/asm/iommu.h | 9 + arch/powerpc/kernel/iommu.c | 186 ++++++++++++++++++ arch/powerpc/platforms/powernv/pci.c | 135 +++++++++++++ drivers/iommu/Kconfig | 8 + drivers/vfio/Kconfig | 6 + drivers/vfio/Makefile | 1 + drivers/vfio/vfio_iommu_spapr_tce.c | 350 ++++++++++++++++++++++++++++++++++ include/linux/vfio.h | 26 +++ 8 files changed, 721 insertions(+) create mode 100644 drivers/vfio/vfio_iommu_spapr_tce.c -- 1.7.10.4