]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteproc: Use iommu_paging_domain_alloc()
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 9 Oct 2024 04:11:44 +0000 (12:11 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 29 Oct 2024 09:03:41 +0000 (10:03 +0100)
commitfae93d8da6b94ca1a6a497e8a00ad87324188cf7
tree27ff4f405faee38015f06aad50d86fcb997dde95
parent69e5a17511f654db0fe058d22719cef008c9faf1
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>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Beleswar Padhi <b-padhi@ti.com>
Link: https://lore.kernel.org/r/20241009041147.28391-2-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/remoteproc/remoteproc_core.c