diff options
author | Jason Gunthorpe <[email protected]> | 2023-03-22 13:08:00 -0700 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-03-31 10:03:25 +0200 |
commit | 4e14176ab13fb6986dd079c711d46b70712da2f1 (patch) | |
tree | 6c189fee0c11e4fc61f3ea4afe56ea509feb270e /lib/mpi/mpi-mod.c | |
parent | 2bef9ba8aefc211674427a0db046a773001b3329 (diff) |
iommu/sva: Stop using ioasid_set for SVA
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.
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions