> From: Peter Xu [mailto:pet...@redhat.com]
> Sent: Friday, March 9, 2018 3:59 PM
> Subject: Re: [PATCH v3 12/12] intel_iommu: bind device to PASID tagged
> AddressSpace
>
> On Thu, Mar 08, 2018 at 09:39:18AM +, Liu, Yi L wrote:
> > > From: Peter Xu [mailto:pet...@redhat.com]
> > > Sent: Tuesd
> From: Peter Xu [mailto:pet...@redhat.com]
> Sent: Friday, March 9, 2018 3:59 PM
>
> On Thu, Mar 08, 2018 at 09:39:18AM +, Liu, Yi L wrote:
> > > From: Peter Xu [mailto:pet...@redhat.com]
> > > Sent: Tuesday, March 6, 2018 7:44 PM
> > > Subject: Re: [PATCH v3 12/12] intel_iommu: bind device t
On Thu, Mar 08, 2018 at 09:39:18AM +, Liu, Yi L wrote:
> > From: Peter Xu [mailto:pet...@redhat.com]
> > Sent: Tuesday, March 6, 2018 7:44 PM
> > Subject: Re: [PATCH v3 12/12] intel_iommu: bind device to PASID tagged
> > AddressSpace
> >
> > On Thu, Mar 01, 2018 at 06:33:35PM +0800, Liu, Yi L
> From: Peter Xu [mailto:pet...@redhat.com]
> Sent: Tuesday, March 6, 2018 7:44 PM
> Subject: Re: [PATCH v3 12/12] intel_iommu: bind device to PASID tagged
> AddressSpace
>
> On Thu, Mar 01, 2018 at 06:33:35PM +0800, Liu, Yi L wrote:
> > This patch shows the idea of how a device is binded to a PAS
On Thu, Mar 01, 2018 at 06:33:35PM +0800, Liu, Yi L wrote:
> This patch shows the idea of how a device is binded to a PASID tagged
> AddressSpace.
>
> when Intel vIOMMU emulator detected a pasid table entry programming
> from guest. Intel vIOMMU emulator firstly finds a VTDPASIDAddressSpace
> with
On Fri, Mar 02, 2018 at 03:51:53PM +0100, Paolo Bonzini wrote:
> On 01/03/2018 11:33, Liu, Yi L wrote:
> > +IntelPASIDNode *node;
> > +char name[128];
> > +
> > +QLIST_FOREACH(node, &(s->pasid_as_list), next) {
> > +vtd_pasid_as = node->pasid_as;
> > +if (pasid == vtd_pa
On 01/03/2018 11:33, Liu, Yi L wrote:
> +IntelPASIDNode *node;
> +char name[128];
> +
> +QLIST_FOREACH(node, &(s->pasid_as_list), next) {
> +vtd_pasid_as = node->pasid_as;
> +if (pasid == vtd_pasid_as->sva_ctx.pasid) {
> +return vtd_pasid_as;
> +}
> +
This patch shows the idea of how a device is binded to a PASID tagged
AddressSpace.
when Intel vIOMMU emulator detected a pasid table entry programming
from guest. Intel vIOMMU emulator firstly finds a VTDPASIDAddressSpace
with the pasid field of pasid cache invalidate request.
* If it is to bind
This patch shows the idea of how a device is binded to a PASID tagged
AddressSpace.
when Intel vIOMMU emulator detected a pasid table entry programming
from guest. Intel vIOMMU emulator firstly finds a VTDPASIDAddressSpace
with the pasid field of pasid cache invalidate request.
* If it is to bind