iommu/vt-d: Fix missing IOTLB flush in intel_iommu_unmap()
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 9 Jun 2014 13:09:53 +0000 (14:09 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 Jul 2014 12:33:59 +0000 (13:33 +0100)
commitfac90e80d8e567113477de8f1ce91e2e3410ac57
tree6c1d6a0afab36c23b002ff7c9f1f1c8e8e3df9b5
parent30c7c6dfd9c8a42aacd6d0d61d2209bc13abbfa3
iommu/vt-d: Fix missing IOTLB flush in intel_iommu_unmap()

Part of commit ea8ea460c9ace60bbb5ac6e5521d637d5c15293d upstream.

This missing IOTLB flush was added as a minor, inconsequential bug-fix
in commit ea8ea460c ("iommu/vt-d: Clean up and fix page table clear/free
behaviour") in 3.15. It wasn't originally intended for -stable but a
couple of users have reported issues which turn out to be fixed by
adding the missing flush.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
[bwh: Backported to 3.2:
 - Adjust context
 - Use &dmar_domain->iommu_bmp, as it is a single word not an array]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/iommu/intel-iommu.c