diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-11-04 04:40:39 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-11-05 15:32:27 +0300 |
commit | c43e1ccdebf2c950545fdf12c5796ad6f7bad7ee (patch) | |
tree | 0c8eac7e644950464e3f6911f54f1aaa46f31197 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9baed1c28030ebac5d44b889b3adf155340fa751 (diff) | |
download | linux-c43e1ccdebf2c950545fdf12c5796ad6f7bad7ee.tar.xz |
iommu/vt-d: Drain PRQs when domain removed from RID
As this iommu driver now supports page faults for requests without
PASID, page requests should be drained when a domain is removed from
the RID2PASID entry.
This results in the intel_iommu_drain_pasid_prq() call being moved to
intel_pasid_tear_down_entry(). This indicates that when a translation
is removed from any PASID entry and the PRI has been enabled on the
device, page requests are drained in the domain detachment path.
The intel_iommu_drain_pasid_prq() helper has been modified to support
sending device TLB invalidation requests for both PASID and non-PASID
cases.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20241101045543.70086-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions