]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/iova: Add locking to Flush-Queues
authorJoerg Roedel <jroedel@suse.de>
Thu, 10 Aug 2017 14:31:17 +0000 (16:31 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 15 Aug 2017 16:23:52 +0000 (18:23 +0200)
commitd13df60c333987edba0b05456748b4a517e6ffe5
treef7f822e45c2a0849ce240c486c58bfb0fe0f6ced
parentafee942905c6a6d21e9cc0ddaa53e60068cfc06d
iommu/iova: Add locking to Flush-Queues

The lock is taken from the same CPU most of the time. But
having it allows to flush the queue also from another CPU if
necessary.

This will be used by a timer to regularily flush any pending
IOVAs from the Flush-Queues.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iova.c
include/linux/iova.h