]> git.baikalelectronics.ru Git - kernel.git/commit
AMD IOMMU: set iommu sunc flag after command queuing
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 17 Sep 2008 11:47:25 +0000 (13:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Sep 2008 07:25:04 +0000 (09:25 +0200)
commitab2bdb10cdf02c270afcd4392345086d7ff72748
tree358bd578bc7e0f555307b7bd30464e27c9992e04
parentf1acb37f8e654cd3ab1cb194f1eb88ed6cfbbd55
AMD IOMMU: set iommu sunc flag after command queuing

The iommu->need_sync flag must be set after the command is queued to
avoid race conditions.

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