diff options
author | Tomasz Nowicki <tn@semihalf.com> | 2020-07-15 10:06:46 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-07-16 11:29:22 +0300 |
commit | 6a79a5a3842b6a9f639fe2874dd6ae0bd4b24d1a (patch) | |
tree | 72aba6ce163582ca2340c62c26a4a50037410363 /drivers/iommu/mtk_iommu.c | |
parent | 2c5c3cfb2da577bb23c3d9d771cc08300dec3559 (diff) | |
download | linux-6a79a5a3842b6a9f639fe2874dd6ae0bd4b24d1a.tar.xz |
iommu/arm-smmu: Call configuration impl hook before consuming features
'cfg_probe' hook is called at the very end of configuration probing
procedure and therefore features override and workaround may become
complex like for ID register fixups. In preparation for adding Marvell
errata move 'cfg_probe' a bit earlier to have chance to adjust
the detected features before we start consuming them.
Since the Cavium quirk (the only user) does not alter features
it is safe to do so.
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20200715070649.18733-2-tn@semihalf.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/mtk_iommu.c')
0 files changed, 0 insertions, 0 deletions