Messages in this thread Patch in this message | | | From | Filippo Sironi <> | Subject | [PATCH 1/5] iommu/amd: Wait for completion of IOTLB flush in attach_device | Date | Tue, 10 Sep 2019 19:49:21 +0200 |
| |
Signed-off-by: Filippo Sironi <sironi@amazon.de> --- drivers/iommu/amd_iommu.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 61de81965c44..f026a8c2b218 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -2169,6 +2169,8 @@ static int attach_device(struct device *dev, */ domain_flush_tlb_pde(domain); + domain_flush_complete(domain); + return ret; } -- 2.7.4
| |