Kconfig 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Linux Kernel Configuration"
  6. config X86_32
  7. bool
  8. default y
  9. help
  10. This is Linux's home port. Linux was originally native to the Intel
  11. 386, and runs on all the later x86 processors including the Intel
  12. 486, 586, Pentiums, and various instruction-set-compatible chips by
  13. AMD, Cyrix, and others.
  14. config SEMAPHORE_SLEEPERS
  15. bool
  16. default y
  17. config X86
  18. bool
  19. default y
  20. config MMU
  21. bool
  22. default y
  23. config SBUS
  24. bool
  25. config GENERIC_ISA_DMA
  26. bool
  27. default y
  28. config GENERIC_IOMAP
  29. bool
  30. default y
  31. config ARCH_MAY_HAVE_PC_FDC
  32. bool
  33. default y
  34. source "init/Kconfig"
  35. menu "Processor type and features"
  36. choice
  37. prompt "Subarchitecture Type"
  38. default X86_PC
  39. config X86_PC
  40. bool "PC-compatible"
  41. help
  42. Choose this option if your computer is a standard PC or compatible.
  43. config X86_ELAN
  44. bool "AMD Elan"
  45. help
  46. Select this for an AMD Elan processor.
  47. Do not use this option for K6/Athlon/Opteron processors!
  48. If unsure, choose "PC-compatible" instead.
  49. config X86_VOYAGER
  50. bool "Voyager (NCR)"
  51. help
  52. Voyager is an MCA-based 32-way capable SMP architecture proprietary
  53. to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based.
  54. *** WARNING ***
  55. If you do not specifically know you have a Voyager based machine,
  56. say N here, otherwise the kernel you build will not be bootable.
  57. config X86_NUMAQ
  58. bool "NUMAQ (IBM/Sequent)"
  59. select NUMA
  60. help
  61. This option is used for getting Linux to run on a (IBM/Sequent) NUMA
  62. multiquad box. This changes the way that processors are bootstrapped,
  63. and uses Clustered Logical APIC addressing mode instead of Flat Logical.
  64. You will need a new lynxer.elf file to flash your firmware with - send
  65. email to <Martin.Bligh@us.ibm.com>.
  66. config X86_SUMMIT
  67. bool "Summit/EXA (IBM x440)"
  68. depends on SMP
  69. help
  70. This option is needed for IBM systems that use the Summit/EXA chipset.
  71. In particular, it is needed for the x440.
  72. If you don't have one of these computers, you should say N here.
  73. config X86_BIGSMP
  74. bool "Support for other sub-arch SMP systems with more than 8 CPUs"
  75. depends on SMP
  76. help
  77. This option is needed for the systems that have more than 8 CPUs
  78. and if the system is not of any sub-arch type above.
  79. If you don't have such a system, you should say N here.
  80. config X86_VISWS
  81. bool "SGI 320/540 (Visual Workstation)"
  82. help
  83. The SGI Visual Workstation series is an IA32-based workstation
  84. based on SGI systems chips with some legacy PC hardware attached.
  85. Say Y here to create a kernel to run on the SGI 320 or 540.
  86. A kernel compiled for the Visual Workstation will not run on PCs
  87. and vice versa. See <file:Documentation/sgi-visws.txt> for details.
  88. config X86_GENERICARCH
  89. bool "Generic architecture (Summit, bigsmp, ES7000, default)"
  90. depends on SMP
  91. help
  92. This option compiles in the Summit, bigsmp, ES7000, default subarchitectures.
  93. It is intended for a generic binary kernel.
  94. config X86_ES7000
  95. bool "Support for Unisys ES7000 IA32 series"
  96. depends on SMP
  97. help
  98. Support for Unisys ES7000 systems. Say 'Y' here if this kernel is
  99. supposed to run on an IA32-based Unisys ES7000 system.
  100. Only choose this option if you have such a system, otherwise you
  101. should say N here.
  102. endchoice
  103. config ACPI_SRAT
  104. bool
  105. default y
  106. depends on NUMA && (X86_SUMMIT || X86_GENERICARCH)
  107. config X86_SUMMIT_NUMA
  108. bool
  109. default y
  110. depends on NUMA && (X86_SUMMIT || X86_GENERICARCH)
  111. config X86_CYCLONE_TIMER
  112. bool
  113. default y
  114. depends on X86_SUMMIT || X86_GENERICARCH
  115. config ES7000_CLUSTERED_APIC
  116. bool
  117. default y
  118. depends on SMP && X86_ES7000 && MPENTIUMIII
  119. source "arch/i386/Kconfig.cpu"
  120. config HPET_TIMER
  121. bool "HPET Timer Support"
  122. help
  123. This enables the use of the HPET for the kernel's internal timer.
  124. HPET is the next generation timer replacing legacy 8254s.
  125. You can safely choose Y here. However, HPET will only be
  126. activated if the platform and the BIOS support this feature.
  127. Otherwise the 8254 will be used for timing services.
  128. Choose N to continue using the legacy 8254 timer.
  129. config HPET_EMULATE_RTC
  130. bool
  131. depends on HPET_TIMER && RTC=y
  132. default y
  133. config SMP
  134. bool "Symmetric multi-processing support"
  135. ---help---
  136. This enables support for systems with more than one CPU. If you have
  137. a system with only one CPU, like most personal computers, say N. If
  138. you have a system with more than one CPU, say Y.
  139. If you say N here, the kernel will run on single and multiprocessor
  140. machines, but will use only one CPU of a multiprocessor machine. If
  141. you say Y here, the kernel will run on many, but not all,
  142. singleprocessor machines. On a singleprocessor machine, the kernel
  143. will run faster if you say N here.
  144. Note that if you say Y here and choose architecture "586" or
  145. "Pentium" under "Processor family", the kernel will not work on 486
  146. architectures. Similarly, multiprocessor kernels for the "PPro"
  147. architecture may not work on all Pentium based boards.
  148. People using multiprocessor machines who say Y here should also say
  149. Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
  150. Management" code will be disabled if you say Y here.
  151. See also the <file:Documentation/smp.txt>,
  152. <file:Documentation/i386/IO-APIC.txt>,
  153. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
  154. <http://www.tldp.org/docs.html#howto>.
  155. If you don't know what to do here, say N.
  156. config NR_CPUS
  157. int "Maximum number of CPUs (2-255)"
  158. range 2 255
  159. depends on SMP
  160. default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
  161. default "8"
  162. help
  163. This allows you to specify the maximum number of CPUs which this
  164. kernel will support. The maximum supported value is 255 and the
  165. minimum value which makes sense is 2.
  166. This is purely to save memory - each supported CPU adds
  167. approximately eight kilobytes to the kernel image.
  168. config SCHED_SMT
  169. bool "SMT (Hyperthreading) scheduler support"
  170. depends on SMP
  171. default off
  172. help
  173. SMT scheduler support improves the CPU scheduler's decision making
  174. when dealing with Intel Pentium 4 chips with HyperThreading at a
  175. cost of slightly increased overhead in some places. If unsure say
  176. N here.
  177. source "kernel/Kconfig.preempt"
  178. config X86_UP_APIC
  179. bool "Local APIC support on uniprocessors"
  180. depends on !SMP && !(X86_VISWS || X86_VOYAGER)
  181. help
  182. A local APIC (Advanced Programmable Interrupt Controller) is an
  183. integrated interrupt controller in the CPU. If you have a single-CPU
  184. system which has a processor with a local APIC, you can say Y here to
  185. enable and use it. If you say Y here even though your machine doesn't
  186. have a local APIC, then the kernel will still run with no slowdown at
  187. all. The local APIC supports CPU-generated self-interrupts (timer,
  188. performance counters), and the NMI watchdog which detects hard
  189. lockups.
  190. config X86_UP_IOAPIC
  191. bool "IO-APIC support on uniprocessors"
  192. depends on X86_UP_APIC
  193. help
  194. An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an
  195. SMP-capable replacement for PC-style interrupt controllers. Most
  196. SMP systems and many recent uniprocessor systems have one.
  197. If you have a single-CPU system with an IO-APIC, you can say Y here
  198. to use it. If you say Y here even though your machine doesn't have
  199. an IO-APIC, then the kernel will still run with no slowdown at all.
  200. config X86_LOCAL_APIC
  201. bool
  202. depends on X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER)
  203. default y
  204. config X86_IO_APIC
  205. bool
  206. depends on X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER))
  207. default y
  208. config X86_VISWS_APIC
  209. bool
  210. depends on X86_VISWS
  211. default y
  212. config X86_MCE
  213. bool "Machine Check Exception"
  214. depends on !X86_VOYAGER
  215. ---help---
  216. Machine Check Exception support allows the processor to notify the
  217. kernel if it detects a problem (e.g. overheating, component failure).
  218. The action the kernel takes depends on the severity of the problem,
  219. ranging from a warning message on the console, to halting the machine.
  220. Your processor must be a Pentium or newer to support this - check the
  221. flags in /proc/cpuinfo for mce. Note that some older Pentium systems
  222. have a design flaw which leads to false MCE events - hence MCE is
  223. disabled on all P5 processors, unless explicitly enabled with "mce"
  224. as a boot argument. Similarly, if MCE is built in and creates a
  225. problem on some new non-standard machine, you can boot with "nomce"
  226. to disable it. MCE support simply ignores non-MCE processors like
  227. the 386 and 486, so nearly everyone can say Y here.
  228. config X86_MCE_NONFATAL
  229. tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
  230. depends on X86_MCE
  231. help
  232. Enabling this feature starts a timer that triggers every 5 seconds which
  233. will look at the machine check registers to see if anything happened.
  234. Non-fatal problems automatically get corrected (but still logged).
  235. Disable this if you don't want to see these messages.
  236. Seeing the messages this option prints out may be indicative of dying hardware,
  237. or out-of-spec (ie, overclocked) hardware.
  238. This option only does something on certain CPUs.
  239. (AMD Athlon/Duron and Intel Pentium 4)
  240. config X86_MCE_P4THERMAL
  241. bool "check for P4 thermal throttling interrupt."
  242. depends on X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS
  243. help
  244. Enabling this feature will cause a message to be printed when the P4
  245. enters thermal throttling.
  246. config TOSHIBA
  247. tristate "Toshiba Laptop support"
  248. ---help---
  249. This adds a driver to safely access the System Management Mode of
  250. the CPU on Toshiba portables with a genuine Toshiba BIOS. It does
  251. not work on models with a Phoenix BIOS. The System Management Mode
  252. is used to set the BIOS and power saving options on Toshiba portables.
  253. For information on utilities to make use of this driver see the
  254. Toshiba Linux utilities web site at:
  255. <http://www.buzzard.org.uk/toshiba/>.
  256. Say Y if you intend to run this kernel on a Toshiba portable.
  257. Say N otherwise.
  258. config I8K
  259. tristate "Dell laptop support"
  260. ---help---
  261. This adds a driver to safely access the System Management Mode
  262. of the CPU on the Dell Inspiron 8000. The System Management Mode
  263. is used to read cpu temperature and cooling fan status and to
  264. control the fans on the I8K portables.
  265. This driver has been tested only on the Inspiron 8000 but it may
  266. also work with other Dell laptops. You can force loading on other
  267. models by passing the parameter `force=1' to the module. Use at
  268. your own risk.
  269. For information on utilities to make use of this driver see the
  270. I8K Linux utilities web site at:
  271. <http://people.debian.org/~dz/i8k/>
  272. Say Y if you intend to run this kernel on a Dell Inspiron 8000.
  273. Say N otherwise.
  274. config X86_REBOOTFIXUPS
  275. bool "Enable X86 board specific fixups for reboot"
  276. depends on X86
  277. default n
  278. ---help---
  279. This enables chipset and/or board specific fixups to be done
  280. in order to get reboot to work correctly. This is only needed on
  281. some combinations of hardware and BIOS. The symptom, for which
  282. this config is intended, is when reboot ends with a stalled/hung
  283. system.
  284. Currently, the only fixup is for the Geode GX1/CS5530A/TROM2.1.
  285. combination.
  286. Say Y if you want to enable the fixup. Currently, it's safe to
  287. enable this option even if you don't need it.
  288. Say N otherwise.
  289. config MICROCODE
  290. tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
  291. ---help---
  292. If you say Y here and also to "/dev file system support" in the
  293. 'File systems' section, you will be able to update the microcode on
  294. Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,
  295. Pentium III, Pentium 4, Xeon etc. You will obviously need the
  296. actual microcode binary data itself which is not shipped with the
  297. Linux kernel.
  298. For latest news and information on obtaining all the required
  299. ingredients for this driver, check:
  300. <http://www.urbanmyth.org/microcode/>.
  301. To compile this driver as a module, choose M here: the
  302. module will be called microcode.
  303. config X86_MSR
  304. tristate "/dev/cpu/*/msr - Model-specific register support"
  305. help
  306. This device gives privileged processes access to the x86
  307. Model-Specific Registers (MSRs). It is a character device with
  308. major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
  309. MSR accesses are directed to a specific CPU on multi-processor
  310. systems.
  311. config X86_CPUID
  312. tristate "/dev/cpu/*/cpuid - CPU information support"
  313. help
  314. This device gives processes access to the x86 CPUID instruction to
  315. be executed on a specific processor. It is a character device
  316. with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
  317. /dev/cpu/31/cpuid.
  318. source "drivers/firmware/Kconfig"
  319. choice
  320. prompt "High Memory Support"
  321. default NOHIGHMEM
  322. config NOHIGHMEM
  323. bool "off"
  324. ---help---
  325. Linux can use up to 64 Gigabytes of physical memory on x86 systems.
  326. However, the address space of 32-bit x86 processors is only 4
  327. Gigabytes large. That means that, if you have a large amount of
  328. physical memory, not all of it can be "permanently mapped" by the
  329. kernel. The physical memory that's not permanently mapped is called
  330. "high memory".
  331. If you are compiling a kernel which will never run on a machine with
  332. more than 1 Gigabyte total physical RAM, answer "off" here (default
  333. choice and suitable for most users). This will result in a "3GB/1GB"
  334. split: 3GB are mapped so that each process sees a 3GB virtual memory
  335. space and the remaining part of the 4GB virtual memory space is used
  336. by the kernel to permanently map as much physical memory as
  337. possible.
  338. If the machine has between 1 and 4 Gigabytes physical RAM, then
  339. answer "4GB" here.
  340. If more than 4 Gigabytes is used then answer "64GB" here. This
  341. selection turns Intel PAE (Physical Address Extension) mode on.
  342. PAE implements 3-level paging on IA32 processors. PAE is fully
  343. supported by Linux, PAE mode is implemented on all recent Intel
  344. processors (Pentium Pro and better). NOTE: If you say "64GB" here,
  345. then the kernel will not boot on CPUs that don't support PAE!
  346. The actual amount of total physical memory will either be
  347. auto detected or can be forced by using a kernel command line option
  348. such as "mem=256M". (Try "man bootparam" or see the documentation of
  349. your boot loader (lilo or loadlin) about how to pass options to the
  350. kernel at boot time.)
  351. If unsure, say "off".
  352. config HIGHMEM4G
  353. bool "4GB"
  354. help
  355. Select this if you have a 32-bit processor and between 1 and 4
  356. gigabytes of physical RAM.
  357. config HIGHMEM64G
  358. bool "64GB"
  359. help
  360. Select this if you have a 32-bit processor and more than 4
  361. gigabytes of physical RAM.
  362. endchoice
  363. config HIGHMEM
  364. bool
  365. depends on HIGHMEM64G || HIGHMEM4G
  366. default y
  367. config X86_PAE
  368. bool
  369. depends on HIGHMEM64G
  370. default y
  371. # Common NUMA Features
  372. config NUMA
  373. bool "Numa Memory Allocation and Scheduler Support"
  374. depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI))
  375. default n if X86_PC
  376. default y if (X86_NUMAQ || X86_SUMMIT)
  377. # Need comments to help the hapless user trying to turn on NUMA support
  378. comment "NUMA (NUMA-Q) requires SMP, 64GB highmem support"
  379. depends on X86_NUMAQ && (!HIGHMEM64G || !SMP)
  380. comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
  381. depends on X86_SUMMIT && (!HIGHMEM64G || !ACPI)
  382. config HAVE_ARCH_BOOTMEM_NODE
  383. bool
  384. depends on NUMA
  385. default y
  386. config ARCH_HAVE_MEMORY_PRESENT
  387. bool
  388. depends on DISCONTIGMEM
  389. default y
  390. config NEED_NODE_MEMMAP_SIZE
  391. bool
  392. depends on DISCONTIGMEM || SPARSEMEM
  393. default y
  394. config HAVE_ARCH_ALLOC_REMAP
  395. bool
  396. depends on NUMA
  397. default y
  398. config ARCH_FLATMEM_ENABLE
  399. def_bool y
  400. depends on (ARCH_SELECT_MEMORY_MODEL && X86_PC)
  401. config ARCH_DISCONTIGMEM_ENABLE
  402. def_bool y
  403. depends on NUMA
  404. config ARCH_DISCONTIGMEM_DEFAULT
  405. def_bool y
  406. depends on NUMA
  407. config ARCH_SPARSEMEM_ENABLE
  408. def_bool y
  409. depends on (NUMA || (X86_PC && EXPERIMENTAL))
  410. select SPARSEMEM_STATIC
  411. config ARCH_SELECT_MEMORY_MODEL
  412. def_bool y
  413. depends on ARCH_SPARSEMEM_ENABLE
  414. source "mm/Kconfig"
  415. config HAVE_ARCH_EARLY_PFN_TO_NID
  416. bool
  417. default y
  418. depends on NUMA
  419. config HIGHPTE
  420. bool "Allocate 3rd-level pagetables from highmem"
  421. depends on HIGHMEM4G || HIGHMEM64G
  422. help
  423. The VM uses one page table entry for each page of physical memory.
  424. For systems with a lot of RAM, this can be wasteful of precious
  425. low memory. Setting this option will put user-space page table
  426. entries in high memory.
  427. config MATH_EMULATION
  428. bool "Math emulation"
  429. ---help---
  430. Linux can emulate a math coprocessor (used for floating point
  431. operations) if you don't have one. 486DX and Pentium processors have
  432. a math coprocessor built in, 486SX and 386 do not, unless you added
  433. a 487DX or 387, respectively. (The messages during boot time can
  434. give you some hints here ["man dmesg"].) Everyone needs either a
  435. coprocessor or this emulation.
  436. If you don't have a math coprocessor, you need to say Y here; if you
  437. say Y here even though you have a coprocessor, the coprocessor will
  438. be used nevertheless. (This behavior can be changed with the kernel
  439. command line option "no387", which comes handy if your coprocessor
  440. is broken. Try "man bootparam" or see the documentation of your boot
  441. loader (lilo or loadlin) about how to pass options to the kernel at
  442. boot time.) This means that it is a good idea to say Y here if you
  443. intend to use this kernel on different machines.
  444. More information about the internals of the Linux math coprocessor
  445. emulation can be found in <file:arch/i386/math-emu/README>.
  446. If you are not sure, say Y; apart from resulting in a 66 KB bigger
  447. kernel, it won't hurt.
  448. config MTRR
  449. bool "MTRR (Memory Type Range Register) support"
  450. ---help---
  451. On Intel P6 family processors (Pentium Pro, Pentium II and later)
  452. the Memory Type Range Registers (MTRRs) may be used to control
  453. processor access to memory ranges. This is most useful if you have
  454. a video (VGA) card on a PCI or AGP bus. Enabling write-combining
  455. allows bus write transfers to be combined into a larger transfer
  456. before bursting over the PCI/AGP bus. This can increase performance
  457. of image write operations 2.5 times or more. Saying Y here creates a
  458. /proc/mtrr file which may be used to manipulate your processor's
  459. MTRRs. Typically the X server should use this.
  460. This code has a reasonably generic interface so that similar
  461. control registers on other processors can be easily supported
  462. as well:
  463. The Cyrix 6x86, 6x86MX and M II processors have Address Range
  464. Registers (ARRs) which provide a similar functionality to MTRRs. For
  465. these, the ARRs are used to emulate the MTRRs.
  466. The AMD K6-2 (stepping 8 and above) and K6-3 processors have two
  467. MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing
  468. write-combining. All of these processors are supported by this code
  469. and it makes sense to say Y here if you have one of them.
  470. Saying Y here also fixes a problem with buggy SMP BIOSes which only
  471. set the MTRRs for the boot CPU and not for the secondary CPUs. This
  472. can lead to all sorts of problems, so it's good to say Y here.
  473. You can safely say Y even if your machine doesn't have MTRRs, you'll
  474. just add about 9 KB to your kernel.
  475. See <file:Documentation/mtrr.txt> for more information.
  476. config EFI
  477. bool "Boot from EFI support (EXPERIMENTAL)"
  478. depends on ACPI
  479. default n
  480. ---help---
  481. This enables the the kernel to boot on EFI platforms using
  482. system configuration information passed to it from the firmware.
  483. This also enables the kernel to use any EFI runtime services that are
  484. available (such as the EFI variable services).
  485. This option is only useful on systems that have EFI firmware
  486. and will result in a kernel image that is ~8k larger. In addition,
  487. you must use the latest ELILO loader available at
  488. <http://elilo.sourceforge.net> in order to take advantage of
  489. kernel initialization using EFI information (neither GRUB nor LILO know
  490. anything about EFI). However, even with this option, the resultant
  491. kernel should continue to boot on existing non-EFI platforms.
  492. config IRQBALANCE
  493. bool "Enable kernel irq balancing"
  494. depends on SMP && X86_IO_APIC
  495. default y
  496. help
  497. The default yes will allow the kernel to do irq load balancing.
  498. Saying no will keep the kernel from doing irq load balancing.
  499. # turning this on wastes a bunch of space.
  500. # Summit needs it only when NUMA is on
  501. config BOOT_IOREMAP
  502. bool
  503. depends on (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))
  504. default y
  505. config REGPARM
  506. bool "Use register arguments (EXPERIMENTAL)"
  507. depends on EXPERIMENTAL
  508. default n
  509. help
  510. Compile the kernel with -mregparm=3. This uses a different ABI
  511. and passes the first three arguments of a function call in registers.
  512. This will probably break binary only modules.
  513. config SECCOMP
  514. bool "Enable seccomp to safely compute untrusted bytecode"
  515. depends on PROC_FS
  516. default y
  517. help
  518. This kernel feature is useful for number crunching applications
  519. that may need to compute untrusted bytecode during their
  520. execution. By using pipes or other transports made available to
  521. the process as file descriptors supporting the read/write
  522. syscalls, it's possible to isolate those applications in
  523. their own address space using seccomp. Once seccomp is
  524. enabled via /proc/<pid>/seccomp, it cannot be disabled
  525. and the task is only allowed to execute a few safe syscalls
  526. defined by each seccomp mode.
  527. If unsure, say Y. Only embedded should say N here.
  528. source kernel/Kconfig.hz
  529. config KEXEC
  530. bool "kexec system call (EXPERIMENTAL)"
  531. depends on EXPERIMENTAL
  532. help
  533. kexec is a system call that implements the ability to shutdown your
  534. current kernel, and to start another kernel. It is like a reboot
  535. but it is indepedent of the system firmware. And like a reboot
  536. you can start any kernel with it, not just Linux.
  537. The name comes from the similiarity to the exec system call.
  538. It is an ongoing process to be certain the hardware in a machine
  539. is properly shutdown, so do not be surprised if this code does not
  540. initially work for you. It may help to enable device hotplugging
  541. support. As of this writing the exact hardware interface is
  542. strongly in flux, so no good recommendation can be made.
  543. config CRASH_DUMP
  544. bool "kernel crash dumps (EXPERIMENTAL)"
  545. depends on EXPERIMENTAL
  546. depends on HIGHMEM
  547. help
  548. Generate crash dump after being started by kexec.
  549. config PHYSICAL_START
  550. hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
  551. default "0x1000000" if CRASH_DUMP
  552. default "0x100000"
  553. help
  554. This gives the physical address where the kernel is loaded. Normally
  555. for regular kernels this value is 0x100000 (1MB). But in the case
  556. of kexec on panic the fail safe kernel needs to run at a different
  557. address than the panic-ed kernel. This option is used to set the load
  558. address for kernels used to capture crash dump on being kexec'ed
  559. after panic. The default value for crash dump kernels is
  560. 0x1000000 (16MB). This can also be set based on the "X" value as
  561. specified in the "crashkernel=YM@XM" command line boot parameter
  562. passed to the panic-ed kernel. Typically this parameter is set as
  563. crashkernel=64M@16M. Please take a look at
  564. Documentation/kdump/kdump.txt for more details about crash dumps.
  565. Don't change this unless you know what you are doing.
  566. endmenu
  567. menu "Power management options (ACPI, APM)"
  568. depends on !X86_VOYAGER
  569. source kernel/power/Kconfig
  570. source "drivers/acpi/Kconfig"
  571. menu "APM (Advanced Power Management) BIOS Support"
  572. depends on PM && !X86_VISWS
  573. config APM
  574. tristate "APM (Advanced Power Management) BIOS support"
  575. depends on PM
  576. ---help---
  577. APM is a BIOS specification for saving power using several different
  578. techniques. This is mostly useful for battery powered laptops with
  579. APM compliant BIOSes. If you say Y here, the system time will be
  580. reset after a RESUME operation, the /proc/apm device will provide
  581. battery status information, and user-space programs will receive
  582. notification of APM "events" (e.g. battery status change).
  583. If you select "Y" here, you can disable actual use of the APM
  584. BIOS by passing the "apm=off" option to the kernel at boot time.
  585. Note that the APM support is almost completely disabled for
  586. machines with more than one CPU.
  587. In order to use APM, you will need supporting software. For location
  588. and more information, read <file:Documentation/pm.txt> and the
  589. Battery Powered Linux mini-HOWTO, available from
  590. <http://www.tldp.org/docs.html#howto>.
  591. This driver does not spin down disk drives (see the hdparm(8)
  592. manpage ("man 8 hdparm") for that), and it doesn't turn off
  593. VESA-compliant "green" monitors.
  594. This driver does not support the TI 4000M TravelMate and the ACER
  595. 486/DX4/75 because they don't have compliant BIOSes. Many "green"
  596. desktop machines also don't have compliant BIOSes, and this driver
  597. may cause those machines to panic during the boot phase.
  598. Generally, if you don't have a battery in your machine, there isn't
  599. much point in using this driver and you should say N. If you get
  600. random kernel OOPSes or reboots that don't seem to be related to
  601. anything, try disabling/enabling this option (or disabling/enabling
  602. APM in your BIOS).
  603. Some other things you should try when experiencing seemingly random,
  604. "weird" problems:
  605. 1) make sure that you have enough swap space and that it is
  606. enabled.
  607. 2) pass the "no-hlt" option to the kernel
  608. 3) switch on floating point emulation in the kernel and pass
  609. the "no387" option to the kernel
  610. 4) pass the "floppy=nodma" option to the kernel
  611. 5) pass the "mem=4M" option to the kernel (thereby disabling
  612. all but the first 4 MB of RAM)
  613. 6) make sure that the CPU is not over clocked.
  614. 7) read the sig11 FAQ at <http://www.bitwizard.nl/sig11/>
  615. 8) disable the cache from your BIOS settings
  616. 9) install a fan for the video card or exchange video RAM
  617. 10) install a better fan for the CPU
  618. 11) exchange RAM chips
  619. 12) exchange the motherboard.
  620. To compile this driver as a module, choose M here: the
  621. module will be called apm.
  622. config APM_IGNORE_USER_SUSPEND
  623. bool "Ignore USER SUSPEND"
  624. depends on APM
  625. help
  626. This option will ignore USER SUSPEND requests. On machines with a
  627. compliant APM BIOS, you want to say N. However, on the NEC Versa M
  628. series notebooks, it is necessary to say Y because of a BIOS bug.
  629. config APM_DO_ENABLE
  630. bool "Enable PM at boot time"
  631. depends on APM
  632. ---help---
  633. Enable APM features at boot time. From page 36 of the APM BIOS
  634. specification: "When disabled, the APM BIOS does not automatically
  635. power manage devices, enter the Standby State, enter the Suspend
  636. State, or take power saving steps in response to CPU Idle calls."
  637. This driver will make CPU Idle calls when Linux is idle (unless this
  638. feature is turned off -- see "Do CPU IDLE calls", below). This
  639. should always save battery power, but more complicated APM features
  640. will be dependent on your BIOS implementation. You may need to turn
  641. this option off if your computer hangs at boot time when using APM
  642. support, or if it beeps continuously instead of suspending. Turn
  643. this off if you have a NEC UltraLite Versa 33/C or a Toshiba
  644. T400CDT. This is off by default since most machines do fine without
  645. this feature.
  646. config APM_CPU_IDLE
  647. bool "Make CPU Idle calls when idle"
  648. depends on APM
  649. help
  650. Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
  651. On some machines, this can activate improved power savings, such as
  652. a slowed CPU clock rate, when the machine is idle. These idle calls
  653. are made after the idle loop has run for some length of time (e.g.,
  654. 333 mS). On some machines, this will cause a hang at boot time or
  655. whenever the CPU becomes idle. (On machines with more than one CPU,
  656. this option does nothing.)
  657. config APM_DISPLAY_BLANK
  658. bool "Enable console blanking using APM"
  659. depends on APM
  660. help
  661. Enable console blanking using the APM. Some laptops can use this to
  662. turn off the LCD backlight when the screen blanker of the Linux
  663. virtual console blanks the screen. Note that this is only used by
  664. the virtual console screen blanker, and won't turn off the backlight
  665. when using the X Window system. This also doesn't have anything to
  666. do with your VESA-compliant power-saving monitor. Further, this
  667. option doesn't work for all laptops -- it might not turn off your
  668. backlight at all, or it might print a lot of errors to the console,
  669. especially if you are using gpm.
  670. config APM_RTC_IS_GMT
  671. bool "RTC stores time in GMT"
  672. depends on APM
  673. help
  674. Say Y here if your RTC (Real Time Clock a.k.a. hardware clock)
  675. stores the time in GMT (Greenwich Mean Time). Say N if your RTC
  676. stores localtime.
  677. It is in fact recommended to store GMT in your RTC, because then you
  678. don't have to worry about daylight savings time changes. The only
  679. reason not to use GMT in your RTC is if you also run a broken OS
  680. that doesn't understand GMT.
  681. config APM_ALLOW_INTS
  682. bool "Allow interrupts during APM BIOS calls"
  683. depends on APM
  684. help
  685. Normally we disable external interrupts while we are making calls to
  686. the APM BIOS as a measure to lessen the effects of a badly behaving
  687. BIOS implementation. The BIOS should reenable interrupts if it
  688. needs to. Unfortunately, some BIOSes do not -- especially those in
  689. many of the newer IBM Thinkpads. If you experience hangs when you
  690. suspend, try setting this to Y. Otherwise, say N.
  691. config APM_REAL_MODE_POWER_OFF
  692. bool "Use real mode APM BIOS call to power off"
  693. depends on APM
  694. help
  695. Use real mode APM BIOS calls to switch off the computer. This is
  696. a work-around for a number of buggy BIOSes. Switch this option on if
  697. your computer crashes instead of powering off properly.
  698. endmenu
  699. source "arch/i386/kernel/cpu/cpufreq/Kconfig"
  700. endmenu
  701. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  702. config PCI
  703. bool "PCI support" if !X86_VISWS
  704. depends on !X86_VOYAGER
  705. default y if X86_VISWS
  706. help
  707. Find out whether you have a PCI motherboard. PCI is the name of a
  708. bus system, i.e. the way the CPU talks to the other stuff inside
  709. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  710. VESA. If you have PCI, say Y, otherwise N.
  711. The PCI-HOWTO, available from
  712. <http://www.tldp.org/docs.html#howto>, contains valuable
  713. information about which PCI hardware does work under Linux and which
  714. doesn't.
  715. choice
  716. prompt "PCI access mode"
  717. depends on PCI && !X86_VISWS
  718. default PCI_GOANY
  719. ---help---
  720. On PCI systems, the BIOS can be used to detect the PCI devices and
  721. determine their configuration. However, some old PCI motherboards
  722. have BIOS bugs and may crash if this is done. Also, some embedded
  723. PCI-based systems don't have any BIOS at all. Linux can also try to
  724. detect the PCI hardware directly without using the BIOS.
  725. With this option, you can specify how Linux should detect the
  726. PCI devices. If you choose "BIOS", the BIOS will be used,
  727. if you choose "Direct", the BIOS won't be used, and if you
  728. choose "MMConfig", then PCI Express MMCONFIG will be used.
  729. If you choose "Any", the kernel will try MMCONFIG, then the
  730. direct access method and falls back to the BIOS if that doesn't
  731. work. If unsure, go with the default, which is "Any".
  732. config PCI_GOBIOS
  733. bool "BIOS"
  734. config PCI_GOMMCONFIG
  735. bool "MMConfig"
  736. config PCI_GODIRECT
  737. bool "Direct"
  738. config PCI_GOANY
  739. bool "Any"
  740. endchoice
  741. config PCI_BIOS
  742. bool
  743. depends on !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY)
  744. default y
  745. config PCI_DIRECT
  746. bool
  747. depends on PCI && ((PCI_GODIRECT || PCI_GOANY) || X86_VISWS)
  748. default y
  749. config PCI_MMCONFIG
  750. bool
  751. depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY)
  752. default y
  753. source "drivers/pci/pcie/Kconfig"
  754. source "drivers/pci/Kconfig"
  755. config ISA_DMA_API
  756. bool
  757. default y
  758. config ISA
  759. bool "ISA support"
  760. depends on !(X86_VOYAGER || X86_VISWS)
  761. help
  762. Find out whether you have ISA slots on your motherboard. ISA is the
  763. name of a bus system, i.e. the way the CPU talks to the other stuff
  764. inside your box. Other bus systems are PCI, EISA, MicroChannel
  765. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  766. newer boards don't support it. If you have ISA, say Y, otherwise N.
  767. config EISA
  768. bool "EISA support"
  769. depends on ISA
  770. ---help---
  771. The Extended Industry Standard Architecture (EISA) bus was
  772. developed as an open alternative to the IBM MicroChannel bus.
  773. The EISA bus provided some of the features of the IBM MicroChannel
  774. bus while maintaining backward compatibility with cards made for
  775. the older ISA bus. The EISA bus saw limited use between 1988 and
  776. 1995 when it was made obsolete by the PCI bus.
  777. Say Y here if you are building a kernel for an EISA-based machine.
  778. Otherwise, say N.
  779. source "drivers/eisa/Kconfig"
  780. config MCA
  781. bool "MCA support" if !(X86_VISWS || X86_VOYAGER)
  782. default y if X86_VOYAGER
  783. help
  784. MicroChannel Architecture is found in some IBM PS/2 machines and
  785. laptops. It is a bus system similar to PCI or ISA. See
  786. <file:Documentation/mca.txt> (and especially the web page given
  787. there) before attempting to build an MCA bus kernel.
  788. source "drivers/mca/Kconfig"
  789. config SCx200
  790. tristate "NatSemi SCx200 support"
  791. depends on !X86_VOYAGER
  792. help
  793. This provides basic support for the National Semiconductor SCx200
  794. processor. Right now this is just a driver for the GPIO pins.
  795. If you don't know what to do here, say N.
  796. This support is also available as a module. If compiled as a
  797. module, it will be called scx200.
  798. config HOTPLUG_CPU
  799. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  800. depends on SMP && HOTPLUG && EXPERIMENTAL
  801. ---help---
  802. Say Y here to experiment with turning CPUs off and on. CPUs
  803. can be controlled through /sys/devices/system/cpu.
  804. Say N.
  805. source "drivers/pcmcia/Kconfig"
  806. source "drivers/pci/hotplug/Kconfig"
  807. endmenu
  808. menu "Executable file formats"
  809. source "fs/Kconfig.binfmt"
  810. endmenu
  811. source "net/Kconfig"
  812. source "drivers/Kconfig"
  813. source "fs/Kconfig"
  814. menu "Instrumentation Support"
  815. depends on EXPERIMENTAL
  816. source "arch/i386/oprofile/Kconfig"
  817. config KPROBES
  818. bool "Kprobes (EXPERIMENTAL)"
  819. help
  820. Kprobes allows you to trap at almost any kernel address and
  821. execute a callback function. register_kprobe() establishes
  822. a probepoint and specifies the callback. Kprobes is useful
  823. for kernel debugging, non-intrusive instrumentation and testing.
  824. If in doubt, say "N".
  825. endmenu
  826. source "arch/i386/Kconfig.debug"
  827. source "security/Kconfig"
  828. source "crypto/Kconfig"
  829. source "lib/Kconfig"
  830. #
  831. # Use the generic interrupt handling code in kernel/irq/:
  832. #
  833. config GENERIC_HARDIRQS
  834. bool
  835. default y
  836. config GENERIC_IRQ_PROBE
  837. bool
  838. default y
  839. config GENERIC_PENDING_IRQ
  840. bool
  841. depends on GENERIC_HARDIRQS && SMP
  842. default y
  843. config X86_SMP
  844. bool
  845. depends on SMP && !X86_VOYAGER
  846. default y
  847. config X86_HT
  848. bool
  849. depends on SMP && !(X86_VISWS || X86_VOYAGER)
  850. default y
  851. config X86_BIOS_REBOOT
  852. bool
  853. depends on !(X86_VISWS || X86_VOYAGER)
  854. default y
  855. config X86_TRAMPOLINE
  856. bool
  857. depends on X86_SMP || (X86_VOYAGER && SMP)
  858. default y