On 3/21/23 2:59 AM, Jacob Pan wrote:
From: Jason Gunthorpe<jgg@xxxxxxxxxx> 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@xxxxxxxxxx> Signed-off-by: Jacob Pan<jacob.jun.pan@xxxxxxxxxxxxxxx>
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> Best regards, baolu