]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/amd: Free already flushed ring-buffer entries before full-check
authorJoerg Roedel <jroedel@suse.de>
Thu, 22 Jun 2017 10:16:33 +0000 (12:16 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 22 Jun 2017 10:54:22 +0000 (12:54 +0200)
commit9ce3a72cd7f7e0b9ba1c5952e4461b363824bca9
treee294c651d3fc64d471c70ef75a9629a6907adebb
parentffa080ebb5405b27b0b84a3a75c9cdf4ed3d28da
iommu/amd: Free already flushed ring-buffer entries before full-check

To benefit from IOTLB flushes on other CPUs we have to free
the already flushed IOVAs from the ring-buffer before we do
the queue_ring_full() check.

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