Loading
Revert "iommu/arm-smmu: Convert to domain_alloc_paging()"
mainline inclusion from mainline-v6.8-rc6 commit b419c5e2d9787a98c1410dbe1d4a25906b96f000 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I938E2 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b419c5e2d9787a98c1410dbe1d4a25906b96f000 -------------------------------- 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> Signed-off-by:
Jason Zeng <jason.zeng@intel.com>