iommu/amd: Add per-domain timer to flush per-cpu queues
authorJoerg Roedel <jroedel@suse.de>
Fri, 2 Jun 2017 16:13:37 +0000 (18:13 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 8 Jun 2017 12:39:51 +0000 (14:39 +0200)
commitfca6af6a5976dfa00182232f666b4f789c98bd0c
tree06412062076ed3cee36734665fa776cf6e0adbd7
parenta6e3f6f030396c0576c729fd8ca4bfb654d35bfe
iommu/amd: Add per-domain timer to flush per-cpu queues

Add a timer to each dma_ops domain so that we flush unused
IOTLB entries regularily, even if the queues don't get full
all the time.

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