Re: [RFC 3/9] iommu: Introduce iommu do invalidate API function

2017-06-22 Thread Alex Williamson
On Wed, 14 Jun 2017 15:22:57 -0700 Jacob Pan wrote: > From: "Liu, Yi L" > > When a SVM capable device is assigned to a guest, the first level page > tables are owned by the guest and the guest PASID table pointer is > linked to the device context entry of the physical IOMMU. > > Host IOMMU dri

[RFC 3/9] iommu: Introduce iommu do invalidate API function

2017-06-14 Thread Jacob Pan
From: "Liu, Yi L" When a SVM capable device is assigned to a guest, the first level page tables are owned by the guest and the guest PASID table pointer is linked to the device context entry of the physical IOMMU. Host IOMMU driver has no knowledge of caching structure updates unless the guest i