]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit007f62e8a40d0e81f379d34b23853ad9c728d820
tree243012451e7611837fbbdfefde89d19a00c9baad
parenta0a44100561dbde1c55c607a330025e4fa94fdff
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: 606986d71cf0 ('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