+5
−0
+1
−0
drivers/iommu/iommu-sva-lib.c
0 → 100644
+86
−0
drivers/iommu/iommu-sva-lib.h
0 → 100644
+15
−0
Loading
Let IOMMU drivers allocate a single PASID per mm. Store the mm in the IOASID set to allow refcounting and searching mm by PASID, when handling an I/O page fault. Signed-off-by:Jean-Philippe Brucker <jean-philippe@linaro.org> Reviewed-by:
Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20201106155048.997886-3-jean-philippe@linaro.org Signed-off-by:
Will Deacon <will@kernel.org>