diff options
author | Lu Baolu <[email protected]> | 2024-04-24 15:16:34 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-04-26 11:57:42 +0200 |
commit | c4d27ffaa8eb034ec438a9aedfe202ce81e15312 (patch) | |
tree | 858f787fd5aa63069d39371b814ab0670abe0e79 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b1d9e2b2d6856eabf5faa12d20c97fef657999f (diff) |
iommu/vt-d: Add cache tag invalidation helpers
Add several helpers to invalidate the caches after mappings in the
affected domain are changed.
- cache_tag_flush_range() invalidates a range of caches after mappings
within this range are changed. It uses the page-selective cache
invalidation methods.
- cache_tag_flush_all() invalidates all caches tagged by a domain ID.
It uses the domain-selective cache invalidation methods.
- cache_tag_flush_range_np() invalidates a range of caches when new
mappings are created in the domain and the corresponding page table
entries change from non-present to present.
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions