From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe003.messaging.microsoft.com [216.32.181.183]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 4AD112C0098 for ; Wed, 21 Nov 2012 00:59:57 +1100 (EST) From: Varun Sethi To: , , , , , Subject: [PATCH 0/4] iommu/fsl: Freescale PAMU driver and IOMMU API implementation. Date: Tue, 20 Nov 2012 19:24:53 +0530 Message-ID: <1353419697-31269-1-git-send-email-Varun.Sethi@freescale.com> MIME-Version: 1.0 Content-Type: text/plain Cc: Varun Sethi List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. Addition of new field in the device (powerpc) archdata structure for storing iommu domain information pointer. This pointer is stored when the device is attached to a particular iommu domain. 2. Add PAMU bypass enable register to the ccsr_guts structure. 3. Addition of domain attributes required by the PAMU driver IOMMU API. 4. PAMU driver and IOMMU API implementation. This patch set is based on the next branch of the iommu git tree maintained by Joerg. Varun Sethi (4): store iommu domain pointer in device archdata structure. Add PAMU bypass enable register to ccsr_guts structure. Add attributes for fsl PAMU driver. FSL PAMU driver. arch/powerpc/include/asm/device.h | 4 + arch/powerpc/include/asm/fsl_guts.h | 4 +- drivers/iommu/Kconfig | 8 + drivers/iommu/Makefile | 1 + drivers/iommu/fsl_pamu.c | 1152 +++++++++++++++++++++++++++++++++++++++ drivers/iommu/fsl_pamu.h | 398 ++++++++++++++ drivers/iommu/fsl_pamu_domain.c | 978 +++++++++++++++++++++++++++++++++ drivers/iommu/fsl_pamu_domain.h | 102 ++++ include/linux/iommu.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 2680 insertions(+), 1 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