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