amd-iommu: disable IOMMU hardware on shutdown
commit0975904276552c8e201dad0ad31152ba8a21505a
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 9 Jun 2009 15:52:27 +0000 (9 17:52 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 15 Jun 2009 13:20:40 +0000 (15 15:20 +0200)
treec7db491abe7dcb001c46ad30341475755f5b07ca
parent92db1e6af747faa129e236d68386af26a0efc12b
amd-iommu: disable IOMMU hardware on shutdown

When the IOMMU stays enabled the BIOS may not be able to finish the
machine shutdown properly. So disable the hardware on shutdown.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/include/asm/amd_iommu.h
arch/x86/kernel/amd_iommu_init.c
arch/x86/kernel/pci-dma.c