]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitee2fa7435b6dddf1ca119f298ad0100cf50c0397
tree358bd578bc7e0f555307b7bd30464e27c9992e04
parentba0593bf553c450a03dbc5f8c1f0ff58b778a0c8
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