linux/drivers/iommu/intel
Lu Baolu 19abcf70c2 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>
2020-07-24 10:51:21 +02:00
..
debugfs.c
dmar.c iommu/vt-d: Handle non-page aligned address 2020-07-24 10:51:21 +02:00
intel-pasid.h
iommu.c iommu/vt-d: Refactor device_to_iommu() helper 2020-07-24 10:51:21 +02:00
irq_remapping.c
pasid.c iommu/vt-d: Fix PASID devTLB invalidation 2020-07-24 10:51:20 +02:00
svm.c iommu/vt-d: Add a helper to get svm and sdev for pasid 2020-07-24 10:51:21 +02:00
trace.c