diff options
| author | Lu Baolu <[email protected]> | 2024-04-24 07:16:39 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-04-26 09:57:45 +0000 |
| commit | 06792d06798931696dd78f65024de4cc66f2fd5b (patch) | |
| tree | 5b5f9b76929516e0d2b132e0e52ad73b73508c45 /drivers/iommu/intel/nested.c | |
| parent | iommu/vt-d: Use cache_tag_flush_range_np() in iotlb_sync_map (diff) | |
| download | kernel-06792d06798931696dd78f65024de4cc66f2fd5b.tar.gz kernel-06792d06798931696dd78f65024de4cc66f2fd5b.zip | |
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 'drivers/iommu/intel/nested.c')
0 files changed, 0 insertions, 0 deletions
