iommu/amd: Flush the IOMMU TLB before the addresses are freed
authorJoerg Roedel <jroedel@suse.de>
Mon, 21 Dec 2015 12:23:59 +0000 (13:23 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 28 Dec 2015 16:18:50 +0000 (17:18 +0100)
commit84b3a0bc88534d9e49d1642957f64db61a3aa5c4
tree4e19eaf27b3d1c341c85a62c7691ab20d8886569
parent53b3b65aa5befe9e96e8f8708a76208190a07e14
iommu/amd: Flush the IOMMU TLB before the addresses are freed

This allows to keep the bitmap_lock only for a very short
period of time.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c