AMD IOMMU: protect completion wait loop with iommu lock
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 17 Sep 2008 12:19:15 +0000 (14:19 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Sep 2008 07:25:44 +0000 (09:25 +0200)
The unlocked polling of the ComWaitInt bit in the IOMMU completion wait
path is racy. Protect it with the iommu lock.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found