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

2024-09-04 Thread Jason Gunthorpe
On Mon, Aug 12, 2024 at 03:02:01PM +0800, Lu Baolu wrote: > From: Robin Murphy > > 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 >

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

2024-08-12 Thread Lu Baolu
From: Robin Murphy 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