> From: Peter Xu [mailto:[email protected]]
> Sent: Saturday, November 2, 2019 2:10 AM
> To: Liu, Yi L <[email protected]>
> Subject: Re: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context()
> 
> On Thu, Oct 24, 2019 at 08:34:28AM -0400, Liu Yi L wrote:
> > This patch adds pci_device_iommu_context() to get an iommu_context for
> > a given device. A new callback is added in PCIIOMMUOps. Users who
> > wants to listen to events issued by vIOMMU could use this new
> > interface to get an iommu_context and register their own notifiers,
> > then wait for notifications from vIOMMU. e.g. VFIO is the first user
> > of it to listen to the PASID_ALLOC/PASID_BIND/CACHE_INV events and
> > propagate the events to host.
> >
> > Cc: Kevin Tian <[email protected]>
> > Cc: Jacob Pan <[email protected]>
> > Cc: Peter Xu <[email protected]>
> > Cc: Eric Auger <[email protected]>
> > Cc: Yi Sun <[email protected]>
> > Cc: David Gibson <[email protected]>
> > Signed-off-by: Liu Yi L <[email protected]>
> 
> Reviewed-by: Peter Xu <[email protected]>

Thanks for the review.

Regards,
Yi Liu

Reply via email to