]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/amd-iommu: Fall back to GART if initialization fails
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 31 May 2010 13:05:20 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:15:50 +0000 (11:15 -0700)
commit0ac5ad9b26e8879728141ad76b56a8b9cc72cd98
tree8926affd13bf978ee46964166a5149bf92e0db6b
parent77b0b9457672d4cb8a3a5e32438737dd2b8bad79
x86/amd-iommu: Fall back to GART if initialization fails

commit d7f0776975334070a93370ae048fda0c31a91c38 upstream.

This patch implements a fallback to the GART IOMMU if this
is possible and the AMD IOMMU initialization failed.
Otherwise the fallback would be nommu which is very
problematic on machines with more than 4GB of memory or
swiotlb which hurts io-performance.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/amd_iommu.c
arch/x86/kernel/amd_iommu_init.c