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)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 06:09:50 +0000 (07:09 +0100)
commit544d7ba2c8304b1db4a12a39225443f9f689985d
treeef75644ee431c7d2d644c56889f98336783c534d
parent5abdd6e8304150f7939bb10a27eec38d2483cd9d
iommu/amd: Finish TLB flush in amd_iommu_unmap()

commit ce76353f169a6471542d999baf3d29b121dce9c0 upstream.

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/iommu/amd_iommu.c