Skip to content

iommu/exynos: Add IOMMU and Enhance System MMU for Exynos4

KyongHo Cho linux-arm-kernel linux-samsung-soc lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: EXYNOS4: Change System MMU device definitionarch/arm/mach-exynos4/Kconfig arch/arm/mach-exynos4/clock.c arch/arm/mach-exynos4/dev-sysmmu.c +5 more+210 -2660 replies
2/4ARM: S5P: Remove system MMU driver from arm/plat-s5parch/arm/plat-s5p/Kconfig arch/arm/plat-s5p/Makefile arch/arm/plat-s5p/include/plat/sysmmu.h +1 more+0 -4160 replies
3/4iommu/exynos: Add iommu driver for Exynos4 Platformsdrivers/iommu/Kconfig drivers/iommu/Makefile drivers/iommu/exynos_iommu.c+874 -00 replies
4/4iommu/exynos: Use bus_set_iommu instead of register_iommudrivers/iommu/exynos_iommu.c+1 -10 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/4] iommu/exynos: Add IOMMU and Enhance System MMU for Exynos4

Hi,

The first 2 patches are the revolutionary change to the device definition of System MMU for Exynos4 SoCs:
- System MMU ID is removed and a device and its dedicated System MMU are bound during the machine initialization.
- Only the System MMU platform devices that are bound to their master devices are initialized. If a System MMU is not initialized, it is no longer available.
- Clock gating of System MMU with clkdev.
- Moved System MMU driver to the IOMMU's dedicated directory, drivers/iommu.

The last 2 patches introduce new IOMMU API implementation for Exynos4 System MMU. They implements all IOMMU API including Ohad's latest suggestion about MMU fault handling and Joerg's suggestion about bus_type.

Diffstat:

arch/arm/mach-exynos4/Kconfig               |    2 -
arch/arm/mach-exynos4/clock.c               |   43 +-
arch/arm/mach-exynos4/dev-sysmmu.c          |  281 +++-------
arch/arm/mach-exynos4/include/mach/irqs.h   |    1 -
arch/arm/mach-exynos4/include/mach/map.h    |    1 -
arch/arm/mach-exynos4/include/mach/sysmmu.h |   96 ++--
arch/arm/mach-exynos4/mach-armlex4210.c     |   24 +-
arch/arm/mach-exynos4/mach-smdkv310.c       |   28 +-
arch/arm/plat-s5p/Kconfig                   |    8 -
arch/arm/plat-s5p/Makefile                  |    1 -
arch/arm/plat-s5p/include/plat/sysmmu.h     |   95 ---
arch/arm/plat-s5p/sysmmu.c                  |  312 ----------
drivers/iommu/Kconfig                       |   14 +
drivers/iommu/Makefile                      |    1 +
drivers/iommu/exynos_iommu.c                |  859 +++++++++++++++++++++++++++
15 files changed, 1084 insertions(+), 682 deletions(-)