iommu/vt-d: Use cache_tag_flush_range() in tlb_sync
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 24 Apr 2024 07:16:37 +0000 (15:16 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 26 Apr 2024 09:57:44 +0000 (11:57 +0200)
commita600ccd0a347e8f9c9f35f229e1ccd0dca9374c4
treec200c44aa8e84ad012f6d7648ef3fa4334be3876
parent4e589a53685c7658f9055fcedbce15bd4cc41134
iommu/vt-d: Use cache_tag_flush_range() in tlb_sync

The tlb_sync callback is called by the iommu core to flush a range of
caches for the affected 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-6-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c