diff options
author | 2023-10-27 08:05:21 +0800 | |
---|---|---|
committer | 2023-12-12 10:11:29 +0100 | |
commit | 5c79705d7ce8986036c73e89024d189d4f9df1ff (patch) | |
tree | c6f92d4d3933bef49225d87739670ff4753ab4be /tools/perf/scripts/python/libxed.py | |
parent | iommu: Change kconfig around IOMMU_SVA (diff) | |
download | wireguard-linux-5c79705d7ce8986036c73e89024d189d4f9df1ff.tar.xz wireguard-linux-5c79705d7ce8986036c73e89024d189d4f9df1ff.zip |
iommu/vt-d: Remove mm->pasid in intel_sva_bind_mm()
The pasid is passed in as a parameter through .set_dev_pasid() callback.
Thus, intel_sva_bind_mm() can directly use it instead of retrieving the
pasid value from mm->pasid.
Suggested-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20231027000525.1278806-3-tina.zhang@intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions