soc: fsl: qbman: Use iommu_paging_domain_alloc()
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 12 Aug 2024 07:25:27 +0000 (15:25 +0800)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Sep 2024 05:50:57 +0000 (07:50 +0200)
commit77a1a513083188f12361c45f08bdcfa508749b76
tree2a2efac6d79509b9c21ae8d9ae1c28cc5f6fb3d1
parent8400291e289ee6b2bf9779ff1c83a291501f017b
soc: fsl: qbman: Use iommu_paging_domain_alloc()

An iommu domain is allocated in portal_set_cpu() and is attached to
pcfg->dev in the same function.

Use iommu_paging_domain_alloc() to make it explicit.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240610085555.88197-14-baolu.lu@linux.intel.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/soc/fsl/qbman/qman_portal.c