Re: [RFC][PATCH 0/3] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.
From: Scott Wood <hidden>
Date: 2012-09-20 00:14:10
Also in:
linux-iommu, lkml
On 09/19/2012 08:49:14 AM, Kumar Gala wrote:
=20 On Sep 19, 2012, at 8:17 AM, [off-list ref] =20 [off-list ref] wrote: =20quoted
From: Varun Sethi <redacted> This patchset provides the Freescale PAMU (Peripheral Access =20Management Unit) driverquoted
and the corresponding IOMMU API implementation. PAMU is the IOMMU =20present on Freescalequoted
QorIQ platforms. PAMU can authorize memory access, remap the memory =20address, and remapquoted
the I/O transaction type. This set consists of the following patches: 1. Addition of new field in the device (powerpc) archdata structure =20for storing iommu domain informationquoted
pointer. This pointer is stored when the device is attached to a =20particular iommu domain.quoted
2. Addition of domain attributes required by the PAMU driver IOMMU =20API.quoted
3. PAMU driver and IOMMU API implementation. Varun Sethi (3): Store iommu domain information pointer in archdata. Add iommu domain attributes required by fsl PAMU driver. FSL PAMU driver and IOMMU API implementation. arch/powerpc/include/asm/device.h | 4 + drivers/iommu/Kconfig | 7 + drivers/iommu/Makefile | 1 + drivers/iommu/fsl_pamu.c | 1033 =20+++++++++++++++++++++++++++++++++++++quoted
drivers/iommu/fsl_pamu.h | 377 ++++++++++++++ drivers/iommu/fsl_pamu_domain.c | 990 =20+++++++++++++++++++++++++++++++++++quoted
drivers/iommu/fsl_pamu_domain.h | 94 ++++ drivers/iommu/fsl_pamu_proto.h | 49 ++ include/linux/iommu.h | 30 ++ 9 files changed, 2585 insertions(+), 0 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 create mode 100644 drivers/iommu/fsl_pamu_proto.h=20 I assume that another patch series will add device tree binding spec =20 and update device trees for SoCs with PAMU?
The device trees already have PAMU in them. A binding would be nice, =20 though. -Scott=