x86: add X86_32 dependency to i386 specific symbols in Kconfig.i386
[linux-2.6] / arch / x86 / Kconfig.i386
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 GENERIC_CMOS_UPDATE
22         bool
23         default y
24
25 config CLOCKSOURCE_WATCHDOG
26         bool
27         default y
28
29 config GENERIC_CLOCKEVENTS
30         bool
31         default y
32
33 config GENERIC_CLOCKEVENTS_BROADCAST
34         bool
35         default y
36         depends on X86_LOCAL_APIC
37
38 config LOCKDEP_SUPPORT
39         bool
40         default y
41
42 config STACKTRACE_SUPPORT
43         bool
44         default y
45
46 config SEMAPHORE_SLEEPERS
47         bool
48         default y
49
50 config X86
51         bool
52         default y
53
54 config MMU
55         bool
56         default y
57
58 config ZONE_DMA
59         bool
60         default y
61
62 config QUICKLIST
63         bool
64         default y
65
66 config SBUS
67         bool
68
69 config GENERIC_ISA_DMA
70         bool
71         default y
72
73 config GENERIC_IOMAP
74         bool
75         default y
76
77 config GENERIC_BUG
78         bool
79         default y
80         depends on BUG
81
82 config GENERIC_HWEIGHT
83         bool
84         default y
85
86 config ARCH_MAY_HAVE_PC_FDC
87         bool
88         default y
89
90 config DMI
91         bool
92         default y
93
94 source "init/Kconfig"
95
96 menu "Processor type and features"
97
98 source "kernel/time/Kconfig"
99
100 config SMP
101         bool "Symmetric multi-processing support"
102         ---help---
103           This enables support for systems with more than one CPU. If you have
104           a system with only one CPU, like most personal computers, say N. If
105           you have a system with more than one CPU, say Y.
106
107           If you say N here, the kernel will run on single and multiprocessor
108           machines, but will use only one CPU of a multiprocessor machine. If
109           you say Y here, the kernel will run on many, but not all,
110           singleprocessor machines. On a singleprocessor machine, the kernel
111           will run faster if you say N here.
112
113           Note that if you say Y here and choose architecture "586" or
114           "Pentium" under "Processor family", the kernel will not work on 486
115           architectures. Similarly, multiprocessor kernels for the "PPro"
116           architecture may not work on all Pentium based boards.
117
118           People using multiprocessor machines who say Y here should also say
119           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
120           Management" code will be disabled if you say Y here.
121
122           See also the <file:Documentation/smp.txt>,
123           <file:Documentation/i386/IO-APIC.txt>,
124           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
125           <http://www.tldp.org/docs.html#howto>.
126
127           If you don't know what to do here, say N.
128
129 choice
130         prompt "Subarchitecture Type"
131         default X86_PC
132
133 config X86_PC
134         bool "PC-compatible"
135         help
136           Choose this option if your computer is a standard PC or compatible.
137
138 config X86_ELAN
139         bool "AMD Elan"
140         depends on X86_32
141         help
142           Select this for an AMD Elan processor.
143
144           Do not use this option for K6/Athlon/Opteron processors!
145
146           If unsure, choose "PC-compatible" instead.
147
148 config X86_VOYAGER
149         bool "Voyager (NCR)"
150         depends on X86_32
151         select SMP if !BROKEN
152         help
153           Voyager is an MCA-based 32-way capable SMP architecture proprietary
154           to NCR Corp.  Machine classes 345x/35xx/4100/51xx are Voyager-based.
155
156           *** WARNING ***
157
158           If you do not specifically know you have a Voyager based machine,
159           say N here, otherwise the kernel you build will not be bootable.
160
161 config X86_NUMAQ
162         bool "NUMAQ (IBM/Sequent)"
163         select SMP
164         select NUMA
165         depends on X86_32
166         help
167           This option is used for getting Linux to run on a (IBM/Sequent) NUMA
168           multiquad box. This changes the way that processors are bootstrapped,
169           and uses Clustered Logical APIC addressing mode instead of Flat Logical.
170           You will need a new lynxer.elf file to flash your firmware with - send
171           email to <Martin.Bligh@us.ibm.com>.
172
173 config X86_SUMMIT
174         bool "Summit/EXA (IBM x440)"
175         depends on X86_32 && SMP
176         help
177           This option is needed for IBM systems that use the Summit/EXA chipset.
178           In particular, it is needed for the x440.
179
180           If you don't have one of these computers, you should say N here.
181           If you want to build a NUMA kernel, you must select ACPI.
182
183 config X86_BIGSMP
184         bool "Support for other sub-arch SMP systems with more than 8 CPUs"
185         depends on X86_32 && SMP
186         help
187           This option is needed for the systems that have more than 8 CPUs
188           and if the system is not of any sub-arch type above.
189
190           If you don't have such a system, you should say N here.
191
192 config X86_VISWS
193         bool "SGI 320/540 (Visual Workstation)"
194         depends on X86_32
195         help
196           The SGI Visual Workstation series is an IA32-based workstation
197           based on SGI systems chips with some legacy PC hardware attached.
198
199           Say Y here to create a kernel to run on the SGI 320 or 540.
200
201           A kernel compiled for the Visual Workstation will not run on PCs
202           and vice versa. See <file:Documentation/sgi-visws.txt> for details.
203
204 config X86_GENERICARCH
205        bool "Generic architecture (Summit, bigsmp, ES7000, default)"
206         depends on X86_32
207        help
208           This option compiles in the Summit, bigsmp, ES7000, default subarchitectures.
209           It is intended for a generic binary kernel.
210           If you want a NUMA kernel, select ACPI.   We need SRAT for NUMA.
211
212 config X86_ES7000
213         bool "Support for Unisys ES7000 IA32 series"
214         depends on X86_32 && SMP
215         help
216           Support for Unisys ES7000 systems.  Say 'Y' here if this kernel is
217           supposed to run on an IA32-based Unisys ES7000 system.
218           Only choose this option if you have such a system, otherwise you
219           should say N here.
220
221 endchoice
222
223 config SCHED_NO_NO_OMIT_FRAME_POINTER
224         bool "Single-depth WCHAN output"
225         default y
226         depends on X86_32
227         help
228           Calculate simpler /proc/<PID>/wchan values. If this option
229           is disabled then wchan values will recurse back to the
230           caller function. This provides more accurate wchan values,
231           at the expense of slightly more scheduling overhead.
232
233           If in doubt, say "Y".
234
235 config PARAVIRT
236         bool
237         depends on X86_32 && !(X86_VISWS || X86_VOYAGER)
238         help
239           This changes the kernel so it can modify itself when it is run
240           under a hypervisor, potentially improving performance significantly
241           over full virtualization.  However, when run without a hypervisor
242           the kernel is theoretically slower and slightly larger.
243
244 menuconfig PARAVIRT_GUEST
245         bool "Paravirtualized guest support"
246         depends on X86_32
247         help
248           Say Y here to get to see options related to running Linux under
249           various hypervisors.  This option alone does not add any kernel code.
250
251           If you say N, all options in this submenu will be skipped and disabled.
252
253 if PARAVIRT_GUEST
254
255 source "arch/x86/xen/Kconfig"
256
257 config VMI
258         bool "VMI Guest support"
259         select PARAVIRT
260         depends on !(X86_VISWS || X86_VOYAGER)
261         help
262           VMI provides a paravirtualized interface to the VMware ESX server
263           (it could be used by other hypervisors in theory too, but is not
264           at the moment), by linking the kernel to a GPL-ed ROM module
265           provided by the hypervisor.
266
267 source "arch/x86/lguest/Kconfig"
268
269 endif
270
271 config ACPI_SRAT
272         bool
273         default y
274         depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH)
275         select ACPI_NUMA
276
277 config HAVE_ARCH_PARSE_SRAT
278        bool
279        default y
280        depends on ACPI_SRAT
281
282 config X86_SUMMIT_NUMA
283         bool
284         default y
285         depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH)
286
287 config X86_CYCLONE_TIMER
288         bool
289         default y
290         depends on X86_32 && X86_SUMMIT || X86_GENERICARCH
291
292 config ES7000_CLUSTERED_APIC
293         bool
294         default y
295         depends on SMP && X86_ES7000 && MPENTIUMIII
296
297 source "arch/x86/Kconfig.cpu"
298
299 config HPET_TIMER
300         bool
301         prompt "HPET Timer Support" if X86_32
302         help
303           This enables the use of the HPET for the kernel's internal timer.
304           HPET is the next generation timer replacing legacy 8254s.
305           You can safely choose Y here.  However, HPET will only be
306           activated if the platform and the BIOS support this feature.
307           Otherwise the 8254 will be used for timing services.
308
309           Choose N to continue using the legacy 8254 timer.
310
311 config HPET_EMULATE_RTC
312         bool
313         depends on HPET_TIMER && RTC=y
314         default y
315
316 config NR_CPUS
317         int "Maximum number of CPUs (2-255)"
318         range 2 255
319         depends on SMP
320         default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
321         default "8"
322         help
323           This allows you to specify the maximum number of CPUs which this
324           kernel will support.  The maximum supported value is 255 and the
325           minimum value which makes sense is 2.
326
327           This is purely to save memory - each supported CPU adds
328           approximately eight kilobytes to the kernel image.
329
330 config SCHED_SMT
331         bool "SMT (Hyperthreading) scheduler support"
332         depends on X86_HT
333         help
334           SMT scheduler support improves the CPU scheduler's decision making
335           when dealing with Intel Pentium 4 chips with HyperThreading at a
336           cost of slightly increased overhead in some places. If unsure say
337           N here.
338
339 config SCHED_MC
340         bool "Multi-core scheduler support"
341         depends on X86_HT
342         default y
343         help
344           Multi-core scheduler support improves the CPU scheduler's decision
345           making when dealing with multi-core CPU chips at a cost of slightly
346           increased overhead in some places. If unsure say N here.
347
348 source "kernel/Kconfig.preempt"
349
350 config X86_UP_APIC
351         bool "Local APIC support on uniprocessors"
352         depends on X86_32 && !SMP && !(X86_VISWS || X86_VOYAGER || X86_GENERICARCH)
353         help
354           A local APIC (Advanced Programmable Interrupt Controller) is an
355           integrated interrupt controller in the CPU. If you have a single-CPU
356           system which has a processor with a local APIC, you can say Y here to
357           enable and use it. If you say Y here even though your machine doesn't
358           have a local APIC, then the kernel will still run with no slowdown at
359           all. The local APIC supports CPU-generated self-interrupts (timer,
360           performance counters), and the NMI watchdog which detects hard
361           lockups.
362
363 config X86_UP_IOAPIC
364         bool "IO-APIC support on uniprocessors"
365         depends on X86_UP_APIC
366         help
367           An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an
368           SMP-capable replacement for PC-style interrupt controllers. Most
369           SMP systems and many recent uniprocessor systems have one.
370
371           If you have a single-CPU system with an IO-APIC, you can say Y here
372           to use it. If you say Y here even though your machine doesn't have
373           an IO-APIC, then the kernel will still run with no slowdown at all.
374
375 config X86_LOCAL_APIC
376         bool
377         depends on X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH)
378         default y
379
380 config X86_IO_APIC
381         bool
382         depends on X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH)
383         default y
384
385 config X86_VISWS_APIC
386         bool
387         depends on X86_32 && X86_VISWS
388         default y
389
390 config X86_MCE
391         bool "Machine Check Exception"
392         depends on !X86_VOYAGER
393         ---help---
394           Machine Check Exception support allows the processor to notify the
395           kernel if it detects a problem (e.g. overheating, component failure).
396           The action the kernel takes depends on the severity of the problem,
397           ranging from a warning message on the console, to halting the machine.
398           Your processor must be a Pentium or newer to support this - check the
399           flags in /proc/cpuinfo for mce.  Note that some older Pentium systems
400           have a design flaw which leads to false MCE events - hence MCE is
401           disabled on all P5 processors, unless explicitly enabled with "mce"
402           as a boot argument.  Similarly, if MCE is built in and creates a
403           problem on some new non-standard machine, you can boot with "nomce"
404           to disable it.  MCE support simply ignores non-MCE processors like
405           the 386 and 486, so nearly everyone can say Y here.
406
407 config X86_MCE_NONFATAL
408         tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
409         depends on X86_32 && X86_MCE
410         help
411           Enabling this feature starts a timer that triggers every 5 seconds which
412           will look at the machine check registers to see if anything happened.
413           Non-fatal problems automatically get corrected (but still logged).
414           Disable this if you don't want to see these messages.
415           Seeing the messages this option prints out may be indicative of dying
416           or out-of-spec (ie, overclocked) hardware.
417           This option only does something on certain CPUs.
418           (AMD Athlon/Duron and Intel Pentium 4)
419
420 config X86_MCE_P4THERMAL
421         bool "check for P4 thermal throttling interrupt."
422         depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS
423         help
424           Enabling this feature will cause a message to be printed when the P4
425           enters thermal throttling.
426
427 config VM86
428         bool "Enable VM86 support" if EMBEDDED
429         default y
430         depends on X86_32
431         help
432           This option is required by programs like DOSEMU to run 16-bit legacy
433           code on X86 processors. It also may be needed by software like
434           XFree86 to initialize some video cards via BIOS. Disabling this
435           option saves about 6k.
436
437 config TOSHIBA
438         tristate "Toshiba Laptop support"
439         depends on X86_32
440         ---help---
441           This adds a driver to safely access the System Management Mode of
442           the CPU on Toshiba portables with a genuine Toshiba BIOS. It does
443           not work on models with a Phoenix BIOS. The System Management Mode
444           is used to set the BIOS and power saving options on Toshiba portables.
445
446           For information on utilities to make use of this driver see the
447           Toshiba Linux utilities web site at:
448           <http://www.buzzard.org.uk/toshiba/>.
449
450           Say Y if you intend to run this kernel on a Toshiba portable.
451           Say N otherwise.
452
453 config I8K
454         tristate "Dell laptop support"
455         depends on X86_32
456         ---help---
457           This adds a driver to safely access the System Management Mode
458           of the CPU on the Dell Inspiron 8000. The System Management Mode
459           is used to read cpu temperature and cooling fan status and to
460           control the fans on the I8K portables.
461
462           This driver has been tested only on the Inspiron 8000 but it may
463           also work with other Dell laptops. You can force loading on other
464           models by passing the parameter `force=1' to the module. Use at
465           your own risk.
466
467           For information on utilities to make use of this driver see the
468           I8K Linux utilities web site at:
469           <http://people.debian.org/~dz/i8k/>
470
471           Say Y if you intend to run this kernel on a Dell Inspiron 8000.
472           Say N otherwise.
473
474 config X86_REBOOTFIXUPS
475         bool "Enable X86 board specific fixups for reboot"
476         depends on X86_32 && X86
477         default n
478         ---help---
479           This enables chipset and/or board specific fixups to be done
480           in order to get reboot to work correctly. This is only needed on
481           some combinations of hardware and BIOS. The symptom, for which
482           this config is intended, is when reboot ends with a stalled/hung
483           system.
484
485           Currently, the only fixup is for the Geode machines using
486           CS5530A and CS5536 chipsets.
487
488           Say Y if you want to enable the fixup. Currently, it's safe to
489           enable this option even if you don't need it.
490           Say N otherwise.
491
492 config MICROCODE
493         tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
494         select FW_LOADER
495         ---help---
496           If you say Y here, you will be able to update the microcode on
497           Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,
498           Pentium III, Pentium 4, Xeon etc.  You will obviously need the
499           actual microcode binary data itself which is not shipped with the
500           Linux kernel.
501
502           For latest news and information on obtaining all the required
503           ingredients for this driver, check:
504           <http://www.urbanmyth.org/microcode/>.
505
506           To compile this driver as a module, choose M here: the
507           module will be called microcode.
508
509 config MICROCODE_OLD_INTERFACE
510         bool
511         depends on MICROCODE
512         default y
513
514 config X86_MSR
515         tristate "/dev/cpu/*/msr - Model-specific register support"
516         help
517           This device gives privileged processes access to the x86
518           Model-Specific Registers (MSRs).  It is a character device with
519           major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
520           MSR accesses are directed to a specific CPU on multi-processor
521           systems.
522
523 config X86_CPUID
524         tristate "/dev/cpu/*/cpuid - CPU information support"
525         help
526           This device gives processes access to the x86 CPUID instruction to
527           be executed on a specific processor.  It is a character device
528           with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
529           /dev/cpu/31/cpuid.
530
531 choice
532         prompt "High Memory Support"
533         default HIGHMEM4G if !X86_NUMAQ
534         default HIGHMEM64G if X86_NUMAQ
535         depends on X86_32
536
537 config NOHIGHMEM
538         bool "off"
539         depends on !X86_NUMAQ
540         ---help---
541           Linux can use up to 64 Gigabytes of physical memory on x86 systems.
542           However, the address space of 32-bit x86 processors is only 4
543           Gigabytes large. That means that, if you have a large amount of
544           physical memory, not all of it can be "permanently mapped" by the
545           kernel. The physical memory that's not permanently mapped is called
546           "high memory".
547
548           If you are compiling a kernel which will never run on a machine with
549           more than 1 Gigabyte total physical RAM, answer "off" here (default
550           choice and suitable for most users). This will result in a "3GB/1GB"
551           split: 3GB are mapped so that each process sees a 3GB virtual memory
552           space and the remaining part of the 4GB virtual memory space is used
553           by the kernel to permanently map as much physical memory as
554           possible.
555
556           If the machine has between 1 and 4 Gigabytes physical RAM, then
557           answer "4GB" here.
558
559           If more than 4 Gigabytes is used then answer "64GB" here. This
560           selection turns Intel PAE (Physical Address Extension) mode on.
561           PAE implements 3-level paging on IA32 processors. PAE is fully
562           supported by Linux, PAE mode is implemented on all recent Intel
563           processors (Pentium Pro and better). NOTE: If you say "64GB" here,
564           then the kernel will not boot on CPUs that don't support PAE!
565
566           The actual amount of total physical memory will either be
567           auto detected or can be forced by using a kernel command line option
568           such as "mem=256M". (Try "man bootparam" or see the documentation of
569           your boot loader (lilo or loadlin) about how to pass options to the
570           kernel at boot time.)
571
572           If unsure, say "off".
573
574 config HIGHMEM4G
575         bool "4GB"
576         depends on !X86_NUMAQ
577         help
578           Select this if you have a 32-bit processor and between 1 and 4
579           gigabytes of physical RAM.
580
581 config HIGHMEM64G
582         bool "64GB"
583         depends on !M386 && !M486
584         select X86_PAE
585         help
586           Select this if you have a 32-bit processor and more than 4
587           gigabytes of physical RAM.
588
589 endchoice
590
591 choice
592         depends on EXPERIMENTAL
593         prompt "Memory split" if EMBEDDED
594         default VMSPLIT_3G
595         depends on X86_32
596         help
597           Select the desired split between kernel and user memory.
598
599           If the address range available to the kernel is less than the
600           physical memory installed, the remaining memory will be available
601           as "high memory". Accessing high memory is a little more costly
602           than low memory, as it needs to be mapped into the kernel first.
603           Note that increasing the kernel address space limits the range
604           available to user programs, making the address space there
605           tighter.  Selecting anything other than the default 3G/1G split
606           will also likely make your kernel incompatible with binary-only
607           kernel modules.
608
609           If you are not absolutely sure what you are doing, leave this
610           option alone!
611
612         config VMSPLIT_3G
613                 bool "3G/1G user/kernel split"
614         config VMSPLIT_3G_OPT
615                 depends on !X86_PAE
616                 bool "3G/1G user/kernel split (for full 1G low memory)"
617         config VMSPLIT_2G
618                 bool "2G/2G user/kernel split"
619         config VMSPLIT_2G_OPT
620                 depends on !X86_PAE
621                 bool "2G/2G user/kernel split (for full 2G low memory)"
622         config VMSPLIT_1G
623                 bool "1G/3G user/kernel split"
624 endchoice
625
626 config PAGE_OFFSET
627         hex
628         default 0xB0000000 if VMSPLIT_3G_OPT
629         default 0x80000000 if VMSPLIT_2G
630         default 0x78000000 if VMSPLIT_2G_OPT
631         default 0x40000000 if VMSPLIT_1G
632         default 0xC0000000
633         depends on X86_32
634
635 config HIGHMEM
636         bool
637         depends on X86_32 && (HIGHMEM64G || HIGHMEM4G)
638         default y
639
640 config X86_PAE
641         bool "PAE (Physical Address Extension) Support"
642         default n
643         depends on X86_32 && !HIGHMEM4G
644         select RESOURCES_64BIT
645         help
646           PAE is required for NX support, and furthermore enables
647           larger swapspace support for non-overcommit purposes. It
648           has the cost of more pagetable lookup overhead, and also
649           consumes more pagetable space per process.
650
651 # Common NUMA Features
652 config NUMA
653         bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
654         depends on X86_32 && SMP && HIGHMEM64G && (X86_NUMAQ || (X86_SUMMIT || X86_GENERICARCH) && ACPI) && EXPERIMENTAL
655         default n if X86_PC
656         default y if (X86_NUMAQ || X86_SUMMIT)
657         help
658           NUMA support for i386. This is currently highly experimental
659           and should be only used for kernel development. It might also
660           cause boot failures.
661
662 comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
663         depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
664
665 config NODES_SHIFT
666         int
667         default "4" if X86_NUMAQ
668         default "3"
669         depends on NEED_MULTIPLE_NODES
670
671 config HAVE_ARCH_BOOTMEM_NODE
672         bool
673         depends on X86_32 && NUMA
674         default y
675
676 config ARCH_HAVE_MEMORY_PRESENT
677         bool
678         depends on X86_32 && DISCONTIGMEM
679         default y
680
681 config NEED_NODE_MEMMAP_SIZE
682         bool
683         depends on X86_32 && (DISCONTIGMEM || SPARSEMEM)
684         default y
685
686 config HAVE_ARCH_ALLOC_REMAP
687         bool
688         depends on X86_32 && NUMA
689         default y
690
691 config ARCH_FLATMEM_ENABLE
692         def_bool y
693         depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC
694
695 config ARCH_DISCONTIGMEM_ENABLE
696         def_bool y
697         depends on NUMA
698
699 config ARCH_DISCONTIGMEM_DEFAULT
700         def_bool y
701         depends on NUMA
702
703 config ARCH_SPARSEMEM_ENABLE
704         def_bool y
705         depends on (NUMA || (X86_PC && EXPERIMENTAL))
706         select SPARSEMEM_STATIC if X86_32
707
708 config ARCH_SELECT_MEMORY_MODEL
709         def_bool y
710         depends on X86_32 && ARCH_SPARSEMEM_ENABLE
711
712 config ARCH_POPULATES_NODE_MAP
713         def_bool y
714
715 source "mm/Kconfig"
716
717 config HIGHPTE
718         bool "Allocate 3rd-level pagetables from highmem"
719         depends on X86_32 && (HIGHMEM4G || HIGHMEM64G)
720         help
721           The VM uses one page table entry for each page of physical memory.
722           For systems with a lot of RAM, this can be wasteful of precious
723           low memory.  Setting this option will put user-space page table
724           entries in high memory.
725
726 config MATH_EMULATION
727         bool
728         prompt "Math emulation" if X86_32
729         ---help---
730           Linux can emulate a math coprocessor (used for floating point
731           operations) if you don't have one. 486DX and Pentium processors have
732           a math coprocessor built in, 486SX and 386 do not, unless you added
733           a 487DX or 387, respectively. (The messages during boot time can
734           give you some hints here ["man dmesg"].) Everyone needs either a
735           coprocessor or this emulation.
736
737           If you don't have a math coprocessor, you need to say Y here; if you
738           say Y here even though you have a coprocessor, the coprocessor will
739           be used nevertheless. (This behavior can be changed with the kernel
740           command line option "no387", which comes handy if your coprocessor
741           is broken. Try "man bootparam" or see the documentation of your boot
742           loader (lilo or loadlin) about how to pass options to the kernel at
743           boot time.) This means that it is a good idea to say Y here if you
744           intend to use this kernel on different machines.
745
746           More information about the internals of the Linux math coprocessor
747           emulation can be found in <file:arch/x86/math-emu/README>.
748
749           If you are not sure, say Y; apart from resulting in a 66 KB bigger
750           kernel, it won't hurt.
751
752 config MTRR
753         bool "MTRR (Memory Type Range Register) support"
754         ---help---
755           On Intel P6 family processors (Pentium Pro, Pentium II and later)
756           the Memory Type Range Registers (MTRRs) may be used to control
757           processor access to memory ranges. This is most useful if you have
758           a video (VGA) card on a PCI or AGP bus. Enabling write-combining
759           allows bus write transfers to be combined into a larger transfer
760           before bursting over the PCI/AGP bus. This can increase performance
761           of image write operations 2.5 times or more. Saying Y here creates a
762           /proc/mtrr file which may be used to manipulate your processor's
763           MTRRs. Typically the X server should use this.
764
765           This code has a reasonably generic interface so that similar
766           control registers on other processors can be easily supported
767           as well:
768
769           The Cyrix 6x86, 6x86MX and M II processors have Address Range
770           Registers (ARRs) which provide a similar functionality to MTRRs. For
771           these, the ARRs are used to emulate the MTRRs.
772           The AMD K6-2 (stepping 8 and above) and K6-3 processors have two
773           MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing
774           write-combining. All of these processors are supported by this code
775           and it makes sense to say Y here if you have one of them.
776
777           Saying Y here also fixes a problem with buggy SMP BIOSes which only
778           set the MTRRs for the boot CPU and not for the secondary CPUs. This
779           can lead to all sorts of problems, so it's good to say Y here.
780
781           You can safely say Y even if your machine doesn't have MTRRs, you'll
782           just add about 9 KB to your kernel.
783
784           See <file:Documentation/mtrr.txt> for more information.
785
786 config EFI
787         bool "Boot from EFI support"
788         depends on X86_32 && ACPI
789         default n
790         ---help---
791         This enables the kernel to boot on EFI platforms using
792         system configuration information passed to it from the firmware.
793         This also enables the kernel to use any EFI runtime services that are
794         available (such as the EFI variable services).
795
796         This option is only useful on systems that have EFI firmware
797         and will result in a kernel image that is ~8k larger.  In addition,
798         you must use the latest ELILO loader available at
799         <http://elilo.sourceforge.net> in order to take advantage of
800         kernel initialization using EFI information (neither GRUB nor LILO know
801         anything about EFI).  However, even with this option, the resultant
802         kernel should continue to boot on existing non-EFI platforms.
803
804 config IRQBALANCE
805         bool "Enable kernel irq balancing"
806         depends on X86_32 && SMP && X86_IO_APIC
807         default y
808         help
809           The default yes will allow the kernel to do irq load balancing.
810           Saying no will keep the kernel from doing irq load balancing.
811
812 # turning this on wastes a bunch of space.
813 # Summit needs it only when NUMA is on
814 config BOOT_IOREMAP
815         bool
816         depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))
817         default y
818
819 config SECCOMP
820         bool "Enable seccomp to safely compute untrusted bytecode"
821         depends on PROC_FS
822         default y
823         help
824           This kernel feature is useful for number crunching applications
825           that may need to compute untrusted bytecode during their
826           execution. By using pipes or other transports made available to
827           the process as file descriptors supporting the read/write
828           syscalls, it's possible to isolate those applications in
829           their own address space using seccomp. Once seccomp is
830           enabled via /proc/<pid>/seccomp, it cannot be disabled
831           and the task is only allowed to execute a few safe syscalls
832           defined by each seccomp mode.
833
834           If unsure, say Y. Only embedded should say N here.
835
836 source kernel/Kconfig.hz
837
838 config KEXEC
839         bool "kexec system call"
840         help
841           kexec is a system call that implements the ability to shutdown your
842           current kernel, and to start another kernel.  It is like a reboot
843           but it is independent of the system firmware.   And like a reboot
844           you can start any kernel with it, not just Linux.
845
846           The name comes from the similarity to the exec system call.
847
848           It is an ongoing process to be certain the hardware in a machine
849           is properly shutdown, so do not be surprised if this code does not
850           initially work for you.  It may help to enable device hotplugging
851           support.  As of this writing the exact hardware interface is
852           strongly in flux, so no good recommendation can be made.
853
854 config CRASH_DUMP
855         bool "kernel crash dumps (EXPERIMENTAL)"
856         depends on EXPERIMENTAL
857         depends on HIGHMEM
858         help
859           Generate crash dump after being started by kexec.
860           This should be normally only set in special crash dump kernels
861           which are loaded in the main kernel with kexec-tools into
862           a specially reserved region and then later executed after
863           a crash by kdump/kexec. The crash dump kernel must be compiled
864           to a memory address not used by the main kernel or BIOS using
865           PHYSICAL_START, or it must be built as a relocatable image
866           (CONFIG_RELOCATABLE=y).
867           For more details see Documentation/kdump/kdump.txt
868
869 config PHYSICAL_START
870         hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
871         default "0x1000000" if X86_NUMAQ
872         default "0x100000"
873         help
874           This gives the physical address where the kernel is loaded.
875
876           If kernel is a not relocatable (CONFIG_RELOCATABLE=n) then
877           bzImage will decompress itself to above physical address and
878           run from there. Otherwise, bzImage will run from the address where
879           it has been loaded by the boot loader and will ignore above physical
880           address.
881
882           In normal kdump cases one does not have to set/change this option
883           as now bzImage can be compiled as a completely relocatable image
884           (CONFIG_RELOCATABLE=y) and be used to load and run from a different
885           address. This option is mainly useful for the folks who don't want
886           to use a bzImage for capturing the crash dump and want to use a
887           vmlinux instead. vmlinux is not relocatable hence a kernel needs
888           to be specifically compiled to run from a specific memory area
889           (normally a reserved region) and this option comes handy.
890
891           So if you are using bzImage for capturing the crash dump, leave
892           the value here unchanged to 0x100000 and set CONFIG_RELOCATABLE=y.
893           Otherwise if you plan to use vmlinux for capturing the crash dump
894           change this value to start of the reserved region (Typically 16MB
895           0x1000000). In other words, it can be set based on the "X" value as
896           specified in the "crashkernel=YM@XM" command line boot parameter
897           passed to the panic-ed kernel. Typically this parameter is set as
898           crashkernel=64M@16M. Please take a look at
899           Documentation/kdump/kdump.txt for more details about crash dumps.
900
901           Usage of bzImage for capturing the crash dump is recommended as
902           one does not have to build two kernels. Same kernel can be used
903           as production kernel and capture kernel. Above option should have
904           gone away after relocatable bzImage support is introduced. But it
905           is present because there are users out there who continue to use
906           vmlinux for dump capture. This option should go away down the
907           line.
908
909           Don't change this unless you know what you are doing.
910
911 config RELOCATABLE
912         bool "Build a relocatable kernel (EXPERIMENTAL)"
913         depends on EXPERIMENTAL
914         help
915           This builds a kernel image that retains relocation information
916           so it can be loaded someplace besides the default 1MB.
917           The relocations tend to make the kernel binary about 10% larger,
918           but are discarded at runtime.
919
920           One use is for the kexec on panic case where the recovery kernel
921           must live at a different physical address than the primary
922           kernel.
923
924 config PHYSICAL_ALIGN
925         hex
926         prompt "Alignment value to which kernel should be aligned" if X86_32
927         default "0x100000"
928         range 0x2000 0x400000
929         help
930           This value puts the alignment restrictions on physical address
931           where kernel is loaded and run from. Kernel is compiled for an
932           address which meets above alignment restriction.
933
934           If bootloader loads the kernel at a non-aligned address and
935           CONFIG_RELOCATABLE is set, kernel will move itself to nearest
936           address aligned to above value and run from there.
937
938           If bootloader loads the kernel at a non-aligned address and
939           CONFIG_RELOCATABLE is not set, kernel will ignore the run time
940           load address and decompress itself to the address it has been
941           compiled for and run from there. The address for which kernel is
942           compiled already meets above alignment restrictions. Hence the
943           end result is that kernel runs from a physical address meeting
944           above alignment restrictions.
945
946           Don't change this unless you know what you are doing.
947
948 config HOTPLUG_CPU
949         bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
950         depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER
951         ---help---
952           Say Y here to experiment with turning CPUs off and on, and to
953           enable suspend on SMP systems. CPUs can be controlled through
954           /sys/devices/system/cpu.
955
956 config COMPAT_VDSO
957         bool "Compat VDSO support"
958         default y
959         depends on X86_32
960         help
961           Map the VDSO to the predictable old-style address too.
962         ---help---
963           Say N here if you are running a sufficiently recent glibc
964           version (2.3.3 or later), to remove the high-mapped
965           VDSO mapping and to exclusively use the randomized VDSO.
966
967           If unsure, say Y.
968
969 endmenu
970
971 config ARCH_ENABLE_MEMORY_HOTPLUG
972         def_bool y
973         depends on HIGHMEM
974
975
976 #
977 # Use the generic interrupt handling code in kernel/irq/:
978 #
979 config GENERIC_HARDIRQS
980         bool
981         default y
982
983 config GENERIC_IRQ_PROBE
984         bool
985         default y
986
987 config GENERIC_PENDING_IRQ
988         bool
989         depends on GENERIC_HARDIRQS && SMP
990         default y
991
992 config X86_SMP
993         bool
994         depends on X86_32 && SMP && !X86_VOYAGER
995         default y
996
997 config X86_HT
998         bool
999         depends on SMP && !(X86_VISWS || X86_VOYAGER)
1000         default y
1001
1002 config X86_BIOS_REBOOT
1003         bool
1004         depends on X86_32 && !(X86_VISWS || X86_VOYAGER)
1005         default y
1006
1007 config X86_TRAMPOLINE
1008         bool
1009         depends on X86_SMP || (X86_VOYAGER && SMP)
1010         default y
1011
1012 config KTIME_SCALAR
1013         def_bool X86_32
1014
1015 source "arch/x86/Kconfig"