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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 07:20:42 +0000 (09:20 +0200)
commit050c4bbc09f17cc60363dabdda1c31aa36a66f1d
treefa8af742a3958341e18e6a0087433a7d7be749d8
parenteb7f31673bbc6a87670139a856d8b950be0820c6
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')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/amd_iommu.c