iommu/arm-smmu: Add configuration implementation hook
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Aug 2019 18:37:35 +0000 (19:37 +0100)
committerWill Deacon <will@kernel.org>
Mon, 19 Aug 2019 15:52:48 +0000 (16:52 +0100)
commit3995e18689fda2434863bdf2a8cd19acea4e61f0
tree55fa44c6b583f74c3787892192037a62166ba034
parent6d7dff62afb0c7a880860148a8984d0cddc6e589
iommu/arm-smmu: Add configuration implementation hook

Probing the ID registers and setting up the SMMU configuration is an
area where overrides and workarounds may well be needed. Indeed, the
Cavium workaround detection lives there at the moment, so let's break
that out.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-impl.c
drivers/iommu/arm-smmu.c
drivers/iommu/arm-smmu.h