]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/vt-d: Add a helper to flush cache for updating present pasid entry
authorYi Liu <yi.l.liu@intel.com>
Fri, 8 Nov 2024 02:13:53 +0000 (10:13 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 8 Nov 2024 13:04:50 +0000 (14:04 +0100)
commit9bd008f1a91530f6b58f524f0979521161513fdd
tree0f50c6d06c1889066e56e01fda514640709040fe
parentb45a3777ceabbe08ab7a6e97f258191c07cbab8d
iommu/vt-d: Add a helper to flush cache for updating present pasid entry

Generalize the logic for flushing pasid-related cache upon changes to
bits other than SSADE and P which requires a different flow according
to VT-d spec.

No functional change is intended.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20241107122234.7424-3-yi.l.liu@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/pasid.c