iommu/arm-smmu-v3: Hook up ATC invalidation to mm ops
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Fri, 6 Nov 2020 15:50:50 +0000 (16:50 +0100)
committerWill Deacon <will@kernel.org>
Mon, 23 Nov 2020 14:16:55 +0000 (14:16 +0000)
commit2f7e8c553e98d6fcddeaf18aa90ea908e3f1418e
treea45dd6a7f5c4cecccf8706e813e4a6061d6c9830
parent32784a9562fb0518b12e9797ee2aec52214adf6f
iommu/arm-smmu-v3: Hook up ATC invalidation to mm ops

The invalidate_range() notifier is called for any change to the address
space. Perform the required ATC invalidations.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20201106155048.997886-5-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h