Revert "iommu/arm-smmu: Convert to domain_alloc_paging()"
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 13 Feb 2024 11:31:56 +0000 (13:31 +0200)
committerWill Deacon <will@kernel.org>
Tue, 13 Feb 2024 12:19:55 +0000 (12:19 +0000)
commitb419c5e2d9787a98c1410dbe1d4a25906b96f000
treef1d8c8d2c7572e1c56ab7f4e79afede9facebe54
parent41bccc98fb7931d63d03f326a746ac4d429c1dd3
Revert "iommu/arm-smmu: Convert to domain_alloc_paging()"

This reverts commit 9b3febc3a3da ("iommu/arm-smmu: Convert to
domain_alloc_paging()"). It breaks Qualcomm MSM8996 platform. Calling
arm_smmu_write_context_bank() from new codepath results in the platform
being reset because of the unclocked hardware access.

Fixes: 9b3febc3a3da ("iommu/arm-smmu: Convert to domain_alloc_paging()")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20240213-iommu-revert-domain-alloc-v1-1-325ff55dece4@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu.c