Re: [PATCH v2 15/19] iommu/vt-d: Add bind guest PASID support

2019-04-30 Thread Jacob Pan
On Tue, 30 Apr 2019 09:05:01 +0200 Auger Eric wrote: > On 4/29/19 5:25 PM, Jacob Pan wrote: > > On Fri, 26 Apr 2019 18:15:27 +0200 > > Auger Eric wrote: > > > >> Hi Jacob, > >> > >> On 4/24/19 1:31 AM, Jacob Pan wrote: > >>> When supporting guest SVA with emulated IOMMU, the guest PASID > >

Re: [PATCH v2 15/19] iommu/vt-d: Add bind guest PASID support

2019-04-30 Thread Auger Eric
On 4/29/19 5:25 PM, Jacob Pan wrote: > On Fri, 26 Apr 2019 18:15:27 +0200 > Auger Eric wrote: > >> Hi Jacob, >> >> On 4/24/19 1:31 AM, Jacob Pan wrote: >>> When supporting guest SVA with emulated IOMMU, the guest PASID >>> table is shadowed in VMM. Updates to guest vIOMMU PASID table >>> will

Re: [PATCH v2 15/19] iommu/vt-d: Add bind guest PASID support

2019-04-29 Thread Jacob Pan
On Fri, 26 Apr 2019 18:15:27 +0200 Auger Eric wrote: > Hi Jacob, > > On 4/24/19 1:31 AM, Jacob Pan wrote: > > When supporting guest SVA with emulated IOMMU, the guest PASID > > table is shadowed in VMM. Updates to guest vIOMMU PASID table > > will result in PASID cache flush which will be passed

Re: [PATCH v2 15/19] iommu/vt-d: Add bind guest PASID support

2019-04-26 Thread Auger Eric
Hi Jacob, On 4/24/19 1:31 AM, Jacob Pan wrote: > When supporting guest SVA with emulated IOMMU, the guest PASID > table is shadowed in VMM. Updates to guest vIOMMU PASID table > will result in PASID cache flush which will be passed down to > the host as bind guest PASID calls. > > For the SL page

[PATCH v2 15/19] iommu/vt-d: Add bind guest PASID support

2019-04-23 Thread Jacob Pan
When supporting guest SVA with emulated IOMMU, the guest PASID table is shadowed in VMM. Updates to guest vIOMMU PASID table will result in PASID cache flush which will be passed down to the host as bind guest PASID calls. For the SL page tables, it will be harvested from device's default domain (