Re: [Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-10 Thread Jan Beulich
>>> On 10.12.15 at 09:29, wrote: > >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Thursday, December 10, 2015 3:39 PM >> To: Wu, Feng >> Cc: Tian, Kevin ; xen-devel > de...@lists.xenproject.org> >> Subject: RE: [PATCH] VT-d: make flush-all actually flush

Re: [Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-10 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, December 10, 2015 3:39 PM > To: Wu, Feng > Cc: Tian, Kevin ; xen-devel de...@lists.xenproject.org> > Subject: RE: [PATCH] VT-d: make flush-all actually flush all > > >>> On 10.12.15 at 04:06, wrote:

Re: [Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-09 Thread Jan Beulich
>>> On 10.12.15 at 04:06, wrote: > >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Wednesday, December 9, 2015 10:53 PM >> To: xen-devel >> Cc: Wu, Feng ; Tian, Kevin >> Subject: [PATCH] VT-d: make flush-all actually flush all >> >> VT-d: make flush-all

Re: [Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-09 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Wednesday, December 9, 2015 10:53 PM > To: xen-devel > Cc: Wu, Feng ; Tian, Kevin > Subject: [PATCH] VT-d: make flush-all actually flush all > > VT-d: make flush-all actually flush all > > Passing gfn=0 and pa

Re: [Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-09 Thread Andrew Cooper
On 09/12/15 14:52, Jan Beulich wrote: > VT-d: make flush-all actually flush all > > Passing gfn=0 and page_count=0 actually avoids the > iommu_flush_iotlb_dsi() and results in page-specific invalidation > instead. > > Reported-by: "张智" > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper __

[Xen-devel] [PATCH] VT-d: make flush-all actually flush all

2015-12-09 Thread Jan Beulich
VT-d: make flush-all actually flush all Passing gfn=0 and page_count=0 actually avoids the iommu_flush_iotlb_dsi() and results in page-specific invalidation instead. Reported-by: "张智" Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c