diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2020-11-06 16:50:48 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-11-23 15:16:55 +0100 |
commit | cfc78dfd9b36dcda7c3ca9cdfca343f84c72252f (patch) | |
tree | 8b1b43574b85d1d31d3aff0c7e7ac67f959118f2 /drivers/iommu/Makefile | |
parent | iommu/ioasid: Add ioasid references (diff) | |
download | linux-cfc78dfd9b36dcda7c3ca9cdfca343f84c72252f.tar.xz linux-cfc78dfd9b36dcda7c3ca9cdfca343f84c72252f.zip |
iommu/sva: Add PASID helpers
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>
Diffstat (limited to 'drivers/iommu/Makefile')
-rw-r--r-- | drivers/iommu/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile index 11f1771104f3..61bd30cd8369 100644 --- a/drivers/iommu/Makefile +++ b/drivers/iommu/Makefile @@ -27,3 +27,4 @@ obj-$(CONFIG_FSL_PAMU) += fsl_pamu.o fsl_pamu_domain.o obj-$(CONFIG_S390_IOMMU) += s390-iommu.o obj-$(CONFIG_HYPERV_IOMMU) += hyperv-iommu.o obj-$(CONFIG_VIRTIO_IOMMU) += virtio-iommu.o +obj-$(CONFIG_IOMMU_SVA_LIB) += iommu-sva-lib.o |