Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752817Ab3C1UCF (ORCPT ); Thu, 28 Mar 2013 16:02:05 -0400 Received: from ch1ehsobe001.messaging.microsoft.com ([216.32.181.181]:5067 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751738Ab3C1UCD (ORCPT ); Thu, 28 Mar 2013 16:02:03 -0400 X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPV:NLI;H:mail.freescale.net;RD:none;EFVD:NLI X-SpamScore: 1 X-BigFish: VS1(z551bizd799hzz1f42h1fc6h1ee6h1de0h1202h1e76h1d1ah1d2ahzzz2dh2a8h668h839he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1155h) From: Varun Sethi To: , , , , , , , CC: Varun Sethi Subject: [PATCH 0/5 v11] iommu/fsl: Freescale PAMU driver and IOMMU API implementation. Date: Fri, 29 Mar 2013 01:23:57 +0530 Message-ID: <1364500442-20927-1-git-send-email-Varun.Sethi@freescale.com> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 Content-Type: text/plain X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2403 Lines: 56 This patchset provides the Freescale PAMU (Peripheral Access Management Unit) driver and the corresponding IOMMU API implementation. PAMU is the IOMMU present on Freescale QorIQ platforms. PAMU can authorize memory access, remap the memory address, and remap the I/O transaction type. This set consists of the following patches: 1. Make iova dma_addr_t in the iommu_iova_to_phys API. 2. Addition of new field in the device (powerpc) archdata structure for storing iommu domain information pointer. 3. Add window permission flags in the iommu_domain_window_enable API. 4. Add domain attributes for FSL PAMU driver. 5. PAMU driver and IOMMU API implementation. This patch set is based on the next branch Joerg's iommu git tree. Varun Sethi (5): Make iova dma_addr_t in the iommu_iova_to_phys API. Add iommu domain pointer to device archdata Add the window permission flag as a parameter to iommu_window_enable API. Add addition iommu attributes required by the PAMU driver. FSL PAMU driver. arch/powerpc/include/asm/device.h | 6 + arch/powerpc/sysdev/fsl_pci.h | 5 + drivers/iommu/Kconfig | 8 + drivers/iommu/Makefile | 1 + drivers/iommu/amd_iommu.c | 2 +- drivers/iommu/exynos-iommu.c | 2 +- drivers/iommu/fsl_pamu.c | 1269 +++++++++++++++++++++++++++++++++++++ drivers/iommu/fsl_pamu.h | 405 ++++++++++++ drivers/iommu/fsl_pamu_domain.c | 1137 +++++++++++++++++++++++++++++++++ drivers/iommu/fsl_pamu_domain.h | 85 +++ drivers/iommu/intel-iommu.c | 2 +- drivers/iommu/iommu.c | 8 +- drivers/iommu/msm_iommu.c | 2 +- drivers/iommu/omap-iommu.c | 2 +- drivers/iommu/shmobile-iommu.c | 2 +- drivers/iommu/tegra-gart.c | 2 +- drivers/iommu/tegra-smmu.c | 2 +- include/linux/iommu.h | 51 ++- 18 files changed, 2970 insertions(+), 21 deletions(-) create mode 100644 drivers/iommu/fsl_pamu.c create mode 100644 drivers/iommu/fsl_pamu.h create mode 100644 drivers/iommu/fsl_pamu_domain.c create mode 100644 drivers/iommu/fsl_pamu_domain.h -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/