Re: [PATCH 06/10] iommu/ioasid: Convert to set aware allocations

2020-04-06 Thread Jacob Pan
On Sat, 28 Mar 2020 06:40:58 + "Tian, Kevin" wrote: > > From: Jacob Pan > > Sent: Saturday, March 28, 2020 1:42 AM > > > > On Fri, 27 Mar 2020 09:54:11 + > > "Tian, Kevin" wrote: > > > > > > From: Jacob Pan > > > > Sent: Thursday, March 26, 2020 1:55 AM > > > > > > > > The current

Re: [PATCH 06/10] iommu/ioasid: Convert to set aware allocations

2020-04-01 Thread Jacob Pan
On Wed, 1 Apr 2020 15:55:25 +0200 Jean-Philippe Brucker wrote: > On Wed, Mar 25, 2020 at 10:55:27AM -0700, Jacob Pan wrote: > > The current ioasid_alloc function takes a token/ioasid_set then > > record it on the IOASID being allocated. There is no alloc/free on > > the ioasid_set. > > > > With

Re: [PATCH 06/10] iommu/ioasid: Convert to set aware allocations

2020-04-01 Thread Jean-Philippe Brucker
On Wed, Mar 25, 2020 at 10:55:27AM -0700, Jacob Pan wrote: > The current ioasid_alloc function takes a token/ioasid_set then record it > on the IOASID being allocated. There is no alloc/free on the ioasid_set. > > With the IOASID set APIs, callers must allocate an ioasid_set before > allocate

RE: [PATCH 06/10] iommu/ioasid: Convert to set aware allocations

2020-03-28 Thread Tian, Kevin
> From: Jacob Pan > Sent: Saturday, March 28, 2020 1:42 AM > > On Fri, 27 Mar 2020 09:54:11 + > "Tian, Kevin" wrote: > > > > From: Jacob Pan > > > Sent: Thursday, March 26, 2020 1:55 AM > > > > > > The current ioasid_alloc function takes a token/ioasid_set then > > > record it on the

Re: [PATCH 06/10] iommu/ioasid: Convert to set aware allocations

2020-03-27 Thread Jacob Pan
On Fri, 27 Mar 2020 09:54:11 + "Tian, Kevin" wrote: > > From: Jacob Pan > > Sent: Thursday, March 26, 2020 1:55 AM > > > > The current ioasid_alloc function takes a token/ioasid_set then > > record it on the IOASID being allocated. There is no alloc/free on > > the ioasid_set. > > > >

RE: [PATCH 06/10] iommu/ioasid: Convert to set aware allocations

2020-03-27 Thread Tian, Kevin
> From: Jacob Pan > Sent: Thursday, March 26, 2020 1:55 AM > > The current ioasid_alloc function takes a token/ioasid_set then record it > on the IOASID being allocated. There is no alloc/free on the ioasid_set. > > With the IOASID set APIs, callers must allocate an ioasid_set before > allocate

[PATCH 06/10] iommu/ioasid: Convert to set aware allocations

2020-03-25 Thread Jacob Pan
The current ioasid_alloc function takes a token/ioasid_set then record it on the IOASID being allocated. There is no alloc/free on the ioasid_set. With the IOASID set APIs, callers must allocate an ioasid_set before allocate IOASIDs within the set. Quota and other ioasid_set level activities can