Re: [PATCH v7 4/7] iommu/sva: Stop using ioasid_set for SVA

Baolu Lu
2023-03-21T06:16:17Z

On 3/21/23 2:59 AM, Jacob Pan wrote:
> From: Jason Gunthorpe<jgg@nvidia.com>
>
> Instead SVA drivers can use a simple global IDA to allocate PASIDs for
> each mm_struct.
>
> Future work would be to allow drivers using the SVA APIs to reserve global
> PASIDs from this IDA for their internal use, eg with the DMA API PASID
> support.
>
> Signed-off-by: Jason Gunthorpe<jgg@nvidia.com>
> Signed-off-by: Jacob Pan<jacob.jun.pan@linux.intel.com>

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>

Best regards,
baolu