diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-11-18 06:44:21 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-18 08:52:46 -0500 |
commit | a1afd01c175324656d0e8f1c82ea94b474953c04 (patch) | |
tree | 54f3b4528788c84d4a1a4bfb3a8eefcc64e5c48e | |
parent | 4e14e833ac3b97a4aa8803eea49f899adc5bb5f4 (diff) |
x86: default to SWIOTLB=y on x86_64
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>
Cc: stable@kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 93224b569187..669c6d588bde 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -566,7 +566,7 @@ config AMD_IOMMU | |||
566 | 566 | ||
567 | # need this always selected by IOMMU for the VIA workaround | 567 | # need this always selected by IOMMU for the VIA workaround |
568 | config SWIOTLB | 568 | config SWIOTLB |
569 | bool | 569 | def_bool y if X86_64 |
570 | help | 570 | help |
571 | Support for software bounce buffers used on x86-64 systems | 571 | Support for software bounce buffers used on x86-64 systems |
572 | which don't have a hardware IOMMU (e.g. the current generation | 572 | which don't have a hardware IOMMU (e.g. the current generation |