Home
last modified time | relevance | path

Searched hist:"19 abcf70c2b16834a607db515b26a32b233c79eb" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iommu/intel/
H A Dsvm.cdiff 19abcf70c2b16834a607db515b26a32b233c79eb Fri Jul 24 03:49:22 CEST 2020 Lu Baolu <baolu.lu@linux.intel.com> iommu/vt-d: Add a helper to get svm and sdev for pasid

There are several places in the code that need to get the pointers of
svm and sdev according to a pasid and device. Add a helper to achieve
this for code consolidation and readability.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20200724014925.15523-10-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>