]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
remoteproc: Use iommu_paging_domain_alloc()
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 12 Aug 2024 07:28:11 +0000 (15:28 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 30 Sep 2024 15:59:42 +0000 (09:59 -0600)
commit8a8622b7c20658bf24b4d48dc53aaa893c37f482
tree06235292dba9cf2cb1cb55d334e8ed09a75acea5
parenta36d9f96d1cf7c0308bf091e810bec06ce492c3d
remoteproc: Use iommu_paging_domain_alloc()

An iommu domain is allocated in rproc_enable_iommu() and is attached to
rproc->dev.parent 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/20240812072811.9737-1-baolu.lu@linux.intel.com
Acked-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/remoteproc_core.c