iommu/amd: Add locking to per-domain flush-queue
authorJoerg Roedel <jroedel@suse.de>
Fri, 2 Jun 2017 13:44:57 +0000 (15:44 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 8 Jun 2017 12:39:16 +0000 (14:39 +0200)
commite241f8e76c152e000d481fc8334d41d22c013fe8
tree1be05851bc3efe2e7b7171b90b623627fc4c7f78
parentfd62190a67d6bdf9b93dea056adfcd7fd29b0f92
iommu/amd: Add locking to per-domain flush-queue

With locking we can safely access the flush-queues of other
cpus.

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