iommu/amd: Implement timeout to flush unmap queues
authorJoerg Roedel <jroedel@suse.de>
Wed, 6 Jul 2016 11:56:36 +0000 (13:56 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 13 Jul 2016 10:48:35 +0000 (12:48 +0200)
commitbb279475db4d0bb07e4dbc99e060362b9f3b5093
tree90200e96f31e77d4c4cb6655804bad33f6e6b8cd
parentb1516a14657acf81a587e9a6e733a881625eee53
iommu/amd: Implement timeout to flush unmap queues

In case the queue doesn't fill up, we flush the TLB at least
10ms after the unmap happened to make sure that the TLB is
cleaned up.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c