iommu/io-pgtable: Replace ->tlb_add_flush() with ->tlb_add_page()
authorWill Deacon <will@kernel.org>
Tue, 2 Jul 2019 15:44:41 +0000 (16:44 +0100)
committerWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 16:22:57 +0000 (17:22 +0100)
commitabfd6fe0cd535d31ee83b668be6eb59ce6a8469d
tree3434e458e2191d71cb8d6211209044d8e3560bcd
parent10b7a7d912697afd681a0bcfced9e05543aded35
iommu/io-pgtable: Replace ->tlb_add_flush() with ->tlb_add_page()

The ->tlb_add_flush() callback in the io-pgtable API now looks a bit
silly:

  - It takes a size and a granule, which are always the same
  - It takes a 'bool leaf', which is always true
  - It only ever flushes a single page

With that in mind, replace it with an optional ->tlb_add_page() callback
that drops the useless parameters.

Signed-off-by: Will Deacon <will@kernel.org>
drivers/gpu/drm/panfrost/panfrost_mmu.c
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/ipmmu-vmsa.c
drivers/iommu/msm_iommu.c
drivers/iommu/mtk_iommu.c
drivers/iommu/qcom_iommu.c
include/linux/io-pgtable.h