Re: [Xen-devel] [Patch RFC 03/13] vt-d: Track the Device-TLB invalidation status in an invalidation table.

2015-10-12 Thread Jan Beulich
>>> On 10.10.15 at 14:27, wrote: >> > >>> On 29.09.2015 at 17:24 wrote: >> >>> On 16.09.15 at 15:23, wrote: >> > +qinval_entry->q.inv_wait_dsc.hi.saddr = virt_to_maddr( >> > + >> &qi_table_pollslot(d)) >> 2; >> > +rcu_unlock_domain(d); >> >> If you don't hold a reference to the

Re: [Xen-devel] [Patch RFC 03/13] vt-d: Track the Device-TLB invalidation status in an invalidation table.

2015-10-10 Thread Xu, Quan
>> >>> On 29.09.2015 at 17:24 wrote: > >>> On 16.09.15 at 15:23, wrote: > > @@ -139,6 +140,7 @@ static int queue_invalidate_wait(struct iommu *iommu, > > unsigned long flags; > > u64 entry_base; > > struct qinval_entry *qinval_entry, *qinval_entries; > > +struct domain *d; > >

Re: [Xen-devel] [Patch RFC 03/13] vt-d: Track the Device-TLB invalidation status in an invalidation table.

2015-09-29 Thread Jan Beulich
>>> On 16.09.15 at 15:23, wrote: > @@ -139,6 +140,7 @@ static int queue_invalidate_wait(struct iommu *iommu, > unsigned long flags; > u64 entry_base; > struct qinval_entry *qinval_entry, *qinval_entries; > +struct domain *d; > > spin_lock_irqsave(&iommu->register_lock, fl

Re: [Xen-devel] [Patch RFC 03/13] vt-d: Track the Device-TLB invalidation status in an invalidation table.

2015-09-16 Thread Xu, Quan
xen.org; > Tian, Kevin; t...@xen.org; Zhang, Yang Z; george.dun...@eu.citrix.com > Cc: xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [Patch RFC 03/13] vt-d: Track the Device-TLB > invalidation > status in an invalidation table. > > Hi Quan, > > The time of the mail i

Re: [Xen-devel] [Patch RFC 03/13] vt-d: Track the Device-TLB invalidation status in an invalidation table.

2015-09-16 Thread Julien Grall
Hi Quan, The time of the mail is in a future. Can you configure your mail to report the correct time? On 16/09/2015 14:23, Quan Xu wrote: diff --git a/xen/include/xen/hvm/iommu.h b/xen/include/xen/hvm/iommu.h index 106e08f..28e7fc3 100644 --- a/xen/include/xen/hvm/iommu.h +++ b/xen/include/xe

[Xen-devel] [Patch RFC 03/13] vt-d: Track the Device-TLB invalidation status in an invalidation table.

2015-09-15 Thread Quan Xu
Update invalidation table's count of in-flight Device-TLB invalidation request and assign the address of global polling parameter per domain in the Status Address of each invalidation wait descriptor, when submit Device-TLB invalidation requests. Signed-off-by: Quan Xu --- xen/drivers/passthroug