aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorEthan Milon <[email protected]>2025-07-14 04:50:28 +0000
committerWill Deacon <[email protected]>2025-07-14 10:18:04 +0000
commite934464e098ebfc212c72d3022f1d31b88929768 (patch)
treef2cab5dd2c7dc9938dc4af65b1193f296863701c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentiommu/vt-d: Fix missing PASID in dev TLB flush with cache_tag_flush_all (diff)
downloadkernel-e934464e098ebfc212c72d3022f1d31b88929768.tar.gz
kernel-e934464e098ebfc212c72d3022f1d31b88929768.zip
iommu/vt-d: Deduplicate cache_tag_flush_all by reusing flush_range
The logic in cache_tag_flush_all() to iterate over cache tags and issue TLB invalidations is largely duplicated in cache_tag_flush_range(), with the only difference being the range parameters. Extend cache_tag_flush_range() to handle a full address space flush when called with start = 0 and end = ULONG_MAX. This allows cache_tag_flush_all() to simply delegate to cache_tag_flush_range() Signed-off-by: Ethan Milon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions