summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2023-08-09 20:47:56 +0800
committerJoerg Roedel <jroedel@suse.de>2023-08-09 17:44:37 +0200
commitac1a3483febd0ec8fced1ccb15da349dcc360fbb (patch)
treeca018892615b5bf5ac3ca2bfaf5b2f61bd38499f /tools
parent2dcebc7ddce7ffd4015824227c7623558b89d721 (diff)
downloadlinux-stable-ac1a3483febd0ec8fced1ccb15da349dcc360fbb.tar.gz
linux-stable-ac1a3483febd0ec8fced1ccb15da349dcc360fbb.tar.bz2
linux-stable-ac1a3483febd0ec8fced1ccb15da349dcc360fbb.zip
iommu/vt-d: Add domain_flush_pasid_iotlb()
The VT-d spec requires to use PASID-based-IOTLB invalidation descriptor to invalidate IOTLB and the paging-structure caches for a first-stage page table. Add a generic helper to do this. RID2PASID is used if the domain has been attached to a physical device, otherwise real PASIDs that the domain has been attached to will be used. The 'real' PASID attachment is handled in the subsequent change. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Link: https://lore.kernel.org/r/20230802212427.1497170-4-jacob.jun.pan@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions