diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-08 21:31:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-10 05:34:42 -0400 |
commit | d49c4288407b2ffa8cab270cb5bc6882abe969f6 (patch) | |
tree | 8ad69dcc6f70ab18a4dfdf8d39dc4dff96ae1fd9 /arch/x86/Kconfig | |
parent | e0da33646826b66ef933d47ea2fb7a693fd849bf (diff) |
x86: make generic arch support NUMAQ
... so it could fall back to normal numa and we'd reduce the impact of the
NUMAQ subarch.
NUMAQ depends on GENERICARCH
also decouple genericarch numa from acpi.
also make it fall back to bigsmp if apicid > 8.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 74 |
1 files changed, 36 insertions, 38 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 9e9761504422..8b89810fe3f2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -268,36 +268,6 @@ config X86_VOYAGER | |||
268 | If you do not specifically know you have a Voyager based machine, | 268 | If you do not specifically know you have a Voyager based machine, |
269 | say N here, otherwise the kernel you build will not be bootable. | 269 | say N here, otherwise the kernel you build will not be bootable. |
270 | 270 | ||
271 | config X86_NUMAQ | ||
272 | bool "NUMAQ (IBM/Sequent)" | ||
273 | depends on SMP && X86_32 | ||
274 | select NUMA | ||
275 | help | ||
276 | This option is used for getting Linux to run on a (IBM/Sequent) NUMA | ||
277 | multiquad box. This changes the way that processors are bootstrapped, | ||
278 | and uses Clustered Logical APIC addressing mode instead of Flat Logical. | ||
279 | You will need a new lynxer.elf file to flash your firmware with - send | ||
280 | email to <Martin.Bligh@us.ibm.com>. | ||
281 | |||
282 | config X86_SUMMIT | ||
283 | bool "Summit/EXA (IBM x440)" | ||
284 | depends on X86_32 && SMP | ||
285 | help | ||
286 | This option is needed for IBM systems that use the Summit/EXA chipset. | ||
287 | In particular, it is needed for the x440. | ||
288 | |||
289 | If you don't have one of these computers, you should say N here. | ||
290 | If you want to build a NUMA kernel, you must select ACPI. | ||
291 | |||
292 | config X86_BIGSMP | ||
293 | bool "Support for other sub-arch SMP systems with more than 8 CPUs" | ||
294 | depends on X86_32 && SMP | ||
295 | help | ||
296 | This option is needed for the systems that have more than 8 CPUs | ||
297 | and if the system is not of any sub-arch type above. | ||
298 | |||
299 | If you don't have such a system, you should say N here. | ||
300 | |||
301 | config X86_VISWS | 271 | config X86_VISWS |
302 | bool "SGI 320/540 (Visual Workstation)" | 272 | bool "SGI 320/540 (Visual Workstation)" |
303 | depends on X86_32 | 273 | depends on X86_32 |
@@ -311,12 +281,33 @@ config X86_VISWS | |||
311 | and vice versa. See <file:Documentation/sgi-visws.txt> for details. | 281 | and vice versa. See <file:Documentation/sgi-visws.txt> for details. |
312 | 282 | ||
313 | config X86_GENERICARCH | 283 | config X86_GENERICARCH |
314 | bool "Generic architecture (Summit, bigsmp, ES7000, default)" | 284 | bool "Generic architecture" |
315 | depends on X86_32 | 285 | depends on X86_32 |
316 | help | 286 | help |
317 | This option compiles in the Summit, bigsmp, ES7000, default subarchitectures. | 287 | This option compiles in the NUMAQ, Summit, bigsmp, ES7000, default |
318 | It is intended for a generic binary kernel. | 288 | subarchitectures. It is intended for a generic binary kernel. |
319 | If you want a NUMA kernel, select ACPI. We need SRAT for NUMA. | 289 | if you select them all, kernel will probe it one by one. and will |
290 | fallback to default. | ||
291 | |||
292 | if X86_GENERICARCH | ||
293 | |||
294 | config X86_NUMAQ | ||
295 | bool "NUMAQ (IBM/Sequent)" | ||
296 | depends on SMP && X86_32 | ||
297 | select NUMA | ||
298 | help | ||
299 | This option is used for getting Linux to run on a NUMAQ (IBM/Sequent) | ||
300 | NUMA multiquad box. This changes the way that processors are | ||
301 | bootstrapped, and uses Clustered Logical APIC addressing mode instead | ||
302 | of Flat Logical. You will need a new lynxer.elf file to flash your | ||
303 | firmware with - send email to <Martin.Bligh@us.ibm.com>. | ||
304 | |||
305 | config X86_SUMMIT | ||
306 | bool "Summit/EXA (IBM x440)" | ||
307 | depends on X86_32 && SMP | ||
308 | help | ||
309 | This option is needed for IBM systems that use the Summit/EXA chipset. | ||
310 | In particular, it is needed for the x440. | ||
320 | 311 | ||
321 | config X86_ES7000 | 312 | config X86_ES7000 |
322 | bool "Support for Unisys ES7000 IA32 series" | 313 | bool "Support for Unisys ES7000 IA32 series" |
@@ -324,8 +315,15 @@ config X86_ES7000 | |||
324 | help | 315 | help |
325 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is | 316 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is |
326 | supposed to run on an IA32-based Unisys ES7000 system. | 317 | supposed to run on an IA32-based Unisys ES7000 system. |
327 | Only choose this option if you have such a system, otherwise you | 318 | |
328 | should say N here. | 319 | config X86_BIGSMP |
320 | bool "Support for big SMP systems with more than 8 CPUs" | ||
321 | depends on X86_32 && SMP | ||
322 | help | ||
323 | This option is needed for the systems that have more than 8 CPUs | ||
324 | and if the system is not of any sub-arch type above. | ||
325 | |||
326 | endif | ||
329 | 327 | ||
330 | config X86_RDC321X | 328 | config X86_RDC321X |
331 | bool "RDC R-321x SoC" | 329 | bool "RDC R-321x SoC" |
@@ -913,9 +911,9 @@ config X86_PAE | |||
913 | config NUMA | 911 | config NUMA |
914 | bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)" | 912 | bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)" |
915 | depends on SMP | 913 | depends on SMP |
916 | depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || (X86_SUMMIT || X86_GENERICARCH) && ACPI) && EXPERIMENTAL) | 914 | depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || X86_SUMMIT && ACPI) && EXPERIMENTAL) |
917 | default n if X86_PC | 915 | default n if X86_PC |
918 | default y if (X86_NUMAQ || X86_SUMMIT) | 916 | default y if (X86_NUMAQ || X86_SUMMIT || X86_GENERICARCH) |
919 | help | 917 | help |
920 | Enable NUMA (Non Uniform Memory Access) support. | 918 | Enable NUMA (Non Uniform Memory Access) support. |
921 | The kernel will try to allocate memory used by a CPU on the | 919 | The kernel will try to allocate memory used by a CPU on the |