]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/amd: Implement flush queue
authorJoerg Roedel <jroedel@suse.de>
Wed, 6 Jul 2016 11:07:22 +0000 (13:07 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 13 Jul 2016 10:48:35 +0000 (12:48 +0200)
commitb1516a14657acf81a587e9a6e733a881625eee53
treea8ad0ca0bd2af8f59ca489ebcfc4dd50cf8bf57d
parentf1eae7c58036b30d434d84a34c6c3154bfb5b496
iommu/amd: Implement flush queue

With the flush queue the IOMMU TLBs will not be flushed at
every dma-ops unmap operation. The unmapped ranges will be
queued and flushed at once, when the queue is full. This
makes unmapping operations a lot faster (on average) and
restores the performance of the old address allocator.

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