Re: [PATCH v8 03/12] iommu/sva: Add PASID helpers

2020-06-19 Thread Lu Baolu
Hi Jean, On 2020/6/18 23:51, Jean-Philippe Brucker wrote: 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 Reviewed-by: Lu Baolu Best regard

[PATCH v8 03/12] iommu/sva: Add PASID helpers

2020-06-18 Thread Jean-Philippe Brucker
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 --- v7->v8: rename to IOMMU_SVA_LIB (Lu Baolu) --- drivers/iommu/Kconfig | 5 +++ driver