[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1325747509-29665-1-git-send-email-hdoyu@nvidia.com>
Date: Thu, 5 Jan 2012 09:11:47 +0200
From: Hiroshi DOYU <hdoyu@...dia.com>
To: Hiroshi DOYU <hdoyu@...dia.com>
Cc: iommu@...ts.linux-foundation.org,
linux-arm-kernel@...ts.infradead.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org,
linaro-mm-sig-bounces@...ts.linaro.org
Subject: [PATCH v3 0/2] ARM: IOMMU: tegra: Add iommu_ops for GART/SMMU driver
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@...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