summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2023-08-09 15:47:56 +0300
committerJoerg Roedel <jroedel@suse.de>2023-08-09 18:44:37 +0300
commitac1a3483febd0ec8fced1ccb15da349dcc360fbb (patch)
treeca018892615b5bf5ac3ca2bfaf5b2f61bd38499f /tools/perf/scripts/python/export-to-postgresql.py
parent2dcebc7ddce7ffd4015824227c7623558b89d721 (diff)
downloadlinux-ac1a3483febd0ec8fced1ccb15da349dcc360fbb.tar.xz
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions