Re: [PATCH 1/2] ARM: dma-mapping: Pass device to arm_iommu_create_mapping()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 12, 2024 at 03:02:01PM +0800, Lu Baolu wrote:
> From: Robin Murphy <robin.murphy@xxxxxxx>
> 
> 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@xxxxxxx>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20240610085555.88197-17-baolu.lu@xxxxxxxxxxxxxxx
> ---
>  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



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux