RE: [PATCH 0/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.
From: Sethi Varun-B16395 <hidden>
Date: 2013-02-25 10:16:07
Also in:
linux-iommu, lkml
Hi Joerg, Do you have any comments on the patch set. Regards Varun
-----Original Message-----
From: Sethi Varun-B16395
Sent: Monday, February 18, 2013 6:22 PM
To: iommu@lists.linux-foundation.org; linuxppc-dev@lists.ozlabs.org;
linux-kernel@vger.kernel.org; Wood Scott-B07421; joro@8bytes.org; Yoder
Stuart-B08248
Cc: Sethi Varun-B16395
Subject: [PATCH 0/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API
implementation.
=20
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.
=20
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. Store PCI controller platform device information in the PCI controller
structure.
3. Add defines for FSL PCI controller BRR1 register.
4. Add window permission flags in the iommu_domain_window_enable API.
5. Add domain attributes for FSL PAMU driver.
6. PAMU driver and IOMMU API implementation.
=20
This patch set is based on the next branch of the iommu git tree
maintained by Joerg.
=20
Varun Sethi (6):
Store iommu domain information in the device structure.
Store the platform device information corresponding to the pci
controller.
Added defines for the FSL PCI controller BRR1 register.
Add window permission flags for iommu_domain_window_enable API.
Add addtional attributes specific to the PAMU driver.
FSL PAMU driver and IOMMU API implementation.
=20
arch/powerpc/include/asm/device.h | 4 +
arch/powerpc/include/asm/pci-bridge.h | 4 +
arch/powerpc/sysdev/fsl_pci.c | 9 +-
arch/powerpc/sysdev/fsl_pci.h | 2 +-
drivers/iommu/Kconfig | 8 +
drivers/iommu/Makefile | 1 +
drivers/iommu/fsl_pamu.c | 1260
+++++++++++++++++++++++++++++++++
drivers/iommu/fsl_pamu.h | 398 +++++++++++
drivers/iommu/fsl_pamu_domain.c | 1135
+++++++++++++++++++++++++++++
drivers/iommu/fsl_pamu_domain.h | 89 +++
drivers/iommu/iommu.c | 5 +-
include/linux/iommu.h | 40 +-
12 files changed, 2947 insertions(+), 8 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
=20
--
1.7.4.1