Re: [PATCH v4 14/22] iommu/vt-d: Add custom allocator for IOASID

2019-08-05 Thread Jacob Pan
On Tue, 16 Jul 2019 11:30:14 +0200 Auger Eric wrote: > Hi Jacob, > > On 6/9/19 3:44 PM, Jacob Pan wrote: > > When VT-d driver runs in the guest, PASID allocation must be > > performed via virtual command interface. This patch registers a > > custom IOASID allocator which takes precedence over th

Re: [PATCH v4 14/22] iommu/vt-d: Add custom allocator for IOASID

2019-07-16 Thread Auger Eric
Hi Jacob, On 6/9/19 3:44 PM, Jacob Pan wrote: > When VT-d driver runs in the guest, PASID allocation must be > performed via virtual command interface. This patch registers a > custom IOASID allocator which takes precedence over the default > XArray based allocator. The resulting IOASID allocation

[PATCH v4 14/22] iommu/vt-d: Add custom allocator for IOASID

2019-06-09 Thread Jacob Pan
When VT-d driver runs in the guest, PASID allocation must be performed via virtual command interface. This patch registers a custom IOASID allocator which takes precedence over the default XArray based allocator. The resulting IOASID allocation will always come from the host. This ensures that PASI