Re: [PATCH v3 04/16] ioasid: Add custom IOASID allocator

2019-05-23 Thread Jacob Pan
On Thu, 23 May 2019 09:14:07 +0200 Auger Eric wrote: > Hi Jacob, > > On 5/22/19 9:42 PM, Jacob Pan wrote: > > On Tue, 21 May 2019 11:55:55 +0200 > > Auger Eric wrote: > > > >> Hi Jacob, > >> > >> On 5/4/19 12:32 AM, Jacob Pan wrote: > >>> Sometimes, IOASID allocation must be handled by

Re: [PATCH v3 04/16] ioasid: Add custom IOASID allocator

2019-05-23 Thread Auger Eric
Hi Jacob, On 5/22/19 9:42 PM, Jacob Pan wrote: > On Tue, 21 May 2019 11:55:55 +0200 > Auger Eric wrote: > >> Hi Jacob, >> >> On 5/4/19 12:32 AM, Jacob Pan wrote: >>> Sometimes, IOASID allocation must be handled by platform specific >>> code. The use cases are guest vIOMMU and pvIOMMU where

Re: [PATCH v3 04/16] ioasid: Add custom IOASID allocator

2019-05-22 Thread Jacob Pan
On Tue, 21 May 2019 11:55:55 +0200 Auger Eric wrote: > Hi Jacob, > > On 5/4/19 12:32 AM, Jacob Pan wrote: > > Sometimes, IOASID allocation must be handled by platform specific > > code. The use cases are guest vIOMMU and pvIOMMU where IOASIDs need > > to be allocated by the host via enlightened

Re: [PATCH v3 04/16] ioasid: Add custom IOASID allocator

2019-05-21 Thread Auger Eric
Hi Jacob, On 5/4/19 12:32 AM, Jacob Pan wrote: > Sometimes, IOASID allocation must be handled by platform specific > code. The use cases are guest vIOMMU and pvIOMMU where IOASIDs need > to be allocated by the host via enlightened or paravirt interfaces. > > This patch adds an extension to the

[PATCH v3 04/16] ioasid: Add custom IOASID allocator

2019-05-03 Thread Jacob Pan
Sometimes, IOASID allocation must be handled by platform specific code. The use cases are guest vIOMMU and pvIOMMU where IOASIDs need to be allocated by the host via enlightened or paravirt interfaces. This patch adds an extension to the IOASID allocator APIs such that platform drivers can