]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteproc: omap: Handle ARM dma_iommu_mapping
authorRobin Murphy <robin.murphy@arm.com>
Mon, 28 Oct 2024 17:58:35 +0000 (17:58 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 6 Dec 2024 16:44:48 +0000 (09:44 -0700)
commit1dc7c8ed7cb378dd3974387692dfa833aee718d4
tree3430ed9e3139da125340b9af6132c6d7ad907af4
parent7378aeb664e5ebc396950b36a1f2dedf5aabec20
remoteproc: omap: Handle ARM dma_iommu_mapping

It's no longer practical for the OMAP IOMMU driver to trick
arm_setup_iommu_dma_ops() into ignoring its presence, so let's use the
same tactic as other IOMMU API users on 32-bit ARM and explicitly kick
the arch code's dma_iommu_mapping out of the way to avoid problems.

Fixes: 4720287c7bf7 ("iommu: Remove struct iommu_ops *iommu from arch_setup_dma_ops()")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Beleswar Padhi <b-padhi@ti.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/6186e311cb6f64a787f87fd41e49a73f409b789c.1730136799.git.robin.murphy@arm.com
[Fixed changelog title]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/omap_remoteproc.c