diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-01-29 17:19:22 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-30 09:24:37 -0500 |
commit | 26f7ef14a76b0e590a3797fd7b2f3cee868d9664 (patch) | |
tree | 6bb9191db133864a77cab563e4cc0288c3f633a2 /arch/x86 | |
parent | 43f39890db2959b10891cf7bbf3f53fffc8ce3bd (diff) |
x86: don't treat bigsmp as non-standard
just like 64 bit switch from flat logical APIC messages to
flat physical mode automatically.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/Kconfig | 15 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/mpparse.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
5 files changed, 12 insertions, 13 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index afaf2cb7c1ac..c6e567bb6491 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -262,6 +262,12 @@ config X86_MPPARSE | |||
262 | For old smp systems that do not have proper acpi support. Newer systems | 262 | For old smp systems that do not have proper acpi support. Newer systems |
263 | (esp with 64bit cpus) with acpi support, MADT and DSDT will override it | 263 | (esp with 64bit cpus) with acpi support, MADT and DSDT will override it |
264 | 264 | ||
265 | config X86_BIGSMP | ||
266 | bool "Support for big SMP systems with more than 8 CPUs" | ||
267 | depends on X86_32 && SMP | ||
268 | help | ||
269 | This option is needed for the systems that have more than 8 CPUs | ||
270 | |||
265 | config X86_NON_STANDARD | 271 | config X86_NON_STANDARD |
266 | bool "Support for non-standard x86 platforms" | 272 | bool "Support for non-standard x86 platforms" |
267 | help | 273 | help |
@@ -338,13 +344,6 @@ config X86_32_NON_STANDARD | |||
338 | if you select them all, kernel will probe it one by one. and will | 344 | if you select them all, kernel will probe it one by one. and will |
339 | fallback to default. | 345 | fallback to default. |
340 | 346 | ||
341 | config X86_BIGSMP | ||
342 | bool "Support for big SMP systems with more than 8 CPUs" | ||
343 | depends on X86_32_NON_STANDARD | ||
344 | help | ||
345 | This option is needed for the systems that have more than 8 CPUs | ||
346 | and if the system is not of any sub-arch type above. | ||
347 | |||
348 | config X86_NUMAQ | 347 | config X86_NUMAQ |
349 | bool "NUMAQ (IBM/Sequent)" | 348 | bool "NUMAQ (IBM/Sequent)" |
350 | depends on X86_32_NON_STANDARD | 349 | depends on X86_32_NON_STANDARD |
@@ -366,7 +365,7 @@ config X86_SUMMIT | |||
366 | 365 | ||
367 | config X86_ES7000 | 366 | config X86_ES7000 |
368 | bool "Support for Unisys ES7000 IA32 series" | 367 | bool "Support for Unisys ES7000 IA32 series" |
369 | depends on X86_32_NON_STANDARD | 368 | depends on X86_32_NON_STANDARD && X86_BIGSMP |
370 | help | 369 | help |
371 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is | 370 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is |
372 | supposed to run on an IA32-based Unisys ES7000 system. | 371 | supposed to run on an IA32-based Unisys ES7000 system. |
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 7352c60f29db..3efa996b036c 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -1335,7 +1335,7 @@ static void __init acpi_process_madt(void) | |||
1335 | if (!error) { | 1335 | if (!error) { |
1336 | acpi_lapic = 1; | 1336 | acpi_lapic = 1; |
1337 | 1337 | ||
1338 | #ifdef CONFIG_X86_32_NON_STANDARD | 1338 | #ifdef CONFIG_X86_BIGSMP |
1339 | generic_bigsmp_probe(); | 1339 | generic_bigsmp_probe(); |
1340 | #endif | 1340 | #endif |
1341 | /* | 1341 | /* |
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 89aaced51bd3..b46ca7d31feb 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -372,8 +372,8 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early) | |||
372 | (*x86_quirks->mpc_record)++; | 372 | (*x86_quirks->mpc_record)++; |
373 | } | 373 | } |
374 | 374 | ||
375 | #ifdef CONFIG_X86_32_NON_STANDARD | 375 | #ifdef CONFIG_X86_BIGSMP |
376 | generic_bigsmp_probe(); | 376 | generic_bigsmp_probe(); |
377 | #endif | 377 | #endif |
378 | 378 | ||
379 | if (apic->setup_apic_routing) | 379 | if (apic->setup_apic_routing) |
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index f64e1a487c9e..df64afff5806 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -936,7 +936,7 @@ void __init setup_arch(char **cmdline_p) | |||
936 | map_vsyscall(); | 936 | map_vsyscall(); |
937 | #endif | 937 | #endif |
938 | 938 | ||
939 | #ifdef CONFIG_X86_32_NON_STANDARD | 939 | #if defined(CONFIG_X86_32_NON_STANDARD) || defined(CONFIG_X86_BIGSMP) |
940 | generic_apic_probe(); | 940 | generic_apic_probe(); |
941 | #endif | 941 | #endif |
942 | 942 | ||
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 4c3cff574947..1268a862abb7 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -1007,7 +1007,7 @@ static int __init smp_sanity_check(unsigned max_cpus) | |||
1007 | 1007 | ||
1008 | printk(KERN_WARNING | 1008 | printk(KERN_WARNING |
1009 | "More than 8 CPUs detected - skipping them.\n" | 1009 | "More than 8 CPUs detected - skipping them.\n" |
1010 | "Use CONFIG_X86_32_NON_STANDARD and CONFIG_X86_BIGSMP.\n"); | 1010 | "Use CONFIG_X86_BIGSMP.\n"); |
1011 | 1011 | ||
1012 | nr = 0; | 1012 | nr = 0; |
1013 | for_each_present_cpu(cpu) { | 1013 | for_each_present_cpu(cpu) { |