[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1361191939-21260-1-git-send-email-Varun.Sethi@freescale.com>
Date: Mon, 18 Feb 2013 18:22:13 +0530
From: Varun Sethi <Varun.Sethi@...escale.com>
To: <iommu@...ts.linux-foundation.org>,
<linuxppc-dev@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>,
<scottwood@...escale.com>, <joro@...tes.org>,
<stuart.yoder@...escale.com>
CC: Varun Sethi <Varun.Sethi@...escale.com>
Subject: [PATCH 0/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.
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. 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.
This patch set is based on the next branch of the iommu git tree maintained by Joerg.
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.
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
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists