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)
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>

No differences found