Skip to content

arm: omap iommu: add initial support

Hiroshi DOYU linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6omap iommu: tlb and pagetable primitivesarch/arm/plat-omap/include/mach/iommu.h arch/arm/plat-omap/iommu.c arch/arm/plat-omap/iopgtable.h+1142 -07 replies
2/6omap iommu: omap2 architecture specific functionsarch/arm/mach-omap2/iommu2.c arch/arm/plat-omap/include/mach/iommu2.h+419 -00 replies
3/6omap iommu: omap3 iommu device registrationarch/arm/mach-omap2/omap3-iommu.c+111 -04 replies
4/6omap iommu: simple virtual address space managementarch/arm/include/asm/io.h arch/arm/mm/ioremap.c arch/arm/plat-omap/include/mach/iovmm.h +1 more+1003 -02 replies
5/6omap iommu: entries for Kconfig and Makefilearch/arm/plat-omap/Kconfig arch/arm/plat-omap/Makefile+9 -00 replies
6/6omap2 iommu: entries for Kconfig and Makefilearch/arm/mach-omap2/Makefile+5 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] arm: omap iommu: add initial support

The following patches add initial support of omap iommu.

Some of TI OMAP series have the peripheral devices with their own MMU(iommu), which is composed of its own tlb and optional h/w pagetable(twl). These MMUs don't depend on mpu(arm) mmu at all, but their algorithms are somewhat similar and they share the same physical address space. This patch provides with common in-kernel iommu APIs such OMAP peripheral devices(Camera ISP, IVA1, IVA2, DSP and the equivalent ones in the latest OMAP successors) to handle peripheral device iommus in the same manner.

---

Hiroshi DOYU (6):
omap2 iommu: entries for Kconfig and Makefile omap iommu: entries for Kconfig and Makefile omap iommu: simple virtual address space management omap iommu: omap3 iommu device registration omap iommu: omap2 architecture specific functions omap iommu: tlb and pagetable primitives

 arch/arm/include/asm/io.h                |    6 
 arch/arm/mach-omap2/Makefile             |    5 
 arch/arm/mach-omap2/iommu2.c             |  325 +++++++++++
 arch/arm/mach-omap2/omap3-iommu.c        |  111 ++++
 arch/arm/mm/ioremap.c                    |   11 
 arch/arm/plat-omap/Kconfig               |    8 
 arch/arm/plat-omap/Makefile              |    1 
 arch/arm/plat-omap/include/mach/iommu.h  |  157 +++++
 arch/arm/plat-omap/include/mach/iommu2.h |   94 +++
 arch/arm/plat-omap/include/mach/iovmm.h  |   94 +++
 arch/arm/plat-omap/iommu.c               |  913 ++++++++++++++++++++++++++++++
 arch/arm/plat-omap/iopgtable.h           |   72 ++
 arch/arm/plat-omap/iovmm.c               |  892 +++++++++++++++++++++++++++++
 13 files changed, 2689 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-omap2/iommu2.c
 create mode 100644 arch/arm/mach-omap2/omap3-iommu.c
 create mode 100644 arch/arm/plat-omap/include/mach/iommu.h
 create mode 100644 arch/arm/plat-omap/include/mach/iommu2.h
 create mode 100644 arch/arm/plat-omap/include/mach/iovmm.h
 create mode 100644 arch/arm/plat-omap/iommu.c
 create mode 100644 arch/arm/plat-omap/iopgtable.h
 create mode 100644 arch/arm/plat-omap/iovmm.c
Signature · 1 line
   Hiroshi DOYU