iommu/io-pgtable: Pass struct iommu_iotlb_gather to ->tlb_add_page()
authorWill Deacon <will@kernel.org>
Tue, 2 Jul 2019 15:45:15 +0000 (16:45 +0100)
committerWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 16:22:59 +0000 (17:22 +0100)
commit3951c41af4a65ba418e6b1b973d398552bedb84f
treec843641d4cb4a9a9ee1557c7cd068bdef3bd86b7
parenta2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6
iommu/io-pgtable: Pass struct iommu_iotlb_gather to ->tlb_add_page()

With all the pieces in place, we can finally propagate the
iommu_iotlb_gather structure from the call to unmap() down to the IOMMU
drivers' implementation of ->tlb_add_page(). Currently everybody ignores
it, but the machinery is now there to defer invalidation.

Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c
drivers/iommu/arm-smmu.c
drivers/iommu/io-pgtable-arm-v7s.c
drivers/iommu/io-pgtable-arm.c
drivers/iommu/msm_iommu.c
drivers/iommu/mtk_iommu.c
drivers/iommu/qcom_iommu.c
include/linux/io-pgtable.h