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