Thread (268 messages) 268 messages, 15 authors, 2021-06-08

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

From: Jason Gunthorpe <hidden>
Date: 2021-05-06 12:22:30
Also in: linux-iommu, lkml

On Wed, May 05, 2021 at 04:23:19PM -0700, Raj, Ashok wrote:
quoted
Which implies the API to the iommu driver should be more like:

  'assign an IOASID to this RID and return the PASID'
  'reserve a PASID from every RID'
I don't think this has any decent change of success. Its rather round about
way to get a global PASID namespace.
quoted
  'assign an IOASID to this RID and use this specific PASID'
This seems a bit complicated. Another way to specify this.
Maybe, but I don't like that the driver-based iommu API has been
corrupted by injecting a global 'first driver to claim it'
resource. It is not properly layered anymore.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help