]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARM: 9418/1: dma-mapping: Use iommu_paging_domain_alloc()
authorJason Gunthorpe <jgg@ziepe.ca>
Wed, 4 Sep 2024 12:40:10 +0000 (13:40 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 4 Sep 2024 14:02:07 +0000 (15:02 +0100)
commite02fcd73779cb7dfd4f31064c6145ca737811f6c
tree32eadbd5316e8bcf99d22700e5d0a51b60c20655
parent9e8354b399e99cec3e3546035bee3347a6df2f24
ARM: 9418/1: dma-mapping: Use iommu_paging_domain_alloc()

Since arm_iommu_create_mapping() now accepts the device, let's replace
iommu_domain_alloc() with iommu_paging_domain_alloc() to retire the former.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Jason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/dma-mapping.c