linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ARM: IOMMU: tegra: Add iommu_ops for GART/SMMU driver
@ 2012-01-05  7:11 Hiroshi DOYU
  2012-01-05  7:11 ` [PATCH 1/2] ARM: IOMMU: Tegra20: Add iommu_ops for GART driver Hiroshi DOYU
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Hiroshi DOYU @ 2012-01-05  7:11 UTC (permalink / raw)
  To: Hiroshi DOYU
  Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linaro-mm-sig-bounces-cunTk1MwBs8s++Sfvej+rw

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2012-01-26 14:59 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05  7:11 [PATCH v3 0/2] ARM: IOMMU: tegra: Add iommu_ops for GART/SMMU driver Hiroshi DOYU
2012-01-05  7:11 ` [PATCH 1/2] ARM: IOMMU: Tegra20: Add iommu_ops for GART driver Hiroshi DOYU
     [not found]   ` <1325747509-29665-2-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-23 15:00     ` Joerg Roedel
     [not found]       ` <20120123150048.GB6269-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2012-01-25  7:40         ` Hiroshi Doyu
     [not found]           ` <20120125.094020.983282777619146490.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-26 11:58             ` joro-zLv9SwRftAIdnm+yROfE0A
     [not found]               ` <20120126115813.GF6269-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2012-01-26 14:45                 ` Hiroshi Doyu
2012-01-05  7:11 ` [PATCH 2/2] ARM: IOMMU: Tegra30: Add iommu_ops for SMMU driver Hiroshi DOYU
     [not found]   ` <1325747509-29665-3-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-23 15:43     ` Joerg Roedel
     [not found]       ` <20120123154310.GC6269-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2012-01-24  9:57         ` Hiroshi Doyu
     [not found]           ` <20120124.115701.2179509760878976509.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-24 11:04             ` Joerg Roedel
     [not found]               ` <20120124110444.GB19255-5C7GfCeVMHo@public.gmane.org>
2012-01-24 11:36                 ` Hiroshi Doyu
     [not found]                   ` <20120124.133614.1646093482547685131.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-24 11:57                     ` joerg.roedel-5C7GfCeVMHo
     [not found]                       ` <20120124115723.GC19255-5C7GfCeVMHo@public.gmane.org>
2012-01-24 12:07                         ` Hiroshi Doyu
2012-01-24 13:41         ` Hiroshi Doyu
     [not found]           ` <20120124.154121.1062920821192552748.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-24 13:46             ` Felipe Balbi
     [not found]               ` <20120124134601.GT27414-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2012-01-24 14:25                 ` joro-zLv9SwRftAIdnm+yROfE0A
     [not found]                   ` <20120124142521.GE6269-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2012-01-25  7:39                     ` Hiroshi Doyu
     [not found]                       ` <20120125.093932.783007031082378997.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-26 14:59                         ` joro-zLv9SwRftAIdnm+yROfE0A
     [not found] ` <1325747509-29665-1-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-05  7:17   ` [PATCH v3 0/2] ARM: IOMMU: tegra: Add iommu_ops for GART/SMMU driver Hiroshi Doyu
     [not found]     ` <20120105091718.3fb378b2a1d390f9dd63c396-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-05 12:53       ` Russell King - ARM Linux
     [not found]         ` <20120105125326.GT11810-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2012-01-05 14:29           ` Hiroshi Doyu
     [not found]             ` <20120105.162930.604365154868332443.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-05 14:46               ` Russell King - ARM Linux
     [not found]                 ` <20120105144631.GV11810-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2012-01-11 14:24                   ` Hiroshi Doyu
2012-01-09  0:39         ` KyongHo Cho
2012-01-09 11:45           ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).