x86/amd-iommu: Cleanup completion-wait handling
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 6 Apr 2011 15:26:49 +0000 (17:26 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 7 Apr 2011 08:46:00 +0000 (10:46 +0200)
commit815b33fdc279d34ab40a8bfe1866623a4cc5669b
tree8639065da6160d51b75c2a9cde2d7d0574d4024b
parent11b6402c6673b530fac9920c5640c75e99fee956
x86/amd-iommu: Cleanup completion-wait handling

This patch cleans up the implementation of completion-wait
command sending. It also switches the completion indicator
from the MMIO bit to a memory store which can be checked
without IOMMU locking.
As a side effect this patch makes the __iommu_queue_command
function obsolete and so it is removed too.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c