aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/Kconfig
diff options
context:
space:
mode:
authorMuli Ben-Yehuda <muli@il.ibm.com>2006-12-06 20:14:07 -0500
committerAndi Kleen <andi@basil.nowhere.org>2006-12-06 20:14:07 -0500
commitbff6547bb6a4e82c399d74e7fba78b12d2f162ed (patch)
treefaeb4e95d243b0eb5cd6337739e4c14d154b282f /arch/x86_64/Kconfig
parenteae93755540bae18aff46b8a0e621b5d65bd5380 (diff)
[PATCH] Calgary: allow compiling Calgary in but not using it by default
This patch makes it possible to compile Calgary in but not use it by default. In this mode, use 'iommu=calgary' to activate it. Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r--arch/x86_64/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
index 010d2265f1cf..5cb509dbffe4 100644
--- a/arch/x86_64/Kconfig
+++ b/arch/x86_64/Kconfig
@@ -455,6 +455,17 @@ config CALGARY_IOMMU
455 Normally the kernel will make the right choice by itself. 455 Normally the kernel will make the right choice by itself.
456 If unsure, say Y. 456 If unsure, say Y.
457 457
458config CALGARY_IOMMU_ENABLED_BY_DEFAULT
459 bool "Should Calgary be enabled by default?"
460 default y
461 depends on CALGARY_IOMMU
462 help
463 Should Calgary be enabled by default? if you choose 'y', Calgary
464 will be used (if it exists). If you choose 'n', Calgary will not be
465 used even if it exists. If you choose 'n' and would like to use
466 Calgary anyway, pass 'iommu=calgary' on the kernel command line.
467 If unsure, say Y.
468
458# need this always selected by IOMMU for the VIA workaround 469# need this always selected by IOMMU for the VIA workaround
459config SWIOTLB 470config SWIOTLB
460 bool 471 bool