Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # For a description of the syntax of this configuration file, | |
3 | # see Documentation/kbuild/kconfig-language.txt. | |
4 | # | |
5 | ||
6 | mainmenu "Linux Kernel Configuration" | |
7 | ||
8 | config X86 | |
9 | bool | |
10 | default y | |
11 | help | |
12 | This is Linux's home port. Linux was originally native to the Intel | |
13 | 386, and runs on all the later x86 processors including the Intel | |
14 | 486, 586, Pentiums, and various instruction-set-compatible chips by | |
15 | AMD, Cyrix, and others. | |
16 | ||
17 | config MMU | |
18 | bool | |
19 | default y | |
20 | ||
21 | config SBUS | |
22 | bool | |
23 | ||
24 | config UID16 | |
25 | bool | |
26 | default y | |
27 | ||
28 | config GENERIC_ISA_DMA | |
29 | bool | |
30 | default y | |
31 | ||
32 | config GENERIC_IOMAP | |
33 | bool | |
34 | default y | |
35 | ||
36 | source "init/Kconfig" | |
37 | ||
38 | menu "Processor type and features" | |
39 | ||
40 | choice | |
41 | prompt "Subarchitecture Type" | |
42 | default X86_PC | |
43 | ||
44 | config X86_PC | |
45 | bool "PC-compatible" | |
46 | help | |
47 | Choose this option if your computer is a standard PC or compatible. | |
48 | ||
49 | config X86_ELAN | |
50 | bool "AMD Elan" | |
51 | help | |
52 | Select this for an AMD Elan processor. | |
53 | ||
54 | Do not use this option for K6/Athlon/Opteron processors! | |
55 | ||
56 | If unsure, choose "PC-compatible" instead. | |
57 | ||
58 | config X86_VOYAGER | |
59 | bool "Voyager (NCR)" | |
60 | help | |
61 | Voyager is an MCA-based 32-way capable SMP architecture proprietary | |
62 | to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based. | |
63 | ||
64 | *** WARNING *** | |
65 | ||
66 | If you do not specifically know you have a Voyager based machine, | |
67 | say N here, otherwise the kernel you build will not be bootable. | |
68 | ||
69 | config X86_NUMAQ | |
70 | bool "NUMAQ (IBM/Sequent)" | |
1da177e4 LT |
71 | select NUMA |
72 | help | |
73 | This option is used for getting Linux to run on a (IBM/Sequent) NUMA | |
74 | multiquad box. This changes the way that processors are bootstrapped, | |
75 | and uses Clustered Logical APIC addressing mode instead of Flat Logical. | |
76 | You will need a new lynxer.elf file to flash your firmware with - send | |
77 | email to <Martin.Bligh@us.ibm.com>. | |
78 | ||
79 | config X86_SUMMIT | |
80 | bool "Summit/EXA (IBM x440)" | |
81 | depends on SMP | |
82 | help | |
83 | This option is needed for IBM systems that use the Summit/EXA chipset. | |
84 | In particular, it is needed for the x440. | |
85 | ||
86 | If you don't have one of these computers, you should say N here. | |
87 | ||
88 | config X86_BIGSMP | |
89 | bool "Support for other sub-arch SMP systems with more than 8 CPUs" | |
90 | depends on SMP | |
91 | help | |
92 | This option is needed for the systems that have more than 8 CPUs | |
93 | and if the system is not of any sub-arch type above. | |
94 | ||
95 | If you don't have such a system, you should say N here. | |
96 | ||
97 | config X86_VISWS | |
98 | bool "SGI 320/540 (Visual Workstation)" | |
99 | help | |
100 | The SGI Visual Workstation series is an IA32-based workstation | |
101 | based on SGI systems chips with some legacy PC hardware attached. | |
102 | ||
103 | Say Y here to create a kernel to run on the SGI 320 or 540. | |
104 | ||
105 | A kernel compiled for the Visual Workstation will not run on PCs | |
106 | and vice versa. See <file:Documentation/sgi-visws.txt> for details. | |
107 | ||
108 | config X86_GENERICARCH | |
109 | bool "Generic architecture (Summit, bigsmp, ES7000, default)" | |
110 | depends on SMP | |
111 | help | |
112 | This option compiles in the Summit, bigsmp, ES7000, default subarchitectures. | |
113 | It is intended for a generic binary kernel. | |
114 | ||
115 | config X86_ES7000 | |
116 | bool "Support for Unisys ES7000 IA32 series" | |
117 | depends on SMP | |
118 | help | |
119 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is | |
120 | supposed to run on an IA32-based Unisys ES7000 system. | |
121 | Only choose this option if you have such a system, otherwise you | |
122 | should say N here. | |
123 | ||
124 | endchoice | |
125 | ||
126 | config ACPI_SRAT | |
127 | bool | |
128 | default y | |
129 | depends on NUMA && (X86_SUMMIT || X86_GENERICARCH) | |
130 | ||
131 | config X86_SUMMIT_NUMA | |
132 | bool | |
133 | default y | |
134 | depends on NUMA && (X86_SUMMIT || X86_GENERICARCH) | |
135 | ||
136 | config X86_CYCLONE_TIMER | |
137 | bool | |
138 | default y | |
139 | depends on X86_SUMMIT || X86_GENERICARCH | |
140 | ||
141 | config ES7000_CLUSTERED_APIC | |
142 | bool | |
143 | default y | |
144 | depends on SMP && X86_ES7000 && MPENTIUMIII | |
145 | ||
146 | if !X86_ELAN | |
147 | ||
148 | choice | |
149 | prompt "Processor family" | |
150 | default M686 | |
151 | ||
152 | config M386 | |
153 | bool "386" | |
154 | ---help--- | |
155 | This is the processor type of your CPU. This information is used for | |
156 | optimizing purposes. In order to compile a kernel that can run on | |
157 | all x86 CPU types (albeit not optimally fast), you can specify | |
158 | "386" here. | |
159 | ||
160 | The kernel will not necessarily run on earlier architectures than | |
161 | the one you have chosen, e.g. a Pentium optimized kernel will run on | |
162 | a PPro, but not necessarily on a i486. | |
163 | ||
164 | Here are the settings recommended for greatest speed: | |
165 | - "386" for the AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX, Cyrix/TI | |
166 | 486DLC/DLC2, UMC 486SX-S and NexGen Nx586. Only "386" kernels | |
167 | will run on a 386 class machine. | |
168 | - "486" for the AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 or | |
169 | SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or U5S. | |
170 | - "586" for generic Pentium CPUs lacking the TSC | |
171 | (time stamp counter) register. | |
172 | - "Pentium-Classic" for the Intel Pentium. | |
173 | - "Pentium-MMX" for the Intel Pentium MMX. | |
174 | - "Pentium-Pro" for the Intel Pentium Pro. | |
175 | - "Pentium-II" for the Intel Pentium II or pre-Coppermine Celeron. | |
176 | - "Pentium-III" for the Intel Pentium III or Coppermine Celeron. | |
177 | - "Pentium-4" for the Intel Pentium 4 or P4-based Celeron. | |
178 | - "K6" for the AMD K6, K6-II and K6-III (aka K6-3D). | |
179 | - "Athlon" for the AMD K7 family (Athlon/Duron/Thunderbird). | |
180 | - "Crusoe" for the Transmeta Crusoe series. | |
181 | - "Efficeon" for the Transmeta Efficeon series. | |
182 | - "Winchip-C6" for original IDT Winchip. | |
183 | - "Winchip-2" for IDT Winchip 2. | |
184 | - "Winchip-2A" for IDT Winchips with 3dNow! capabilities. | |
47137419 | 185 | - "GeodeGX1" for Geode GX1 (Cyrix MediaGX). |
1da177e4 LT |
186 | - "CyrixIII/VIA C3" for VIA Cyrix III or VIA C3. |
187 | - "VIA C3-2 for VIA C3-2 "Nehemiah" (model 9 and above). | |
188 | ||
189 | If you don't know what to do, choose "386". | |
190 | ||
191 | config M486 | |
192 | bool "486" | |
193 | help | |
194 | Select this for a 486 series processor, either Intel or one of the | |
195 | compatible processors from AMD, Cyrix, IBM, or Intel. Includes DX, | |
196 | DX2, and DX4 variants; also SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or | |
197 | U5S. | |
198 | ||
199 | config M586 | |
200 | bool "586/K5/5x86/6x86/6x86MX" | |
201 | help | |
202 | Select this for an 586 or 686 series processor such as the AMD K5, | |
203 | the Cyrix 5x86, 6x86 and 6x86MX. This choice does not | |
204 | assume the RDTSC (Read Time Stamp Counter) instruction. | |
205 | ||
206 | config M586TSC | |
207 | bool "Pentium-Classic" | |
208 | help | |
209 | Select this for a Pentium Classic processor with the RDTSC (Read | |
210 | Time Stamp Counter) instruction for benchmarking. | |
211 | ||
212 | config M586MMX | |
213 | bool "Pentium-MMX" | |
214 | help | |
215 | Select this for a Pentium with the MMX graphics/multimedia | |
216 | extended instructions. | |
217 | ||
218 | config M686 | |
219 | bool "Pentium-Pro" | |
220 | help | |
221 | Select this for Intel Pentium Pro chips. This enables the use of | |
222 | Pentium Pro extended instructions, and disables the init-time guard | |
223 | against the f00f bug found in earlier Pentiums. | |
224 | ||
225 | config MPENTIUMII | |
226 | bool "Pentium-II/Celeron(pre-Coppermine)" | |
227 | help | |
228 | Select this for Intel chips based on the Pentium-II and | |
229 | pre-Coppermine Celeron core. This option enables an unaligned | |
230 | copy optimization, compiles the kernel with optimization flags | |
231 | tailored for the chip, and applies any applicable Pentium Pro | |
232 | optimizations. | |
233 | ||
234 | config MPENTIUMIII | |
235 | bool "Pentium-III/Celeron(Coppermine)/Pentium-III Xeon" | |
236 | help | |
237 | Select this for Intel chips based on the Pentium-III and | |
238 | Celeron-Coppermine core. This option enables use of some | |
239 | extended prefetch instructions in addition to the Pentium II | |
240 | extensions. | |
241 | ||
242 | config MPENTIUMM | |
243 | bool "Pentium M" | |
244 | help | |
245 | Select this for Intel Pentium M (not Pentium-4 M) | |
246 | notebook chips. | |
247 | ||
248 | config MPENTIUM4 | |
249 | bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon" | |
250 | help | |
251 | Select this for Intel Pentium 4 chips. This includes the | |
252 | Pentium 4, P4-based Celeron and Xeon, and Pentium-4 M | |
253 | (not Pentium M) chips. This option enables compile flags | |
254 | optimized for the chip, uses the correct cache shift, and | |
255 | applies any applicable Pentium III optimizations. | |
256 | ||
257 | config MK6 | |
258 | bool "K6/K6-II/K6-III" | |
259 | help | |
260 | Select this for an AMD K6-family processor. Enables use of | |
261 | some extended instructions, and passes appropriate optimization | |
262 | flags to GCC. | |
263 | ||
264 | config MK7 | |
265 | bool "Athlon/Duron/K7" | |
266 | help | |
267 | Select this for an AMD Athlon K7-family processor. Enables use of | |
268 | some extended instructions, and passes appropriate optimization | |
269 | flags to GCC. | |
270 | ||
271 | config MK8 | |
272 | bool "Opteron/Athlon64/Hammer/K8" | |
273 | help | |
274 | Select this for an AMD Opteron or Athlon64 Hammer-family processor. Enables | |
275 | use of some extended instructions, and passes appropriate optimization | |
276 | flags to GCC. | |
277 | ||
278 | config MCRUSOE | |
279 | bool "Crusoe" | |
280 | help | |
281 | Select this for a Transmeta Crusoe processor. Treats the processor | |
282 | like a 586 with TSC, and sets some GCC optimization flags (like a | |
283 | Pentium Pro with no alignment requirements). | |
284 | ||
285 | config MEFFICEON | |
286 | bool "Efficeon" | |
287 | help | |
288 | Select this for a Transmeta Efficeon processor. | |
289 | ||
290 | config MWINCHIPC6 | |
291 | bool "Winchip-C6" | |
292 | help | |
293 | Select this for an IDT Winchip C6 chip. Linux and GCC | |
294 | treat this chip as a 586TSC with some extended instructions | |
295 | and alignment requirements. | |
296 | ||
297 | config MWINCHIP2 | |
298 | bool "Winchip-2" | |
299 | help | |
300 | Select this for an IDT Winchip-2. Linux and GCC | |
301 | treat this chip as a 586TSC with some extended instructions | |
302 | and alignment requirements. | |
303 | ||
304 | config MWINCHIP3D | |
305 | bool "Winchip-2A/Winchip-3" | |
306 | help | |
307 | Select this for an IDT Winchip-2A or 3. Linux and GCC | |
308 | treat this chip as a 586TSC with some extended instructions | |
309 | and alignment reqirements. Also enable out of order memory | |
310 | stores for this CPU, which can increase performance of some | |
311 | operations. | |
312 | ||
47137419 KSK |
313 | config MGEODEGX1 |
314 | bool "GeodeGX1" | |
1da177e4 | 315 | help |
47137419 | 316 | Select this for a Geode GX1 (Cyrix MediaGX) chip. |
1da177e4 LT |
317 | |
318 | config MCYRIXIII | |
319 | bool "CyrixIII/VIA-C3" | |
320 | help | |
321 | Select this for a Cyrix III or C3 chip. Presently Linux and GCC | |
322 | treat this chip as a generic 586. Whilst the CPU is 686 class, | |
323 | it lacks the cmov extension which gcc assumes is present when | |
324 | generating 686 code. | |
325 | Note that Nehemiah (Model 9) and above will not boot with this | |
326 | kernel due to them lacking the 3DNow! instructions used in earlier | |
327 | incarnations of the CPU. | |
328 | ||
329 | config MVIAC3_2 | |
330 | bool "VIA C3-2 (Nehemiah)" | |
331 | help | |
332 | Select this for a VIA C3 "Nehemiah". Selecting this enables usage | |
333 | of SSE and tells gcc to treat the CPU as a 686. | |
334 | Note, this kernel will not boot on older (pre model 9) C3s. | |
335 | ||
336 | endchoice | |
337 | ||
338 | config X86_GENERIC | |
339 | bool "Generic x86 support" | |
340 | help | |
341 | Instead of just including optimizations for the selected | |
342 | x86 variant (e.g. PII, Crusoe or Athlon), include some more | |
343 | generic optimizations as well. This will make the kernel | |
344 | perform better on x86 CPUs other than that selected. | |
345 | ||
346 | This is really intended for distributors who need more | |
347 | generic optimizations. | |
348 | ||
349 | endif | |
350 | ||
351 | # | |
352 | # Define implied options from the CPU selection here | |
353 | # | |
354 | config X86_CMPXCHG | |
355 | bool | |
356 | depends on !M386 | |
357 | default y | |
358 | ||
359 | config X86_XADD | |
360 | bool | |
361 | depends on !M386 | |
362 | default y | |
363 | ||
364 | config X86_L1_CACHE_SHIFT | |
365 | int | |
366 | default "7" if MPENTIUM4 || X86_GENERIC | |
367 | default "4" if X86_ELAN || M486 || M386 | |
47137419 | 368 | default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODEGX1 |
1da177e4 LT |
369 | default "6" if MK7 || MK8 || MPENTIUMM |
370 | ||
371 | config RWSEM_GENERIC_SPINLOCK | |
372 | bool | |
373 | depends on M386 | |
374 | default y | |
375 | ||
376 | config RWSEM_XCHGADD_ALGORITHM | |
377 | bool | |
378 | depends on !M386 | |
379 | default y | |
380 | ||
381 | config GENERIC_CALIBRATE_DELAY | |
382 | bool | |
383 | default y | |
384 | ||
385 | config X86_PPRO_FENCE | |
386 | bool | |
47137419 | 387 | depends on M686 || M586MMX || M586TSC || M586 || M486 || M386 || MGEODEGX1 |
1da177e4 LT |
388 | default y |
389 | ||
390 | config X86_F00F_BUG | |
391 | bool | |
392 | depends on M586MMX || M586TSC || M586 || M486 || M386 | |
393 | default y | |
394 | ||
395 | config X86_WP_WORKS_OK | |
396 | bool | |
397 | depends on !M386 | |
398 | default y | |
399 | ||
400 | config X86_INVLPG | |
401 | bool | |
402 | depends on !M386 | |
403 | default y | |
404 | ||
405 | config X86_BSWAP | |
406 | bool | |
407 | depends on !M386 | |
408 | default y | |
409 | ||
410 | config X86_POPAD_OK | |
411 | bool | |
412 | depends on !M386 | |
413 | default y | |
414 | ||
415 | config X86_ALIGNMENT_16 | |
416 | bool | |
47137419 | 417 | depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 |
1da177e4 LT |
418 | default y |
419 | ||
420 | config X86_GOOD_APIC | |
421 | bool | |
422 | depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8 || MEFFICEON | |
423 | default y | |
424 | ||
425 | config X86_INTEL_USERCOPY | |
426 | bool | |
427 | depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON | |
428 | default y | |
429 | ||
430 | config X86_USE_PPRO_CHECKSUM | |
431 | bool | |
432 | depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON | |
433 | default y | |
434 | ||
435 | config X86_USE_3DNOW | |
436 | bool | |
437 | depends on MCYRIXIII || MK7 | |
438 | default y | |
439 | ||
440 | config X86_OOSTORE | |
441 | bool | |
47137419 | 442 | depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR |
1da177e4 LT |
443 | default y |
444 | ||
445 | config HPET_TIMER | |
446 | bool "HPET Timer Support" | |
447 | help | |
448 | This enables the use of the HPET for the kernel's internal timer. | |
449 | HPET is the next generation timer replacing legacy 8254s. | |
450 | You can safely choose Y here. However, HPET will only be | |
451 | activated if the platform and the BIOS support this feature. | |
452 | Otherwise the 8254 will be used for timing services. | |
453 | ||
454 | Choose N to continue using the legacy 8254 timer. | |
455 | ||
456 | config HPET_EMULATE_RTC | |
c91096d8 | 457 | bool |
1da177e4 | 458 | depends on HPET_TIMER && RTC=y |
c91096d8 | 459 | default y |
1da177e4 LT |
460 | |
461 | config SMP | |
462 | bool "Symmetric multi-processing support" | |
463 | ---help--- | |
464 | This enables support for systems with more than one CPU. If you have | |
465 | a system with only one CPU, like most personal computers, say N. If | |
466 | you have a system with more than one CPU, say Y. | |
467 | ||
468 | If you say N here, the kernel will run on single and multiprocessor | |
469 | machines, but will use only one CPU of a multiprocessor machine. If | |
470 | you say Y here, the kernel will run on many, but not all, | |
471 | singleprocessor machines. On a singleprocessor machine, the kernel | |
472 | will run faster if you say N here. | |
473 | ||
474 | Note that if you say Y here and choose architecture "586" or | |
475 | "Pentium" under "Processor family", the kernel will not work on 486 | |
476 | architectures. Similarly, multiprocessor kernels for the "PPro" | |
477 | architecture may not work on all Pentium based boards. | |
478 | ||
479 | People using multiprocessor machines who say Y here should also say | |
480 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | |
481 | Management" code will be disabled if you say Y here. | |
482 | ||
483 | See also the <file:Documentation/smp.txt>, | |
484 | <file:Documentation/i386/IO-APIC.txt>, | |
485 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | |
486 | <http://www.tldp.org/docs.html#howto>. | |
487 | ||
488 | If you don't know what to do here, say N. | |
489 | ||
490 | config NR_CPUS | |
491 | int "Maximum number of CPUs (2-255)" | |
492 | range 2 255 | |
493 | depends on SMP | |
494 | default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 | |
495 | default "8" | |
496 | help | |
497 | This allows you to specify the maximum number of CPUs which this | |
498 | kernel will support. The maximum supported value is 255 and the | |
499 | minimum value which makes sense is 2. | |
500 | ||
501 | This is purely to save memory - each supported CPU adds | |
502 | approximately eight kilobytes to the kernel image. | |
503 | ||
504 | config SCHED_SMT | |
505 | bool "SMT (Hyperthreading) scheduler support" | |
506 | depends on SMP | |
507 | default off | |
508 | help | |
509 | SMT scheduler support improves the CPU scheduler's decision making | |
510 | when dealing with Intel Pentium 4 chips with HyperThreading at a | |
511 | cost of slightly increased overhead in some places. If unsure say | |
512 | N here. | |
513 | ||
cc19ca86 | 514 | source "kernel/Kconfig.preempt" |
1da177e4 LT |
515 | |
516 | config X86_UP_APIC | |
517 | bool "Local APIC support on uniprocessors" | |
518 | depends on !SMP && !(X86_VISWS || X86_VOYAGER) | |
519 | help | |
520 | A local APIC (Advanced Programmable Interrupt Controller) is an | |
521 | integrated interrupt controller in the CPU. If you have a single-CPU | |
522 | system which has a processor with a local APIC, you can say Y here to | |
523 | enable and use it. If you say Y here even though your machine doesn't | |
524 | have a local APIC, then the kernel will still run with no slowdown at | |
525 | all. The local APIC supports CPU-generated self-interrupts (timer, | |
526 | performance counters), and the NMI watchdog which detects hard | |
527 | lockups. | |
528 | ||
529 | config X86_UP_IOAPIC | |
530 | bool "IO-APIC support on uniprocessors" | |
531 | depends on X86_UP_APIC | |
532 | help | |
533 | An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an | |
534 | SMP-capable replacement for PC-style interrupt controllers. Most | |
535 | SMP systems and many recent uniprocessor systems have one. | |
536 | ||
537 | If you have a single-CPU system with an IO-APIC, you can say Y here | |
538 | to use it. If you say Y here even though your machine doesn't have | |
539 | an IO-APIC, then the kernel will still run with no slowdown at all. | |
540 | ||
541 | config X86_LOCAL_APIC | |
542 | bool | |
543 | depends on X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) | |
544 | default y | |
545 | ||
546 | config X86_IO_APIC | |
547 | bool | |
548 | depends on X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) | |
549 | default y | |
550 | ||
551 | config X86_VISWS_APIC | |
552 | bool | |
553 | depends on X86_VISWS | |
554 | default y | |
555 | ||
556 | config X86_TSC | |
557 | bool | |
47137419 | 558 | depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2 || MGEODEGX1) && !X86_NUMAQ |
1da177e4 LT |
559 | default y |
560 | ||
561 | config X86_MCE | |
562 | bool "Machine Check Exception" | |
563 | depends on !X86_VOYAGER | |
564 | ---help--- | |
565 | Machine Check Exception support allows the processor to notify the | |
566 | kernel if it detects a problem (e.g. overheating, component failure). | |
567 | The action the kernel takes depends on the severity of the problem, | |
568 | ranging from a warning message on the console, to halting the machine. | |
569 | Your processor must be a Pentium or newer to support this - check the | |
570 | flags in /proc/cpuinfo for mce. Note that some older Pentium systems | |
571 | have a design flaw which leads to false MCE events - hence MCE is | |
572 | disabled on all P5 processors, unless explicitly enabled with "mce" | |
573 | as a boot argument. Similarly, if MCE is built in and creates a | |
574 | problem on some new non-standard machine, you can boot with "nomce" | |
575 | to disable it. MCE support simply ignores non-MCE processors like | |
576 | the 386 and 486, so nearly everyone can say Y here. | |
577 | ||
578 | config X86_MCE_NONFATAL | |
579 | tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4" | |
580 | depends on X86_MCE | |
581 | help | |
582 | Enabling this feature starts a timer that triggers every 5 seconds which | |
583 | will look at the machine check registers to see if anything happened. | |
584 | Non-fatal problems automatically get corrected (but still logged). | |
585 | Disable this if you don't want to see these messages. | |
586 | Seeing the messages this option prints out may be indicative of dying hardware, | |
587 | or out-of-spec (ie, overclocked) hardware. | |
588 | This option only does something on certain CPUs. | |
589 | (AMD Athlon/Duron and Intel Pentium 4) | |
590 | ||
591 | config X86_MCE_P4THERMAL | |
592 | bool "check for P4 thermal throttling interrupt." | |
593 | depends on X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS | |
594 | help | |
595 | Enabling this feature will cause a message to be printed when the P4 | |
596 | enters thermal throttling. | |
597 | ||
598 | config TOSHIBA | |
599 | tristate "Toshiba Laptop support" | |
600 | ---help--- | |
601 | This adds a driver to safely access the System Management Mode of | |
602 | the CPU on Toshiba portables with a genuine Toshiba BIOS. It does | |
603 | not work on models with a Phoenix BIOS. The System Management Mode | |
604 | is used to set the BIOS and power saving options on Toshiba portables. | |
605 | ||
606 | For information on utilities to make use of this driver see the | |
607 | Toshiba Linux utilities web site at: | |
608 | <http://www.buzzard.org.uk/toshiba/>. | |
609 | ||
610 | Say Y if you intend to run this kernel on a Toshiba portable. | |
611 | Say N otherwise. | |
612 | ||
613 | config I8K | |
614 | tristate "Dell laptop support" | |
615 | ---help--- | |
616 | This adds a driver to safely access the System Management Mode | |
617 | of the CPU on the Dell Inspiron 8000. The System Management Mode | |
618 | is used to read cpu temperature and cooling fan status and to | |
619 | control the fans on the I8K portables. | |
620 | ||
621 | This driver has been tested only on the Inspiron 8000 but it may | |
622 | also work with other Dell laptops. You can force loading on other | |
623 | models by passing the parameter `force=1' to the module. Use at | |
624 | your own risk. | |
625 | ||
626 | For information on utilities to make use of this driver see the | |
627 | I8K Linux utilities web site at: | |
628 | <http://people.debian.org/~dz/i8k/> | |
629 | ||
630 | Say Y if you intend to run this kernel on a Dell Inspiron 8000. | |
631 | Say N otherwise. | |
632 | ||
a2f7c354 JK |
633 | config X86_REBOOTFIXUPS |
634 | bool "Enable X86 board specific fixups for reboot" | |
635 | depends on X86 | |
636 | default n | |
637 | ---help--- | |
638 | This enables chipset and/or board specific fixups to be done | |
639 | in order to get reboot to work correctly. This is only needed on | |
640 | some combinations of hardware and BIOS. The symptom, for which | |
641 | this config is intended, is when reboot ends with a stalled/hung | |
642 | system. | |
643 | ||
644 | Currently, the only fixup is for the Geode GX1/CS5530A/TROM2.1. | |
645 | combination. | |
646 | ||
647 | Say Y if you want to enable the fixup. Currently, it's safe to | |
648 | enable this option even if you don't need it. | |
649 | Say N otherwise. | |
650 | ||
1da177e4 LT |
651 | config MICROCODE |
652 | tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support" | |
653 | ---help--- | |
654 | If you say Y here and also to "/dev file system support" in the | |
655 | 'File systems' section, you will be able to update the microcode on | |
656 | Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II, | |
657 | Pentium III, Pentium 4, Xeon etc. You will obviously need the | |
658 | actual microcode binary data itself which is not shipped with the | |
659 | Linux kernel. | |
660 | ||
661 | For latest news and information on obtaining all the required | |
662 | ingredients for this driver, check: | |
663 | <http://www.urbanmyth.org/microcode/>. | |
664 | ||
665 | To compile this driver as a module, choose M here: the | |
666 | module will be called microcode. | |
667 | ||
668 | config X86_MSR | |
669 | tristate "/dev/cpu/*/msr - Model-specific register support" | |
670 | help | |
671 | This device gives privileged processes access to the x86 | |
672 | Model-Specific Registers (MSRs). It is a character device with | |
673 | major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr. | |
674 | MSR accesses are directed to a specific CPU on multi-processor | |
675 | systems. | |
676 | ||
677 | config X86_CPUID | |
678 | tristate "/dev/cpu/*/cpuid - CPU information support" | |
679 | help | |
680 | This device gives processes access to the x86 CPUID instruction to | |
681 | be executed on a specific processor. It is a character device | |
682 | with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to | |
683 | /dev/cpu/31/cpuid. | |
684 | ||
685 | source "drivers/firmware/Kconfig" | |
686 | ||
687 | choice | |
688 | prompt "High Memory Support" | |
689 | default NOHIGHMEM | |
690 | ||
691 | config NOHIGHMEM | |
692 | bool "off" | |
693 | ---help--- | |
694 | Linux can use up to 64 Gigabytes of physical memory on x86 systems. | |
695 | However, the address space of 32-bit x86 processors is only 4 | |
696 | Gigabytes large. That means that, if you have a large amount of | |
697 | physical memory, not all of it can be "permanently mapped" by the | |
698 | kernel. The physical memory that's not permanently mapped is called | |
699 | "high memory". | |
700 | ||
701 | If you are compiling a kernel which will never run on a machine with | |
702 | more than 1 Gigabyte total physical RAM, answer "off" here (default | |
703 | choice and suitable for most users). This will result in a "3GB/1GB" | |
704 | split: 3GB are mapped so that each process sees a 3GB virtual memory | |
705 | space and the remaining part of the 4GB virtual memory space is used | |
706 | by the kernel to permanently map as much physical memory as | |
707 | possible. | |
708 | ||
709 | If the machine has between 1 and 4 Gigabytes physical RAM, then | |
710 | answer "4GB" here. | |
711 | ||
712 | If more than 4 Gigabytes is used then answer "64GB" here. This | |
713 | selection turns Intel PAE (Physical Address Extension) mode on. | |
714 | PAE implements 3-level paging on IA32 processors. PAE is fully | |
715 | supported by Linux, PAE mode is implemented on all recent Intel | |
716 | processors (Pentium Pro and better). NOTE: If you say "64GB" here, | |
717 | then the kernel will not boot on CPUs that don't support PAE! | |
718 | ||
719 | The actual amount of total physical memory will either be | |
720 | auto detected or can be forced by using a kernel command line option | |
721 | such as "mem=256M". (Try "man bootparam" or see the documentation of | |
722 | your boot loader (lilo or loadlin) about how to pass options to the | |
723 | kernel at boot time.) | |
724 | ||
725 | If unsure, say "off". | |
726 | ||
727 | config HIGHMEM4G | |
728 | bool "4GB" | |
729 | help | |
730 | Select this if you have a 32-bit processor and between 1 and 4 | |
731 | gigabytes of physical RAM. | |
732 | ||
733 | config HIGHMEM64G | |
734 | bool "64GB" | |
735 | help | |
736 | Select this if you have a 32-bit processor and more than 4 | |
737 | gigabytes of physical RAM. | |
738 | ||
739 | endchoice | |
740 | ||
741 | config HIGHMEM | |
742 | bool | |
743 | depends on HIGHMEM64G || HIGHMEM4G | |
744 | default y | |
745 | ||
746 | config X86_PAE | |
747 | bool | |
748 | depends on HIGHMEM64G | |
749 | default y | |
750 | ||
751 | # Common NUMA Features | |
752 | config NUMA | |
753 | bool "Numa Memory Allocation and Scheduler Support" | |
754 | depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI)) | |
755 | default n if X86_PC | |
756 | default y if (X86_NUMAQ || X86_SUMMIT) | |
757 | ||
758 | # Need comments to help the hapless user trying to turn on NUMA support | |
759 | comment "NUMA (NUMA-Q) requires SMP, 64GB highmem support" | |
760 | depends on X86_NUMAQ && (!HIGHMEM64G || !SMP) | |
761 | ||
762 | comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI" | |
763 | depends on X86_SUMMIT && (!HIGHMEM64G || !ACPI) | |
764 | ||
1da177e4 LT |
765 | config HAVE_ARCH_BOOTMEM_NODE |
766 | bool | |
767 | depends on NUMA | |
768 | default y | |
769 | ||
af705362 | 770 | config ARCH_HAVE_MEMORY_PRESENT |
1da177e4 LT |
771 | bool |
772 | depends on DISCONTIGMEM | |
773 | default y | |
774 | ||
775 | config NEED_NODE_MEMMAP_SIZE | |
776 | bool | |
05b79bdc | 777 | depends on DISCONTIGMEM || SPARSEMEM |
1da177e4 LT |
778 | default y |
779 | ||
6f167ec7 DH |
780 | config HAVE_ARCH_ALLOC_REMAP |
781 | bool | |
782 | depends on NUMA | |
783 | default y | |
784 | ||
05b79bdc AW |
785 | config ARCH_DISCONTIGMEM_ENABLE |
786 | def_bool y | |
787 | depends on NUMA | |
788 | ||
789 | config ARCH_DISCONTIGMEM_DEFAULT | |
790 | def_bool y | |
791 | depends on NUMA | |
792 | ||
793 | config ARCH_SPARSEMEM_ENABLE | |
794 | def_bool y | |
795 | depends on NUMA | |
796 | ||
797 | config ARCH_SELECT_MEMORY_MODEL | |
798 | def_bool y | |
799 | depends on ARCH_SPARSEMEM_ENABLE | |
800 | ||
3f22ab27 DH |
801 | source "mm/Kconfig" |
802 | ||
b159d43f AW |
803 | config HAVE_ARCH_EARLY_PFN_TO_NID |
804 | bool | |
805 | default y | |
d41dee36 | 806 | depends on NUMA |
b159d43f | 807 | |
1da177e4 LT |
808 | config HIGHPTE |
809 | bool "Allocate 3rd-level pagetables from highmem" | |
810 | depends on HIGHMEM4G || HIGHMEM64G | |
811 | help | |
812 | The VM uses one page table entry for each page of physical memory. | |
813 | For systems with a lot of RAM, this can be wasteful of precious | |
814 | low memory. Setting this option will put user-space page table | |
815 | entries in high memory. | |
816 | ||
817 | config MATH_EMULATION | |
818 | bool "Math emulation" | |
819 | ---help--- | |
820 | Linux can emulate a math coprocessor (used for floating point | |
821 | operations) if you don't have one. 486DX and Pentium processors have | |
822 | a math coprocessor built in, 486SX and 386 do not, unless you added | |
823 | a 487DX or 387, respectively. (The messages during boot time can | |
824 | give you some hints here ["man dmesg"].) Everyone needs either a | |
825 | coprocessor or this emulation. | |
826 | ||
827 | If you don't have a math coprocessor, you need to say Y here; if you | |
828 | say Y here even though you have a coprocessor, the coprocessor will | |
829 | be used nevertheless. (This behavior can be changed with the kernel | |
830 | command line option "no387", which comes handy if your coprocessor | |
831 | is broken. Try "man bootparam" or see the documentation of your boot | |
832 | loader (lilo or loadlin) about how to pass options to the kernel at | |
833 | boot time.) This means that it is a good idea to say Y here if you | |
834 | intend to use this kernel on different machines. | |
835 | ||
836 | More information about the internals of the Linux math coprocessor | |
837 | emulation can be found in <file:arch/i386/math-emu/README>. | |
838 | ||
839 | If you are not sure, say Y; apart from resulting in a 66 KB bigger | |
840 | kernel, it won't hurt. | |
841 | ||
842 | config MTRR | |
843 | bool "MTRR (Memory Type Range Register) support" | |
844 | ---help--- | |
845 | On Intel P6 family processors (Pentium Pro, Pentium II and later) | |
846 | the Memory Type Range Registers (MTRRs) may be used to control | |
847 | processor access to memory ranges. This is most useful if you have | |
848 | a video (VGA) card on a PCI or AGP bus. Enabling write-combining | |
849 | allows bus write transfers to be combined into a larger transfer | |
850 | before bursting over the PCI/AGP bus. This can increase performance | |
851 | of image write operations 2.5 times or more. Saying Y here creates a | |
852 | /proc/mtrr file which may be used to manipulate your processor's | |
853 | MTRRs. Typically the X server should use this. | |
854 | ||
855 | This code has a reasonably generic interface so that similar | |
856 | control registers on other processors can be easily supported | |
857 | as well: | |
858 | ||
859 | The Cyrix 6x86, 6x86MX and M II processors have Address Range | |
860 | Registers (ARRs) which provide a similar functionality to MTRRs. For | |
861 | these, the ARRs are used to emulate the MTRRs. | |
862 | The AMD K6-2 (stepping 8 and above) and K6-3 processors have two | |
863 | MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing | |
864 | write-combining. All of these processors are supported by this code | |
865 | and it makes sense to say Y here if you have one of them. | |
866 | ||
867 | Saying Y here also fixes a problem with buggy SMP BIOSes which only | |
868 | set the MTRRs for the boot CPU and not for the secondary CPUs. This | |
869 | can lead to all sorts of problems, so it's good to say Y here. | |
870 | ||
871 | You can safely say Y even if your machine doesn't have MTRRs, you'll | |
872 | just add about 9 KB to your kernel. | |
873 | ||
874 | See <file:Documentation/mtrr.txt> for more information. | |
875 | ||
876 | config EFI | |
877 | bool "Boot from EFI support (EXPERIMENTAL)" | |
878 | depends on ACPI | |
879 | default n | |
880 | ---help--- | |
881 | This enables the the kernel to boot on EFI platforms using | |
882 | system configuration information passed to it from the firmware. | |
883 | This also enables the kernel to use any EFI runtime services that are | |
884 | available (such as the EFI variable services). | |
885 | ||
886 | This option is only useful on systems that have EFI firmware | |
887 | and will result in a kernel image that is ~8k larger. In addition, | |
888 | you must use the latest ELILO loader available at | |
889 | <http://elilo.sourceforge.net> in order to take advantage of | |
890 | kernel initialization using EFI information (neither GRUB nor LILO know | |
891 | anything about EFI). However, even with this option, the resultant | |
892 | kernel should continue to boot on existing non-EFI platforms. | |
893 | ||
894 | config IRQBALANCE | |
895 | bool "Enable kernel irq balancing" | |
896 | depends on SMP && X86_IO_APIC | |
897 | default y | |
898 | help | |
899 | The default yes will allow the kernel to do irq load balancing. | |
900 | Saying no will keep the kernel from doing irq load balancing. | |
901 | ||
902 | config HAVE_DEC_LOCK | |
903 | bool | |
904 | depends on (SMP || PREEMPT) && X86_CMPXCHG | |
905 | default y | |
906 | ||
907 | # turning this on wastes a bunch of space. | |
908 | # Summit needs it only when NUMA is on | |
909 | config BOOT_IOREMAP | |
910 | bool | |
911 | depends on (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI)) | |
912 | default y | |
913 | ||
914 | config REGPARM | |
915 | bool "Use register arguments (EXPERIMENTAL)" | |
916 | depends on EXPERIMENTAL | |
917 | default n | |
918 | help | |
919 | Compile the kernel with -mregparm=3. This uses a different ABI | |
920 | and passes the first three arguments of a function call in registers. | |
921 | This will probably break binary only modules. | |
922 | ||
923 | This feature is only enabled for gcc-3.0 and later - earlier compilers | |
924 | generate incorrect output with certain kernel constructs when | |
925 | -mregparm=3 is used. | |
926 | ||
927 | config SECCOMP | |
928 | bool "Enable seccomp to safely compute untrusted bytecode" | |
929 | depends on PROC_FS | |
930 | default y | |
931 | help | |
932 | This kernel feature is useful for number crunching applications | |
933 | that may need to compute untrusted bytecode during their | |
934 | execution. By using pipes or other transports made available to | |
935 | the process as file descriptors supporting the read/write | |
936 | syscalls, it's possible to isolate those applications in | |
937 | their own address space using seccomp. Once seccomp is | |
938 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
939 | and the task is only allowed to execute a few safe syscalls | |
940 | defined by each seccomp mode. | |
941 | ||
942 | If unsure, say Y. Only embedded should say N here. | |
943 | ||
59121003 CL |
944 | source kernel/Kconfig.hz |
945 | ||
3d345e3f EB |
946 | config PHYSICAL_START |
947 | hex "Physical address where the kernel is loaded" if EMBEDDED | |
948 | default "0x100000" | |
949 | help | |
950 | This gives the physical address where the kernel is loaded. | |
951 | Primarily used in the case of kexec on panic where the | |
952 | fail safe kernel needs to run at a different address than | |
953 | the panic-ed kernel. | |
954 | ||
955 | Don't change this unless you know what you are doing. | |
956 | ||
5033cba0 EB |
957 | config KEXEC |
958 | bool "kexec system call (EXPERIMENTAL)" | |
959 | depends on EXPERIMENTAL | |
960 | help | |
961 | kexec is a system call that implements the ability to shutdown your | |
962 | current kernel, and to start another kernel. It is like a reboot | |
963 | but it is indepedent of the system firmware. And like a reboot | |
964 | you can start any kernel with it, not just Linux. | |
965 | ||
966 | The name comes from the similiarity to the exec system call. | |
967 | ||
968 | It is an ongoing process to be certain the hardware in a machine | |
969 | is properly shutdown, so do not be surprised if this code does not | |
970 | initially work for you. It may help to enable device hotplugging | |
971 | support. As of this writing the exact hardware interface is | |
972 | strongly in flux, so no good recommendation can be made. | |
973 | ||
5f016456 VG |
974 | config CRASH_DUMP |
975 | bool "kernel crash dumps (EXPERIMENTAL)" | |
976 | depends on EMBEDDED | |
977 | depends on EXPERIMENTAL | |
978 | depends on HIGHMEM | |
979 | help | |
980 | Generate crash dump after being started by kexec. | |
1da177e4 LT |
981 | endmenu |
982 | ||
983 | ||
984 | menu "Power management options (ACPI, APM)" | |
985 | depends on !X86_VOYAGER | |
986 | ||
987 | source kernel/power/Kconfig | |
988 | ||
989 | source "drivers/acpi/Kconfig" | |
990 | ||
991 | menu "APM (Advanced Power Management) BIOS Support" | |
992 | depends on PM && !X86_VISWS | |
993 | ||
994 | config APM | |
995 | tristate "APM (Advanced Power Management) BIOS support" | |
996 | depends on PM | |
997 | ---help--- | |
998 | APM is a BIOS specification for saving power using several different | |
999 | techniques. This is mostly useful for battery powered laptops with | |
1000 | APM compliant BIOSes. If you say Y here, the system time will be | |
1001 | reset after a RESUME operation, the /proc/apm device will provide | |
1002 | battery status information, and user-space programs will receive | |
1003 | notification of APM "events" (e.g. battery status change). | |
1004 | ||
1005 | If you select "Y" here, you can disable actual use of the APM | |
1006 | BIOS by passing the "apm=off" option to the kernel at boot time. | |
1007 | ||
1008 | Note that the APM support is almost completely disabled for | |
1009 | machines with more than one CPU. | |
1010 | ||
1011 | In order to use APM, you will need supporting software. For location | |
1012 | and more information, read <file:Documentation/pm.txt> and the | |
1013 | Battery Powered Linux mini-HOWTO, available from | |
1014 | <http://www.tldp.org/docs.html#howto>. | |
1015 | ||
1016 | This driver does not spin down disk drives (see the hdparm(8) | |
1017 | manpage ("man 8 hdparm") for that), and it doesn't turn off | |
1018 | VESA-compliant "green" monitors. | |
1019 | ||
1020 | This driver does not support the TI 4000M TravelMate and the ACER | |
1021 | 486/DX4/75 because they don't have compliant BIOSes. Many "green" | |
1022 | desktop machines also don't have compliant BIOSes, and this driver | |
1023 | may cause those machines to panic during the boot phase. | |
1024 | ||
1025 | Generally, if you don't have a battery in your machine, there isn't | |
1026 | much point in using this driver and you should say N. If you get | |
1027 | random kernel OOPSes or reboots that don't seem to be related to | |
1028 | anything, try disabling/enabling this option (or disabling/enabling | |
1029 | APM in your BIOS). | |
1030 | ||
1031 | Some other things you should try when experiencing seemingly random, | |
1032 | "weird" problems: | |
1033 | ||
1034 | 1) make sure that you have enough swap space and that it is | |
1035 | enabled. | |
1036 | 2) pass the "no-hlt" option to the kernel | |
1037 | 3) switch on floating point emulation in the kernel and pass | |
1038 | the "no387" option to the kernel | |
1039 | 4) pass the "floppy=nodma" option to the kernel | |
1040 | 5) pass the "mem=4M" option to the kernel (thereby disabling | |
1041 | all but the first 4 MB of RAM) | |
1042 | 6) make sure that the CPU is not over clocked. | |
1043 | 7) read the sig11 FAQ at <http://www.bitwizard.nl/sig11/> | |
1044 | 8) disable the cache from your BIOS settings | |
1045 | 9) install a fan for the video card or exchange video RAM | |
1046 | 10) install a better fan for the CPU | |
1047 | 11) exchange RAM chips | |
1048 | 12) exchange the motherboard. | |
1049 | ||
1050 | To compile this driver as a module, choose M here: the | |
1051 | module will be called apm. | |
1052 | ||
1053 | config APM_IGNORE_USER_SUSPEND | |
1054 | bool "Ignore USER SUSPEND" | |
1055 | depends on APM | |
1056 | help | |
1057 | This option will ignore USER SUSPEND requests. On machines with a | |
1058 | compliant APM BIOS, you want to say N. However, on the NEC Versa M | |
1059 | series notebooks, it is necessary to say Y because of a BIOS bug. | |
1060 | ||
1061 | config APM_DO_ENABLE | |
1062 | bool "Enable PM at boot time" | |
1063 | depends on APM | |
1064 | ---help--- | |
1065 | Enable APM features at boot time. From page 36 of the APM BIOS | |
1066 | specification: "When disabled, the APM BIOS does not automatically | |
1067 | power manage devices, enter the Standby State, enter the Suspend | |
1068 | State, or take power saving steps in response to CPU Idle calls." | |
1069 | This driver will make CPU Idle calls when Linux is idle (unless this | |
1070 | feature is turned off -- see "Do CPU IDLE calls", below). This | |
1071 | should always save battery power, but more complicated APM features | |
1072 | will be dependent on your BIOS implementation. You may need to turn | |
1073 | this option off if your computer hangs at boot time when using APM | |
1074 | support, or if it beeps continuously instead of suspending. Turn | |
1075 | this off if you have a NEC UltraLite Versa 33/C or a Toshiba | |
1076 | T400CDT. This is off by default since most machines do fine without | |
1077 | this feature. | |
1078 | ||
1079 | config APM_CPU_IDLE | |
1080 | bool "Make CPU Idle calls when idle" | |
1081 | depends on APM | |
1082 | help | |
1083 | Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop. | |
1084 | On some machines, this can activate improved power savings, such as | |
1085 | a slowed CPU clock rate, when the machine is idle. These idle calls | |
1086 | are made after the idle loop has run for some length of time (e.g., | |
1087 | 333 mS). On some machines, this will cause a hang at boot time or | |
1088 | whenever the CPU becomes idle. (On machines with more than one CPU, | |
1089 | this option does nothing.) | |
1090 | ||
1091 | config APM_DISPLAY_BLANK | |
1092 | bool "Enable console blanking using APM" | |
1093 | depends on APM | |
1094 | help | |
1095 | Enable console blanking using the APM. Some laptops can use this to | |
1096 | turn off the LCD backlight when the screen blanker of the Linux | |
1097 | virtual console blanks the screen. Note that this is only used by | |
1098 | the virtual console screen blanker, and won't turn off the backlight | |
1099 | when using the X Window system. This also doesn't have anything to | |
1100 | do with your VESA-compliant power-saving monitor. Further, this | |
1101 | option doesn't work for all laptops -- it might not turn off your | |
1102 | backlight at all, or it might print a lot of errors to the console, | |
1103 | especially if you are using gpm. | |
1104 | ||
1105 | config APM_RTC_IS_GMT | |
1106 | bool "RTC stores time in GMT" | |
1107 | depends on APM | |
1108 | help | |
1109 | Say Y here if your RTC (Real Time Clock a.k.a. hardware clock) | |
1110 | stores the time in GMT (Greenwich Mean Time). Say N if your RTC | |
1111 | stores localtime. | |
1112 | ||
1113 | It is in fact recommended to store GMT in your RTC, because then you | |
1114 | don't have to worry about daylight savings time changes. The only | |
1115 | reason not to use GMT in your RTC is if you also run a broken OS | |
1116 | that doesn't understand GMT. | |
1117 | ||
1118 | config APM_ALLOW_INTS | |
1119 | bool "Allow interrupts during APM BIOS calls" | |
1120 | depends on APM | |
1121 | help | |
1122 | Normally we disable external interrupts while we are making calls to | |
1123 | the APM BIOS as a measure to lessen the effects of a badly behaving | |
1124 | BIOS implementation. The BIOS should reenable interrupts if it | |
1125 | needs to. Unfortunately, some BIOSes do not -- especially those in | |
1126 | many of the newer IBM Thinkpads. If you experience hangs when you | |
1127 | suspend, try setting this to Y. Otherwise, say N. | |
1128 | ||
1129 | config APM_REAL_MODE_POWER_OFF | |
1130 | bool "Use real mode APM BIOS call to power off" | |
1131 | depends on APM | |
1132 | help | |
1133 | Use real mode APM BIOS calls to switch off the computer. This is | |
1134 | a work-around for a number of buggy BIOSes. Switch this option on if | |
1135 | your computer crashes instead of powering off properly. | |
1136 | ||
1137 | endmenu | |
1138 | ||
1139 | source "arch/i386/kernel/cpu/cpufreq/Kconfig" | |
1140 | ||
1141 | endmenu | |
1142 | ||
1143 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" | |
1144 | ||
1145 | config PCI | |
1146 | bool "PCI support" if !X86_VISWS | |
1147 | depends on !X86_VOYAGER | |
1148 | default y if X86_VISWS | |
1149 | help | |
1150 | Find out whether you have a PCI motherboard. PCI is the name of a | |
1151 | bus system, i.e. the way the CPU talks to the other stuff inside | |
1152 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
1153 | VESA. If you have PCI, say Y, otherwise N. | |
1154 | ||
1155 | The PCI-HOWTO, available from | |
1156 | <http://www.tldp.org/docs.html#howto>, contains valuable | |
1157 | information about which PCI hardware does work under Linux and which | |
1158 | doesn't. | |
1159 | ||
1160 | choice | |
1161 | prompt "PCI access mode" | |
1162 | depends on PCI && !X86_VISWS | |
1163 | default PCI_GOANY | |
1164 | ---help--- | |
1165 | On PCI systems, the BIOS can be used to detect the PCI devices and | |
1166 | determine their configuration. However, some old PCI motherboards | |
1167 | have BIOS bugs and may crash if this is done. Also, some embedded | |
1168 | PCI-based systems don't have any BIOS at all. Linux can also try to | |
1169 | detect the PCI hardware directly without using the BIOS. | |
1170 | ||
1171 | With this option, you can specify how Linux should detect the | |
1172 | PCI devices. If you choose "BIOS", the BIOS will be used, | |
1173 | if you choose "Direct", the BIOS won't be used, and if you | |
1174 | choose "MMConfig", then PCI Express MMCONFIG will be used. | |
1175 | If you choose "Any", the kernel will try MMCONFIG, then the | |
1176 | direct access method and falls back to the BIOS if that doesn't | |
1177 | work. If unsure, go with the default, which is "Any". | |
1178 | ||
1179 | config PCI_GOBIOS | |
1180 | bool "BIOS" | |
1181 | ||
1182 | config PCI_GOMMCONFIG | |
1183 | bool "MMConfig" | |
1184 | ||
1185 | config PCI_GODIRECT | |
1186 | bool "Direct" | |
1187 | ||
1188 | config PCI_GOANY | |
1189 | bool "Any" | |
1190 | ||
1191 | endchoice | |
1192 | ||
1193 | config PCI_BIOS | |
1194 | bool | |
1195 | depends on !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) | |
1196 | default y | |
1197 | ||
1198 | config PCI_DIRECT | |
1199 | bool | |
1200 | depends on PCI && ((PCI_GODIRECT || PCI_GOANY) || X86_VISWS) | |
1201 | default y | |
1202 | ||
1203 | config PCI_MMCONFIG | |
1204 | bool | |
8aadff7d | 1205 | depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) |
1da177e4 LT |
1206 | select ACPI_BOOT |
1207 | default y | |
1208 | ||
1209 | source "drivers/pci/pcie/Kconfig" | |
1210 | ||
1211 | source "drivers/pci/Kconfig" | |
1212 | ||
5cae841b AV |
1213 | config ISA_DMA_API |
1214 | bool | |
1215 | default y | |
1216 | ||
1da177e4 LT |
1217 | config ISA |
1218 | bool "ISA support" | |
1219 | depends on !(X86_VOYAGER || X86_VISWS) | |
1220 | help | |
1221 | Find out whether you have ISA slots on your motherboard. ISA is the | |
1222 | name of a bus system, i.e. the way the CPU talks to the other stuff | |
1223 | inside your box. Other bus systems are PCI, EISA, MicroChannel | |
1224 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; | |
1225 | newer boards don't support it. If you have ISA, say Y, otherwise N. | |
1226 | ||
1227 | config EISA | |
1228 | bool "EISA support" | |
1229 | depends on ISA | |
1230 | ---help--- | |
1231 | The Extended Industry Standard Architecture (EISA) bus was | |
1232 | developed as an open alternative to the IBM MicroChannel bus. | |
1233 | ||
1234 | The EISA bus provided some of the features of the IBM MicroChannel | |
1235 | bus while maintaining backward compatibility with cards made for | |
1236 | the older ISA bus. The EISA bus saw limited use between 1988 and | |
1237 | 1995 when it was made obsolete by the PCI bus. | |
1238 | ||
1239 | Say Y here if you are building a kernel for an EISA-based machine. | |
1240 | ||
1241 | Otherwise, say N. | |
1242 | ||
1243 | source "drivers/eisa/Kconfig" | |
1244 | ||
1245 | config MCA | |
1246 | bool "MCA support" if !(X86_VISWS || X86_VOYAGER) | |
1247 | default y if X86_VOYAGER | |
1248 | help | |
1249 | MicroChannel Architecture is found in some IBM PS/2 machines and | |
1250 | laptops. It is a bus system similar to PCI or ISA. See | |
1251 | <file:Documentation/mca.txt> (and especially the web page given | |
1252 | there) before attempting to build an MCA bus kernel. | |
1253 | ||
1254 | source "drivers/mca/Kconfig" | |
1255 | ||
1256 | config SCx200 | |
1257 | tristate "NatSemi SCx200 support" | |
1258 | depends on !X86_VOYAGER | |
1259 | help | |
1260 | This provides basic support for the National Semiconductor SCx200 | |
1261 | processor. Right now this is just a driver for the GPIO pins. | |
1262 | ||
1263 | If you don't know what to do here, say N. | |
1264 | ||
1265 | This support is also available as a module. If compiled as a | |
1266 | module, it will be called scx200. | |
1267 | ||
f3705136 ZM |
1268 | config HOTPLUG_CPU |
1269 | bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" | |
1270 | depends on SMP && HOTPLUG && EXPERIMENTAL | |
1271 | ---help--- | |
1272 | Say Y here to experiment with turning CPUs off and on. CPUs | |
1273 | can be controlled through /sys/devices/system/cpu. | |
1274 | ||
1275 | Say N. | |
1276 | ||
1da177e4 LT |
1277 | source "drivers/pcmcia/Kconfig" |
1278 | ||
1279 | source "drivers/pci/hotplug/Kconfig" | |
1280 | ||
1281 | endmenu | |
1282 | ||
1283 | menu "Executable file formats" | |
1284 | ||
1285 | source "fs/Kconfig.binfmt" | |
1286 | ||
1287 | endmenu | |
1288 | ||
d5950b43 SR |
1289 | source "net/Kconfig" |
1290 | ||
1da177e4 LT |
1291 | source "drivers/Kconfig" |
1292 | ||
1293 | source "fs/Kconfig" | |
1294 | ||
1295 | source "arch/i386/oprofile/Kconfig" | |
1296 | ||
1297 | source "arch/i386/Kconfig.debug" | |
1298 | ||
1299 | source "security/Kconfig" | |
1300 | ||
1301 | source "crypto/Kconfig" | |
1302 | ||
1303 | source "lib/Kconfig" | |
1304 | ||
1305 | # | |
1306 | # Use the generic interrupt handling code in kernel/irq/: | |
1307 | # | |
1308 | config GENERIC_HARDIRQS | |
1309 | bool | |
1310 | default y | |
1311 | ||
1312 | config GENERIC_IRQ_PROBE | |
1313 | bool | |
1314 | default y | |
1315 | ||
1316 | config X86_SMP | |
1317 | bool | |
1318 | depends on SMP && !X86_VOYAGER | |
1319 | default y | |
1320 | ||
1321 | config X86_HT | |
1322 | bool | |
1323 | depends on SMP && !(X86_VISWS || X86_VOYAGER) | |
1324 | default y | |
1325 | ||
1326 | config X86_BIOS_REBOOT | |
1327 | bool | |
1328 | depends on !(X86_VISWS || X86_VOYAGER) | |
1329 | default y | |
1330 | ||
1331 | config X86_TRAMPOLINE | |
1332 | bool | |
1333 | depends on X86_SMP || (X86_VOYAGER && SMP) | |
1334 | default y | |
1335 | ||
1336 | config PC | |
1337 | bool | |
1338 | depends on X86 && !EMBEDDED | |
1339 | default y |