VT-d: make flush-all actually flush all
authorJan Beulich <jbeulich@suse.com>
Thu, 10 Dec 2015 12:17:49 +0000 (13:17 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 10 Dec 2015 12:17:49 +0000 (13:17 +0100)
commitfd3102e5d29cd07682e8c507134112225b63b189
tree4c743818288a63be2392f07329e94922b3a5a29f
parent7cc65a9e8178124464760fe6a6bf2ab3726db877
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: "张智" <zhangzhi2014@caep.cn>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Feng Wu <feng.wu@intel.com>
xen/drivers/passthrough/vtd/iommu.c