Hi Robin,
On 28/10/24 23:28, Robin Murphy wrote:
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.mur...@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
Tested this series on omap4 w.r.t. remoteproc subsystem on v6.12-rc5, it
works fine; attached logs[2]. Therefore, for series please use:
Tested-by: Beleswar Padhi <b-pa...@ti.com>
Many thanks for working on the fix.
Best,
Beleswar
[2]: https://gist.github.com/3V3RYONE/f9244a0aa0e3514b7c62f7965cbb0bae
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(-)