x86: use __PAGE_KERNEL* instead of _KERNPG_TABLE
[deliverable/linux.git] / arch / x86 / Kconfig
CommitLineData
1032c0ba 1# x86 configuration
daa93fab
SR
2mainmenu "Linux Kernel Configuration for x86"
3
4# Select 32 or 64 bit
5config 64BIT
6840999b
SR
6 bool "64-bit kernel" if ARCH = "x86"
7 default ARCH = "x86_64"
daa93fab
SR
8 help
9 Say yes to build a 64-bit kernel - formerly known as x86_64
10 Say no to build a 32-bit kernel - formerly known as i386
11
12config X86_32
13 def_bool !64BIT
14
15config X86_64
16 def_bool 64BIT
1032c0ba
SR
17
18### Arch settings
8d5fffb9
SR
19config X86
20 bool
21 default y
22
8d5fffb9
SR
23config GENERIC_TIME
24 bool
25 default y
26
27config GENERIC_CMOS_UPDATE
28 bool
29 default y
30
31config CLOCKSOURCE_WATCHDOG
32 bool
33 default y
34
35config GENERIC_CLOCKEVENTS
36 bool
37 default y
38
39config GENERIC_CLOCKEVENTS_BROADCAST
40 bool
41 default y
42 depends on X86_64 || (X86_32 && X86_LOCAL_APIC)
43
44config LOCKDEP_SUPPORT
45 bool
46 default y
47
48config STACKTRACE_SUPPORT
49 bool
50 default y
51
52config SEMAPHORE_SLEEPERS
53 bool
54 default y
55
56config MMU
57 bool
58 default y
59
60config ZONE_DMA
61 bool
62 default y
63
64config QUICKLIST
65 bool
66 default X86_32
67
68config SBUS
69 bool
70
71config GENERIC_ISA_DMA
72 bool
73 default y
74
75config GENERIC_IOMAP
76 bool
77 default y
78
79config GENERIC_BUG
80 bool
81 default y
82 depends on BUG
83
84config GENERIC_HWEIGHT
85 bool
86 default y
87
88config ARCH_MAY_HAVE_PC_FDC
89 bool
90 default y
91
92config DMI
93 bool
94 default y
95
1032c0ba
SR
96config RWSEM_GENERIC_SPINLOCK
97 def_bool !X86_XADD
98
99config RWSEM_XCHGADD_ALGORITHM
100 def_bool X86_XADD
101
102config ARCH_HAS_ILOG2_U32
103 def_bool n
104
105config ARCH_HAS_ILOG2_U64
106 def_bool n
107
108config GENERIC_CALIBRATE_DELAY
109 def_bool y
110
8d5fffb9
SR
111config GENERIC_TIME_VSYSCALL
112 bool
113 default X86_64
114
3743d33e
LT
115config ARCH_SUPPORTS_OPROFILE
116 bool
117 default y
8d5fffb9
SR
118
119
120config ZONE_DMA32
121 bool
122 default X86_64
123
124config ARCH_POPULATES_NODE_MAP
125 def_bool y
126
127config AUDIT_ARCH
128 bool
129 default X86_64
130
131# Use the generic interrupt handling code in kernel/irq/:
132config GENERIC_HARDIRQS
133 bool
134 default y
135
136config GENERIC_IRQ_PROBE
137 bool
138 default y
139
140config GENERIC_PENDING_IRQ
141 bool
142 depends on GENERIC_HARDIRQS && SMP
143 default y
144
145config X86_SMP
146 bool
147 depends on X86_32 && SMP && !X86_VOYAGER
148 default y
149
150config X86_HT
151 bool
ee0011a7
AB
152 depends on SMP
153 depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || (X86_64 && !MK8)
8d5fffb9
SR
154 default y
155
156config X86_BIOS_REBOOT
157 bool
158 depends on X86_32 && !(X86_VISWS || X86_VOYAGER)
159 default y
160
161config X86_TRAMPOLINE
162 bool
163 depends on X86_SMP || (X86_VOYAGER && SMP)
164 default y
165
166config KTIME_SCALAR
167 def_bool X86_32
506f1d07 168source "init/Kconfig"
8d5fffb9 169
506f1d07
SR
170menu "Processor type and features"
171
172source "kernel/time/Kconfig"
173
174config SMP
175 bool "Symmetric multi-processing support"
176 ---help---
177 This enables support for systems with more than one CPU. If you have
178 a system with only one CPU, like most personal computers, say N. If
179 you have a system with more than one CPU, say Y.
180
181 If you say N here, the kernel will run on single and multiprocessor
182 machines, but will use only one CPU of a multiprocessor machine. If
183 you say Y here, the kernel will run on many, but not all,
184 singleprocessor machines. On a singleprocessor machine, the kernel
185 will run faster if you say N here.
186
187 Note that if you say Y here and choose architecture "586" or
188 "Pentium" under "Processor family", the kernel will not work on 486
189 architectures. Similarly, multiprocessor kernels for the "PPro"
190 architecture may not work on all Pentium based boards.
191
192 People using multiprocessor machines who say Y here should also say
193 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
194 Management" code will be disabled if you say Y here.
195
196 See also the <file:Documentation/smp.txt>,
197 <file:Documentation/i386/IO-APIC.txt>,
198 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
199 <http://www.tldp.org/docs.html#howto>.
200
201 If you don't know what to do here, say N.
202
203choice
204 prompt "Subarchitecture Type"
205 default X86_PC
206
207config X86_PC
208 bool "PC-compatible"
209 help
210 Choose this option if your computer is a standard PC or compatible.
211
212config X86_ELAN
213 bool "AMD Elan"
214 depends on X86_32
215 help
216 Select this for an AMD Elan processor.
217
218 Do not use this option for K6/Athlon/Opteron processors!
219
220 If unsure, choose "PC-compatible" instead.
221
222config X86_VOYAGER
223 bool "Voyager (NCR)"
224 depends on X86_32
225 select SMP if !BROKEN
226 help
227 Voyager is an MCA-based 32-way capable SMP architecture proprietary
228 to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based.
229
230 *** WARNING ***
231
232 If you do not specifically know you have a Voyager based machine,
233 say N here, otherwise the kernel you build will not be bootable.
234
235config X86_NUMAQ
236 bool "NUMAQ (IBM/Sequent)"
237 select SMP
238 select NUMA
239 depends on X86_32
240 help
241 This option is used for getting Linux to run on a (IBM/Sequent) NUMA
242 multiquad box. This changes the way that processors are bootstrapped,
243 and uses Clustered Logical APIC addressing mode instead of Flat Logical.
244 You will need a new lynxer.elf file to flash your firmware with - send
245 email to <Martin.Bligh@us.ibm.com>.
246
247config X86_SUMMIT
248 bool "Summit/EXA (IBM x440)"
249 depends on X86_32 && SMP
250 help
251 This option is needed for IBM systems that use the Summit/EXA chipset.
252 In particular, it is needed for the x440.
253
254 If you don't have one of these computers, you should say N here.
255 If you want to build a NUMA kernel, you must select ACPI.
256
257config X86_BIGSMP
258 bool "Support for other sub-arch SMP systems with more than 8 CPUs"
259 depends on X86_32 && SMP
260 help
261 This option is needed for the systems that have more than 8 CPUs
262 and if the system is not of any sub-arch type above.
263
264 If you don't have such a system, you should say N here.
265
266config X86_VISWS
267 bool "SGI 320/540 (Visual Workstation)"
268 depends on X86_32
269 help
270 The SGI Visual Workstation series is an IA32-based workstation
271 based on SGI systems chips with some legacy PC hardware attached.
272
273 Say Y here to create a kernel to run on the SGI 320 or 540.
274
275 A kernel compiled for the Visual Workstation will not run on PCs
276 and vice versa. See <file:Documentation/sgi-visws.txt> for details.
277
278config X86_GENERICARCH
279 bool "Generic architecture (Summit, bigsmp, ES7000, default)"
280 depends on X86_32
281 help
282 This option compiles in the Summit, bigsmp, ES7000, default subarchitectures.
283 It is intended for a generic binary kernel.
284 If you want a NUMA kernel, select ACPI. We need SRAT for NUMA.
285
286config X86_ES7000
287 bool "Support for Unisys ES7000 IA32 series"
288 depends on X86_32 && SMP
289 help
290 Support for Unisys ES7000 systems. Say 'Y' here if this kernel is
291 supposed to run on an IA32-based Unisys ES7000 system.
292 Only choose this option if you have such a system, otherwise you
293 should say N here.
294
295config X86_VSMP
296 bool "Support for ScaleMP vSMP"
297 depends on X86_64 && PCI
298 help
299 Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is
300 supposed to run on these EM64T-based machines. Only choose this option
301 if you have one of these machines.
302
303endchoice
304
305config SCHED_NO_NO_OMIT_FRAME_POINTER
306 bool "Single-depth WCHAN output"
307 default y
308 depends on X86_32
309 help
310 Calculate simpler /proc/<PID>/wchan values. If this option
311 is disabled then wchan values will recurse back to the
312 caller function. This provides more accurate wchan values,
313 at the expense of slightly more scheduling overhead.
314
315 If in doubt, say "Y".
316
317config PARAVIRT
318 bool
319 depends on X86_32 && !(X86_VISWS || X86_VOYAGER)
320 help
321 This changes the kernel so it can modify itself when it is run
322 under a hypervisor, potentially improving performance significantly
323 over full virtualization. However, when run without a hypervisor
324 the kernel is theoretically slower and slightly larger.
325
326menuconfig PARAVIRT_GUEST
327 bool "Paravirtualized guest support"
328 depends on X86_32
329 help
330 Say Y here to get to see options related to running Linux under
331 various hypervisors. This option alone does not add any kernel code.
332
333 If you say N, all options in this submenu will be skipped and disabled.
334
335if PARAVIRT_GUEST
336
337source "arch/x86/xen/Kconfig"
338
339config VMI
340 bool "VMI Guest support"
341 select PARAVIRT
342 depends on !(X86_VISWS || X86_VOYAGER)
343 help
344 VMI provides a paravirtualized interface to the VMware ESX server
345 (it could be used by other hypervisors in theory too, but is not
346 at the moment), by linking the kernel to a GPL-ed ROM module
347 provided by the hypervisor.
348
349source "arch/x86/lguest/Kconfig"
350
351endif
352
353config ACPI_SRAT
354 bool
355 default y
356 depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH)
357 select ACPI_NUMA
358
359config HAVE_ARCH_PARSE_SRAT
360 bool
361 default y
362 depends on ACPI_SRAT
363
364config X86_SUMMIT_NUMA
365 bool
366 default y
367 depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH)
368
369config X86_CYCLONE_TIMER
370 bool
371 default y
372 depends on X86_32 && X86_SUMMIT || X86_GENERICARCH
373
374config ES7000_CLUSTERED_APIC
375 bool
376 default y
377 depends on SMP && X86_ES7000 && MPENTIUMIII
378
379source "arch/x86/Kconfig.cpu"
380
381config HPET_TIMER
382 bool
383 prompt "HPET Timer Support" if X86_32
384 default X86_64
385 help
386 Use the IA-PC HPET (High Precision Event Timer) to manage
387 time in preference to the PIT and RTC, if a HPET is
388 present.
389 HPET is the next generation timer replacing legacy 8254s.
390 The HPET provides a stable time base on SMP
391 systems, unlike the TSC, but it is more expensive to access,
392 as it is off-chip. You can find the HPET spec at
393 <http://www.intel.com/hardwaredesign/hpetspec.htm>.
394
395 You can safely choose Y here. However, HPET will only be
396 activated if the platform and the BIOS support this feature.
397 Otherwise the 8254 will be used for timing services.
398
399 Choose N to continue using the legacy 8254 timer.
400
401config HPET_EMULATE_RTC
402 bool
403 depends on HPET_TIMER && RTC=y
404 default y
405
406# Mark as embedded because too many people got it wrong.
407# The code disables itself when not needed.
408config GART_IOMMU
409 bool "GART IOMMU support" if EMBEDDED
410 default y
411 select SWIOTLB
412 select AGP
413 depends on X86_64 && PCI
414 help
415 Support for full DMA access of devices with 32bit memory access only
416 on systems with more than 3GB. This is usually needed for USB,
417 sound, many IDE/SATA chipsets and some other devices.
418 Provides a driver for the AMD Athlon64/Opteron/Turion/Sempron GART
419 based hardware IOMMU and a software bounce buffer based IOMMU used
420 on Intel systems and as fallback.
421 The code is only active when needed (enough memory and limited
422 device) unless CONFIG_IOMMU_DEBUG or iommu=force is specified
423 too.
424
425config CALGARY_IOMMU
426 bool "IBM Calgary IOMMU support"
427 select SWIOTLB
428 depends on X86_64 && PCI && EXPERIMENTAL
429 help
430 Support for hardware IOMMUs in IBM's xSeries x366 and x460
431 systems. Needed to run systems with more than 3GB of memory
432 properly with 32-bit PCI devices that do not support DAC
433 (Double Address Cycle). Calgary also supports bus level
434 isolation, where all DMAs pass through the IOMMU. This
435 prevents them from going anywhere except their intended
436 destination. This catches hard-to-find kernel bugs and
437 mis-behaving drivers and devices that do not use the DMA-API
438 properly to set up their DMA buffers. The IOMMU can be
439 turned off at boot time with the iommu=off parameter.
440 Normally the kernel will make the right choice by itself.
441 If unsure, say Y.
442
443config CALGARY_IOMMU_ENABLED_BY_DEFAULT
444 bool "Should Calgary be enabled by default?"
445 default y
446 depends on CALGARY_IOMMU
447 help
448 Should Calgary be enabled by default? if you choose 'y', Calgary
449 will be used (if it exists). If you choose 'n', Calgary will not be
450 used even if it exists. If you choose 'n' and would like to use
451 Calgary anyway, pass 'iommu=calgary' on the kernel command line.
452 If unsure, say Y.
453
454# need this always selected by IOMMU for the VIA workaround
455config SWIOTLB
456 bool
457 help
458 Support for software bounce buffers used on x86-64 systems
459 which don't have a hardware IOMMU (e.g. the current generation
460 of Intel's x86-64 CPUs). Using this PCI devices which can only
461 access 32-bits of memory can be used on systems with more than
462 3 GB of memory. If unsure, say Y.
463
464
465config NR_CPUS
466 int "Maximum number of CPUs (2-255)"
467 range 2 255
468 depends on SMP
469 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
470 default "8"
471 help
472 This allows you to specify the maximum number of CPUs which this
473 kernel will support. The maximum supported value is 255 and the
474 minimum value which makes sense is 2.
475
476 This is purely to save memory - each supported CPU adds
477 approximately eight kilobytes to the kernel image.
478
479config SCHED_SMT
480 bool "SMT (Hyperthreading) scheduler support"
481 depends on (X86_64 && SMP) || (X86_32 && X86_HT)
482 help
483 SMT scheduler support improves the CPU scheduler's decision making
484 when dealing with Intel Pentium 4 chips with HyperThreading at a
485 cost of slightly increased overhead in some places. If unsure say
486 N here.
487
488config SCHED_MC
489 bool "Multi-core scheduler support"
490 depends on (X86_64 && SMP) || (X86_32 && X86_HT)
491 default y
492 help
493 Multi-core scheduler support improves the CPU scheduler's decision
494 making when dealing with multi-core CPU chips at a cost of slightly
495 increased overhead in some places. If unsure say N here.
496
497source "kernel/Kconfig.preempt"
498
499config X86_UP_APIC
500 bool "Local APIC support on uniprocessors"
501 depends on X86_32 && !SMP && !(X86_VISWS || X86_VOYAGER || X86_GENERICARCH)
502 help
503 A local APIC (Advanced Programmable Interrupt Controller) is an
504 integrated interrupt controller in the CPU. If you have a single-CPU
505 system which has a processor with a local APIC, you can say Y here to
506 enable and use it. If you say Y here even though your machine doesn't
507 have a local APIC, then the kernel will still run with no slowdown at
508 all. The local APIC supports CPU-generated self-interrupts (timer,
509 performance counters), and the NMI watchdog which detects hard
510 lockups.
511
512config X86_UP_IOAPIC
513 bool "IO-APIC support on uniprocessors"
514 depends on X86_UP_APIC
515 help
516 An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an
517 SMP-capable replacement for PC-style interrupt controllers. Most
518 SMP systems and many recent uniprocessor systems have one.
519
520 If you have a single-CPU system with an IO-APIC, you can say Y here
521 to use it. If you say Y here even though your machine doesn't have
522 an IO-APIC, then the kernel will still run with no slowdown at all.
523
524config X86_LOCAL_APIC
525 bool
526 depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH))
527 default y
528
529config X86_IO_APIC
530 bool
531 depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH))
532 default y
533
534config X86_VISWS_APIC
535 bool
536 depends on X86_32 && X86_VISWS
537 default y
538
539config X86_MCE
540 bool "Machine Check Exception"
541 depends on !X86_VOYAGER
542 ---help---
543 Machine Check Exception support allows the processor to notify the
544 kernel if it detects a problem (e.g. overheating, component failure).
545 The action the kernel takes depends on the severity of the problem,
546 ranging from a warning message on the console, to halting the machine.
547 Your processor must be a Pentium or newer to support this - check the
548 flags in /proc/cpuinfo for mce. Note that some older Pentium systems
549 have a design flaw which leads to false MCE events - hence MCE is
550 disabled on all P5 processors, unless explicitly enabled with "mce"
551 as a boot argument. Similarly, if MCE is built in and creates a
552 problem on some new non-standard machine, you can boot with "nomce"
553 to disable it. MCE support simply ignores non-MCE processors like
554 the 386 and 486, so nearly everyone can say Y here.
555
556config X86_MCE_INTEL
557 bool "Intel MCE features"
558 depends on X86_64 && X86_MCE && X86_LOCAL_APIC
559 default y
560 help
561 Additional support for intel specific MCE features such as
562 the thermal monitor.
563
564config X86_MCE_AMD
565 bool "AMD MCE features"
566 depends on X86_64 && X86_MCE && X86_LOCAL_APIC
567 default y
568 help
569 Additional support for AMD specific MCE features such as
570 the DRAM Error Threshold.
571
572config X86_MCE_NONFATAL
573 tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
574 depends on X86_32 && X86_MCE
575 help
576 Enabling this feature starts a timer that triggers every 5 seconds which
577 will look at the machine check registers to see if anything happened.
578 Non-fatal problems automatically get corrected (but still logged).
579 Disable this if you don't want to see these messages.
580 Seeing the messages this option prints out may be indicative of dying
581 or out-of-spec (ie, overclocked) hardware.
582 This option only does something on certain CPUs.
583 (AMD Athlon/Duron and Intel Pentium 4)
584
585config X86_MCE_P4THERMAL
586 bool "check for P4 thermal throttling interrupt."
587 depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS
588 help
589 Enabling this feature will cause a message to be printed when the P4
590 enters thermal throttling.
591
592config VM86
593 bool "Enable VM86 support" if EMBEDDED
594 default y
595 depends on X86_32
596 help
597 This option is required by programs like DOSEMU to run 16-bit legacy
598 code on X86 processors. It also may be needed by software like
599 XFree86 to initialize some video cards via BIOS. Disabling this
600 option saves about 6k.
601
602config TOSHIBA
603 tristate "Toshiba Laptop support"
604 depends on X86_32
605 ---help---
606 This adds a driver to safely access the System Management Mode of
607 the CPU on Toshiba portables with a genuine Toshiba BIOS. It does
608 not work on models with a Phoenix BIOS. The System Management Mode
609 is used to set the BIOS and power saving options on Toshiba portables.
610
611 For information on utilities to make use of this driver see the
612 Toshiba Linux utilities web site at:
613 <http://www.buzzard.org.uk/toshiba/>.
614
615 Say Y if you intend to run this kernel on a Toshiba portable.
616 Say N otherwise.
617
618config I8K
619 tristate "Dell laptop support"
620 depends on X86_32
621 ---help---
622 This adds a driver to safely access the System Management Mode
623 of the CPU on the Dell Inspiron 8000. The System Management Mode
624 is used to read cpu temperature and cooling fan status and to
625 control the fans on the I8K portables.
626
627 This driver has been tested only on the Inspiron 8000 but it may
628 also work with other Dell laptops. You can force loading on other
629 models by passing the parameter `force=1' to the module. Use at
630 your own risk.
631
632 For information on utilities to make use of this driver see the
633 I8K Linux utilities web site at:
634 <http://people.debian.org/~dz/i8k/>
635
636 Say Y if you intend to run this kernel on a Dell Inspiron 8000.
637 Say N otherwise.
638
639config X86_REBOOTFIXUPS
640 bool "Enable X86 board specific fixups for reboot"
641 depends on X86_32 && X86
642 default n
643 ---help---
644 This enables chipset and/or board specific fixups to be done
645 in order to get reboot to work correctly. This is only needed on
646 some combinations of hardware and BIOS. The symptom, for which
647 this config is intended, is when reboot ends with a stalled/hung
648 system.
649
650 Currently, the only fixup is for the Geode machines using
651 CS5530A and CS5536 chipsets.
652
653 Say Y if you want to enable the fixup. Currently, it's safe to
654 enable this option even if you don't need it.
655 Say N otherwise.
656
657config MICROCODE
658 tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
659 select FW_LOADER
660 ---help---
661 If you say Y here, you will be able to update the microcode on
662 Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,
663 Pentium III, Pentium 4, Xeon etc. You will obviously need the
664 actual microcode binary data itself which is not shipped with the
665 Linux kernel.
666
667 For latest news and information on obtaining all the required
668 ingredients for this driver, check:
669 <http://www.urbanmyth.org/microcode/>.
670
671 To compile this driver as a module, choose M here: the
672 module will be called microcode.
673
674config MICROCODE_OLD_INTERFACE
675 bool
676 depends on MICROCODE
677 default y
678
679config X86_MSR
680 tristate "/dev/cpu/*/msr - Model-specific register support"
681 help
682 This device gives privileged processes access to the x86
683 Model-Specific Registers (MSRs). It is a character device with
684 major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
685 MSR accesses are directed to a specific CPU on multi-processor
686 systems.
687
688config X86_CPUID
689 tristate "/dev/cpu/*/cpuid - CPU information support"
690 help
691 This device gives processes access to the x86 CPUID instruction to
692 be executed on a specific processor. It is a character device
693 with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
694 /dev/cpu/31/cpuid.
695
696choice
697 prompt "High Memory Support"
698 default HIGHMEM4G if !X86_NUMAQ
699 default HIGHMEM64G if X86_NUMAQ
700 depends on X86_32
701
702config NOHIGHMEM
703 bool "off"
704 depends on !X86_NUMAQ
705 ---help---
706 Linux can use up to 64 Gigabytes of physical memory on x86 systems.
707 However, the address space of 32-bit x86 processors is only 4
708 Gigabytes large. That means that, if you have a large amount of
709 physical memory, not all of it can be "permanently mapped" by the
710 kernel. The physical memory that's not permanently mapped is called
711 "high memory".
712
713 If you are compiling a kernel which will never run on a machine with
714 more than 1 Gigabyte total physical RAM, answer "off" here (default
715 choice and suitable for most users). This will result in a "3GB/1GB"
716 split: 3GB are mapped so that each process sees a 3GB virtual memory
717 space and the remaining part of the 4GB virtual memory space is used
718 by the kernel to permanently map as much physical memory as
719 possible.
720
721 If the machine has between 1 and 4 Gigabytes physical RAM, then
722 answer "4GB" here.
723
724 If more than 4 Gigabytes is used then answer "64GB" here. This
725 selection turns Intel PAE (Physical Address Extension) mode on.
726 PAE implements 3-level paging on IA32 processors. PAE is fully
727 supported by Linux, PAE mode is implemented on all recent Intel
728 processors (Pentium Pro and better). NOTE: If you say "64GB" here,
729 then the kernel will not boot on CPUs that don't support PAE!
730
731 The actual amount of total physical memory will either be
732 auto detected or can be forced by using a kernel command line option
733 such as "mem=256M". (Try "man bootparam" or see the documentation of
734 your boot loader (lilo or loadlin) about how to pass options to the
735 kernel at boot time.)
736
737 If unsure, say "off".
738
739config HIGHMEM4G
740 bool "4GB"
741 depends on !X86_NUMAQ
742 help
743 Select this if you have a 32-bit processor and between 1 and 4
744 gigabytes of physical RAM.
745
746config HIGHMEM64G
747 bool "64GB"
748 depends on !M386 && !M486
749 select X86_PAE
750 help
751 Select this if you have a 32-bit processor and more than 4
752 gigabytes of physical RAM.
753
754endchoice
755
756choice
757 depends on EXPERIMENTAL
758 prompt "Memory split" if EMBEDDED
759 default VMSPLIT_3G
760 depends on X86_32
761 help
762 Select the desired split between kernel and user memory.
763
764 If the address range available to the kernel is less than the
765 physical memory installed, the remaining memory will be available
766 as "high memory". Accessing high memory is a little more costly
767 than low memory, as it needs to be mapped into the kernel first.
768 Note that increasing the kernel address space limits the range
769 available to user programs, making the address space there
770 tighter. Selecting anything other than the default 3G/1G split
771 will also likely make your kernel incompatible with binary-only
772 kernel modules.
773
774 If you are not absolutely sure what you are doing, leave this
775 option alone!
776
777 config VMSPLIT_3G
778 bool "3G/1G user/kernel split"
779 config VMSPLIT_3G_OPT
780 depends on !X86_PAE
781 bool "3G/1G user/kernel split (for full 1G low memory)"
782 config VMSPLIT_2G
783 bool "2G/2G user/kernel split"
784 config VMSPLIT_2G_OPT
785 depends on !X86_PAE
786 bool "2G/2G user/kernel split (for full 2G low memory)"
787 config VMSPLIT_1G
788 bool "1G/3G user/kernel split"
789endchoice
790
791config PAGE_OFFSET
792 hex
793 default 0xB0000000 if VMSPLIT_3G_OPT
794 default 0x80000000 if VMSPLIT_2G
795 default 0x78000000 if VMSPLIT_2G_OPT
796 default 0x40000000 if VMSPLIT_1G
797 default 0xC0000000
798 depends on X86_32
799
800config HIGHMEM
801 bool
802 depends on X86_32 && (HIGHMEM64G || HIGHMEM4G)
803 default y
804
805config X86_PAE
806 bool "PAE (Physical Address Extension) Support"
807 default n
808 depends on X86_32 && !HIGHMEM4G
809 select RESOURCES_64BIT
810 help
811 PAE is required for NX support, and furthermore enables
812 larger swapspace support for non-overcommit purposes. It
813 has the cost of more pagetable lookup overhead, and also
814 consumes more pagetable space per process.
815
816# Common NUMA Features
817config NUMA
818 bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
819 depends on SMP
820 depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || (X86_SUMMIT || X86_GENERICARCH) && ACPI) && EXPERIMENTAL)
821 default n if X86_PC
822 default y if (X86_NUMAQ || X86_SUMMIT)
823 help
824 Enable NUMA (Non Uniform Memory Access) support.
825 The kernel will try to allocate memory used by a CPU on the
826 local memory controller of the CPU and add some more
827 NUMA awareness to the kernel.
828
829 For i386 this is currently highly experimental and should be only
830 used for kernel development. It might also cause boot failures.
831 For x86_64 this is recommended on all multiprocessor Opteron systems.
832 If the system is EM64T, you should say N unless your system is
833 EM64T NUMA.
834
835comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
836 depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
837
838config K8_NUMA
839 bool "Old style AMD Opteron NUMA detection"
840 depends on X86_64 && NUMA && PCI
841 default y
842 help
843 Enable K8 NUMA node topology detection. You should say Y here if
844 you have a multi processor AMD K8 system. This uses an old
845 method to read the NUMA configuration directly from the builtin
846 Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA
847 instead, which also takes priority if both are compiled in.
848
849config X86_64_ACPI_NUMA
850 bool "ACPI NUMA detection"
851 depends on X86_64 && NUMA && ACPI && PCI
852 select ACPI_NUMA
853 default y
854 help
855 Enable ACPI SRAT based node topology detection.
856
857config NUMA_EMU
858 bool "NUMA emulation"
859 depends on X86_64 && NUMA
860 help
861 Enable NUMA emulation. A flat machine will be split
862 into virtual nodes when booted with "numa=fake=N", where N is the
863 number of nodes. This is only useful for debugging.
864
865config NODES_SHIFT
866 int
867 default "6" if X86_64
868 default "4" if X86_NUMAQ
869 default "3"
870 depends on NEED_MULTIPLE_NODES
871
872config HAVE_ARCH_BOOTMEM_NODE
873 bool
874 depends on X86_32 && NUMA
875 default y
876
877config ARCH_HAVE_MEMORY_PRESENT
878 bool
879 depends on X86_32 && DISCONTIGMEM
880 default y
881
882config NEED_NODE_MEMMAP_SIZE
883 bool
884 depends on X86_32 && (DISCONTIGMEM || SPARSEMEM)
885 default y
886
887config HAVE_ARCH_ALLOC_REMAP
888 bool
889 depends on X86_32 && NUMA
890 default y
891
892config ARCH_FLATMEM_ENABLE
893 def_bool y
b263295d 894 depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC
506f1d07
SR
895
896config ARCH_DISCONTIGMEM_ENABLE
897 def_bool y
b263295d 898 depends on NUMA && X86_32
506f1d07
SR
899
900config ARCH_DISCONTIGMEM_DEFAULT
901 def_bool y
b263295d
CL
902 depends on NUMA && X86_32
903
904config ARCH_SPARSEMEM_DEFAULT
905 def_bool y
906 depends on X86_64
506f1d07
SR
907
908config ARCH_SPARSEMEM_ENABLE
909 def_bool y
b263295d 910 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC)
506f1d07
SR
911 select SPARSEMEM_STATIC if X86_32
912 select SPARSEMEM_VMEMMAP_ENABLE if X86_64
913
914config ARCH_SELECT_MEMORY_MODEL
915 def_bool y
b263295d 916 depends on ARCH_SPARSEMEM_ENABLE
506f1d07
SR
917
918config ARCH_MEMORY_PROBE
919 def_bool X86_64
920 depends on MEMORY_HOTPLUG
921
922source "mm/Kconfig"
923
924config HIGHPTE
925 bool "Allocate 3rd-level pagetables from highmem"
926 depends on X86_32 && (HIGHMEM4G || HIGHMEM64G)
927 help
928 The VM uses one page table entry for each page of physical memory.
929 For systems with a lot of RAM, this can be wasteful of precious
930 low memory. Setting this option will put user-space page table
931 entries in high memory.
932
933config MATH_EMULATION
934 bool
935 prompt "Math emulation" if X86_32
936 ---help---
937 Linux can emulate a math coprocessor (used for floating point
938 operations) if you don't have one. 486DX and Pentium processors have
939 a math coprocessor built in, 486SX and 386 do not, unless you added
940 a 487DX or 387, respectively. (The messages during boot time can
941 give you some hints here ["man dmesg"].) Everyone needs either a
942 coprocessor or this emulation.
943
944 If you don't have a math coprocessor, you need to say Y here; if you
945 say Y here even though you have a coprocessor, the coprocessor will
946 be used nevertheless. (This behavior can be changed with the kernel
947 command line option "no387", which comes handy if your coprocessor
948 is broken. Try "man bootparam" or see the documentation of your boot
949 loader (lilo or loadlin) about how to pass options to the kernel at
950 boot time.) This means that it is a good idea to say Y here if you
951 intend to use this kernel on different machines.
952
953 More information about the internals of the Linux math coprocessor
954 emulation can be found in <file:arch/x86/math-emu/README>.
955
956 If you are not sure, say Y; apart from resulting in a 66 KB bigger
957 kernel, it won't hurt.
958
959config MTRR
960 bool "MTRR (Memory Type Range Register) support"
961 ---help---
962 On Intel P6 family processors (Pentium Pro, Pentium II and later)
963 the Memory Type Range Registers (MTRRs) may be used to control
964 processor access to memory ranges. This is most useful if you have
965 a video (VGA) card on a PCI or AGP bus. Enabling write-combining
966 allows bus write transfers to be combined into a larger transfer
967 before bursting over the PCI/AGP bus. This can increase performance
968 of image write operations 2.5 times or more. Saying Y here creates a
969 /proc/mtrr file which may be used to manipulate your processor's
970 MTRRs. Typically the X server should use this.
971
972 This code has a reasonably generic interface so that similar
973 control registers on other processors can be easily supported
974 as well:
975
976 The Cyrix 6x86, 6x86MX and M II processors have Address Range
977 Registers (ARRs) which provide a similar functionality to MTRRs. For
978 these, the ARRs are used to emulate the MTRRs.
979 The AMD K6-2 (stepping 8 and above) and K6-3 processors have two
980 MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing
981 write-combining. All of these processors are supported by this code
982 and it makes sense to say Y here if you have one of them.
983
984 Saying Y here also fixes a problem with buggy SMP BIOSes which only
985 set the MTRRs for the boot CPU and not for the secondary CPUs. This
986 can lead to all sorts of problems, so it's good to say Y here.
987
988 You can safely say Y even if your machine doesn't have MTRRs, you'll
989 just add about 9 KB to your kernel.
990
991 See <file:Documentation/mtrr.txt> for more information.
992
993config EFI
994 bool "Boot from EFI support"
995 depends on X86_32 && ACPI
996 default n
997 ---help---
998 This enables the kernel to boot on EFI platforms using
999 system configuration information passed to it from the firmware.
1000 This also enables the kernel to use any EFI runtime services that are
1001 available (such as the EFI variable services).
1002
1003 This option is only useful on systems that have EFI firmware
1004 and will result in a kernel image that is ~8k larger. In addition,
1005 you must use the latest ELILO loader available at
1006 <http://elilo.sourceforge.net> in order to take advantage of
1007 kernel initialization using EFI information (neither GRUB nor LILO know
1008 anything about EFI). However, even with this option, the resultant
1009 kernel should continue to boot on existing non-EFI platforms.
1010
1011config IRQBALANCE
1012 bool "Enable kernel irq balancing"
1013 depends on X86_32 && SMP && X86_IO_APIC
1014 default y
1015 help
1016 The default yes will allow the kernel to do irq load balancing.
1017 Saying no will keep the kernel from doing irq load balancing.
1018
1019# turning this on wastes a bunch of space.
1020# Summit needs it only when NUMA is on
1021config BOOT_IOREMAP
1022 bool
1023 depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))
1024 default y
1025
1026config SECCOMP
1027 bool "Enable seccomp to safely compute untrusted bytecode"
1028 depends on PROC_FS
1029 default y
1030 help
1031 This kernel feature is useful for number crunching applications
1032 that may need to compute untrusted bytecode during their
1033 execution. By using pipes or other transports made available to
1034 the process as file descriptors supporting the read/write
1035 syscalls, it's possible to isolate those applications in
1036 their own address space using seccomp. Once seccomp is
1037 enabled via /proc/<pid>/seccomp, it cannot be disabled
1038 and the task is only allowed to execute a few safe syscalls
1039 defined by each seccomp mode.
1040
1041 If unsure, say Y. Only embedded should say N here.
1042
1043config CC_STACKPROTECTOR
1044 bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
1045 depends on X86_64 && EXPERIMENTAL
1046 help
1047 This option turns on the -fstack-protector GCC feature. This
1048 feature puts, at the beginning of critical functions, a canary
1049 value on the stack just before the return address, and validates
1050 the value just before actually returning. Stack based buffer
1051 overflows (that need to overwrite this return address) now also
1052 overwrite the canary, which gets detected and the attack is then
1053 neutralized via a kernel panic.
1054
1055 This feature requires gcc version 4.2 or above, or a distribution
1056 gcc with the feature backported. Older versions are automatically
1057 detected and for those versions, this configuration option is ignored.
1058
1059config CC_STACKPROTECTOR_ALL
1060 bool "Use stack-protector for all functions"
1061 depends on CC_STACKPROTECTOR
1062 help
1063 Normally, GCC only inserts the canary value protection for
1064 functions that use large-ish on-stack buffers. By enabling
1065 this option, GCC will be asked to do this for ALL functions.
1066
1067source kernel/Kconfig.hz
1068
1069config KEXEC
1070 bool "kexec system call"
1071 help
1072 kexec is a system call that implements the ability to shutdown your
1073 current kernel, and to start another kernel. It is like a reboot
1074 but it is independent of the system firmware. And like a reboot
1075 you can start any kernel with it, not just Linux.
1076
1077 The name comes from the similarity to the exec system call.
1078
1079 It is an ongoing process to be certain the hardware in a machine
1080 is properly shutdown, so do not be surprised if this code does not
1081 initially work for you. It may help to enable device hotplugging
1082 support. As of this writing the exact hardware interface is
1083 strongly in flux, so no good recommendation can be made.
1084
1085config CRASH_DUMP
1086 bool "kernel crash dumps (EXPERIMENTAL)"
1087 depends on EXPERIMENTAL
1088 depends on X86_64 || (X86_32 && HIGHMEM)
1089 help
1090 Generate crash dump after being started by kexec.
1091 This should be normally only set in special crash dump kernels
1092 which are loaded in the main kernel with kexec-tools into
1093 a specially reserved region and then later executed after
1094 a crash by kdump/kexec. The crash dump kernel must be compiled
1095 to a memory address not used by the main kernel or BIOS using
1096 PHYSICAL_START, or it must be built as a relocatable image
1097 (CONFIG_RELOCATABLE=y).
1098 For more details see Documentation/kdump/kdump.txt
1099
1100config PHYSICAL_START
1101 hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
1102 default "0x1000000" if X86_NUMAQ
1103 default "0x200000" if X86_64
1104 default "0x100000"
1105 help
1106 This gives the physical address where the kernel is loaded.
1107
1108 If kernel is a not relocatable (CONFIG_RELOCATABLE=n) then
1109 bzImage will decompress itself to above physical address and
1110 run from there. Otherwise, bzImage will run from the address where
1111 it has been loaded by the boot loader and will ignore above physical
1112 address.
1113
1114 In normal kdump cases one does not have to set/change this option
1115 as now bzImage can be compiled as a completely relocatable image
1116 (CONFIG_RELOCATABLE=y) and be used to load and run from a different
1117 address. This option is mainly useful for the folks who don't want
1118 to use a bzImage for capturing the crash dump and want to use a
1119 vmlinux instead. vmlinux is not relocatable hence a kernel needs
1120 to be specifically compiled to run from a specific memory area
1121 (normally a reserved region) and this option comes handy.
1122
1123 So if you are using bzImage for capturing the crash dump, leave
1124 the value here unchanged to 0x100000 and set CONFIG_RELOCATABLE=y.
1125 Otherwise if you plan to use vmlinux for capturing the crash dump
1126 change this value to start of the reserved region (Typically 16MB
1127 0x1000000). In other words, it can be set based on the "X" value as
1128 specified in the "crashkernel=YM@XM" command line boot parameter
1129 passed to the panic-ed kernel. Typically this parameter is set as
1130 crashkernel=64M@16M. Please take a look at
1131 Documentation/kdump/kdump.txt for more details about crash dumps.
1132
1133 Usage of bzImage for capturing the crash dump is recommended as
1134 one does not have to build two kernels. Same kernel can be used
1135 as production kernel and capture kernel. Above option should have
1136 gone away after relocatable bzImage support is introduced. But it
1137 is present because there are users out there who continue to use
1138 vmlinux for dump capture. This option should go away down the
1139 line.
1140
1141 Don't change this unless you know what you are doing.
1142
1143config RELOCATABLE
1144 bool "Build a relocatable kernel (EXPERIMENTAL)"
1145 depends on EXPERIMENTAL
1146 help
1147 This builds a kernel image that retains relocation information
1148 so it can be loaded someplace besides the default 1MB.
1149 The relocations tend to make the kernel binary about 10% larger,
1150 but are discarded at runtime.
1151
1152 One use is for the kexec on panic case where the recovery kernel
1153 must live at a different physical address than the primary
1154 kernel.
1155
1156 Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
1157 it has been loaded at and the compile time physical address
1158 (CONFIG_PHYSICAL_START) is ignored.
1159
1160config PHYSICAL_ALIGN
1161 hex
1162 prompt "Alignment value to which kernel should be aligned" if X86_32
1163 default "0x100000" if X86_32
1164 default "0x200000" if X86_64
1165 range 0x2000 0x400000
1166 help
1167 This value puts the alignment restrictions on physical address
1168 where kernel is loaded and run from. Kernel is compiled for an
1169 address which meets above alignment restriction.
1170
1171 If bootloader loads the kernel at a non-aligned address and
1172 CONFIG_RELOCATABLE is set, kernel will move itself to nearest
1173 address aligned to above value and run from there.
1174
1175 If bootloader loads the kernel at a non-aligned address and
1176 CONFIG_RELOCATABLE is not set, kernel will ignore the run time
1177 load address and decompress itself to the address it has been
1178 compiled for and run from there. The address for which kernel is
1179 compiled already meets above alignment restrictions. Hence the
1180 end result is that kernel runs from a physical address meeting
1181 above alignment restrictions.
1182
1183 Don't change this unless you know what you are doing.
1184
1185config HOTPLUG_CPU
1186 bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
1187 depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER
1188 ---help---
1189 Say Y here to experiment with turning CPUs off and on, and to
1190 enable suspend on SMP systems. CPUs can be controlled through
1191 /sys/devices/system/cpu.
1192 Say N if you want to disable CPU hotplug and don't need to
1193 suspend.
1194
1195config COMPAT_VDSO
1196 bool "Compat VDSO support"
1197 default y
af65d648 1198 depends on X86_32 || IA32_EMULATION
506f1d07 1199 help
af65d648 1200 Map the 32-bit VDSO to the predictable old-style address too.
506f1d07
SR
1201 ---help---
1202 Say N here if you are running a sufficiently recent glibc
1203 version (2.3.3 or later), to remove the high-mapped
1204 VDSO mapping and to exclusively use the randomized VDSO.
1205
1206 If unsure, say Y.
1207
1208endmenu
1209
1210config ARCH_ENABLE_MEMORY_HOTPLUG
1211 def_bool y
1212 depends on X86_64 || (X86_32 && HIGHMEM)
1213
506f1d07
SR
1214config HAVE_ARCH_EARLY_PFN_TO_NID
1215 def_bool X86_64
1216 depends on NUMA
1217
e279b6c1
SR
1218menu "Power management options"
1219 depends on !X86_VOYAGER
1220
1221config ARCH_HIBERNATION_HEADER
1222 bool
1223 depends on X86_64 && HIBERNATION
1224 default y
1225
1226source "kernel/power/Kconfig"
1227
1228source "drivers/acpi/Kconfig"
1229
1230menuconfig APM
1231 tristate "APM (Advanced Power Management) BIOS support"
1232 depends on X86_32 && PM_SLEEP && !X86_VISWS
1233 ---help---
1234 APM is a BIOS specification for saving power using several different
1235 techniques. This is mostly useful for battery powered laptops with
1236 APM compliant BIOSes. If you say Y here, the system time will be
1237 reset after a RESUME operation, the /proc/apm device will provide
1238 battery status information, and user-space programs will receive
1239 notification of APM "events" (e.g. battery status change).
1240
1241 If you select "Y" here, you can disable actual use of the APM
1242 BIOS by passing the "apm=off" option to the kernel at boot time.
1243
1244 Note that the APM support is almost completely disabled for
1245 machines with more than one CPU.
1246
1247 In order to use APM, you will need supporting software. For location
1248 and more information, read <file:Documentation/pm.txt> and the
1249 Battery Powered Linux mini-HOWTO, available from
1250 <http://www.tldp.org/docs.html#howto>.
1251
1252 This driver does not spin down disk drives (see the hdparm(8)
1253 manpage ("man 8 hdparm") for that), and it doesn't turn off
1254 VESA-compliant "green" monitors.
1255
1256 This driver does not support the TI 4000M TravelMate and the ACER
1257 486/DX4/75 because they don't have compliant BIOSes. Many "green"
1258 desktop machines also don't have compliant BIOSes, and this driver
1259 may cause those machines to panic during the boot phase.
1260
1261 Generally, if you don't have a battery in your machine, there isn't
1262 much point in using this driver and you should say N. If you get
1263 random kernel OOPSes or reboots that don't seem to be related to
1264 anything, try disabling/enabling this option (or disabling/enabling
1265 APM in your BIOS).
1266
1267 Some other things you should try when experiencing seemingly random,
1268 "weird" problems:
1269
1270 1) make sure that you have enough swap space and that it is
1271 enabled.
1272 2) pass the "no-hlt" option to the kernel
1273 3) switch on floating point emulation in the kernel and pass
1274 the "no387" option to the kernel
1275 4) pass the "floppy=nodma" option to the kernel
1276 5) pass the "mem=4M" option to the kernel (thereby disabling
1277 all but the first 4 MB of RAM)
1278 6) make sure that the CPU is not over clocked.
1279 7) read the sig11 FAQ at <http://www.bitwizard.nl/sig11/>
1280 8) disable the cache from your BIOS settings
1281 9) install a fan for the video card or exchange video RAM
1282 10) install a better fan for the CPU
1283 11) exchange RAM chips
1284 12) exchange the motherboard.
1285
1286 To compile this driver as a module, choose M here: the
1287 module will be called apm.
1288
1289if APM
1290
1291config APM_IGNORE_USER_SUSPEND
1292 bool "Ignore USER SUSPEND"
1293 help
1294 This option will ignore USER SUSPEND requests. On machines with a
1295 compliant APM BIOS, you want to say N. However, on the NEC Versa M
1296 series notebooks, it is necessary to say Y because of a BIOS bug.
1297
1298config APM_DO_ENABLE
1299 bool "Enable PM at boot time"
1300 ---help---
1301 Enable APM features at boot time. From page 36 of the APM BIOS
1302 specification: "When disabled, the APM BIOS does not automatically
1303 power manage devices, enter the Standby State, enter the Suspend
1304 State, or take power saving steps in response to CPU Idle calls."
1305 This driver will make CPU Idle calls when Linux is idle (unless this
1306 feature is turned off -- see "Do CPU IDLE calls", below). This
1307 should always save battery power, but more complicated APM features
1308 will be dependent on your BIOS implementation. You may need to turn
1309 this option off if your computer hangs at boot time when using APM
1310 support, or if it beeps continuously instead of suspending. Turn
1311 this off if you have a NEC UltraLite Versa 33/C or a Toshiba
1312 T400CDT. This is off by default since most machines do fine without
1313 this feature.
1314
1315config APM_CPU_IDLE
1316 bool "Make CPU Idle calls when idle"
1317 help
1318 Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
1319 On some machines, this can activate improved power savings, such as
1320 a slowed CPU clock rate, when the machine is idle. These idle calls
1321 are made after the idle loop has run for some length of time (e.g.,
1322 333 mS). On some machines, this will cause a hang at boot time or
1323 whenever the CPU becomes idle. (On machines with more than one CPU,
1324 this option does nothing.)
1325
1326config APM_DISPLAY_BLANK
1327 bool "Enable console blanking using APM"
1328 help
1329 Enable console blanking using the APM. Some laptops can use this to
1330 turn off the LCD backlight when the screen blanker of the Linux
1331 virtual console blanks the screen. Note that this is only used by
1332 the virtual console screen blanker, and won't turn off the backlight
1333 when using the X Window system. This also doesn't have anything to
1334 do with your VESA-compliant power-saving monitor. Further, this
1335 option doesn't work for all laptops -- it might not turn off your
1336 backlight at all, or it might print a lot of errors to the console,
1337 especially if you are using gpm.
1338
1339config APM_ALLOW_INTS
1340 bool "Allow interrupts during APM BIOS calls"
1341 help
1342 Normally we disable external interrupts while we are making calls to
1343 the APM BIOS as a measure to lessen the effects of a badly behaving
1344 BIOS implementation. The BIOS should reenable interrupts if it
1345 needs to. Unfortunately, some BIOSes do not -- especially those in
1346 many of the newer IBM Thinkpads. If you experience hangs when you
1347 suspend, try setting this to Y. Otherwise, say N.
1348
1349config APM_REAL_MODE_POWER_OFF
1350 bool "Use real mode APM BIOS call to power off"
1351 help
1352 Use real mode APM BIOS calls to switch off the computer. This is
1353 a work-around for a number of buggy BIOSes. Switch this option on if
1354 your computer crashes instead of powering off properly.
1355
1356endif # APM
1357
1358source "arch/x86/kernel/cpu/cpufreq/Kconfig"
1359
1360source "drivers/cpuidle/Kconfig"
1361
1362endmenu
1363
1364
1365menu "Bus options (PCI etc.)"
1366
1367config PCI
1368 bool "PCI support" if !X86_VISWS
1369 depends on !X86_VOYAGER
1370 default y if X86_VISWS
1371 select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
1372 help
1373 Find out whether you have a PCI motherboard. PCI is the name of a
1374 bus system, i.e. the way the CPU talks to the other stuff inside
1375 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1376 VESA. If you have PCI, say Y, otherwise N.
1377
1378 The PCI-HOWTO, available from
1379 <http://www.tldp.org/docs.html#howto>, contains valuable
1380 information about which PCI hardware does work under Linux and which
1381 doesn't.
1382
1383choice
1384 prompt "PCI access mode"
1385 depends on X86_32 && PCI && !X86_VISWS
1386 default PCI_GOANY
1387 ---help---
1388 On PCI systems, the BIOS can be used to detect the PCI devices and
1389 determine their configuration. However, some old PCI motherboards
1390 have BIOS bugs and may crash if this is done. Also, some embedded
1391 PCI-based systems don't have any BIOS at all. Linux can also try to
1392 detect the PCI hardware directly without using the BIOS.
1393
1394 With this option, you can specify how Linux should detect the
1395 PCI devices. If you choose "BIOS", the BIOS will be used,
1396 if you choose "Direct", the BIOS won't be used, and if you
1397 choose "MMConfig", then PCI Express MMCONFIG will be used.
1398 If you choose "Any", the kernel will try MMCONFIG, then the
1399 direct access method and falls back to the BIOS if that doesn't
1400 work. If unsure, go with the default, which is "Any".
1401
1402config PCI_GOBIOS
1403 bool "BIOS"
1404
1405config PCI_GOMMCONFIG
1406 bool "MMConfig"
1407
1408config PCI_GODIRECT
1409 bool "Direct"
1410
1411config PCI_GOANY
1412 bool "Any"
1413
1414endchoice
1415
1416config PCI_BIOS
1417 bool
1418 depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY)
1419 default y
1420
1421# x86-64 doesn't support PCI BIOS access from long mode so always go direct.
1422config PCI_DIRECT
1423 bool
1424 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS)
1425 default y
1426
1427config PCI_MMCONFIG
1428 bool
1429 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY)
1430 default y
1431
1432config PCI_DOMAINS
1433 bool
1434 depends on PCI
1435 default y
1436
1437config PCI_MMCONFIG
1438 bool "Support mmconfig PCI config space access"
1439 depends on X86_64 && PCI && ACPI
1440
1441config DMAR
1442 bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
1443 depends on X86_64 && PCI_MSI && ACPI && EXPERIMENTAL
1444 help
1445 DMA remapping (DMAR) devices support enables independent address
1446 translations for Direct Memory Access (DMA) from devices.
1447 These DMA remapping devices are reported via ACPI tables
1448 and include PCI device scope covered by these DMA
1449 remapping devices.
1450
1451config DMAR_GFX_WA
1452 bool "Support for Graphics workaround"
1453 depends on DMAR
1454 default y
1455 help
1456 Current Graphics drivers tend to use physical address
1457 for DMA and avoid using DMA APIs. Setting this config
1458 option permits the IOMMU driver to set a unity map for
1459 all the OS-visible memory. Hence the driver can continue
1460 to use physical addresses for DMA.
1461
1462config DMAR_FLOPPY_WA
1463 bool
1464 depends on DMAR
1465 default y
1466 help
1467 Floppy disk drivers are know to bypass DMA API calls
1468 thereby failing to work when IOMMU is enabled. This
1469 workaround will setup a 1:1 mapping for the first
1470 16M to make floppy (an ISA device) work.
1471
1472source "drivers/pci/pcie/Kconfig"
1473
1474source "drivers/pci/Kconfig"
1475
1476# x86_64 have no ISA slots, but do have ISA-style DMA.
1477config ISA_DMA_API
1478 bool
1479 default y
1480
1481if X86_32
1482
1483config ISA
1484 bool "ISA support"
1485 depends on !(X86_VOYAGER || X86_VISWS)
1486 help
1487 Find out whether you have ISA slots on your motherboard. ISA is the
1488 name of a bus system, i.e. the way the CPU talks to the other stuff
1489 inside your box. Other bus systems are PCI, EISA, MicroChannel
1490 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
1491 newer boards don't support it. If you have ISA, say Y, otherwise N.
1492
1493config EISA
1494 bool "EISA support"
1495 depends on ISA
1496 ---help---
1497 The Extended Industry Standard Architecture (EISA) bus was
1498 developed as an open alternative to the IBM MicroChannel bus.
1499
1500 The EISA bus provided some of the features of the IBM MicroChannel
1501 bus while maintaining backward compatibility with cards made for
1502 the older ISA bus. The EISA bus saw limited use between 1988 and
1503 1995 when it was made obsolete by the PCI bus.
1504
1505 Say Y here if you are building a kernel for an EISA-based machine.
1506
1507 Otherwise, say N.
1508
1509source "drivers/eisa/Kconfig"
1510
1511config MCA
1512 bool "MCA support" if !(X86_VISWS || X86_VOYAGER)
1513 default y if X86_VOYAGER
1514 help
1515 MicroChannel Architecture is found in some IBM PS/2 machines and
1516 laptops. It is a bus system similar to PCI or ISA. See
1517 <file:Documentation/mca.txt> (and especially the web page given
1518 there) before attempting to build an MCA bus kernel.
1519
1520source "drivers/mca/Kconfig"
1521
1522config SCx200
1523 tristate "NatSemi SCx200 support"
1524 depends on !X86_VOYAGER
1525 help
1526 This provides basic support for National Semiconductor's
1527 (now AMD's) Geode processors. The driver probes for the
1528 PCI-IDs of several on-chip devices, so its a good dependency
1529 for other scx200_* drivers.
1530
1531 If compiled as a module, the driver is named scx200.
1532
1533config SCx200HR_TIMER
1534 tristate "NatSemi SCx200 27MHz High-Resolution Timer Support"
1535 depends on SCx200 && GENERIC_TIME
1536 default y
1537 help
1538 This driver provides a clocksource built upon the on-chip
1539 27MHz high-resolution timer. Its also a workaround for
1540 NSC Geode SC-1100's buggy TSC, which loses time when the
1541 processor goes idle (as is done by the scheduler). The
1542 other workaround is idle=poll boot option.
1543
1544config GEODE_MFGPT_TIMER
1545 bool "Geode Multi-Function General Purpose Timer (MFGPT) events"
1546 depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS
1547 default y
1548 help
1549 This driver provides a clock event source based on the MFGPT
1550 timer(s) in the CS5535 and CS5536 companion chip for the geode.
1551 MFGPTs have a better resolution and max interval than the
1552 generic PIT, and are suitable for use as high-res timers.
1553
bc0120fd
SR
1554endif # X86_32
1555
e279b6c1
SR
1556config K8_NB
1557 def_bool y
bc0120fd 1558 depends on AGP_AMD64 || (X86_64 && (GART_IOMMU || (PCI && NUMA)))
e279b6c1
SR
1559
1560source "drivers/pcmcia/Kconfig"
1561
1562source "drivers/pci/hotplug/Kconfig"
1563
1564endmenu
1565
1566
1567menu "Executable file formats / Emulations"
1568
1569source "fs/Kconfig.binfmt"
1570
1571config IA32_EMULATION
1572 bool "IA32 Emulation"
1573 depends on X86_64
1574 help
1575 Include code to run 32-bit programs under a 64-bit kernel. You should
1576 likely turn this on, unless you're 100% sure that you don't have any
1577 32-bit programs left.
1578
1579config IA32_AOUT
1580 tristate "IA32 a.out support"
1581 depends on IA32_EMULATION
1582 help
1583 Support old a.out binaries in the 32bit emulation.
1584
1585config COMPAT
1586 bool
1587 depends on IA32_EMULATION
1588 default y
1589
1590config COMPAT_FOR_U64_ALIGNMENT
1591 def_bool COMPAT
1592 depends on X86_64
1593
1594config SYSVIPC_COMPAT
1595 bool
1596 depends on X86_64 && COMPAT && SYSVIPC
1597 default y
1598
1599endmenu
1600
1601
1602source "net/Kconfig"
1603
1604source "drivers/Kconfig"
1605
1606source "drivers/firmware/Kconfig"
1607
1608source "fs/Kconfig"
1609
1610source "kernel/Kconfig.instrumentation"
1611
1612source "arch/x86/Kconfig.debug"
1613
1614source "security/Kconfig"
1615
1616source "crypto/Kconfig"
1617
1618source "lib/Kconfig"
This page took 0.158784 seconds and 5 git commands to generate.