iommu/arm-smmu: Move non-strict mode to use io_pgtable_domain_attr
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Wed, 25 Nov 2020 07:00:13 +0000 (12:30 +0530)
committerWill Deacon <will@kernel.org>
Wed, 25 Nov 2020 13:12:26 +0000 (13:12 +0000)
commit12bc36793fd6dbc910a6d7c5bec707274815b3c0
tree8dc3daa3c26d293a9ebc541218475c5fe0f2bbc2
parentc99110a865a3b0e3203a8b3101eae03ae49a1cf2
iommu/arm-smmu: Move non-strict mode to use io_pgtable_domain_attr

Now that we have a struct io_pgtable_domain_attr with quirks,
use that for non_strict mode as well thereby removing the need
for more members of arm_smmu_domain in the future.

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Link: https://lore.kernel.org/r/c191265f3db1f6b3e136d4057ca917666680a066.1606287059.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu.c
drivers/iommu/arm/arm-smmu/arm-smmu.h