]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit181080b473aa77d822ac745a87e49e880268bc86
treeeacefdd0980b384a89463cca211c042c7faa9b1d
parentab2bdb10cdf02c270afcd4392345086d7ff72748
AMD IOMMU: protect completion wait loop with iommu lock

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>
arch/x86/kernel/amd_iommu.c