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