]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/io-pgtable-arm: Call ->tlb_flush_walk() and ->tlb_flush_leaf()
authorWill Deacon <will@kernel.org>
Tue, 2 Jul 2019 15:44:32 +0000 (16:44 +0100)
committerWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 16:22:57 +0000 (17:22 +0100)
commit75cbd47f7d5a257bf91fa5d4371ebcb7df22a7a5
tree0db2a2ccbf0d8d07f7c37d7a84d5aed43d0da13e
parentc32424f8ce63ba4aefe21f732de7ff695f162fcb
iommu/io-pgtable-arm: Call ->tlb_flush_walk() and ->tlb_flush_leaf()

Now that all IOMMU drivers using the io-pgtable API implement the
->tlb_flush_walk() and ->tlb_flush_leaf() callbacks, we can use them in
the io-pgtable code instead of ->tlb_add_flush() immediately followed by
->tlb_sync().

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