]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/arm-smmu-v3: Remove arm_smmu_domain_finalise() during attach
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 5 Dec 2024 15:43:27 +0000 (11:43 -0400)
committerWill Deacon <will@kernel.org>
Mon, 9 Dec 2024 23:08:06 +0000 (23:08 +0000)
commit48e7b8e284e5be9fd1b54b60246bcbe9711d43e4
tree65cbf80dc630bc8d91cc6ff03c353a1e38626f73
parent6e192214c6c82c2f52238d5e1865f11594e58a6f
iommu/arm-smmu-v3: Remove arm_smmu_domain_finalise() during attach

Domains are now always finalized during allocation because the core code
no longer permits a NULL dev argument to domain_alloc_paging/_flags().

Remove the late finalize during attach that supported domains that were
not fully initialized.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1-v1-0bb8d5313a27+27b-smmuv3_paging_flags_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h