[PATCH 1/2] ARM: dma-mapping: Pass device to arm_iommu_create_mapping()
Jason Gunthorpe
jgg at nvidia.com
Wed Sep 4 12:44:05 UTC 2024
On Mon, Aug 12, 2024 at 03:02:01PM +0800, Lu Baolu wrote:
> From: Robin Murphy <robin.murphy at arm.com>
>
> All users of ARM IOMMU mappings create them for a particular device, so
> change the interface to accept the device rather than forcing a vague
> indirection through a bus type. This prepares for making a similar
> change to iommu_domain_alloc() itself.
>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> Signed-off-by: Lu Baolu <baolu.lu at linux.intel.com>
> Link: https://lore.kernel.org/r/20240610085555.88197-17-baolu.lu@linux.intel.com
> ---
> arch/arm/include/asm/dma-iommu.h | 2 +-
> arch/arm/mm/dma-mapping.c | 8 ++++----
> drivers/gpu/drm/exynos/exynos_drm_dma.c | 2 +-
> drivers/iommu/ipmmu-vmsa.c | 3 +--
> drivers/iommu/mtk_iommu_v1.c | 3 +--
> drivers/media/platform/ti/omap3isp/isp.c | 2 +-
> 6 files changed, 9 insertions(+), 11 deletions(-)
I still have an account with RMK's patch tracking system, so I went
ahead and put these there so Russell can pick them up:
https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=9417/1
https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=9418/1
I think I did it right, though it has been a decade since I last did
this..
Regards,
Jason
More information about the dri-devel
mailing list