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)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 1 Jun 2010 08:20:15 +0000 (10:20 +0200)
commitd7f0776975334070a93370ae048fda0c31a91c38
treee1eb9681756be538f8108a1b1fd54f8b1eb0e294
parente82752d8b5a7e0a5e4d607fd8713549e2a4e2741
x86/amd-iommu: Fall back to GART if initialization fails

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.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c
arch/x86/kernel/amd_iommu_init.c