diff options
author | Tina Zhang <tina.zhang@intel.com> | 2023-10-27 03:05:21 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-12-12 12:11:29 +0300 |
commit | 5c79705d7ce8986036c73e89024d189d4f9df1ff (patch) | |
tree | c6f92d4d3933bef49225d87739670ff4753ab4be /include/linux/iommu.h | |
parent | 8f23f5dba6b4693448144bde4dd6f537543442c2 (diff) | |
download | linux-5c79705d7ce8986036c73e89024d189d4f9df1ff.tar.xz |
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 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions