Re: [RFC v2 14/22] vfio/pci: add iommu_context notifier for pasid bind/unbind

2019-11-06 Thread Peter Xu
On Wed, Nov 06, 2019 at 12:22:46PM +, Liu, Yi L wrote: > > From: David Gibson > > Sent: Tuesday, November 5, 2019 12:02 AM > > To: Liu, Yi L > > Subject: Re: [RFC v2 14/22] vfio/pci: add iommu_context notifier for pasid > > bind/unbind > > > > On Thu

RE: [RFC v2 14/22] vfio/pci: add iommu_context notifier for pasid bind/unbind

2019-11-06 Thread Liu, Yi L
> From: David Gibson > Sent: Tuesday, November 5, 2019 12:02 AM > To: Liu, Yi L > Subject: Re: [RFC v2 14/22] vfio/pci: add iommu_context notifier for pasid > bind/unbind > > On Thu, Oct 24, 2019 at 08:34:35AM -0400, Liu Yi L wrote: > > This patch adds notifier

Re: [RFC v2 14/22] vfio/pci: add iommu_context notifier for pasid bind/unbind

2019-11-04 Thread David Gibson
On Thu, Oct 24, 2019 at 08:34:35AM -0400, Liu Yi L wrote: > This patch adds notifier for pasid bind/unbind. VFIO registers this > notifier to listen to the dual-stage translation (a.k.a. nested > translation) configuration changes and propagate to host. Thus vIOMMU > is able to set its translation

[RFC v2 14/22] vfio/pci: add iommu_context notifier for pasid bind/unbind

2019-10-24 Thread Liu Yi L
This patch adds notifier for pasid bind/unbind. VFIO registers this notifier to listen to the dual-stage translation (a.k.a. nested translation) configuration changes and propagate to host. Thus vIOMMU is able to set its translation structures to host. Cc: Kevin Tian Cc: Jacob Pan Cc: Peter Xu