]> git.karo-electronics.de Git - karo-tx-linux.git/commit
intel-iommu: Flush unmaps at domain_exit
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 24 May 2011 11:02:41 +0000 (12:02 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:31 +0000 (15:05 -0700)
commita58f19eeb2ed09582f482e9ecdc6438ee6a28f0a
tree483413bff815b2c170022ed4746c1e50d8ed2dbd
parent3e8b966859c94b48e13e95c3f829743453451f72
intel-iommu: Flush unmaps at domain_exit

commit 7b668357810ecb5fdda4418689d50f5d95aea6a8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/intel-iommu.c