diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2018-09-20 19:10:21 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-10-01 15:01:31 +0300 |
commit | 07fdef34d2be6811f00c6f9e4e2a1483cf86696c (patch) | |
tree | 9e7bbd16f780ce5aeaf04c70aceff2d7fae98375 /net/bpf | |
parent | 901510ee32f7190902f6fe4affb463e5d86a804c (diff) | |
download | linux-07fdef34d2be6811f00c6f9e4e2a1483cf86696c.tar.xz |
iommu/arm-smmu-v3: Implement flush_iotlb_all hook
.flush_iotlb_all is currently stubbed to arm_smmu_iotlb_sync() since the
only time it would ever need to actually do anything is for callers
doing their own explicit batching, e.g.:
iommu_unmap_fast(domain, ...);
iommu_unmap_fast(domain, ...);
iommu_iotlb_flush_all(domain, ...);
where since io-pgtable still issues the TLBI commands implicitly in the
unmap instead of implementing .iotlb_range_add, the "flush" only needs
to ensure completion of those already-in-flight invalidations.
However, we're about to start using it in anger with flush queues, so
let's get a proper implementation wired up.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
[rm: document why it wasn't a bug]
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions