summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-11-18 12:44:21 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:35:29 -0800
commit11fea7ace7b0086f853854df8653d1c8f90a9fb9 (patch)
treef5f594744e2dc4530654af8e11cbf37cf890271f /arch
parent28c8678935618ab43e9e5ea7f8893ad3096cf431 (diff)
downloadlinux-stable-11fea7ace7b0086f853854df8653d1c8f90a9fb9.tar.gz
linux-stable-11fea7ace7b0086f853854df8653d1c8f90a9fb9.tar.bz2
linux-stable-11fea7ace7b0086f853854df8653d1c8f90a9fb9.zip
x86: default to SWIOTLB=y on x86_64
commit a1afd01c175324656d0e8f1c82ea94b474953c04 upstream. Impact: fixes korg bugzilla 11980 A kernel for a 64bit x86 system should always contain the swiotlb code in case it is booted on a machine without any hardware IOMMU supported by the kernel and more than 4GB of RAM. This patch changes Kconfig to always compile swiotlb into the kernel for x86_64. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 552d2b7a344c..388bae2bff8f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -567,7 +567,7 @@ config AMD_IOMMU
# need this always selected by IOMMU for the VIA workaround
config SWIOTLB
- bool
+ def_bool y if X86_64
help
Support for software bounce buffers used on x86-64 systems
which don't have a hardware IOMMU (e.g. the current generation