Re: [PATCH v3 03/16] iommu: Add I/O ASID allocator

2019-05-22 Thread Jean-Philippe Brucker
On 21/05/2019 18:03, Jacob Pan wrote: > On Tue, 21 May 2019 10:21:55 +0200 > Auger Eric wrote: >>> +config IOASID >>> + bool >> don't we want a tristate here too? >> >> Also refering to the past discussions we could add "# The IOASID >> library may also be used by non-IOMMU_API users" > I

Re: [PATCH v3 03/16] iommu: Add I/O ASID allocator

2019-05-21 Thread Jacob Pan
On Tue, 21 May 2019 11:41:52 +0200 Auger Eric wrote: > Hi, > > On 5/4/19 12:32 AM, Jacob Pan wrote: > > From: Jean-Philippe Brucker > > > > Some devices might support multiple DMA address spaces, in > > particular those that have the PCI PASID feature. PASID (Process > > Address Space ID)

Re: [PATCH v3 03/16] iommu: Add I/O ASID allocator

2019-05-21 Thread Jacob Pan
On Tue, 21 May 2019 10:21:55 +0200 Auger Eric wrote: > Hi, > > On 5/4/19 12:32 AM, Jacob Pan wrote: > > From: Jean-Philippe Brucker > > > > Some devices might support multiple DMA address spaces, in > > particular those that have the PCI PASID feature. PASID (Process > > Address Space ID)

Re: [PATCH v3 03/16] iommu: Add I/O ASID allocator

2019-05-21 Thread Auger Eric
Hi, On 5/4/19 12:32 AM, Jacob Pan wrote: > From: Jean-Philippe Brucker > > Some devices might support multiple DMA address spaces, in particular > those that have the PCI PASID feature. PASID (Process Address Space ID) > allows to share process address spaces with devices (SVA), partition a >

[PATCH v3 03/16] iommu: Add I/O ASID allocator

2019-05-03 Thread Jacob Pan
From: Jean-Philippe Brucker Some devices might support multiple DMA address spaces, in particular those that have the PCI PASID feature. PASID (Process Address Space ID) allows to share process address spaces with devices (SVA), partition a device into VM-assignable entities (VFIO mdev) or