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

Reset is an activity rife with implementation-defined poking. Add a
corresponding hook, and use it to encapsulate the existing MMU-500
details.

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