]> git.baikalelectronics.ru Git - kernel.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)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 1 Jun 2010 08:20:15 +0000 (10:20 +0200)
commitf274b55f7da14289013843fdcf9930e5d5689793
treee1eb9681756be538f8108a1b1fd54f8b1eb0e294
parent220684cff8aa5109ffa4312b70a5382e3cccacc8
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