Skip to content

Fix omap-iommu bitrot

Robin Murphy linux-arm-kernel linux-iommu linux-media linux-omap linux-remoteproc 1 version Applied

Status from this message: I applied patches 3 and 4 to the ti/omap branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4remoteproc/omap: Handle ARM dma_iommu_mappingdrivers/remoteproc/omap_remoteproc.c+17 -01 reply
2/4media: omap3isp: Handle ARM dma_iommu_mappingdrivers/media/platform/ti/omap3isp/isp.c+7 -03 replies
3/4iommu/omap: Add minimal fwnode supportdrivers/iommu/omap-iommu.c+16 -100 replies
4/4iommu: Make bus_iommu_probe() staticdrivers/iommu/iommu.c include/linux/iommu.h+2 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchH. Nikolaus SchallerKevin HilmanBeleswar PadhiSicelo A. Mhlongo
SeriesT-b R-b T-b T-b
1/4
2/4T-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] Fix omap-iommu bitrot

Hi all,

It seems omap-iommu hasn't had enough mainline users to avoid bitrotting through the more recent evolution of the IOMMU API internals. These patches attempt to bring it and its consumers sufficiently up-to-date to work again, in a manner that's hopefully backportable. This is largely all written by inspection, but I have managed to lightly boot test patch #3 on an OMAP4 Pandaboard to confirm iommu_probe_device() working again.

This supersedes my previous patch[1]. Patches #1 and #2 are functionally independent, and can be applied directly to their respective trees if preferred.

Thanks,
Robin.

[1] https://lore.kernel.org/linux-iommu/c44545c6d07c65d89daa297298c27bb0f15c8b84.1728393458.git.robin.murphy@arm.com/

Robin Murphy (4):
remoteproc/omap: Handle ARM dma_iommu_mapping
media: omap3isp: Handle ARM dma_iommu_mapping
iommu/omap: Add minimal fwnode support
iommu: Make bus_iommu_probe() static

 drivers/iommu/iommu.c                    |  3 ++-
 drivers/iommu/omap-iommu.c               | 26 +++++++++++++++---------
 drivers/media/platform/ti/omap3isp/isp.c |  7 +++++++
 drivers/remoteproc/omap_remoteproc.c     | 17 ++++++++++++++++
 include/linux/iommu.h                    |  1 -
 5 files changed, 42 insertions(+), 12 deletions(-)
Signature · 1 line
2.39.2.101.g768bb238c484.dirty