2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
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.
28 config GENERIC_ISA_DMA
35 menu "Processor type and features"
38 prompt "Subarchitecture Type"
44 Choose this option if your computer is a standard PC or compatible.
49 Select this for an AMD Elan processor.
51 Do not use this option for K6/Athlon/Opteron processors!
53 If unsure, choose "PC-compatible" instead.
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.
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.
67 bool "NUMAQ (IBM/Sequent)"
71 This option is used for getting Linux to run on a (IBM/Sequent) NUMA
72 multiquad box. This changes the way that processors are bootstrapped,
73 and uses Clustered Logical APIC addressing mode instead of Flat Logical.
74 You will need a new lynxer.elf file to flash your firmware with - send
75 email to <Martin.Bligh@us.ibm.com>.
78 bool "Summit/EXA (IBM x440)"
81 This option is needed for IBM systems that use the Summit/EXA chipset.
82 In particular, it is needed for the x440.
84 If you don't have one of these computers, you should say N here.
87 bool "Support for other sub-arch SMP systems with more than 8 CPUs"
90 This option is needed for the systems that have more than 8 CPUs
91 and if the system is not of any sub-arch type above.
93 If you don't have such a system, you should say N here.
96 bool "SGI 320/540 (Visual Workstation)"
98 The SGI Visual Workstation series is an IA32-based workstation
99 based on SGI systems chips with some legacy PC hardware attached.
101 Say Y here to create a kernel to run on the SGI 320 or 540.
103 A kernel compiled for the Visual Workstation will not run on PCs
104 and vice versa. See <file:Documentation/sgi-visws.txt> for details.
106 config X86_GENERICARCH
107 bool "Generic architecture (Summit, bigsmp, ES7000, default)"
110 This option compiles in the Summit, bigsmp, ES7000, default subarchitectures.
111 It is intended for a generic binary kernel.
114 bool "Support for Unisys ES7000 IA32 series"
117 Support for Unisys ES7000 systems. Say 'Y' here if this kernel is
118 supposed to run on an IA32-based Unisys ES7000 system.
119 Only choose this option if you have such a system, otherwise you
127 depends on NUMA && (X86_SUMMIT || X86_GENERICARCH)
129 config X86_SUMMIT_NUMA
132 depends on NUMA && (X86_SUMMIT || X86_GENERICARCH)
134 config X86_CYCLONE_TIMER
137 depends on X86_SUMMIT || X86_GENERICARCH
139 config ES7000_CLUSTERED_APIC
142 depends on SMP && X86_ES7000 && MPENTIUMIII
147 prompt "Processor family"
153 This is the processor type of your CPU. This information is used for
154 optimizing purposes. In order to compile a kernel that can run on
155 all x86 CPU types (albeit not optimally fast), you can specify
158 The kernel will not necessarily run on earlier architectures than
159 the one you have chosen, e.g. a Pentium optimized kernel will run on
160 a PPro, but not necessarily on a i486.
162 Here are the settings recommended for greatest speed:
163 - "386" for the AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX, Cyrix/TI
164 486DLC/DLC2, UMC 486SX-S and NexGen Nx586. Only "386" kernels
165 will run on a 386 class machine.
166 - "486" for the AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 or
167 SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or U5S.
168 - "586" for generic Pentium CPUs lacking the TSC
169 (time stamp counter) register.
170 - "Pentium-Classic" for the Intel Pentium.
171 - "Pentium-MMX" for the Intel Pentium MMX.
172 - "Pentium-Pro" for the Intel Pentium Pro.
173 - "Pentium-II" for the Intel Pentium II or pre-Coppermine Celeron.
174 - "Pentium-III" for the Intel Pentium III or Coppermine Celeron.
175 - "Pentium-4" for the Intel Pentium 4 or P4-based Celeron.
176 - "K6" for the AMD K6, K6-II and K6-III (aka K6-3D).
177 - "Athlon" for the AMD K7 family (Athlon/Duron/Thunderbird).
178 - "Crusoe" for the Transmeta Crusoe series.
179 - "Winchip-C6" for original IDT Winchip.
180 - "Winchip-2" for IDT Winchip 2.
181 - "Winchip-2A" for IDT Winchips with 3dNow! capabilities.
182 - "CyrixIII/VIA C3" for VIA Cyrix III or VIA C3.
183 - "VIA C3-2 for VIA C3-2 "Nehemiah" (model 9 and above).
185 If you don't know what to do, choose "386".
190 Select this for a 486 series processor, either Intel or one of the
191 compatible processors from AMD, Cyrix, IBM, or Intel. Includes DX,
192 DX2, and DX4 variants; also SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or
196 bool "586/K5/5x86/6x86/6x86MX"
198 Select this for an 586 or 686 series processor such as the AMD K5,
199 the Intel 5x86 or 6x86, or the Intel 6x86MX. This choice does not
200 assume the RDTSC (Read Time Stamp Counter) instruction.
203 bool "Pentium-Classic"
205 Select this for a Pentium Classic processor with the RDTSC (Read
206 Time Stamp Counter) instruction for benchmarking.
211 Select this for a Pentium with the MMX graphics/multimedia
212 extended instructions.
217 Select this for Intel Pentium Pro chips. This enables the use of
218 Pentium Pro extended instructions, and disables the init-time guard
219 against the f00f bug found in earlier Pentiums.
222 bool "Pentium-II/Celeron(pre-Coppermine)"
224 Select this for Intel chips based on the Pentium-II and
225 pre-Coppermine Celeron core. This option enables an unaligned
226 copy optimization, compiles the kernel with optimization flags
227 tailored for the chip, and applies any applicable Pentium Pro
231 bool "Pentium-III/Celeron(Coppermine)/Pentium-III Xeon"
233 Select this for Intel chips based on the Pentium-III and
234 Celeron-Coppermine core. This option enables use of some
235 extended prefetch instructions in addition to the Pentium II
241 Select this for Intel Pentium M (not Pentium-4 M)
245 bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon"
247 Select this for Intel Pentium 4 chips. This includes the
248 Pentium 4, P4-based Celeron and Xeon, and Pentium-4 M
249 (not Pentium M) chips. This option enables compile flags
250 optimized for the chip, uses the correct cache shift, and
251 applies any applicable Pentium III optimizations.
254 bool "K6/K6-II/K6-III"
256 Select this for an AMD K6-family processor. Enables use of
257 some extended instructions, and passes appropriate optimization
261 bool "Athlon/Duron/K7"
263 Select this for an AMD Athlon K7-family processor. Enables use of
264 some extended instructions, and passes appropriate optimization
268 bool "Opteron/Athlon64/Hammer/K8"
270 Select this for an AMD Opteron or Athlon64 Hammer-family processor. Enables
271 use of some extended instructions, and passes appropriate optimization
277 Select this for a Transmeta Crusoe processor. Treats the processor
278 like a 586 with TSC, and sets some GCC optimization flags (like a
279 Pentium Pro with no alignment requirements).
284 Select this for an IDT Winchip C6 chip. Linux and GCC
285 treat this chip as a 586TSC with some extended instructions
286 and alignment requirements.
291 Select this for an IDT Winchip-2. Linux and GCC
292 treat this chip as a 586TSC with some extended instructions
293 and alignment requirements.
296 bool "Winchip-2A/Winchip-3"
298 Select this for an IDT Winchip-2A or 3. Linux and GCC
299 treat this chip as a 586TSC with some extended instructions
300 and alignment reqirements. Also enable out of order memory
301 stores for this CPU, which can increase performance of some
305 bool "CyrixIII/VIA-C3"
307 Select this for a Cyrix III or C3 chip. Presently Linux and GCC
308 treat this chip as a generic 586. Whilst the CPU is 686 class,
309 it lacks the cmov extension which gcc assumes is present when
311 Note that Nehemiah (Model 9) and above will not boot with this
312 kernel due to them lacking the 3DNow! instructions used in earlier
313 incarnations of the CPU.
316 bool "VIA C3-2 (Nehemiah)"
318 Select this for a VIA C3 "Nehemiah". Selecting this enables usage
319 of SSE and tells gcc to treat the CPU as a 686.
320 Note, this kernel will not boot on older (pre model 9) C3s.
325 bool "Generic x86 support"
327 Instead of just including optimizations for the selected
328 x86 variant (e.g. PII, Crusoe or Athlon), include some more
329 generic optimizations as well. This will make the kernel
330 perform better on x86 CPUs other than that selected.
332 This is really intended for distributors who need more
333 generic optimizations.
338 # Define implied options from the CPU selection here
350 config X86_L1_CACHE_SHIFT
352 default "7" if MPENTIUM4 || X86_GENERIC
353 default "4" if X86_ELAN || M486 || M386
354 default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2
355 default "6" if MK7 || MK8 || MPENTIUMM
357 config RWSEM_GENERIC_SPINLOCK
362 config RWSEM_XCHGADD_ALGORITHM
367 config X86_PPRO_FENCE
369 depends on M686 || M586MMX || M586TSC || M586 || M486 || M386
374 depends on M586MMX || M586TSC || M586 || M486 || M386
377 config X86_WP_WORKS_OK
397 config X86_ALIGNMENT_16
399 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2
404 depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8
407 config X86_INTEL_USERCOPY
409 depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7
412 config X86_USE_PPRO_CHECKSUM
414 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2
419 depends on MCYRIXIII || MK7
424 depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR
428 bool "4 GB kernel-space and 4 GB user-space virtual memory support"
430 This option is only useful for systems that have more than 1 GB
433 The default kernel VM layout leaves 1 GB of virtual memory for
434 kernel-space mappings, and 3 GB of VM for user-space applications.
435 This option ups both the kernel-space VM and the user-space VM to
438 The cost of this option is additional TLB flushes done at
439 system-entry points that transition from user-mode into kernel-mode.
440 I.e. system calls and page faults, and IRQs that interrupt user-mode
441 code. There's also additional overhead to kernel operations that copy
442 memory to/from user-space. The overhead from this is hard to tell and
443 depends on the workload - it can be anything from no visible overhead
444 to 20-30% overhead. A good rule of thumb is to count with a runtime
447 The upside is the much increased kernel-space VM, which more than
448 quadruples the maximum amount of RAM supported. Kernels compiled with
449 this option boot on 64GB of RAM and still have more than 3.1 GB of
450 'lowmem' left. Another bonus is that highmem IO bouncing decreases,
451 if used with drivers that still use bounce-buffers.
453 There's also a 33% increase in user-space VM size - database
454 applications might see a boost from this.
456 But the cost of the TLB flushes and the runtime overhead has to be
457 weighed against the bonuses offered by the larger VM spaces. The
458 dividing line depends on the actual workload - there might be 4 GB
459 systems that benefit from this option. Systems with less than 4 GB
460 of RAM will rarely see a benefit from this option - but it's not
461 out of question, the exact circumstances have to be considered.
463 config X86_SWITCH_PAGETABLES
466 config X86_4G_VM_LAYOUT
469 config X86_UACCESS_INDIRECT
472 config X86_HIGH_ENTRY
476 bool "HPET Timer Support"
478 This enables the use of the HPET for the kernel's internal timer.
479 HPET is the next generation timer replacing legacy 8254s.
480 You can safely choose Y here. However, HPET will only be
481 activated if the platform and the BIOS support this feature.
482 Otherwise the 8254 will be used for timing services.
484 Choose N to continue using the legacy 8254 timer.
486 config HPET_EMULATE_RTC
487 bool "Provide RTC interrupt"
488 depends on HPET_TIMER && RTC=y
491 bool "Symmetric multi-processing support"
493 This enables support for systems with more than one CPU. If you have
494 a system with only one CPU, like most personal computers, say N. If
495 you have a system with more than one CPU, say Y.
497 If you say N here, the kernel will run on single and multiprocessor
498 machines, but will use only one CPU of a multiprocessor machine. If
499 you say Y here, the kernel will run on many, but not all,
500 singleprocessor machines. On a singleprocessor machine, the kernel
501 will run faster if you say N here.
503 Note that if you say Y here and choose architecture "586" or
504 "Pentium" under "Processor family", the kernel will not work on 486
505 architectures. Similarly, multiprocessor kernels for the "PPro"
506 architecture may not work on all Pentium based boards.
508 People using multiprocessor machines who say Y here should also say
509 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
510 Management" code will be disabled if you say Y here.
512 See also the <file:Documentation/smp.txt>,
513 <file:Documentation/i386/IO-APIC.txt>,
514 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
515 <http://www.tldp.org/docs.html#howto>.
517 If you don't know what to do here, say N.
520 int "Maximum number of CPUs (2-255)"
523 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
526 This allows you to specify the maximum number of CPUs which this
527 kernel will support. The maximum supported value is 255 and the
528 minimum value which makes sense is 2.
530 This is purely to save memory - each supported CPU adds
531 approximately eight kilobytes to the kernel image.
534 bool "SMT (Hyperthreading) scheduler support"
538 SMT scheduler support improves the CPU scheduler's decision making
539 when dealing with Intel Pentium 4 chips with HyperThreading at a
540 cost of slightly increased overhead in some places. If unsure say
544 bool "Preemptible Kernel"
546 This option reduces the latency of the kernel when reacting to
547 real-time or interactive events by allowing a low priority process to
548 be preempted even if it is in kernel mode executing a system call.
549 This allows applications to run more reliably even when the system is
552 Say Y here if you are building a kernel for a desktop, embedded
553 or real-time system. Say N if you are unsure.
556 bool "Local APIC support on uniprocessors" if !SMP
557 depends on !(X86_VISWS || X86_VOYAGER)
559 A local APIC (Advanced Programmable Interrupt Controller) is an
560 integrated interrupt controller in the CPU. If you have a single-CPU
561 system which has a processor with a local APIC, you can say Y here to
562 enable and use it. If you say Y here even though your machine doesn't
563 have a local APIC, then the kernel will still run with no slowdown at
564 all. The local APIC supports CPU-generated self-interrupts (timer,
565 performance counters), and the NMI watchdog which detects hard
568 If you have a system with several CPUs, you do not need to say Y
569 here: the local APIC will be used automatically.
572 bool "IO-APIC support on uniprocessors"
573 depends on !SMP && X86_UP_APIC
575 An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an
576 SMP-capable replacement for PC-style interrupt controllers. Most
577 SMP systems and a small number of uniprocessor systems have one.
578 If you have a single-CPU system with an IO-APIC, you can say Y here
579 to use it. If you say Y here even though your machine doesn't have
580 an IO-APIC, then the kernel will still run with no slowdown at all.
582 If you have a system with several CPUs, you do not need to say Y
583 here: the IO-APIC will be used automatically.
585 config X86_LOCAL_APIC
587 depends on !SMP && X86_UP_APIC
592 depends on !SMP && X86_UP_IOAPIC
597 depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2) && !X86_NUMAQ
601 bool "Machine Check Exception"
602 depends on !X86_VOYAGER
604 Machine Check Exception support allows the processor to notify the
605 kernel if it detects a problem (e.g. overheating, component failure).
606 The action the kernel takes depends on the severity of the problem,
607 ranging from a warning message on the console, to halting the machine.
608 Your processor must be a Pentium or newer to support this - check the
609 flags in /proc/cpuinfo for mce. Note that some older Pentium systems
610 have a design flaw which leads to false MCE events - hence MCE is
611 disabled on all P5 processors, unless explicitly enabled with "mce"
612 as a boot argument. Similarly, if MCE is built in and creates a
613 problem on some new non-standard machine, you can boot with "nomce"
614 to disable it. MCE support simply ignores non-MCE processors like
615 the 386 and 486, so nearly everyone can say Y here.
617 config X86_MCE_NONFATAL
618 tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
621 Enabling this feature starts a timer that triggers every 5 seconds which
622 will look at the machine check registers to see if anything happened.
623 Non-fatal problems automatically get corrected (but still logged).
624 Disable this if you don't want to see these messages.
625 Seeing the messages this option prints out may be indicative of dying hardware,
626 or out-of-spec (ie, overclocked) hardware.
627 This option only does something on certain CPUs.
628 (AMD Athlon/Duron and Intel Pentium 4)
630 config X86_MCE_P4THERMAL
631 bool "check for P4 thermal throttling interrupt."
632 depends on X86_MCE && (X86_UP_APIC || SMP)
634 Enabling this feature will cause a message to be printed when the P4
635 enters thermal throttling.
638 tristate "Toshiba Laptop support"
640 This adds a driver to safely access the System Management Mode of
641 the CPU on Toshiba portables with a genuine Toshiba BIOS. It does
642 not work on models with a Phoenix BIOS. The System Management Mode
643 is used to set the BIOS and power saving options on Toshiba portables.
645 For information on utilities to make use of this driver see the
646 Toshiba Linux utilities web site at:
647 <http://www.buzzard.org.uk/toshiba/>.
649 Say Y if you intend to run this kernel on a Toshiba portable.
653 tristate "Dell laptop support"
655 This adds a driver to safely access the System Management Mode
656 of the CPU on the Dell Inspiron 8000. The System Management Mode
657 is used to read cpu temperature and cooling fan status and to
658 control the fans on the I8K portables.
660 This driver has been tested only on the Inspiron 8000 but it may
661 also work with other Dell laptops. You can force loading on other
662 models by passing the parameter `force=1' to the module. Use at
665 For information on utilities to make use of this driver see the
666 I8K Linux utilities web site at:
667 <http://people.debian.org/~dz/i8k/>
669 Say Y if you intend to run this kernel on a Dell Inspiron 8000.
673 tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
675 If you say Y here and also to "/dev file system support" in the
676 'File systems' section, you will be able to update the microcode on
677 Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,
678 Pentium III, Pentium 4, Xeon etc. You will obviously need the
679 actual microcode binary data itself which is not shipped with the
682 For latest news and information on obtaining all the required
683 ingredients for this driver, check:
684 <http://www.urbanmyth.org/microcode/>.
686 To compile this driver as a module, choose M here: the
687 module will be called microcode.
690 tristate "/dev/cpu/*/msr - Model-specific register support"
692 This device gives privileged processes access to the x86
693 Model-Specific Registers (MSRs). It is a character device with
694 major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
695 MSR accesses are directed to a specific CPU on multi-processor
699 tristate "/dev/cpu/*/cpuid - CPU information support"
701 This device gives processes access to the x86 CPUID instruction to
702 be executed on a specific processor. It is a character device
703 with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
706 source "drivers/firmware/Kconfig"
709 prompt "High Memory Support"
715 Linux can use up to 64 Gigabytes of physical memory on x86 systems.
716 However, the address space of 32-bit x86 processors is only 4
717 Gigabytes large. That means that, if you have a large amount of
718 physical memory, not all of it can be "permanently mapped" by the
719 kernel. The physical memory that's not permanently mapped is called
722 If you are compiling a kernel which will never run on a machine with
723 more than 1 Gigabyte total physical RAM, answer "off" here (default
724 choice and suitable for most users). This will result in a "3GB/1GB"
725 split: 3GB are mapped so that each process sees a 3GB virtual memory
726 space and the remaining part of the 4GB virtual memory space is used
727 by the kernel to permanently map as much physical memory as
730 If the machine has between 1 and 4 Gigabytes physical RAM, then
733 If more than 4 Gigabytes is used then answer "64GB" here. This
734 selection turns Intel PAE (Physical Address Extension) mode on.
735 PAE implements 3-level paging on IA32 processors. PAE is fully
736 supported by Linux, PAE mode is implemented on all recent Intel
737 processors (Pentium Pro and better). NOTE: If you say "64GB" here,
738 then the kernel will not boot on CPUs that don't support PAE!
740 The actual amount of total physical memory will either be
741 auto detected or can be forced by using a kernel command line option
742 such as "mem=256M". (Try "man bootparam" or see the documentation of
743 your boot loader (lilo or loadlin) about how to pass options to the
744 kernel at boot time.)
746 If unsure, say "off".
751 Select this if you have a 32-bit processor and between 1 and 4
752 gigabytes of physical RAM.
757 Select this if you have a 32-bit processor and more than 4
758 gigabytes of physical RAM.
764 depends on HIGHMEM64G || HIGHMEM4G
769 depends on HIGHMEM64G
772 # Common NUMA Features
774 bool "Numa Memory Allocation and Scheduler Support"
775 depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI))
777 default y if (X86_NUMAQ || X86_SUMMIT)
779 # Need comments to help the hapless user trying to turn on NUMA support
780 comment "NUMA (NUMA-Q) requires SMP, 64GB highmem support"
781 depends on X86_NUMAQ && (!HIGHMEM64G || !SMP)
783 comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
784 depends on X86_SUMMIT && (!HIGHMEM64G || !ACPI)
791 config HAVE_ARCH_BOOTMEM_NODE
797 bool "Allocate 3rd-level pagetables from highmem"
798 depends on HIGHMEM4G || HIGHMEM64G
800 The VM uses one page table entry for each page of physical memory.
801 For systems with a lot of RAM, this can be wasteful of precious
802 low memory. Setting this option will put user-space page table
803 entries in high memory.
805 config MATH_EMULATION
806 bool "Math emulation"
808 Linux can emulate a math coprocessor (used for floating point
809 operations) if you don't have one. 486DX and Pentium processors have
810 a math coprocessor built in, 486SX and 386 do not, unless you added
811 a 487DX or 387, respectively. (The messages during boot time can
812 give you some hints here ["man dmesg"].) Everyone needs either a
813 coprocessor or this emulation.
815 If you don't have a math coprocessor, you need to say Y here; if you
816 say Y here even though you have a coprocessor, the coprocessor will
817 be used nevertheless. (This behavior can be changed with the kernel
818 command line option "no387", which comes handy if your coprocessor
819 is broken. Try "man bootparam" or see the documentation of your boot
820 loader (lilo or loadlin) about how to pass options to the kernel at
821 boot time.) This means that it is a good idea to say Y here if you
822 intend to use this kernel on different machines.
824 More information about the internals of the Linux math coprocessor
825 emulation can be found in <file:arch/i386/math-emu/README>.
827 If you are not sure, say Y; apart from resulting in a 66 KB bigger
828 kernel, it won't hurt.
831 bool "MTRR (Memory Type Range Register) support"
833 On Intel P6 family processors (Pentium Pro, Pentium II and later)
834 the Memory Type Range Registers (MTRRs) may be used to control
835 processor access to memory ranges. This is most useful if you have
836 a video (VGA) card on a PCI or AGP bus. Enabling write-combining
837 allows bus write transfers to be combined into a larger transfer
838 before bursting over the PCI/AGP bus. This can increase performance
839 of image write operations 2.5 times or more. Saying Y here creates a
840 /proc/mtrr file which may be used to manipulate your processor's
841 MTRRs. Typically the X server should use this.
843 This code has a reasonably generic interface so that similar
844 control registers on other processors can be easily supported
847 The Cyrix 6x86, 6x86MX and M II processors have Address Range
848 Registers (ARRs) which provide a similar functionality to MTRRs. For
849 these, the ARRs are used to emulate the MTRRs.
850 The AMD K6-2 (stepping 8 and above) and K6-3 processors have two
851 MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing
852 write-combining. All of these processors are supported by this code
853 and it makes sense to say Y here if you have one of them.
855 Saying Y here also fixes a problem with buggy SMP BIOSes which only
856 set the MTRRs for the boot CPU and not for the secondary CPUs. This
857 can lead to all sorts of problems, so it's good to say Y here.
859 You can safely say Y even if your machine doesn't have MTRRs, you'll
860 just add about 9 KB to your kernel.
862 See <file:Documentation/mtrr.txt> for more information.
865 bool "Boot from EFI support (EXPERIMENTAL)"
870 This enables the the kernel to boot on EFI platforms using
871 system configuration information passed to it from the firmware.
872 This also enables the kernel to use any EFI runtime services that are
873 available (such as the EFI variable services).
875 This option is only useful on systems that have EFI firmware
876 and will result in a kernel image that is ~8k larger. In addition,
877 you must use the latest ELILO loader available at
878 <http://elilo.sourceforge.net> in order to take advantage of
879 kernel initialization using EFI information (neither GRUB nor LILO know
880 anything about EFI). However, even with this option, the resultant
881 kernel should continue to boot on existing non-EFI platforms.
884 bool "Enable kernel irq balancing"
885 depends on SMP && X86_IO_APIC
888 The default yes will allow the kernel to do irq load balancing.
889 Saying no will keep the kernel from doing irq load balancing.
893 depends on (SMP || PREEMPT) && X86_CMPXCHG
896 # turning this on wastes a bunch of space.
897 # Summit needs it only when NUMA is on
900 depends on (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))
904 bool "Use register arguments (EXPERIMENTAL)"
905 depends on EXPERIMENTAL
908 Compile the kernel with -mregparm=3. This uses an different ABI
909 and passes the first three arguments of a function call in registers.
910 This will probably break binary only modules.
912 This feature is only enabled for gcc-3.0 and later - earlier compilers
913 generate incorrect output with certain kernel constructs when
919 menu "Power management options (ACPI, APM)"
920 depends on !X86_VOYAGER
922 source kernel/power/Kconfig
924 source "drivers/acpi/Kconfig"
926 menu "APM (Advanced Power Management) BIOS Support"
930 tristate "APM (Advanced Power Management) BIOS support"
933 APM is a BIOS specification for saving power using several different
934 techniques. This is mostly useful for battery powered laptops with
935 APM compliant BIOSes. If you say Y here, the system time will be
936 reset after a RESUME operation, the /proc/apm device will provide
937 battery status information, and user-space programs will receive
938 notification of APM "events" (e.g. battery status change).
940 If you select "Y" here, you can disable actual use of the APM
941 BIOS by passing the "apm=off" option to the kernel at boot time.
943 Note that the APM support is almost completely disabled for
944 machines with more than one CPU.
946 In order to use APM, you will need supporting software. For location
947 and more information, read <file:Documentation/pm.txt> and the
948 Battery Powered Linux mini-HOWTO, available from
949 <http://www.tldp.org/docs.html#howto>.
951 This driver does not spin down disk drives (see the hdparm(8)
952 manpage ("man 8 hdparm") for that), and it doesn't turn off
953 VESA-compliant "green" monitors.
955 This driver does not support the TI 4000M TravelMate and the ACER
956 486/DX4/75 because they don't have compliant BIOSes. Many "green"
957 desktop machines also don't have compliant BIOSes, and this driver
958 may cause those machines to panic during the boot phase.
960 Generally, if you don't have a battery in your machine, there isn't
961 much point in using this driver and you should say N. If you get
962 random kernel OOPSes or reboots that don't seem to be related to
963 anything, try disabling/enabling this option (or disabling/enabling
966 Some other things you should try when experiencing seemingly random,
969 1) make sure that you have enough swap space and that it is
971 2) pass the "no-hlt" option to the kernel
972 3) switch on floating point emulation in the kernel and pass
973 the "no387" option to the kernel
974 4) pass the "floppy=nodma" option to the kernel
975 5) pass the "mem=4M" option to the kernel (thereby disabling
976 all but the first 4 MB of RAM)
977 6) make sure that the CPU is not over clocked.
978 7) read the sig11 FAQ at <http://www.bitwizard.nl/sig11/>
979 8) disable the cache from your BIOS settings
980 9) install a fan for the video card or exchange video RAM
981 10) install a better fan for the CPU
982 11) exchange RAM chips
983 12) exchange the motherboard.
985 To compile this driver as a module, choose M here: the
986 module will be called apm.
988 config APM_IGNORE_USER_SUSPEND
989 bool "Ignore USER SUSPEND"
992 This option will ignore USER SUSPEND requests. On machines with a
993 compliant APM BIOS, you want to say N. However, on the NEC Versa M
994 series notebooks, it is necessary to say Y because of a BIOS bug.
997 bool "Enable PM at boot time"
1000 Enable APM features at boot time. From page 36 of the APM BIOS
1001 specification: "When disabled, the APM BIOS does not automatically
1002 power manage devices, enter the Standby State, enter the Suspend
1003 State, or take power saving steps in response to CPU Idle calls."
1004 This driver will make CPU Idle calls when Linux is idle (unless this
1005 feature is turned off -- see "Do CPU IDLE calls", below). This
1006 should always save battery power, but more complicated APM features
1007 will be dependent on your BIOS implementation. You may need to turn
1008 this option off if your computer hangs at boot time when using APM
1009 support, or if it beeps continuously instead of suspending. Turn
1010 this off if you have a NEC UltraLite Versa 33/C or a Toshiba
1011 T400CDT. This is off by default since most machines do fine without
1015 bool "Make CPU Idle calls when idle"
1018 Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
1019 On some machines, this can activate improved power savings, such as
1020 a slowed CPU clock rate, when the machine is idle. These idle calls
1021 are made after the idle loop has run for some length of time (e.g.,
1022 333 mS). On some machines, this will cause a hang at boot time or
1023 whenever the CPU becomes idle. (On machines with more than one CPU,
1024 this option does nothing.)
1026 config APM_DISPLAY_BLANK
1027 bool "Enable console blanking using APM"
1030 Enable console blanking using the APM. Some laptops can use this to
1031 turn off the LCD backlight when the screen blanker of the Linux
1032 virtual console blanks the screen. Note that this is only used by
1033 the virtual console screen blanker, and won't turn off the backlight
1034 when using the X Window system. This also doesn't have anything to
1035 do with your VESA-compliant power-saving monitor. Further, this
1036 option doesn't work for all laptops -- it might not turn off your
1037 backlight at all, or it might print a lot of errors to the console,
1038 especially if you are using gpm.
1040 config APM_RTC_IS_GMT
1041 bool "RTC stores time in GMT"
1044 Say Y here if your RTC (Real Time Clock a.k.a. hardware clock)
1045 stores the time in GMT (Greenwich Mean Time). Say N if your RTC
1048 It is in fact recommended to store GMT in your RTC, because then you
1049 don't have to worry about daylight savings time changes. The only
1050 reason not to use GMT in your RTC is if you also run a broken OS
1051 that doesn't understand GMT.
1053 config APM_ALLOW_INTS
1054 bool "Allow interrupts during APM BIOS calls"
1057 Normally we disable external interrupts while we are making calls to
1058 the APM BIOS as a measure to lessen the effects of a badly behaving
1059 BIOS implementation. The BIOS should reenable interrupts if it
1060 needs to. Unfortunately, some BIOSes do not -- especially those in
1061 many of the newer IBM Thinkpads. If you experience hangs when you
1062 suspend, try setting this to Y. Otherwise, say N.
1064 config APM_REAL_MODE_POWER_OFF
1065 bool "Use real mode APM BIOS call to power off"
1068 Use real mode APM BIOS calls to switch off the computer. This is
1069 a work-around for a number of buggy BIOSes. Switch this option on if
1070 your computer crashes instead of powering off properly.
1074 source "arch/i386/kernel/cpu/cpufreq/Kconfig"
1079 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
1081 config X86_VISWS_APIC
1083 depends on X86_VISWS
1086 config X86_LOCAL_APIC
1088 depends on (X86_VISWS || SMP) && !X86_VOYAGER
1093 depends on SMP && !(X86_VISWS || X86_VOYAGER)
1097 bool "PCI support" if !X86_VISWS
1098 depends on !X86_VOYAGER
1099 default y if X86_VISWS
1101 Find out whether you have a PCI motherboard. PCI is the name of a
1102 bus system, i.e. the way the CPU talks to the other stuff inside
1103 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1104 VESA. If you have PCI, say Y, otherwise N.
1106 The PCI-HOWTO, available from
1107 <http://www.tldp.org/docs.html#howto>, contains valuable
1108 information about which PCI hardware does work under Linux and which
1112 prompt "PCI access mode"
1113 depends on PCI && !X86_VISWS
1116 On PCI systems, the BIOS can be used to detect the PCI devices and
1117 determine their configuration. However, some old PCI motherboards
1118 have BIOS bugs and may crash if this is done. Also, some embedded
1119 PCI-based systems don't have any BIOS at all. Linux can also try to
1120 detect the PCI hardware directly without using the BIOS.
1122 With this option, you can specify how Linux should detect the
1123 PCI devices. If you choose "BIOS", the BIOS will be used,
1124 if you choose "Direct", the BIOS won't be used, and if you
1125 choose "MMConfig", then PCI Express MMCONFIG will be used.
1126 If you choose "Any", the kernel will try MMCONFIG, then the
1127 direct access method and falls back to the BIOS if that doesn't
1128 work. If unsure, go with the default, which is "Any".
1133 config PCI_GOMMCONFIG
1146 depends on !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY)
1151 depends on PCI && ((PCI_GODIRECT || PCI_GOANY) || X86_VISWS)
1156 depends on PCI && (PCI_GOMMCONFIG || PCI_GOANY)
1160 source "drivers/pci/Kconfig"
1164 depends on !(X86_VOYAGER || X86_VISWS)
1166 Find out whether you have ISA slots on your motherboard. ISA is the
1167 name of a bus system, i.e. the way the CPU talks to the other stuff
1168 inside your box. Other bus systems are PCI, EISA, MicroChannel
1169 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
1170 newer boards don't support it. If you have ISA, say Y, otherwise N.
1176 The Extended Industry Standard Architecture (EISA) bus was
1177 developed as an open alternative to the IBM MicroChannel bus.
1179 The EISA bus provided some of the features of the IBM MicroChannel
1180 bus while maintaining backward compatibility with cards made for
1181 the older ISA bus. The EISA bus saw limited use between 1988 and
1182 1995 when it was made obsolete by the PCI bus.
1184 Say Y here if you are building a kernel for an EISA-based machine.
1188 source "drivers/eisa/Kconfig"
1192 depends on !(X86_VISWS || X86_VOYAGER)
1194 MicroChannel Architecture is found in some IBM PS/2 machines and
1195 laptops. It is a bus system similar to PCI or ISA. See
1196 <file:Documentation/mca.txt> (and especially the web page given
1197 there) before attempting to build an MCA bus kernel.
1200 depends on X86_VOYAGER
1201 default y if X86_VOYAGER
1203 source "drivers/mca/Kconfig"
1206 tristate "NatSemi SCx200 support"
1207 depends on !X86_VOYAGER
1209 This provides basic support for the National Semiconductor SCx200
1210 processor. Right now this is just a driver for the GPIO pins.
1212 If you don't know what to do here, say N.
1214 This support is also available as a module. If compiled as a
1215 module, it will be called scx200.
1217 source "drivers/pcmcia/Kconfig"
1219 source "drivers/pci/hotplug/Kconfig"
1224 menu "Executable file formats"
1226 source "fs/Kconfig.binfmt"
1230 source "drivers/Kconfig"
1234 source "arch/i386/oprofile/Kconfig"
1237 menu "Kernel hacking"
1240 bool "Kernel debugging"
1242 Say Y here if you are developing drivers or trying to debug and
1243 identify kernel problems.
1246 bool "Early printk" if EMBEDDED
1249 Write kernel log output directly into the VGA buffer or to a serial
1252 This is useful for kernel debugging when your machine crashes very
1253 early before the console code is initialized. For normal operation
1254 it is not recommended because it looks ugly and doesn't cooperate
1255 with klogd/syslogd or the X server. You should normally N here,
1256 unless you want to debug such a crash.
1258 config DEBUG_STACKOVERFLOW
1259 bool "Check for stack overflows"
1260 depends on DEBUG_KERNEL
1262 config DEBUG_STACK_USAGE
1263 bool "Stack utilization instrumentation"
1264 depends on DEBUG_KERNEL
1266 Enables the display of the minimum amount of free stack which each
1267 task has ever had available in the sysrq-T and sysrq-P debug output.
1269 This option will slow down process creation somewhat.
1272 bool "Debug memory allocations"
1273 depends on DEBUG_KERNEL
1275 Say Y here to have the kernel do limited verification on memory
1276 allocation as well as poisoning memory on free to catch use of freed
1280 bool "Magic SysRq key"
1281 depends on DEBUG_KERNEL
1283 If you say Y here, you will have some control over the system even
1284 if the system crashes for example during kernel debugging (e.g., you
1285 will be able to flush the buffer cache to disk, reboot the system
1286 immediately or dump some status information). This is accomplished
1287 by pressing various keys while holding SysRq (Alt+PrintScreen). It
1288 also works on a serial console (on PC hardware at least), if you
1289 send a BREAK and then within 5 seconds a command keypress. The
1290 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
1291 unless you really know what this hack does.
1293 config DEBUG_SPINLOCK
1294 bool "Spinlock debugging"
1295 depends on DEBUG_KERNEL
1297 Say Y here and build SMP to catch missing spinlock initialization
1298 and certain other kinds of spinlock errors commonly made. This is
1299 best used in conjunction with the NMI watchdog so that spinlock
1300 deadlocks are also debuggable.
1302 config DEBUG_PAGEALLOC
1303 bool "Page alloc debugging"
1304 depends on DEBUG_KERNEL
1306 Unmap pages from the kernel linear mapping after free_pages().
1307 This results in a large slowdown, but helps to find certain types
1308 of memory corruptions.
1310 config DEBUG_HIGHMEM
1311 bool "Highmem debugging"
1312 depends on DEBUG_KERNEL && HIGHMEM
1314 This options enables addition error checking for high memory systems.
1315 Disable for production systems.
1318 bool "Compile the kernel with debug info"
1319 depends on DEBUG_KERNEL
1321 If you say Y here the resulting kernel image will include
1322 debugging info resulting in a larger kernel image.
1323 Say Y here only if you plan to use gdb to debug the kernel.
1324 If you don't debug the kernel, you can say N.
1326 config DEBUG_SPINLOCK_SLEEP
1327 bool "Sleep-inside-spinlock checking"
1329 If you say Y here, various routines which may sleep will become very
1330 noisy if they are called with a spinlock held.
1332 config FRAME_POINTER
1333 bool "Compile the kernel with frame pointers"
1335 If you say Y here the resulting kernel image will be slightly larger
1336 and slower, but it will give very useful debugging information.
1337 If you don't debug the kernel, you can say N, but we may not be able
1338 to solve problems without frame pointers.
1340 config X86_FIND_SMP_CONFIG
1342 depends on X86_LOCAL_APIC || X86_VOYAGER
1347 depends on X86_LOCAL_APIC && !X86_VISWS
1352 source "kernel/vserver/Kconfig"
1354 source "security/Kconfig"
1356 source "crypto/Kconfig"
1358 source "lib/Kconfig"
1362 depends on SMP && !X86_VOYAGER
1367 depends on SMP && !(X86_VISWS || X86_VOYAGER)
1370 config X86_BIOS_REBOOT
1372 depends on !(X86_VISWS || X86_VOYAGER)
1375 config X86_TRAMPOLINE
1377 depends on X86_SMP || (X86_VOYAGER && SMP)
1382 depends on X86 && !EMBEDDED