iommu/amd: Finish TLB flush in amd_iommu_unmap()
authorJoerg Roedel <jroedel@suse.de>
Fri, 13 Oct 2017 12:32:37 +0000 (14:32 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 13 Oct 2017 15:32:19 +0000 (17:32 +0200)
commitce76353f169a6471542d999baf3d29b121dce9c0
tree243012451e7611837fbbdfefde89d19a00c9baad
parent9d25e3cc83d731ae4eeb017fd07562fde3f80bef
iommu/amd: Finish TLB flush in amd_iommu_unmap()

The function only sends the flush command to the IOMMU(s),
but does not wait for its completion when it returns. Fix
that.

Fixes: 601367d76bd1 ('x86/amd-iommu: Remove iommu_flush_domain function')
Cc: stable@vger.kernel.org # >= 2.6.33
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c