intel-iommu: Flush unmaps at domain_exit
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 24 May 2011 11:02:41 +0000 (12:02 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 24 May 2011 12:08:34 +0000 (13:08 +0100)
commit7b668357810ecb5fdda4418689d50f5d95aea6a8
tree5a448c81b76121cd3903f807288bd562dc27645b
parentb3a530e4e734cab7043a3ab7d135f539042443a7
intel-iommu: Flush unmaps at domain_exit

We typically batch unmaps to be lazily flushed out at
regular intervals.  When we destroy a domain, we need
to force a flush of these lazy unmaps to be sure none
reference the domain we're about to free.

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=35062
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@kernel.org
drivers/pci/intel-iommu.c