[PATCH v3 0/2] ARM: IOMMU: tegra: Add iommu_ops for GART/SMMU driver

From: Hiroshi DOYU
Date: Thu Jan 05 2012 - 02:12:19 EST


This patchset adds support for IOMMU API for Tegra20(GART) and
Tegra30(SMMU). "struct iommu_ops" are implemented for both H/W IOMMU
modules.

Tested with "Ion memory manager" and "DMA mapping API"(*1).

This was originally developed with Tegra specific IOMMU
API(tegra_iovmm_*()) in:

git://nv-tegra.nvidia.com/linux-2.6.git.

v2:
https://lkml.org/lkml/2011/12/15/203

v1:
https://lkml.org/lkml/2011/11/17/111

*1: Reworking the DMA mapping code (especially on ARM)
http://lwn.net/Articles/467509/

Hiroshi DOYU (2):
ARM: IOMMU: Tegra20: Add iommu_ops for GART driver
ARM: IOMMU: Tegra30: Add iommu_ops for SMMU driver

arch/arm/mach-tegra/include/mach/smmu.h | 63 ++
drivers/iommu/Kconfig | 22 +
drivers/iommu/Makefile | 2 +
drivers/iommu/tegra-gart.c | 436 +++++++++++++
drivers/iommu/tegra-smmu.c | 1026 +++++++++++++++++++++++++++++++
5 files changed, 1549 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-tegra/include/mach/smmu.h
create mode 100644 drivers/iommu/tegra-gart.c
create mode 100644 drivers/iommu/tegra-smmu.c

--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/