Re: [RFC v2 01/20] iommu: Introduce bind_pasid_table API

2018-09-20 Thread Jacob Pan
On Tue, 18 Sep 2018 16:24:38 +0200 Eric Auger wrote: > From: Jacob Pan > > In virtualization use case, when a guest is assigned > a PCI host device, protected by a virtual IOMMU on a guest, > the physical IOMMU must be programmed to be consistent with > the guest mappings. If the physical

[RFC v2 01/20] iommu: Introduce bind_pasid_table API

2018-09-18 Thread Eric Auger
From: Jacob Pan In virtualization use case, when a guest is assigned a PCI host device, protected by a virtual IOMMU on a guest, the physical IOMMU must be programmed to be consistent with the guest mappings. If the physical IOMMU supports two translation stages it makes sense to program guest