]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit489173e8b30ee399e5ff1714d3373a9c76ed6aed
treec843641d4cb4a9a9ee1557c7cd068bdef3bd86b7
parent6df0f957f18d3ac4671461f914914682a6b05023
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