Hi David,
> From: David Gibson < da...@gibson.dropbear.id.au>
> Sent: Wednesday, November 20, 2019 12:28 PM
> To: Liu, Yi L
> Subject: Re: [RFC v2 09/22] vfio/pci: add iommu_context notifier for pasid
> alloc/free
>
> On Wed, Nov 06, 2019 at 12:14:50PM +, Liu, Yi
On Wed, Nov 06, 2019 at 12:14:50PM +, Liu, Yi L wrote:
> > From: David Gibson [mailto:da...@gibson.dropbear.id.au]
> > Sent: Tuesday, October 29, 2019 8:16 PM
> > To: Liu, Yi L
> > Subject: Re: [RFC v2 09/22] vfio/pci: add iommu_context notifier for pasid
> > a
> From: Peter Xu
> Sent: Saturday, November 2, 2019 1:26 AM
> To: David Gibson
> Subject: Re: [RFC v2 09/22] vfio/pci: add iommu_context notifier for pasid
> alloc/free
>
> On Tue, Oct 29, 2019 at 01:15:44PM +0100, David Gibson wrote:
> > > +union IOMMUCTXPA
> From: David Gibson [mailto:da...@gibson.dropbear.id.au]
> Sent: Tuesday, October 29, 2019 8:16 PM
> To: Liu, Yi L
> Subject: Re: [RFC v2 09/22] vfio/pci: add iommu_context notifier for pasid
> alloc/free
>
> On Thu, Oct 24, 2019 at 08:34:30AM -0400, Liu Yi L wrote:
>
On Tue, Oct 29, 2019 at 01:15:44PM +0100, David Gibson wrote:
> > +union IOMMUCTXPASIDReqDesc {
> > +struct {
> > +uint32_t min_pasid;
> > +uint32_t max_pasid;
> > +int32_t alloc_result; /* pasid allocated for the alloc request */
> > +};
> > +struct {
> > +
On Thu, Oct 24, 2019 at 08:34:30AM -0400, Liu Yi L wrote:
> This patch adds pasid alloc/free notifiers for vfio-pci. It is
> supposed to be fired by vIOMMU. VFIO then sends PASID allocation
> or free request to host.
>
> Cc: Kevin Tian
> Cc: Jacob Pan
> Cc: Peter Xu
> Cc: Eric Auger
> Cc: Yi
This patch adds pasid alloc/free notifiers for vfio-pci. It is
supposed to be fired by vIOMMU. VFIO then sends PASID allocation
or free request to host.
Cc: Kevin Tian
Cc: Jacob Pan
Cc: Peter Xu
Cc: Eric Auger
Cc: Yi Sun
Cc: David Gibson
Signed-off-by: Liu Yi L
---
hw/vfio/common.c