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