]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iommu/io-pgtable: Introduce tlb_flush_walk() and tlb_flush_leaf()
authorWill Deacon <will@kernel.org>
Tue, 2 Jul 2019 15:44:16 +0000 (16:44 +0100)
committerWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 16:22:55 +0000 (17:22 +0100)
commit3445545b2248300319b6965208e77140c960c3fd
tree5e5c54c1f85b904030b86620634bf1fcddf60916
parent56f8af5e9d38f120cba2c2adb0786fa2dbc901a4
iommu/io-pgtable: Introduce tlb_flush_walk() and tlb_flush_leaf()

In preparation for deferring TLB flushes to iommu_tlb_sync(), introduce
two new synchronous invalidation helpers to the io-pgtable API, which
allow the unmap() code to force invalidation in cases where it cannot be
deferred (e.g. when replacing a table with a block or when TLBI_ON_MAP
is set).

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