diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-18 11:25:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-18 11:25:51 -0400 |
commit | 9e9abecfc0ff3a9ad2ead954b37bbfcb863c775e (patch) | |
tree | 0c3ffda953b82750638a06507591ad587b565ff2 /arch/x86/Kconfig | |
parent | d7bb545d86825e635cab33a1dd81ca0ad7b92887 (diff) | |
parent | 77ad386e596c6b0930cc2e09e3cce485e3ee7f72 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: (613 commits)
x86: standalone trampoline code
x86: move suspend wakeup code to C
x86: coding style fixes to arch/x86/kernel/acpi/sleep.c
x86: setup_trampoline() - fix section mismatch warning
x86: section mismatch fixes, #1
x86: fix paranoia about using BIOS quickboot mechanism.
x86: print out buggy mptable
x86: use cpu_online()
x86: use cpumask_of_cpu()
x86: remove unnecessary tmp local variable
x86: remove unnecessary memset()
x86: use ioapic_read_entry() and ioapic_write_entry()
x86: avoid redundant loop in io_apic_level_ack_pending()
x86: remove superfluous initialisation in boot code.
x86: merge mpparse_{32,64}.c
x86: unify mp_register_gsi
x86: unify mp_config_acpi_legacy_irqs
x86: unify mp_register_ioapic
x86: unify uniq_io_apic_id
x86: unify smp_scan_config
...
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 70 |
1 files changed, 57 insertions, 13 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e4b38861ea52..701c4a27a731 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -114,7 +114,7 @@ config ARCH_HAS_CPU_RELAX | |||
114 | def_bool y | 114 | def_bool y |
115 | 115 | ||
116 | config HAVE_SETUP_PER_CPU_AREA | 116 | config HAVE_SETUP_PER_CPU_AREA |
117 | def_bool X86_64 | 117 | def_bool X86_64 || (X86_SMP && !X86_VOYAGER) |
118 | 118 | ||
119 | config ARCH_HIBERNATION_POSSIBLE | 119 | config ARCH_HIBERNATION_POSSIBLE |
120 | def_bool y | 120 | def_bool y |
@@ -168,7 +168,7 @@ config X86_64_SMP | |||
168 | config X86_HT | 168 | config X86_HT |
169 | bool | 169 | bool |
170 | depends on SMP | 170 | depends on SMP |
171 | depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || (X86_64 && !MK8) | 171 | depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || X86_64 |
172 | default y | 172 | default y |
173 | 173 | ||
174 | config X86_BIOS_REBOOT | 174 | config X86_BIOS_REBOOT |
@@ -178,7 +178,7 @@ config X86_BIOS_REBOOT | |||
178 | 178 | ||
179 | config X86_TRAMPOLINE | 179 | config X86_TRAMPOLINE |
180 | bool | 180 | bool |
181 | depends on X86_SMP || (X86_VOYAGER && SMP) | 181 | depends on X86_SMP || (X86_VOYAGER && SMP) || (64BIT && ACPI_SLEEP) |
182 | default y | 182 | default y |
183 | 183 | ||
184 | config KTIME_SCALAR | 184 | config KTIME_SCALAR |
@@ -238,8 +238,7 @@ config X86_ELAN | |||
238 | 238 | ||
239 | config X86_VOYAGER | 239 | config X86_VOYAGER |
240 | bool "Voyager (NCR)" | 240 | bool "Voyager (NCR)" |
241 | depends on X86_32 | 241 | depends on X86_32 && (SMP || BROKEN) |
242 | select SMP if !BROKEN | ||
243 | help | 242 | help |
244 | Voyager is an MCA-based 32-way capable SMP architecture proprietary | 243 | Voyager is an MCA-based 32-way capable SMP architecture proprietary |
245 | to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based. | 244 | to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based. |
@@ -251,9 +250,8 @@ config X86_VOYAGER | |||
251 | 250 | ||
252 | config X86_NUMAQ | 251 | config X86_NUMAQ |
253 | bool "NUMAQ (IBM/Sequent)" | 252 | bool "NUMAQ (IBM/Sequent)" |
254 | select SMP | 253 | depends on SMP && X86_32 |
255 | select NUMA | 254 | select NUMA |
256 | depends on X86_32 | ||
257 | help | 255 | help |
258 | This option is used for getting Linux to run on a (IBM/Sequent) NUMA | 256 | This option is used for getting Linux to run on a (IBM/Sequent) NUMA |
259 | multiquad box. This changes the way that processors are bootstrapped, | 257 | multiquad box. This changes the way that processors are bootstrapped, |
@@ -324,8 +322,9 @@ config X86_RDC321X | |||
324 | 322 | ||
325 | config X86_VSMP | 323 | config X86_VSMP |
326 | bool "Support for ScaleMP vSMP" | 324 | bool "Support for ScaleMP vSMP" |
327 | depends on X86_64 && PCI | 325 | select PARAVIRT |
328 | help | 326 | depends on X86_64 |
327 | help | ||
329 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is | 328 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is |
330 | supposed to run on these EM64T-based machines. Only choose this option | 329 | supposed to run on these EM64T-based machines. Only choose this option |
331 | if you have one of these machines. | 330 | if you have one of these machines. |
@@ -380,6 +379,35 @@ config PARAVIRT | |||
380 | 379 | ||
381 | endif | 380 | endif |
382 | 381 | ||
382 | config MEMTEST_BOOTPARAM | ||
383 | bool "Memtest boot parameter" | ||
384 | depends on X86_64 | ||
385 | default y | ||
386 | help | ||
387 | This option adds a kernel parameter 'memtest', which allows memtest | ||
388 | to be disabled at boot. If this option is selected, memtest | ||
389 | functionality can be disabled with memtest=0 on the kernel | ||
390 | command line. The purpose of this option is to allow a single | ||
391 | kernel image to be distributed with memtest built in, but not | ||
392 | necessarily enabled. | ||
393 | |||
394 | If you are unsure how to answer this question, answer Y. | ||
395 | |||
396 | config MEMTEST_BOOTPARAM_VALUE | ||
397 | int "Memtest boot parameter default value (0-4)" | ||
398 | depends on MEMTEST_BOOTPARAM | ||
399 | range 0 4 | ||
400 | default 0 | ||
401 | help | ||
402 | This option sets the default value for the kernel parameter | ||
403 | 'memtest', which allows memtest to be disabled at boot. If this | ||
404 | option is set to 0 (zero), the memtest kernel parameter will | ||
405 | default to 0, disabling memtest at bootup. If this option is | ||
406 | set to 4, the memtest kernel parameter will default to 4, | ||
407 | enabling memtest at bootup, and use that as pattern number. | ||
408 | |||
409 | If you are unsure how to answer this question, answer 0. | ||
410 | |||
383 | config ACPI_SRAT | 411 | config ACPI_SRAT |
384 | def_bool y | 412 | def_bool y |
385 | depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) | 413 | depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) |
@@ -504,7 +532,7 @@ config NR_CPUS | |||
504 | 532 | ||
505 | config SCHED_SMT | 533 | config SCHED_SMT |
506 | bool "SMT (Hyperthreading) scheduler support" | 534 | bool "SMT (Hyperthreading) scheduler support" |
507 | depends on (X86_64 && SMP) || (X86_32 && X86_HT) | 535 | depends on X86_HT |
508 | help | 536 | help |
509 | SMT scheduler support improves the CPU scheduler's decision making | 537 | SMT scheduler support improves the CPU scheduler's decision making |
510 | when dealing with Intel Pentium 4 chips with HyperThreading at a | 538 | when dealing with Intel Pentium 4 chips with HyperThreading at a |
@@ -514,7 +542,7 @@ config SCHED_SMT | |||
514 | config SCHED_MC | 542 | config SCHED_MC |
515 | def_bool y | 543 | def_bool y |
516 | prompt "Multi-core scheduler support" | 544 | prompt "Multi-core scheduler support" |
517 | depends on (X86_64 && SMP) || (X86_32 && X86_HT) | 545 | depends on X86_HT |
518 | help | 546 | help |
519 | Multi-core scheduler support improves the CPU scheduler's decision | 547 | Multi-core scheduler support improves the CPU scheduler's decision |
520 | making when dealing with multi-core CPU chips at a cost of slightly | 548 | making when dealing with multi-core CPU chips at a cost of slightly |
@@ -883,7 +911,7 @@ config NUMA_EMU | |||
883 | number of nodes. This is only useful for debugging. | 911 | number of nodes. This is only useful for debugging. |
884 | 912 | ||
885 | config NODES_SHIFT | 913 | config NODES_SHIFT |
886 | int | 914 | int "Max num nodes shift(1-15)" |
887 | range 1 15 if X86_64 | 915 | range 1 15 if X86_64 |
888 | default "6" if X86_64 | 916 | default "6" if X86_64 |
889 | default "4" if X86_NUMAQ | 917 | default "4" if X86_NUMAQ |
@@ -1007,6 +1035,21 @@ config MTRR | |||
1007 | 1035 | ||
1008 | See <file:Documentation/mtrr.txt> for more information. | 1036 | See <file:Documentation/mtrr.txt> for more information. |
1009 | 1037 | ||
1038 | config X86_PAT | ||
1039 | def_bool y | ||
1040 | prompt "x86 PAT support" | ||
1041 | depends on MTRR && NONPROMISC_DEVMEM | ||
1042 | help | ||
1043 | Use PAT attributes to setup page level cache control. | ||
1044 | |||
1045 | PATs are the modern equivalents of MTRRs and are much more | ||
1046 | flexible than MTRRs. | ||
1047 | |||
1048 | Say N here if you see bootup problems (boot crash, boot hang, | ||
1049 | spontaneous reboots) or a non-working video driver. | ||
1050 | |||
1051 | If unsure, say Y. | ||
1052 | |||
1010 | config EFI | 1053 | config EFI |
1011 | def_bool n | 1054 | def_bool n |
1012 | prompt "EFI runtime service support" | 1055 | prompt "EFI runtime service support" |
@@ -1075,6 +1118,7 @@ source kernel/Kconfig.hz | |||
1075 | 1118 | ||
1076 | config KEXEC | 1119 | config KEXEC |
1077 | bool "kexec system call" | 1120 | bool "kexec system call" |
1121 | depends on X86_64 || X86_BIOS_REBOOT | ||
1078 | help | 1122 | help |
1079 | kexec is a system call that implements the ability to shutdown your | 1123 | kexec is a system call that implements the ability to shutdown your |
1080 | current kernel, and to start another kernel. It is like a reboot | 1124 | current kernel, and to start another kernel. It is like a reboot |
@@ -1376,7 +1420,7 @@ endmenu | |||
1376 | menu "Bus options (PCI etc.)" | 1420 | menu "Bus options (PCI etc.)" |
1377 | 1421 | ||
1378 | config PCI | 1422 | config PCI |
1379 | bool "PCI support" if !X86_VISWS | 1423 | bool "PCI support" if !X86_VISWS && !X86_VSMP |
1380 | depends on !X86_VOYAGER | 1424 | depends on !X86_VOYAGER |
1381 | default y | 1425 | default y |
1382 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) | 1426 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) |