diff options
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r-- | arch/x86_64/Kconfig | 43 |
1 files changed, 32 insertions, 11 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 010d2265f1cf..bfbb9bcae123 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -122,7 +122,7 @@ endchoice | |||
122 | 122 | ||
123 | choice | 123 | choice |
124 | prompt "Processor family" | 124 | prompt "Processor family" |
125 | default MK8 | 125 | default GENERIC_CPU |
126 | 126 | ||
127 | config MK8 | 127 | config MK8 |
128 | bool "AMD-Opteron/Athlon64" | 128 | bool "AMD-Opteron/Athlon64" |
@@ -130,16 +130,31 @@ config MK8 | |||
130 | Optimize for AMD Opteron/Athlon64/Hammer/K8 CPUs. | 130 | Optimize for AMD Opteron/Athlon64/Hammer/K8 CPUs. |
131 | 131 | ||
132 | config MPSC | 132 | config MPSC |
133 | bool "Intel EM64T" | 133 | bool "Intel P4 / older Netburst based Xeon" |
134 | help | 134 | help |
135 | Optimize for Intel Pentium 4 and Xeon CPUs with Intel | 135 | Optimize for Intel Pentium 4 and older Nocona/Dempsey Xeon CPUs |
136 | Extended Memory 64 Technology(EM64T). For details see | 136 | with Intel Extended Memory 64 Technology(EM64T). For details see |
137 | <http://www.intel.com/technology/64bitextensions/>. | 137 | <http://www.intel.com/technology/64bitextensions/>. |
138 | Note the the latest Xeons (Xeon 51xx and 53xx) are not based on the | ||
139 | Netburst core and shouldn't use this option. You can distingush them | ||
140 | using the cpu family field | ||
141 | in /proc/cpuinfo. Family 15 is a older Xeon, Family 6 a newer one | ||
142 | (this rule only applies to system that support EM64T) | ||
143 | |||
144 | config MCORE2 | ||
145 | bool "Intel Core2 / newer Xeon" | ||
146 | help | ||
147 | Optimize for Intel Core2 and newer Xeons (51xx) | ||
148 | You can distingush the newer Xeons from the older ones using | ||
149 | the cpu family field in /proc/cpuinfo. 15 is a older Xeon | ||
150 | (use CONFIG_MPSC then), 6 is a newer one. This rule only | ||
151 | applies to CPUs that support EM64T. | ||
138 | 152 | ||
139 | config GENERIC_CPU | 153 | config GENERIC_CPU |
140 | bool "Generic-x86-64" | 154 | bool "Generic-x86-64" |
141 | help | 155 | help |
142 | Generic x86-64 CPU. | 156 | Generic x86-64 CPU. |
157 | Run equally well on all x86-64 CPUs. | ||
143 | 158 | ||
144 | endchoice | 159 | endchoice |
145 | 160 | ||
@@ -149,12 +164,12 @@ endchoice | |||
149 | config X86_L1_CACHE_BYTES | 164 | config X86_L1_CACHE_BYTES |
150 | int | 165 | int |
151 | default "128" if GENERIC_CPU || MPSC | 166 | default "128" if GENERIC_CPU || MPSC |
152 | default "64" if MK8 | 167 | default "64" if MK8 || MCORE2 |
153 | 168 | ||
154 | config X86_L1_CACHE_SHIFT | 169 | config X86_L1_CACHE_SHIFT |
155 | int | 170 | int |
156 | default "7" if GENERIC_CPU || MPSC | 171 | default "7" if GENERIC_CPU || MPSC |
157 | default "6" if MK8 | 172 | default "6" if MK8 || MCORE2 |
158 | 173 | ||
159 | config X86_INTERNODE_CACHE_BYTES | 174 | config X86_INTERNODE_CACHE_BYTES |
160 | int | 175 | int |
@@ -344,11 +359,6 @@ config ARCH_DISCONTIGMEM_ENABLE | |||
344 | depends on NUMA | 359 | depends on NUMA |
345 | default y | 360 | default y |
346 | 361 | ||
347 | |||
348 | config ARCH_DISCONTIGMEM_ENABLE | ||
349 | def_bool y | ||
350 | depends on NUMA | ||
351 | |||
352 | config ARCH_DISCONTIGMEM_DEFAULT | 362 | config ARCH_DISCONTIGMEM_DEFAULT |
353 | def_bool y | 363 | def_bool y |
354 | depends on NUMA | 364 | depends on NUMA |
@@ -455,6 +465,17 @@ config CALGARY_IOMMU | |||
455 | Normally the kernel will make the right choice by itself. | 465 | Normally the kernel will make the right choice by itself. |
456 | If unsure, say Y. | 466 | If unsure, say Y. |
457 | 467 | ||
468 | config CALGARY_IOMMU_ENABLED_BY_DEFAULT | ||
469 | bool "Should Calgary be enabled by default?" | ||
470 | default y | ||
471 | depends on CALGARY_IOMMU | ||
472 | help | ||
473 | Should Calgary be enabled by default? if you choose 'y', Calgary | ||
474 | will be used (if it exists). If you choose 'n', Calgary will not be | ||
475 | used even if it exists. If you choose 'n' and would like to use | ||
476 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. | ||
477 | If unsure, say Y. | ||
478 | |||
458 | # need this always selected by IOMMU for the VIA workaround | 479 | # need this always selected by IOMMU for the VIA workaround |
459 | config SWIOTLB | 480 | config SWIOTLB |
460 | bool | 481 | bool |