]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Wait for completion of IOTLB flush in attach_device
authorFilippo Sironi <sironi@amazon.de>
Tue, 10 Sep 2019 17:49:21 +0000 (19:49 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 24 Sep 2019 09:40:04 +0000 (11:40 +0200)
commit9baf3000ae230615e55cbb3927ea3070cfebb113
tree75e0b14311b001521de787fdfa88b07f7f771b6e
parentacf4e0f777245d548ee7205405c03ff6d08e44e4
iommu/amd: Wait for completion of IOTLB flush in attach_device

To make sure the domain tlb flush completes before the
function returns, explicitly wait for its completion.

Signed-off-by: Filippo Sironi <sironi@amazon.de>
Fixes: dee3113e4667 ("amd-iommu: flush domain tlb when attaching a new device")
[joro: Added commit message and fixes tag]
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c