Skip to content

iommu: Remove OMAP IOVMM driver

Suman Anna linux-arm-kernel linux-iommu linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 3 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchSuman AnnaTony Lindgren
SeriesA-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] iommu: Remove OMAP IOVMM driver

Hi Laurent,

Quoted 9 lines · Laurent Pinchart

Hello,

The OMAP3 ISP driver was the only user of the OMAP IOVMM API. Now that is has been ported to the DMA API, remove the unused virtual memory manager.

The removal is split in three patches to ease upstream merge. The first patch removes the omap-iovmm driver, the second patch removes setting of now unused platform data fields from arch code, and the last patch cleans up the platform data structure.

Thanks for the revised series, it looks good. I have also tested the series on OMAP3, OMAP4 and OMAP5.

For the changes in the entire series,

regards
Suman

Quoted 34 lines

I'd like to get at least the first patch merged in v3.17. To avoid splitting the series across three kernel versions, it would be nice to also merge at least the second patch for v3.17. If there's no risk of conflict everything could be merged in one go through the ARM SoC tree. Otherwise a stable branch with patch 1/3 will be needed to base the arch change on.

Joerg, Tony, how would you like to proceed ?

Changes compared to v1:

- Fix OMAP_IOMMU_DEBUG dependency on OMAP_IOMMU
- Remove omap_iommu da_start and da_end fields
- Added patches 2/3 and 3/3

Laurent Pinchart (3):
iommu/omap: Remove virtual memory manager
ARM: omap: Don't set iommu pdata da_start and da_end fields iommu/omap: Remove platform data da_start and da_end fields

 arch/arm/mach-omap2/omap-iommu.c           |   2 -
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   4 -
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |   4 -
 drivers/iommu/Kconfig                      |  10 +-
 drivers/iommu/Makefile                     |   1 -
 drivers/iommu/omap-iommu-debug.c           | 114 -----
 drivers/iommu/omap-iommu.c                 |  13 -
 drivers/iommu/omap-iommu.h                 |   8 +-
 drivers/iommu/omap-iovmm.c                 | 791 -----------------------------
 include/linux/omap-iommu.h                 |  37 +-
 include/linux/platform_data/iommu-omap.h   |   6 -
 11 files changed, 8 insertions(+), 982 deletions(-)
 delete mode 100644 drivers/iommu/omap-iovmm.c