diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-03-22 13:08:00 -0700 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-03-31 10:03:25 +0200 |
commit | 4e14176ab13fb6986dd079c711d46b70712da2f1 (patch) | |
tree | 6c189fee0c11e4fc61f3ea4afe56ea509feb270e /mm | |
parent | 2bef9ba8aefc211674427a0db046a773001b3329 (diff) | |
download | linux-4e14176ab13fb6986dd079c711d46b70712da2f1.tar.gz linux-4e14176ab13fb6986dd079c711d46b70712da2f1.tar.bz2 linux-4e14176ab13fb6986dd079c711d46b70712da2f1.zip |
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 <baolu.lu@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20230322200803.869130-5-jacob.jun.pan@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions