diff options
author | Lu Baolu <[email protected]> | 2024-04-24 15:16:39 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-04-26 11:57:45 +0200 |
commit | 06792d06798931696dd78f65024de4cc66f2fd5b (patch) | |
tree | 5b5f9b76929516e0d2b132e0e52ad73b73508c45 /tools/perf/util/trace-event-scripting.c | |
parent | 129dab6e1286525fe5baed860d3dfcd9c6b4b327 (diff) |
iommu/vt-d: Cleanup use of iommu_flush_iotlb_psi()
Use cache_tag_flush_range() in switch_to_super_page() to invalidate the
necessary caches when switching mappings from normal to super pages. The
iommu_flush_iotlb_psi() call in intel_iommu_memory_notifier() is
unnecessary since there should be no cache invalidation for the identity
domain.
Clean up iommu_flush_iotlb_psi() after the last call site is removed.
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions