]> git.baikalelectronics.ru Git - kernel.git/commit
amd-iommu: disable cmd buffer and evt logging before reprogramming iommu
authorChris Wright <chrisw@sous-sol.org>
Mon, 15 Jun 2009 13:53:45 +0000 (15:53 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 15 Jun 2009 13:53:45 +0000 (15:53 +0200)
commit8f81e60a149c7bb3d095421d8014601d1b7106f9
treea87f877258454e5d48a39162d895a0fada250a36
parentdee3113e4667c59a55c88fd7f5d3d9732ba7d5fa
amd-iommu: disable cmd buffer and evt logging before reprogramming iommu

The IOMMU spec states that IOMMU behavior may be undefined when the
IOMMU registers are rewritten while command or event buffer is enabled.
Disable them in IOMMU disable path.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu_init.c