iommu/vt-d: Use cache_tag_flush_range() in cache_invalidate_user
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 24 Apr 2024 07:16:40 +0000 (15:16 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 26 Apr 2024 09:57:46 +0000 (11:57 +0200)
commit8ebc22366ed8bb2cbcf215bfa3fabb4f36d10a91
treeed876d75fc6f44eb2d07cd6b435b86ad925897b6
parent06792d06798931696dd78f65024de4cc66f2fd5b
iommu/vt-d: Use cache_tag_flush_range() in cache_invalidate_user

The cache_invalidate_user callback is called to invalidate a range
of caches for the affected user domain. Use cache_tag_flush_range()
in this callback.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240416080656.60968-9-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.h
drivers/iommu/intel/nested.c