Kconfig 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128
  1. # Select 32 or 64 bit
  2. config 64BIT
  3. bool "64-bit kernel" if ARCH = "x86"
  4. default ARCH = "x86_64"
  5. ---help---
  6. Say yes to build a 64-bit kernel - formerly known as x86_64
  7. Say no to build a 32-bit kernel - formerly known as i386
  8. config X86_32
  9. def_bool !64BIT
  10. config X86_64
  11. def_bool 64BIT
  12. ### Arch settings
  13. config X86
  14. def_bool y
  15. select HAVE_AOUT if X86_32
  16. select HAVE_READQ
  17. select HAVE_WRITEQ
  18. select HAVE_UNSTABLE_SCHED_CLOCK
  19. select HAVE_IDE
  20. select HAVE_OPROFILE
  21. select HAVE_PERF_EVENTS
  22. select HAVE_IRQ_WORK
  23. select HAVE_IOREMAP_PROT
  24. select HAVE_KPROBES
  25. select HAVE_MEMBLOCK
  26. select ARCH_WANT_OPTIONAL_GPIOLIB
  27. select ARCH_WANT_FRAME_POINTERS
  28. select HAVE_DMA_ATTRS
  29. select HAVE_KRETPROBES
  30. select HAVE_OPTPROBES
  31. select HAVE_FTRACE_MCOUNT_RECORD
  32. select HAVE_C_RECORDMCOUNT
  33. select HAVE_DYNAMIC_FTRACE
  34. select HAVE_FUNCTION_TRACER
  35. select HAVE_FUNCTION_GRAPH_TRACER
  36. select HAVE_FUNCTION_GRAPH_FP_TEST
  37. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  38. select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
  39. select HAVE_SYSCALL_TRACEPOINTS
  40. select HAVE_KVM
  41. select HAVE_ARCH_KGDB
  42. select HAVE_ARCH_TRACEHOOK
  43. select HAVE_GENERIC_DMA_COHERENT if X86_32
  44. select HAVE_EFFICIENT_UNALIGNED_ACCESS
  45. select USER_STACKTRACE_SUPPORT
  46. select HAVE_REGS_AND_STACK_ACCESS_API
  47. select HAVE_DMA_API_DEBUG
  48. select HAVE_KERNEL_GZIP
  49. select HAVE_KERNEL_BZIP2
  50. select HAVE_KERNEL_LZMA
  51. select HAVE_KERNEL_LZO
  52. select HAVE_HW_BREAKPOINT
  53. select HAVE_MIXED_BREAKPOINTS_REGS
  54. select PERF_EVENTS
  55. select HAVE_PERF_EVENTS_NMI
  56. select ANON_INODES
  57. select HAVE_ARCH_KMEMCHECK
  58. select HAVE_USER_RETURN_NOTIFIER
  59. select HAVE_ARCH_JUMP_LABEL
  60. select HAVE_TEXT_POKE_SMP
  61. select HAVE_GENERIC_HARDIRQS
  62. select HAVE_SPARSE_IRQ
  63. select GENERIC_IRQ_PROBE
  64. select GENERIC_PENDING_IRQ if SMP
  65. config INSTRUCTION_DECODER
  66. def_bool (KPROBES || PERF_EVENTS)
  67. config OUTPUT_FORMAT
  68. string
  69. default "elf32-i386" if X86_32
  70. default "elf64-x86-64" if X86_64
  71. config ARCH_DEFCONFIG
  72. string
  73. default "arch/x86/configs/i386_defconfig" if X86_32
  74. default "arch/x86/configs/x86_64_defconfig" if X86_64
  75. config GENERIC_CMOS_UPDATE
  76. def_bool y
  77. config CLOCKSOURCE_WATCHDOG
  78. def_bool y
  79. config GENERIC_CLOCKEVENTS
  80. def_bool y
  81. config GENERIC_CLOCKEVENTS_BROADCAST
  82. def_bool y
  83. depends on X86_64 || (X86_32 && X86_LOCAL_APIC)
  84. config LOCKDEP_SUPPORT
  85. def_bool y
  86. config STACKTRACE_SUPPORT
  87. def_bool y
  88. config HAVE_LATENCYTOP_SUPPORT
  89. def_bool y
  90. config MMU
  91. def_bool y
  92. config ZONE_DMA
  93. def_bool y
  94. config SBUS
  95. bool
  96. config NEED_DMA_MAP_STATE
  97. def_bool (X86_64 || DMAR || DMA_API_DEBUG)
  98. config NEED_SG_DMA_LENGTH
  99. def_bool y
  100. config GENERIC_ISA_DMA
  101. def_bool y
  102. config GENERIC_IOMAP
  103. def_bool y
  104. config GENERIC_BUG
  105. def_bool y
  106. depends on BUG
  107. select GENERIC_BUG_RELATIVE_POINTERS if X86_64
  108. config GENERIC_BUG_RELATIVE_POINTERS
  109. bool
  110. config GENERIC_HWEIGHT
  111. def_bool y
  112. config GENERIC_GPIO
  113. bool
  114. config ARCH_MAY_HAVE_PC_FDC
  115. def_bool y
  116. config RWSEM_GENERIC_SPINLOCK
  117. def_bool !X86_XADD
  118. config RWSEM_XCHGADD_ALGORITHM
  119. def_bool X86_XADD
  120. config ARCH_HAS_CPU_IDLE_WAIT
  121. def_bool y
  122. config GENERIC_CALIBRATE_DELAY
  123. def_bool y
  124. config GENERIC_TIME_VSYSCALL
  125. bool
  126. default X86_64
  127. config ARCH_HAS_CPU_RELAX
  128. def_bool y
  129. config ARCH_HAS_DEFAULT_IDLE
  130. def_bool y
  131. config ARCH_HAS_CACHE_LINE_SIZE
  132. def_bool y
  133. config HAVE_SETUP_PER_CPU_AREA
  134. def_bool y
  135. config NEED_PER_CPU_EMBED_FIRST_CHUNK
  136. def_bool y
  137. config NEED_PER_CPU_PAGE_FIRST_CHUNK
  138. def_bool y
  139. config HAVE_CPUMASK_OF_CPU_MAP
  140. def_bool X86_64_SMP
  141. config ARCH_HIBERNATION_POSSIBLE
  142. def_bool y
  143. config ARCH_SUSPEND_POSSIBLE
  144. def_bool y
  145. config ZONE_DMA32
  146. bool
  147. default X86_64
  148. config ARCH_POPULATES_NODE_MAP
  149. def_bool y
  150. config AUDIT_ARCH
  151. bool
  152. default X86_64
  153. config ARCH_SUPPORTS_OPTIMIZED_INLINING
  154. def_bool y
  155. config ARCH_SUPPORTS_DEBUG_PAGEALLOC
  156. def_bool y
  157. config HAVE_INTEL_TXT
  158. def_bool y
  159. depends on EXPERIMENTAL && DMAR && ACPI
  160. config USE_GENERIC_SMP_HELPERS
  161. def_bool y
  162. depends on SMP
  163. config X86_32_SMP
  164. def_bool y
  165. depends on X86_32 && SMP
  166. config X86_64_SMP
  167. def_bool y
  168. depends on X86_64 && SMP
  169. config X86_HT
  170. def_bool y
  171. depends on SMP
  172. config X86_TRAMPOLINE
  173. def_bool y
  174. depends on SMP || (64BIT && ACPI_SLEEP)
  175. config X86_32_LAZY_GS
  176. def_bool y
  177. depends on X86_32 && !CC_STACKPROTECTOR
  178. config ARCH_HWEIGHT_CFLAGS
  179. string
  180. default "-fcall-saved-ecx -fcall-saved-edx" if X86_32
  181. default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64
  182. config KTIME_SCALAR
  183. def_bool X86_32
  184. config ARCH_CPU_PROBE_RELEASE
  185. def_bool y
  186. depends on HOTPLUG_CPU
  187. source "init/Kconfig"
  188. source "kernel/Kconfig.freezer"
  189. menu "Processor type and features"
  190. source "kernel/time/Kconfig"
  191. config SMP
  192. bool "Symmetric multi-processing support"
  193. ---help---
  194. This enables support for systems with more than one CPU. If you have
  195. a system with only one CPU, like most personal computers, say N. If
  196. you have a system with more than one CPU, say Y.
  197. If you say N here, the kernel will run on single and multiprocessor
  198. machines, but will use only one CPU of a multiprocessor machine. If
  199. you say Y here, the kernel will run on many, but not all,
  200. singleprocessor machines. On a singleprocessor machine, the kernel
  201. will run faster if you say N here.
  202. Note that if you say Y here and choose architecture "586" or
  203. "Pentium" under "Processor family", the kernel will not work on 486
  204. architectures. Similarly, multiprocessor kernels for the "PPro"
  205. architecture may not work on all Pentium based boards.
  206. People using multiprocessor machines who say Y here should also say
  207. Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
  208. Management" code will be disabled if you say Y here.
  209. See also <file:Documentation/i386/IO-APIC.txt>,
  210. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
  211. <http://www.tldp.org/docs.html#howto>.
  212. If you don't know what to do here, say N.
  213. config X86_X2APIC
  214. bool "Support x2apic"
  215. depends on X86_LOCAL_APIC && X86_64 && INTR_REMAP
  216. ---help---
  217. This enables x2apic support on CPUs that have this feature.
  218. This allows 32-bit apic IDs (so it can support very large systems),
  219. and accesses the local apic via MSRs not via mmio.
  220. If you don't know what to do here, say N.
  221. config X86_MPPARSE
  222. bool "Enable MPS table" if ACPI
  223. default y
  224. depends on X86_LOCAL_APIC
  225. ---help---
  226. For old smp systems that do not have proper acpi support. Newer systems
  227. (esp with 64bit cpus) with acpi support, MADT and DSDT will override it
  228. config X86_BIGSMP
  229. bool "Support for big SMP systems with more than 8 CPUs"
  230. depends on X86_32 && SMP
  231. ---help---
  232. This option is needed for the systems that have more than 8 CPUs
  233. if X86_32
  234. config X86_EXTENDED_PLATFORM
  235. bool "Support for extended (non-PC) x86 platforms"
  236. default y
  237. ---help---
  238. If you disable this option then the kernel will only support
  239. standard PC platforms. (which covers the vast majority of
  240. systems out there.)
  241. If you enable this option then you'll be able to select support
  242. for the following (non-PC) 32 bit x86 platforms:
  243. AMD Elan
  244. NUMAQ (IBM/Sequent)
  245. RDC R-321x SoC
  246. SGI 320/540 (Visual Workstation)
  247. Summit/EXA (IBM x440)
  248. Unisys ES7000 IA32 series
  249. Moorestown MID devices
  250. If you have one of these systems, or if you want to build a
  251. generic distribution kernel, say Y here - otherwise say N.
  252. endif
  253. if X86_64
  254. config X86_EXTENDED_PLATFORM
  255. bool "Support for extended (non-PC) x86 platforms"
  256. default y
  257. ---help---
  258. If you disable this option then the kernel will only support
  259. standard PC platforms. (which covers the vast majority of
  260. systems out there.)
  261. If you enable this option then you'll be able to select support
  262. for the following (non-PC) 64 bit x86 platforms:
  263. ScaleMP vSMP
  264. SGI Ultraviolet
  265. If you have one of these systems, or if you want to build a
  266. generic distribution kernel, say Y here - otherwise say N.
  267. endif
  268. # This is an alphabetically sorted list of 64 bit extended platforms
  269. # Please maintain the alphabetic order if and when there are additions
  270. config X86_VSMP
  271. bool "ScaleMP vSMP"
  272. select PARAVIRT_GUEST
  273. select PARAVIRT
  274. depends on X86_64 && PCI
  275. depends on X86_EXTENDED_PLATFORM
  276. ---help---
  277. Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is
  278. supposed to run on these EM64T-based machines. Only choose this option
  279. if you have one of these machines.
  280. config X86_UV
  281. bool "SGI Ultraviolet"
  282. depends on X86_64
  283. depends on X86_EXTENDED_PLATFORM
  284. depends on NUMA
  285. depends on X86_X2APIC
  286. ---help---
  287. This option is needed in order to support SGI Ultraviolet systems.
  288. If you don't have one of these, you should say N here.
  289. # Following is an alphabetically sorted list of 32 bit extended platforms
  290. # Please maintain the alphabetic order if and when there are additions
  291. config X86_ELAN
  292. bool "AMD Elan"
  293. depends on X86_32
  294. depends on X86_EXTENDED_PLATFORM
  295. ---help---
  296. Select this for an AMD Elan processor.
  297. Do not use this option for K6/Athlon/Opteron processors!
  298. If unsure, choose "PC-compatible" instead.
  299. config X86_MRST
  300. bool "Moorestown MID platform"
  301. depends on PCI
  302. depends on PCI_GOANY
  303. depends on X86_32
  304. depends on X86_EXTENDED_PLATFORM
  305. depends on X86_IO_APIC
  306. select APB_TIMER
  307. ---help---
  308. Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin
  309. Internet Device(MID) platform. Moorestown consists of two chips:
  310. Lincroft (CPU core, graphics, and memory controller) and Langwell IOH.
  311. Unlike standard x86 PCs, Moorestown does not have many legacy devices
  312. nor standard legacy replacement devices/features. e.g. Moorestown does
  313. not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
  314. config X86_RDC321X
  315. bool "RDC R-321x SoC"
  316. depends on X86_32
  317. depends on X86_EXTENDED_PLATFORM
  318. select M486
  319. select X86_REBOOTFIXUPS
  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. config X86_32_NON_STANDARD
  325. bool "Support non-standard 32-bit SMP architectures"
  326. depends on X86_32 && SMP
  327. depends on X86_EXTENDED_PLATFORM
  328. ---help---
  329. This option compiles in the NUMAQ, Summit, bigsmp, ES7000, default
  330. subarchitectures. It is intended for a generic binary kernel.
  331. if you select them all, kernel will probe it one by one. and will
  332. fallback to default.
  333. # Alphabetically sorted list of Non standard 32 bit platforms
  334. config X86_NUMAQ
  335. bool "NUMAQ (IBM/Sequent)"
  336. depends on X86_32_NON_STANDARD
  337. depends on PCI
  338. select NUMA
  339. select X86_MPPARSE
  340. ---help---
  341. This option is used for getting Linux to run on a NUMAQ (IBM/Sequent)
  342. NUMA multiquad box. This changes the way that processors are
  343. bootstrapped, and uses Clustered Logical APIC addressing mode instead
  344. of Flat Logical. You will need a new lynxer.elf file to flash your
  345. firmware with - send email to <Martin.Bligh@us.ibm.com>.
  346. config X86_SUPPORTS_MEMORY_FAILURE
  347. def_bool y
  348. # MCE code calls memory_failure():
  349. depends on X86_MCE
  350. # On 32-bit this adds too big of NODES_SHIFT and we run out of page flags:
  351. depends on !X86_NUMAQ
  352. # On 32-bit SPARSEMEM adds too big of SECTIONS_WIDTH:
  353. depends on X86_64 || !SPARSEMEM
  354. select ARCH_SUPPORTS_MEMORY_FAILURE
  355. config X86_VISWS
  356. bool "SGI 320/540 (Visual Workstation)"
  357. depends on X86_32 && PCI && X86_MPPARSE && PCI_GODIRECT
  358. depends on X86_32_NON_STANDARD
  359. ---help---
  360. The SGI Visual Workstation series is an IA32-based workstation
  361. based on SGI systems chips with some legacy PC hardware attached.
  362. Say Y here to create a kernel to run on the SGI 320 or 540.
  363. A kernel compiled for the Visual Workstation will run on general
  364. PCs as well. See <file:Documentation/sgi-visws.txt> for details.
  365. config X86_SUMMIT
  366. bool "Summit/EXA (IBM x440)"
  367. depends on X86_32_NON_STANDARD
  368. ---help---
  369. This option is needed for IBM systems that use the Summit/EXA chipset.
  370. In particular, it is needed for the x440.
  371. config X86_ES7000
  372. bool "Unisys ES7000 IA32 series"
  373. depends on X86_32_NON_STANDARD && X86_BIGSMP
  374. ---help---
  375. Support for Unisys ES7000 systems. Say 'Y' here if this kernel is
  376. supposed to run on an IA32-based Unisys ES7000 system.
  377. config SCHED_OMIT_FRAME_POINTER
  378. def_bool y
  379. prompt "Single-depth WCHAN output"
  380. depends on X86
  381. ---help---
  382. Calculate simpler /proc/<PID>/wchan values. If this option
  383. is disabled then wchan values will recurse back to the
  384. caller function. This provides more accurate wchan values,
  385. at the expense of slightly more scheduling overhead.
  386. If in doubt, say "Y".
  387. menuconfig PARAVIRT_GUEST
  388. bool "Paravirtualized guest support"
  389. ---help---
  390. Say Y here to get to see options related to running Linux under
  391. various hypervisors. This option alone does not add any kernel code.
  392. If you say N, all options in this submenu will be skipped and disabled.
  393. if PARAVIRT_GUEST
  394. source "arch/x86/xen/Kconfig"
  395. config KVM_CLOCK
  396. bool "KVM paravirtualized clock"
  397. select PARAVIRT
  398. select PARAVIRT_CLOCK
  399. ---help---
  400. Turning on this option will allow you to run a paravirtualized clock
  401. when running over the KVM hypervisor. Instead of relying on a PIT
  402. (or probably other) emulation by the underlying device model, the host
  403. provides the guest with timing infrastructure such as time of day, and
  404. system time
  405. config KVM_GUEST
  406. bool "KVM Guest support"
  407. select PARAVIRT
  408. ---help---
  409. This option enables various optimizations for running under the KVM
  410. hypervisor.
  411. source "arch/x86/lguest/Kconfig"
  412. config PARAVIRT
  413. bool "Enable paravirtualization code"
  414. ---help---
  415. This changes the kernel so it can modify itself when it is run
  416. under a hypervisor, potentially improving performance significantly
  417. over full virtualization. However, when run without a hypervisor
  418. the kernel is theoretically slower and slightly larger.
  419. config PARAVIRT_SPINLOCKS
  420. bool "Paravirtualization layer for spinlocks"
  421. depends on PARAVIRT && SMP && EXPERIMENTAL
  422. ---help---
  423. Paravirtualized spinlocks allow a pvops backend to replace the
  424. spinlock implementation with something virtualization-friendly
  425. (for example, block the virtual CPU rather than spinning).
  426. Unfortunately the downside is an up to 5% performance hit on
  427. native kernels, with various workloads.
  428. If you are unsure how to answer this question, answer N.
  429. config PARAVIRT_CLOCK
  430. bool
  431. endif
  432. config PARAVIRT_DEBUG
  433. bool "paravirt-ops debugging"
  434. depends on PARAVIRT && DEBUG_KERNEL
  435. ---help---
  436. Enable to debug paravirt_ops internals. Specifically, BUG if
  437. a paravirt_op is missing when it is called.
  438. config NO_BOOTMEM
  439. def_bool y
  440. config MEMTEST
  441. bool "Memtest"
  442. ---help---
  443. This option adds a kernel parameter 'memtest', which allows memtest
  444. to be set.
  445. memtest=0, mean disabled; -- default
  446. memtest=1, mean do 1 test pattern;
  447. ...
  448. memtest=4, mean do 4 test patterns.
  449. If you are unsure how to answer this question, answer N.
  450. config X86_SUMMIT_NUMA
  451. def_bool y
  452. depends on X86_32 && NUMA && X86_32_NON_STANDARD
  453. config X86_CYCLONE_TIMER
  454. def_bool y
  455. depends on X86_32_NON_STANDARD
  456. source "arch/x86/Kconfig.cpu"
  457. config HPET_TIMER
  458. def_bool X86_64
  459. prompt "HPET Timer Support" if X86_32
  460. ---help---
  461. Use the IA-PC HPET (High Precision Event Timer) to manage
  462. time in preference to the PIT and RTC, if a HPET is
  463. present.
  464. HPET is the next generation timer replacing legacy 8254s.
  465. The HPET provides a stable time base on SMP
  466. systems, unlike the TSC, but it is more expensive to access,
  467. as it is off-chip. You can find the HPET spec at
  468. <http://www.intel.com/hardwaredesign/hpetspec_1.pdf>.
  469. You can safely choose Y here. However, HPET will only be
  470. activated if the platform and the BIOS support this feature.
  471. Otherwise the 8254 will be used for timing services.
  472. Choose N to continue using the legacy 8254 timer.
  473. config HPET_EMULATE_RTC
  474. def_bool y
  475. depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
  476. config APB_TIMER
  477. def_bool y if MRST
  478. prompt "Langwell APB Timer Support" if X86_MRST
  479. help
  480. APB timer is the replacement for 8254, HPET on X86 MID platforms.
  481. The APBT provides a stable time base on SMP
  482. systems, unlike the TSC, but it is more expensive to access,
  483. as it is off-chip. APB timers are always running regardless of CPU
  484. C states, they are used as per CPU clockevent device when possible.
  485. # Mark as embedded because too many people got it wrong.
  486. # The code disables itself when not needed.
  487. config DMI
  488. default y
  489. bool "Enable DMI scanning" if EMBEDDED
  490. ---help---
  491. Enabled scanning of DMI to identify machine quirks. Say Y
  492. here unless you have verified that your setup is not
  493. affected by entries in the DMI blacklist. Required by PNP
  494. BIOS code.
  495. config GART_IOMMU
  496. bool "GART IOMMU support" if EMBEDDED
  497. default y
  498. select SWIOTLB
  499. depends on X86_64 && PCI && AMD_NB
  500. ---help---
  501. Support for full DMA access of devices with 32bit memory access only
  502. on systems with more than 3GB. This is usually needed for USB,
  503. sound, many IDE/SATA chipsets and some other devices.
  504. Provides a driver for the AMD Athlon64/Opteron/Turion/Sempron GART
  505. based hardware IOMMU and a software bounce buffer based IOMMU used
  506. on Intel systems and as fallback.
  507. The code is only active when needed (enough memory and limited
  508. device) unless CONFIG_IOMMU_DEBUG or iommu=force is specified
  509. too.
  510. config CALGARY_IOMMU
  511. bool "IBM Calgary IOMMU support"
  512. select SWIOTLB
  513. depends on X86_64 && PCI && EXPERIMENTAL
  514. ---help---
  515. Support for hardware IOMMUs in IBM's xSeries x366 and x460
  516. systems. Needed to run systems with more than 3GB of memory
  517. properly with 32-bit PCI devices that do not support DAC
  518. (Double Address Cycle). Calgary also supports bus level
  519. isolation, where all DMAs pass through the IOMMU. This
  520. prevents them from going anywhere except their intended
  521. destination. This catches hard-to-find kernel bugs and
  522. mis-behaving drivers and devices that do not use the DMA-API
  523. properly to set up their DMA buffers. The IOMMU can be
  524. turned off at boot time with the iommu=off parameter.
  525. Normally the kernel will make the right choice by itself.
  526. If unsure, say Y.
  527. config CALGARY_IOMMU_ENABLED_BY_DEFAULT
  528. def_bool y
  529. prompt "Should Calgary be enabled by default?"
  530. depends on CALGARY_IOMMU
  531. ---help---
  532. Should Calgary be enabled by default? if you choose 'y', Calgary
  533. will be used (if it exists). If you choose 'n', Calgary will not be
  534. used even if it exists. If you choose 'n' and would like to use
  535. Calgary anyway, pass 'iommu=calgary' on the kernel command line.
  536. If unsure, say Y.
  537. config AMD_IOMMU
  538. bool "AMD IOMMU support"
  539. select SWIOTLB
  540. select PCI_MSI
  541. depends on X86_64 && PCI && ACPI
  542. ---help---
  543. With this option you can enable support for AMD IOMMU hardware in
  544. your system. An IOMMU is a hardware component which provides
  545. remapping of DMA memory accesses from devices. With an AMD IOMMU you
  546. can isolate the the DMA memory of different devices and protect the
  547. system from misbehaving device drivers or hardware.
  548. You can find out if your system has an AMD IOMMU if you look into
  549. your BIOS for an option to enable it or if you have an IVRS ACPI
  550. table.
  551. config AMD_IOMMU_STATS
  552. bool "Export AMD IOMMU statistics to debugfs"
  553. depends on AMD_IOMMU
  554. select DEBUG_FS
  555. ---help---
  556. This option enables code in the AMD IOMMU driver to collect various
  557. statistics about whats happening in the driver and exports that
  558. information to userspace via debugfs.
  559. If unsure, say N.
  560. # need this always selected by IOMMU for the VIA workaround
  561. config SWIOTLB
  562. def_bool y if X86_64
  563. ---help---
  564. Support for software bounce buffers used on x86-64 systems
  565. which don't have a hardware IOMMU (e.g. the current generation
  566. of Intel's x86-64 CPUs). Using this PCI devices which can only
  567. access 32-bits of memory can be used on systems with more than
  568. 3 GB of memory. If unsure, say Y.
  569. config IOMMU_HELPER
  570. def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
  571. config IOMMU_API
  572. def_bool (AMD_IOMMU || DMAR)
  573. config MAXSMP
  574. bool "Enable Maximum number of SMP Processors and NUMA Nodes"
  575. depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL
  576. select CPUMASK_OFFSTACK
  577. ---help---
  578. Enable maximum number of CPUS and NUMA Nodes for this architecture.
  579. If unsure, say N.
  580. config NR_CPUS
  581. int "Maximum number of CPUs" if SMP && !MAXSMP
  582. range 2 8 if SMP && X86_32 && !X86_BIGSMP
  583. range 2 512 if SMP && !MAXSMP
  584. default "1" if !SMP
  585. default "4096" if MAXSMP
  586. default "32" if SMP && (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000)
  587. default "8" if SMP
  588. ---help---
  589. This allows you to specify the maximum number of CPUs which this
  590. kernel will support. The maximum supported value is 512 and the
  591. minimum value which makes sense is 2.
  592. This is purely to save memory - each supported CPU adds
  593. approximately eight kilobytes to the kernel image.
  594. config SCHED_SMT
  595. bool "SMT (Hyperthreading) scheduler support"
  596. depends on X86_HT
  597. ---help---
  598. SMT scheduler support improves the CPU scheduler's decision making
  599. when dealing with Intel Pentium 4 chips with HyperThreading at a
  600. cost of slightly increased overhead in some places. If unsure say
  601. N here.
  602. config SCHED_MC
  603. def_bool y
  604. prompt "Multi-core scheduler support"
  605. depends on X86_HT
  606. ---help---
  607. Multi-core scheduler support improves the CPU scheduler's decision
  608. making when dealing with multi-core CPU chips at a cost of slightly
  609. increased overhead in some places. If unsure say N here.
  610. config IRQ_TIME_ACCOUNTING
  611. bool "Fine granularity task level IRQ time accounting"
  612. default n
  613. ---help---
  614. Select this option to enable fine granularity task irq time
  615. accounting. This is done by reading a timestamp on each
  616. transitions between softirq and hardirq state, so there can be a
  617. small performance impact.
  618. If in doubt, say N here.
  619. source "kernel/Kconfig.preempt"
  620. config X86_UP_APIC
  621. bool "Local APIC support on uniprocessors"
  622. depends on X86_32 && !SMP && !X86_32_NON_STANDARD
  623. ---help---
  624. A local APIC (Advanced Programmable Interrupt Controller) is an
  625. integrated interrupt controller in the CPU. If you have a single-CPU
  626. system which has a processor with a local APIC, you can say Y here to
  627. enable and use it. If you say Y here even though your machine doesn't
  628. have a local APIC, then the kernel will still run with no slowdown at
  629. all. The local APIC supports CPU-generated self-interrupts (timer,
  630. performance counters), and the NMI watchdog which detects hard
  631. lockups.
  632. config X86_UP_IOAPIC
  633. bool "IO-APIC support on uniprocessors"
  634. depends on X86_UP_APIC
  635. ---help---
  636. An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an
  637. SMP-capable replacement for PC-style interrupt controllers. Most
  638. SMP systems and many recent uniprocessor systems have one.
  639. If you have a single-CPU system with an IO-APIC, you can say Y here
  640. to use it. If you say Y here even though your machine doesn't have
  641. an IO-APIC, then the kernel will still run with no slowdown at all.
  642. config X86_LOCAL_APIC
  643. def_bool y
  644. depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC
  645. config X86_IO_APIC
  646. def_bool y
  647. depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC
  648. config X86_VISWS_APIC
  649. def_bool y
  650. depends on X86_32 && X86_VISWS
  651. config X86_REROUTE_FOR_BROKEN_BOOT_IRQS
  652. bool "Reroute for broken boot IRQs"
  653. depends on X86_IO_APIC
  654. ---help---
  655. This option enables a workaround that fixes a source of
  656. spurious interrupts. This is recommended when threaded
  657. interrupt handling is used on systems where the generation of
  658. superfluous "boot interrupts" cannot be disabled.
  659. Some chipsets generate a legacy INTx "boot IRQ" when the IRQ
  660. entry in the chipset's IO-APIC is masked (as, e.g. the RT
  661. kernel does during interrupt handling). On chipsets where this
  662. boot IRQ generation cannot be disabled, this workaround keeps
  663. the original IRQ line masked so that only the equivalent "boot
  664. IRQ" is delivered to the CPUs. The workaround also tells the
  665. kernel to set up the IRQ handler on the boot IRQ line. In this
  666. way only one interrupt is delivered to the kernel. Otherwise
  667. the spurious second interrupt may cause the kernel to bring
  668. down (vital) interrupt lines.
  669. Only affects "broken" chipsets. Interrupt sharing may be
  670. increased on these systems.
  671. config X86_MCE
  672. bool "Machine Check / overheating reporting"
  673. ---help---
  674. Machine Check support allows the processor to notify the
  675. kernel if it detects a problem (e.g. overheating, data corruption).
  676. The action the kernel takes depends on the severity of the problem,
  677. ranging from warning messages to halting the machine.
  678. config X86_MCE_INTEL
  679. def_bool y
  680. prompt "Intel MCE features"
  681. depends on X86_MCE && X86_LOCAL_APIC
  682. ---help---
  683. Additional support for intel specific MCE features such as
  684. the thermal monitor.
  685. config X86_MCE_AMD
  686. def_bool y
  687. prompt "AMD MCE features"
  688. depends on X86_MCE && X86_LOCAL_APIC
  689. ---help---
  690. Additional support for AMD specific MCE features such as
  691. the DRAM Error Threshold.
  692. config X86_ANCIENT_MCE
  693. bool "Support for old Pentium 5 / WinChip machine checks"
  694. depends on X86_32 && X86_MCE
  695. ---help---
  696. Include support for machine check handling on old Pentium 5 or WinChip
  697. systems. These typically need to be enabled explicitely on the command
  698. line.
  699. config X86_MCE_THRESHOLD
  700. depends on X86_MCE_AMD || X86_MCE_INTEL
  701. def_bool y
  702. config X86_MCE_INJECT
  703. depends on X86_MCE
  704. tristate "Machine check injector support"
  705. ---help---
  706. Provide support for injecting machine checks for testing purposes.
  707. If you don't know what a machine check is and you don't do kernel
  708. QA it is safe to say n.
  709. config X86_THERMAL_VECTOR
  710. def_bool y
  711. depends on X86_MCE_INTEL
  712. config VM86
  713. bool "Enable VM86 support" if EMBEDDED
  714. default y
  715. depends on X86_32
  716. ---help---
  717. This option is required by programs like DOSEMU to run 16-bit legacy
  718. code on X86 processors. It also may be needed by software like
  719. XFree86 to initialize some video cards via BIOS. Disabling this
  720. option saves about 6k.
  721. config TOSHIBA
  722. tristate "Toshiba Laptop support"
  723. depends on X86_32
  724. ---help---
  725. This adds a driver to safely access the System Management Mode of
  726. the CPU on Toshiba portables with a genuine Toshiba BIOS. It does
  727. not work on models with a Phoenix BIOS. The System Management Mode
  728. is used to set the BIOS and power saving options on Toshiba portables.
  729. For information on utilities to make use of this driver see the
  730. Toshiba Linux utilities web site at:
  731. <http://www.buzzard.org.uk/toshiba/>.
  732. Say Y if you intend to run this kernel on a Toshiba portable.
  733. Say N otherwise.
  734. config I8K
  735. tristate "Dell laptop support"
  736. ---help---
  737. This adds a driver to safely access the System Management Mode
  738. of the CPU on the Dell Inspiron 8000. The System Management Mode
  739. is used to read cpu temperature and cooling fan status and to
  740. control the fans on the I8K portables.
  741. This driver has been tested only on the Inspiron 8000 but it may
  742. also work with other Dell laptops. You can force loading on other
  743. models by passing the parameter `force=1' to the module. Use at
  744. your own risk.
  745. For information on utilities to make use of this driver see the
  746. I8K Linux utilities web site at:
  747. <http://people.debian.org/~dz/i8k/>
  748. Say Y if you intend to run this kernel on a Dell Inspiron 8000.
  749. Say N otherwise.
  750. config X86_REBOOTFIXUPS
  751. bool "Enable X86 board specific fixups for reboot"
  752. depends on X86_32
  753. ---help---
  754. This enables chipset and/or board specific fixups to be done
  755. in order to get reboot to work correctly. This is only needed on
  756. some combinations of hardware and BIOS. The symptom, for which
  757. this config is intended, is when reboot ends with a stalled/hung
  758. system.
  759. Currently, the only fixup is for the Geode machines using
  760. CS5530A and CS5536 chipsets and the RDC R-321x SoC.
  761. Say Y if you want to enable the fixup. Currently, it's safe to
  762. enable this option even if you don't need it.
  763. Say N otherwise.
  764. config MICROCODE
  765. tristate "/dev/cpu/microcode - microcode support"
  766. select FW_LOADER
  767. ---help---
  768. If you say Y here, you will be able to update the microcode on
  769. certain Intel and AMD processors. The Intel support is for the
  770. IA32 family, e.g. Pentium Pro, Pentium II, Pentium III,
  771. Pentium 4, Xeon etc. The AMD support is for family 0x10 and
  772. 0x11 processors, e.g. Opteron, Phenom and Turion 64 Ultra.
  773. You will obviously need the actual microcode binary data itself
  774. which is not shipped with the Linux kernel.
  775. This option selects the general module only, you need to select
  776. at least one vendor specific module as well.
  777. To compile this driver as a module, choose M here: the
  778. module will be called microcode.
  779. config MICROCODE_INTEL
  780. bool "Intel microcode patch loading support"
  781. depends on MICROCODE
  782. default MICROCODE
  783. select FW_LOADER
  784. ---help---
  785. This options enables microcode patch loading support for Intel
  786. processors.
  787. For latest news and information on obtaining all the required
  788. Intel ingredients for this driver, check:
  789. <http://www.urbanmyth.org/microcode/>.
  790. config MICROCODE_AMD
  791. bool "AMD microcode patch loading support"
  792. depends on MICROCODE
  793. select FW_LOADER
  794. ---help---
  795. If you select this option, microcode patch loading support for AMD
  796. processors will be enabled.
  797. config MICROCODE_OLD_INTERFACE
  798. def_bool y
  799. depends on MICROCODE
  800. config X86_MSR
  801. tristate "/dev/cpu/*/msr - Model-specific register support"
  802. ---help---
  803. This device gives privileged processes access to the x86
  804. Model-Specific Registers (MSRs). It is a character device with
  805. major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
  806. MSR accesses are directed to a specific CPU on multi-processor
  807. systems.
  808. config X86_CPUID
  809. tristate "/dev/cpu/*/cpuid - CPU information support"
  810. ---help---
  811. This device gives processes access to the x86 CPUID instruction to
  812. be executed on a specific processor. It is a character device
  813. with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
  814. /dev/cpu/31/cpuid.
  815. choice
  816. prompt "High Memory Support"
  817. default HIGHMEM64G if X86_NUMAQ
  818. default HIGHMEM4G
  819. depends on X86_32
  820. config NOHIGHMEM
  821. bool "off"
  822. depends on !X86_NUMAQ
  823. ---help---
  824. Linux can use up to 64 Gigabytes of physical memory on x86 systems.
  825. However, the address space of 32-bit x86 processors is only 4
  826. Gigabytes large. That means that, if you have a large amount of
  827. physical memory, not all of it can be "permanently mapped" by the
  828. kernel. The physical memory that's not permanently mapped is called
  829. "high memory".
  830. If you are compiling a kernel which will never run on a machine with
  831. more than 1 Gigabyte total physical RAM, answer "off" here (default
  832. choice and suitable for most users). This will result in a "3GB/1GB"
  833. split: 3GB are mapped so that each process sees a 3GB virtual memory
  834. space and the remaining part of the 4GB virtual memory space is used
  835. by the kernel to permanently map as much physical memory as
  836. possible.
  837. If the machine has between 1 and 4 Gigabytes physical RAM, then
  838. answer "4GB" here.
  839. If more than 4 Gigabytes is used then answer "64GB" here. This
  840. selection turns Intel PAE (Physical Address Extension) mode on.
  841. PAE implements 3-level paging on IA32 processors. PAE is fully
  842. supported by Linux, PAE mode is implemented on all recent Intel
  843. processors (Pentium Pro and better). NOTE: If you say "64GB" here,
  844. then the kernel will not boot on CPUs that don't support PAE!
  845. The actual amount of total physical memory will either be
  846. auto detected or can be forced by using a kernel command line option
  847. such as "mem=256M". (Try "man bootparam" or see the documentation of
  848. your boot loader (lilo or loadlin) about how to pass options to the
  849. kernel at boot time.)
  850. If unsure, say "off".
  851. config HIGHMEM4G
  852. bool "4GB"
  853. depends on !X86_NUMAQ
  854. ---help---
  855. Select this if you have a 32-bit processor and between 1 and 4
  856. gigabytes of physical RAM.
  857. config HIGHMEM64G
  858. bool "64GB"
  859. depends on !M386 && !M486
  860. select X86_PAE
  861. ---help---
  862. Select this if you have a 32-bit processor and more than 4
  863. gigabytes of physical RAM.
  864. endchoice
  865. choice
  866. depends on EXPERIMENTAL
  867. prompt "Memory split" if EMBEDDED
  868. default VMSPLIT_3G
  869. depends on X86_32
  870. ---help---
  871. Select the desired split between kernel and user memory.
  872. If the address range available to the kernel is less than the
  873. physical memory installed, the remaining memory will be available
  874. as "high memory". Accessing high memory is a little more costly
  875. than low memory, as it needs to be mapped into the kernel first.
  876. Note that increasing the kernel address space limits the range
  877. available to user programs, making the address space there
  878. tighter. Selecting anything other than the default 3G/1G split
  879. will also likely make your kernel incompatible with binary-only
  880. kernel modules.
  881. If you are not absolutely sure what you are doing, leave this
  882. option alone!
  883. config VMSPLIT_3G
  884. bool "3G/1G user/kernel split"
  885. config VMSPLIT_3G_OPT
  886. depends on !X86_PAE
  887. bool "3G/1G user/kernel split (for full 1G low memory)"
  888. config VMSPLIT_2G
  889. bool "2G/2G user/kernel split"
  890. config VMSPLIT_2G_OPT
  891. depends on !X86_PAE
  892. bool "2G/2G user/kernel split (for full 2G low memory)"
  893. config VMSPLIT_1G
  894. bool "1G/3G user/kernel split"
  895. endchoice
  896. config PAGE_OFFSET
  897. hex
  898. default 0xB0000000 if VMSPLIT_3G_OPT
  899. default 0x80000000 if VMSPLIT_2G
  900. default 0x78000000 if VMSPLIT_2G_OPT
  901. default 0x40000000 if VMSPLIT_1G
  902. default 0xC0000000
  903. depends on X86_32
  904. config HIGHMEM
  905. def_bool y
  906. depends on X86_32 && (HIGHMEM64G || HIGHMEM4G)
  907. config X86_PAE
  908. bool "PAE (Physical Address Extension) Support"
  909. depends on X86_32 && !HIGHMEM4G
  910. ---help---
  911. PAE is required for NX support, and furthermore enables
  912. larger swapspace support for non-overcommit purposes. It
  913. has the cost of more pagetable lookup overhead, and also
  914. consumes more pagetable space per process.
  915. config ARCH_PHYS_ADDR_T_64BIT
  916. def_bool X86_64 || X86_PAE
  917. config ARCH_DMA_ADDR_T_64BIT
  918. def_bool X86_64 || HIGHMEM64G
  919. config DIRECT_GBPAGES
  920. bool "Enable 1GB pages for kernel pagetables" if EMBEDDED
  921. default y
  922. depends on X86_64
  923. ---help---
  924. Allow the kernel linear mapping to use 1GB pages on CPUs that
  925. support it. This can improve the kernel's performance a tiny bit by
  926. reducing TLB pressure. If in doubt, say "Y".
  927. # Common NUMA Features
  928. config NUMA
  929. bool "Numa Memory Allocation and Scheduler Support"
  930. depends on SMP
  931. depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
  932. default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
  933. ---help---
  934. Enable NUMA (Non Uniform Memory Access) support.
  935. The kernel will try to allocate memory used by a CPU on the
  936. local memory controller of the CPU and add some more
  937. NUMA awareness to the kernel.
  938. For 64-bit this is recommended if the system is Intel Core i7
  939. (or later), AMD Opteron, or EM64T NUMA.
  940. For 32-bit this is only needed on (rare) 32-bit-only platforms
  941. that support NUMA topologies, such as NUMAQ / Summit, or if you
  942. boot a 32-bit kernel on a 64-bit NUMA platform.
  943. Otherwise, you should say N.
  944. comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
  945. depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
  946. config K8_NUMA
  947. def_bool y
  948. prompt "Old style AMD Opteron NUMA detection"
  949. depends on X86_64 && NUMA && PCI
  950. ---help---
  951. Enable K8 NUMA node topology detection. You should say Y here if
  952. you have a multi processor AMD K8 system. This uses an old
  953. method to read the NUMA configuration directly from the builtin
  954. Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA
  955. instead, which also takes priority if both are compiled in.
  956. config X86_64_ACPI_NUMA
  957. def_bool y
  958. prompt "ACPI NUMA detection"
  959. depends on X86_64 && NUMA && ACPI && PCI
  960. select ACPI_NUMA
  961. ---help---
  962. Enable ACPI SRAT based node topology detection.
  963. # Some NUMA nodes have memory ranges that span
  964. # other nodes. Even though a pfn is valid and
  965. # between a node's start and end pfns, it may not
  966. # reside on that node. See memmap_init_zone()
  967. # for details.
  968. config NODES_SPAN_OTHER_NODES
  969. def_bool y
  970. depends on X86_64_ACPI_NUMA
  971. config NUMA_EMU
  972. bool "NUMA emulation"
  973. depends on X86_64 && NUMA
  974. ---help---
  975. Enable NUMA emulation. A flat machine will be split
  976. into virtual nodes when booted with "numa=fake=N", where N is the
  977. number of nodes. This is only useful for debugging.
  978. config NODES_SHIFT
  979. int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP
  980. range 1 10
  981. default "10" if MAXSMP
  982. default "6" if X86_64
  983. default "4" if X86_NUMAQ
  984. default "3"
  985. depends on NEED_MULTIPLE_NODES
  986. ---help---
  987. Specify the maximum number of NUMA Nodes available on the target
  988. system. Increases memory reserved to accommodate various tables.
  989. config HAVE_ARCH_BOOTMEM
  990. def_bool y
  991. depends on X86_32 && NUMA
  992. config ARCH_HAVE_MEMORY_PRESENT
  993. def_bool y
  994. depends on X86_32 && DISCONTIGMEM
  995. config NEED_NODE_MEMMAP_SIZE
  996. def_bool y
  997. depends on X86_32 && (DISCONTIGMEM || SPARSEMEM)
  998. config HAVE_ARCH_ALLOC_REMAP
  999. def_bool y
  1000. depends on X86_32 && NUMA
  1001. config ARCH_FLATMEM_ENABLE
  1002. def_bool y
  1003. depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && !NUMA
  1004. config ARCH_DISCONTIGMEM_ENABLE
  1005. def_bool y
  1006. depends on NUMA && X86_32
  1007. config ARCH_DISCONTIGMEM_DEFAULT
  1008. def_bool y
  1009. depends on NUMA && X86_32
  1010. config ARCH_PROC_KCORE_TEXT
  1011. def_bool y
  1012. depends on X86_64 && PROC_KCORE
  1013. config ARCH_SPARSEMEM_DEFAULT
  1014. def_bool y
  1015. depends on X86_64
  1016. config ARCH_SPARSEMEM_ENABLE
  1017. def_bool y
  1018. depends on X86_64 || NUMA || (EXPERIMENTAL && X86_32) || X86_32_NON_STANDARD
  1019. select SPARSEMEM_STATIC if X86_32
  1020. select SPARSEMEM_VMEMMAP_ENABLE if X86_64
  1021. config ARCH_SELECT_MEMORY_MODEL
  1022. def_bool y
  1023. depends on ARCH_SPARSEMEM_ENABLE
  1024. config ARCH_MEMORY_PROBE
  1025. def_bool X86_64
  1026. depends on MEMORY_HOTPLUG
  1027. config ILLEGAL_POINTER_VALUE
  1028. hex
  1029. default 0 if X86_32
  1030. default 0xdead000000000000 if X86_64
  1031. source "mm/Kconfig"
  1032. config HIGHPTE
  1033. bool "Allocate 3rd-level pagetables from highmem"
  1034. depends on HIGHMEM
  1035. ---help---
  1036. The VM uses one page table entry for each page of physical memory.
  1037. For systems with a lot of RAM, this can be wasteful of precious
  1038. low memory. Setting this option will put user-space page table
  1039. entries in high memory.
  1040. config X86_CHECK_BIOS_CORRUPTION
  1041. bool "Check for low memory corruption"
  1042. ---help---
  1043. Periodically check for memory corruption in low memory, which
  1044. is suspected to be caused by BIOS. Even when enabled in the
  1045. configuration, it is disabled at runtime. Enable it by
  1046. setting "memory_corruption_check=1" on the kernel command
  1047. line. By default it scans the low 64k of memory every 60
  1048. seconds; see the memory_corruption_check_size and
  1049. memory_corruption_check_period parameters in
  1050. Documentation/kernel-parameters.txt to adjust this.
  1051. When enabled with the default parameters, this option has
  1052. almost no overhead, as it reserves a relatively small amount
  1053. of memory and scans it infrequently. It both detects corruption
  1054. and prevents it from affecting the running system.
  1055. It is, however, intended as a diagnostic tool; if repeatable
  1056. BIOS-originated corruption always affects the same memory,
  1057. you can use memmap= to prevent the kernel from using that
  1058. memory.
  1059. config X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK
  1060. bool "Set the default setting of memory_corruption_check"
  1061. depends on X86_CHECK_BIOS_CORRUPTION
  1062. default y
  1063. ---help---
  1064. Set whether the default state of memory_corruption_check is
  1065. on or off.
  1066. config X86_RESERVE_LOW
  1067. int "Amount of low memory, in kilobytes, to reserve for the BIOS"
  1068. default 64
  1069. range 4 640
  1070. ---help---
  1071. Specify the amount of low memory to reserve for the BIOS.
  1072. The first page contains BIOS data structures that the kernel
  1073. must not use, so that page must always be reserved.
  1074. By default we reserve the first 64K of physical RAM, as a
  1075. number of BIOSes are known to corrupt that memory range
  1076. during events such as suspend/resume or monitor cable
  1077. insertion, so it must not be used by the kernel.
  1078. You can set this to 4 if you are absolutely sure that you
  1079. trust the BIOS to get all its memory reservations and usages
  1080. right. If you know your BIOS have problems beyond the
  1081. default 64K area, you can set this to 640 to avoid using the
  1082. entire low memory range.
  1083. If you have doubts about the BIOS (e.g. suspend/resume does
  1084. not work or there's kernel crashes after certain hardware
  1085. hotplug events) then you might want to enable
  1086. X86_CHECK_BIOS_CORRUPTION=y to allow the kernel to check
  1087. typical corruption patterns.
  1088. Leave this to the default value of 64 if you are unsure.
  1089. config MATH_EMULATION
  1090. bool
  1091. prompt "Math emulation" if X86_32
  1092. ---help---
  1093. Linux can emulate a math coprocessor (used for floating point
  1094. operations) if you don't have one. 486DX and Pentium processors have
  1095. a math coprocessor built in, 486SX and 386 do not, unless you added
  1096. a 487DX or 387, respectively. (The messages during boot time can
  1097. give you some hints here ["man dmesg"].) Everyone needs either a
  1098. coprocessor or this emulation.
  1099. If you don't have a math coprocessor, you need to say Y here; if you
  1100. say Y here even though you have a coprocessor, the coprocessor will
  1101. be used nevertheless. (This behavior can be changed with the kernel
  1102. command line option "no387", which comes handy if your coprocessor
  1103. is broken. Try "man bootparam" or see the documentation of your boot
  1104. loader (lilo or loadlin) about how to pass options to the kernel at
  1105. boot time.) This means that it is a good idea to say Y here if you
  1106. intend to use this kernel on different machines.
  1107. More information about the internals of the Linux math coprocessor
  1108. emulation can be found in <file:arch/x86/math-emu/README>.
  1109. If you are not sure, say Y; apart from resulting in a 66 KB bigger
  1110. kernel, it won't hurt.
  1111. config MTRR
  1112. def_bool y
  1113. prompt "MTRR (Memory Type Range Register) support" if EMBEDDED
  1114. ---help---
  1115. On Intel P6 family processors (Pentium Pro, Pentium II and later)
  1116. the Memory Type Range Registers (MTRRs) may be used to control
  1117. processor access to memory ranges. This is most useful if you have
  1118. a video (VGA) card on a PCI or AGP bus. Enabling write-combining
  1119. allows bus write transfers to be combined into a larger transfer
  1120. before bursting over the PCI/AGP bus. This can increase performance
  1121. of image write operations 2.5 times or more. Saying Y here creates a
  1122. /proc/mtrr file which may be used to manipulate your processor's
  1123. MTRRs. Typically the X server should use this.
  1124. This code has a reasonably generic interface so that similar
  1125. control registers on other processors can be easily supported
  1126. as well:
  1127. The Cyrix 6x86, 6x86MX and M II processors have Address Range
  1128. Registers (ARRs) which provide a similar functionality to MTRRs. For
  1129. these, the ARRs are used to emulate the MTRRs.
  1130. The AMD K6-2 (stepping 8 and above) and K6-3 processors have two
  1131. MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing
  1132. write-combining. All of these processors are supported by this code
  1133. and it makes sense to say Y here if you have one of them.
  1134. Saying Y here also fixes a problem with buggy SMP BIOSes which only
  1135. set the MTRRs for the boot CPU and not for the secondary CPUs. This
  1136. can lead to all sorts of problems, so it's good to say Y here.
  1137. You can safely say Y even if your machine doesn't have MTRRs, you'll
  1138. just add about 9 KB to your kernel.
  1139. See <file:Documentation/x86/mtrr.txt> for more information.
  1140. config MTRR_SANITIZER
  1141. def_bool y
  1142. prompt "MTRR cleanup support"
  1143. depends on MTRR
  1144. ---help---
  1145. Convert MTRR layout from continuous to discrete, so X drivers can
  1146. add writeback entries.
  1147. Can be disabled with disable_mtrr_cleanup on the kernel command line.
  1148. The largest mtrr entry size for a continuous block can be set with
  1149. mtrr_chunk_size.
  1150. If unsure, say Y.
  1151. config MTRR_SANITIZER_ENABLE_DEFAULT
  1152. int "MTRR cleanup enable value (0-1)"
  1153. range 0 1
  1154. default "0"
  1155. depends on MTRR_SANITIZER
  1156. ---help---
  1157. Enable mtrr cleanup default value
  1158. config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT
  1159. int "MTRR cleanup spare reg num (0-7)"
  1160. range 0 7
  1161. default "1"
  1162. depends on MTRR_SANITIZER
  1163. ---help---
  1164. mtrr cleanup spare entries default, it can be changed via
  1165. mtrr_spare_reg_nr=N on the kernel command line.
  1166. config X86_PAT
  1167. def_bool y
  1168. prompt "x86 PAT support" if EMBEDDED
  1169. depends on MTRR
  1170. ---help---
  1171. Use PAT attributes to setup page level cache control.
  1172. PATs are the modern equivalents of MTRRs and are much more
  1173. flexible than MTRRs.
  1174. Say N here if you see bootup problems (boot crash, boot hang,
  1175. spontaneous reboots) or a non-working video driver.
  1176. If unsure, say Y.
  1177. config ARCH_USES_PG_UNCACHED
  1178. def_bool y
  1179. depends on X86_PAT
  1180. config EFI
  1181. bool "EFI runtime service support"
  1182. depends on ACPI
  1183. ---help---
  1184. This enables the kernel to use EFI runtime services that are
  1185. available (such as the EFI variable services).
  1186. This option is only useful on systems that have EFI firmware.
  1187. In addition, you should use the latest ELILO loader available
  1188. at <http://elilo.sourceforge.net> in order to take advantage
  1189. of EFI runtime services. However, even with this option, the
  1190. resultant kernel should continue to boot on existing non-EFI
  1191. platforms.
  1192. config SECCOMP
  1193. def_bool y
  1194. prompt "Enable seccomp to safely compute untrusted bytecode"
  1195. ---help---
  1196. This kernel feature is useful for number crunching applications
  1197. that may need to compute untrusted bytecode during their
  1198. execution. By using pipes or other transports made available to
  1199. the process as file descriptors supporting the read/write
  1200. syscalls, it's possible to isolate those applications in
  1201. their own address space using seccomp. Once seccomp is
  1202. enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
  1203. and the task is only allowed to execute a few safe syscalls
  1204. defined by each seccomp mode.
  1205. If unsure, say Y. Only embedded should say N here.
  1206. config CC_STACKPROTECTOR
  1207. bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
  1208. ---help---
  1209. This option turns on the -fstack-protector GCC feature. This
  1210. feature puts, at the beginning of functions, a canary value on
  1211. the stack just before the return address, and validates
  1212. the value just before actually returning. Stack based buffer
  1213. overflows (that need to overwrite this return address) now also
  1214. overwrite the canary, which gets detected and the attack is then
  1215. neutralized via a kernel panic.
  1216. This feature requires gcc version 4.2 or above, or a distribution
  1217. gcc with the feature backported. Older versions are automatically
  1218. detected and for those versions, this configuration option is
  1219. ignored. (and a warning is printed during bootup)
  1220. source kernel/Kconfig.hz
  1221. config KEXEC
  1222. bool "kexec system call"
  1223. ---help---
  1224. kexec is a system call that implements the ability to shutdown your
  1225. current kernel, and to start another kernel. It is like a reboot
  1226. but it is independent of the system firmware. And like a reboot
  1227. you can start any kernel with it, not just Linux.
  1228. The name comes from the similarity to the exec system call.
  1229. It is an ongoing process to be certain the hardware in a machine
  1230. is properly shutdown, so do not be surprised if this code does not
  1231. initially work for you. It may help to enable device hotplugging
  1232. support. As of this writing the exact hardware interface is
  1233. strongly in flux, so no good recommendation can be made.
  1234. config CRASH_DUMP
  1235. bool "kernel crash dumps"
  1236. depends on X86_64 || (X86_32 && HIGHMEM)
  1237. ---help---
  1238. Generate crash dump after being started by kexec.
  1239. This should be normally only set in special crash dump kernels
  1240. which are loaded in the main kernel with kexec-tools into
  1241. a specially reserved region and then later executed after
  1242. a crash by kdump/kexec. The crash dump kernel must be compiled
  1243. to a memory address not used by the main kernel or BIOS using
  1244. PHYSICAL_START, or it must be built as a relocatable image
  1245. (CONFIG_RELOCATABLE=y).
  1246. For more details see Documentation/kdump/kdump.txt
  1247. config KEXEC_JUMP
  1248. bool "kexec jump (EXPERIMENTAL)"
  1249. depends on EXPERIMENTAL
  1250. depends on KEXEC && HIBERNATION
  1251. ---help---
  1252. Jump between original kernel and kexeced kernel and invoke
  1253. code in physical address mode via KEXEC
  1254. config PHYSICAL_START
  1255. hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
  1256. default "0x1000000"
  1257. ---help---
  1258. This gives the physical address where the kernel is loaded.
  1259. If kernel is a not relocatable (CONFIG_RELOCATABLE=n) then
  1260. bzImage will decompress itself to above physical address and
  1261. run from there. Otherwise, bzImage will run from the address where
  1262. it has been loaded by the boot loader and will ignore above physical
  1263. address.
  1264. In normal kdump cases one does not have to set/change this option
  1265. as now bzImage can be compiled as a completely relocatable image
  1266. (CONFIG_RELOCATABLE=y) and be used to load and run from a different
  1267. address. This option is mainly useful for the folks who don't want
  1268. to use a bzImage for capturing the crash dump and want to use a
  1269. vmlinux instead. vmlinux is not relocatable hence a kernel needs
  1270. to be specifically compiled to run from a specific memory area
  1271. (normally a reserved region) and this option comes handy.
  1272. So if you are using bzImage for capturing the crash dump,
  1273. leave the value here unchanged to 0x1000000 and set
  1274. CONFIG_RELOCATABLE=y. Otherwise if you plan to use vmlinux
  1275. for capturing the crash dump change this value to start of
  1276. the reserved region. In other words, it can be set based on
  1277. the "X" value as specified in the "crashkernel=YM@XM"
  1278. command line boot parameter passed to the panic-ed
  1279. kernel. Please take a look at Documentation/kdump/kdump.txt
  1280. for more details about crash dumps.
  1281. Usage of bzImage for capturing the crash dump is recommended as
  1282. one does not have to build two kernels. Same kernel can be used
  1283. as production kernel and capture kernel. Above option should have
  1284. gone away after relocatable bzImage support is introduced. But it
  1285. is present because there are users out there who continue to use
  1286. vmlinux for dump capture. This option should go away down the
  1287. line.
  1288. Don't change this unless you know what you are doing.
  1289. config RELOCATABLE
  1290. bool "Build a relocatable kernel"
  1291. default y
  1292. ---help---
  1293. This builds a kernel image that retains relocation information
  1294. so it can be loaded someplace besides the default 1MB.
  1295. The relocations tend to make the kernel binary about 10% larger,
  1296. but are discarded at runtime.
  1297. One use is for the kexec on panic case where the recovery kernel
  1298. must live at a different physical address than the primary
  1299. kernel.
  1300. Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
  1301. it has been loaded at and the compile time physical address
  1302. (CONFIG_PHYSICAL_START) is ignored.
  1303. # Relocation on x86-32 needs some additional build support
  1304. config X86_NEED_RELOCS
  1305. def_bool y
  1306. depends on X86_32 && RELOCATABLE
  1307. config PHYSICAL_ALIGN
  1308. hex "Alignment value to which kernel should be aligned" if X86_32
  1309. default "0x1000000"
  1310. range 0x2000 0x1000000
  1311. ---help---
  1312. This value puts the alignment restrictions on physical address
  1313. where kernel is loaded and run from. Kernel is compiled for an
  1314. address which meets above alignment restriction.
  1315. If bootloader loads the kernel at a non-aligned address and
  1316. CONFIG_RELOCATABLE is set, kernel will move itself to nearest
  1317. address aligned to above value and run from there.
  1318. If bootloader loads the kernel at a non-aligned address and
  1319. CONFIG_RELOCATABLE is not set, kernel will ignore the run time
  1320. load address and decompress itself to the address it has been
  1321. compiled for and run from there. The address for which kernel is
  1322. compiled already meets above alignment restrictions. Hence the
  1323. end result is that kernel runs from a physical address meeting
  1324. above alignment restrictions.
  1325. Don't change this unless you know what you are doing.
  1326. config HOTPLUG_CPU
  1327. bool "Support for hot-pluggable CPUs"
  1328. depends on SMP && HOTPLUG
  1329. ---help---
  1330. Say Y here to allow turning CPUs off and on. CPUs can be
  1331. controlled through /sys/devices/system/cpu.
  1332. ( Note: power management support will enable this option
  1333. automatically on SMP systems. )
  1334. Say N if you want to disable CPU hotplug.
  1335. config COMPAT_VDSO
  1336. def_bool y
  1337. prompt "Compat VDSO support"
  1338. depends on X86_32 || IA32_EMULATION
  1339. ---help---
  1340. Map the 32-bit VDSO to the predictable old-style address too.
  1341. Say N here if you are running a sufficiently recent glibc
  1342. version (2.3.3 or later), to remove the high-mapped
  1343. VDSO mapping and to exclusively use the randomized VDSO.
  1344. If unsure, say Y.
  1345. config CMDLINE_BOOL
  1346. bool "Built-in kernel command line"
  1347. ---help---
  1348. Allow for specifying boot arguments to the kernel at
  1349. build time. On some systems (e.g. embedded ones), it is
  1350. necessary or convenient to provide some or all of the
  1351. kernel boot arguments with the kernel itself (that is,
  1352. to not rely on the boot loader to provide them.)
  1353. To compile command line arguments into the kernel,
  1354. set this option to 'Y', then fill in the
  1355. the boot arguments in CONFIG_CMDLINE.
  1356. Systems with fully functional boot loaders (i.e. non-embedded)
  1357. should leave this option set to 'N'.
  1358. config CMDLINE
  1359. string "Built-in kernel command string"
  1360. depends on CMDLINE_BOOL
  1361. default ""
  1362. ---help---
  1363. Enter arguments here that should be compiled into the kernel
  1364. image and used at boot time. If the boot loader provides a
  1365. command line at boot time, it is appended to this string to
  1366. form the full kernel command line, when the system boots.
  1367. However, you can use the CONFIG_CMDLINE_OVERRIDE option to
  1368. change this behavior.
  1369. In most cases, the command line (whether built-in or provided
  1370. by the boot loader) should specify the device for the root
  1371. file system.
  1372. config CMDLINE_OVERRIDE
  1373. bool "Built-in command line overrides boot loader arguments"
  1374. depends on CMDLINE_BOOL
  1375. ---help---
  1376. Set this option to 'Y' to have the kernel ignore the boot loader
  1377. command line, and use ONLY the built-in command line.
  1378. This is used to work around broken boot loaders. This should
  1379. be set to 'N' under normal conditions.
  1380. endmenu
  1381. config ARCH_ENABLE_MEMORY_HOTPLUG
  1382. def_bool y
  1383. depends on X86_64 || (X86_32 && HIGHMEM)
  1384. config ARCH_ENABLE_MEMORY_HOTREMOVE
  1385. def_bool y
  1386. depends on MEMORY_HOTPLUG
  1387. config HAVE_ARCH_EARLY_PFN_TO_NID
  1388. def_bool X86_64
  1389. depends on NUMA
  1390. config USE_PERCPU_NUMA_NODE_ID
  1391. def_bool X86_64
  1392. depends on NUMA
  1393. menu "Power management and ACPI options"
  1394. config ARCH_HIBERNATION_HEADER
  1395. def_bool y
  1396. depends on X86_64 && HIBERNATION
  1397. source "kernel/power/Kconfig"
  1398. source "drivers/acpi/Kconfig"
  1399. source "drivers/sfi/Kconfig"
  1400. config X86_APM_BOOT
  1401. def_bool y
  1402. depends on APM || APM_MODULE
  1403. menuconfig APM
  1404. tristate "APM (Advanced Power Management) BIOS support"
  1405. depends on X86_32 && PM_SLEEP
  1406. ---help---
  1407. APM is a BIOS specification for saving power using several different
  1408. techniques. This is mostly useful for battery powered laptops with
  1409. APM compliant BIOSes. If you say Y here, the system time will be
  1410. reset after a RESUME operation, the /proc/apm device will provide
  1411. battery status information, and user-space programs will receive
  1412. notification of APM "events" (e.g. battery status change).
  1413. If you select "Y" here, you can disable actual use of the APM
  1414. BIOS by passing the "apm=off" option to the kernel at boot time.
  1415. Note that the APM support is almost completely disabled for
  1416. machines with more than one CPU.
  1417. In order to use APM, you will need supporting software. For location
  1418. and more information, read <file:Documentation/power/pm.txt> and the
  1419. Battery Powered Linux mini-HOWTO, available from
  1420. <http://www.tldp.org/docs.html#howto>.
  1421. This driver does not spin down disk drives (see the hdparm(8)
  1422. manpage ("man 8 hdparm") for that), and it doesn't turn off
  1423. VESA-compliant "green" monitors.
  1424. This driver does not support the TI 4000M TravelMate and the ACER
  1425. 486/DX4/75 because they don't have compliant BIOSes. Many "green"
  1426. desktop machines also don't have compliant BIOSes, and this driver
  1427. may cause those machines to panic during the boot phase.
  1428. Generally, if you don't have a battery in your machine, there isn't
  1429. much point in using this driver and you should say N. If you get
  1430. random kernel OOPSes or reboots that don't seem to be related to
  1431. anything, try disabling/enabling this option (or disabling/enabling
  1432. APM in your BIOS).
  1433. Some other things you should try when experiencing seemingly random,
  1434. "weird" problems:
  1435. 1) make sure that you have enough swap space and that it is
  1436. enabled.
  1437. 2) pass the "no-hlt" option to the kernel
  1438. 3) switch on floating point emulation in the kernel and pass
  1439. the "no387" option to the kernel
  1440. 4) pass the "floppy=nodma" option to the kernel
  1441. 5) pass the "mem=4M" option to the kernel (thereby disabling
  1442. all but the first 4 MB of RAM)
  1443. 6) make sure that the CPU is not over clocked.
  1444. 7) read the sig11 FAQ at <http://www.bitwizard.nl/sig11/>
  1445. 8) disable the cache from your BIOS settings
  1446. 9) install a fan for the video card or exchange video RAM
  1447. 10) install a better fan for the CPU
  1448. 11) exchange RAM chips
  1449. 12) exchange the motherboard.
  1450. To compile this driver as a module, choose M here: the
  1451. module will be called apm.
  1452. if APM
  1453. config APM_IGNORE_USER_SUSPEND
  1454. bool "Ignore USER SUSPEND"
  1455. ---help---
  1456. This option will ignore USER SUSPEND requests. On machines with a
  1457. compliant APM BIOS, you want to say N. However, on the NEC Versa M
  1458. series notebooks, it is necessary to say Y because of a BIOS bug.
  1459. config APM_DO_ENABLE
  1460. bool "Enable PM at boot time"
  1461. ---help---
  1462. Enable APM features at boot time. From page 36 of the APM BIOS
  1463. specification: "When disabled, the APM BIOS does not automatically
  1464. power manage devices, enter the Standby State, enter the Suspend
  1465. State, or take power saving steps in response to CPU Idle calls."
  1466. This driver will make CPU Idle calls when Linux is idle (unless this
  1467. feature is turned off -- see "Do CPU IDLE calls", below). This
  1468. should always save battery power, but more complicated APM features
  1469. will be dependent on your BIOS implementation. You may need to turn
  1470. this option off if your computer hangs at boot time when using APM
  1471. support, or if it beeps continuously instead of suspending. Turn
  1472. this off if you have a NEC UltraLite Versa 33/C or a Toshiba
  1473. T400CDT. This is off by default since most machines do fine without
  1474. this feature.
  1475. config APM_CPU_IDLE
  1476. bool "Make CPU Idle calls when idle"
  1477. ---help---
  1478. Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
  1479. On some machines, this can activate improved power savings, such as
  1480. a slowed CPU clock rate, when the machine is idle. These idle calls
  1481. are made after the idle loop has run for some length of time (e.g.,
  1482. 333 mS). On some machines, this will cause a hang at boot time or
  1483. whenever the CPU becomes idle. (On machines with more than one CPU,
  1484. this option does nothing.)
  1485. config APM_DISPLAY_BLANK
  1486. bool "Enable console blanking using APM"
  1487. ---help---
  1488. Enable console blanking using the APM. Some laptops can use this to
  1489. turn off the LCD backlight when the screen blanker of the Linux
  1490. virtual console blanks the screen. Note that this is only used by
  1491. the virtual console screen blanker, and won't turn off the backlight
  1492. when using the X Window system. This also doesn't have anything to
  1493. do with your VESA-compliant power-saving monitor. Further, this
  1494. option doesn't work for all laptops -- it might not turn off your
  1495. backlight at all, or it might print a lot of errors to the console,
  1496. especially if you are using gpm.
  1497. config APM_ALLOW_INTS
  1498. bool "Allow interrupts during APM BIOS calls"
  1499. ---help---
  1500. Normally we disable external interrupts while we are making calls to
  1501. the APM BIOS as a measure to lessen the effects of a badly behaving
  1502. BIOS implementation. The BIOS should reenable interrupts if it
  1503. needs to. Unfortunately, some BIOSes do not -- especially those in
  1504. many of the newer IBM Thinkpads. If you experience hangs when you
  1505. suspend, try setting this to Y. Otherwise, say N.
  1506. endif # APM
  1507. source "arch/x86/kernel/cpu/cpufreq/Kconfig"
  1508. source "drivers/cpuidle/Kconfig"
  1509. source "drivers/idle/Kconfig"
  1510. endmenu
  1511. menu "Bus options (PCI etc.)"
  1512. config PCI
  1513. bool "PCI support"
  1514. default y
  1515. select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
  1516. ---help---
  1517. Find out whether you have a PCI motherboard. PCI is the name of a
  1518. bus system, i.e. the way the CPU talks to the other stuff inside
  1519. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  1520. VESA. If you have PCI, say Y, otherwise N.
  1521. choice
  1522. prompt "PCI access mode"
  1523. depends on X86_32 && PCI
  1524. default PCI_GOANY
  1525. ---help---
  1526. On PCI systems, the BIOS can be used to detect the PCI devices and
  1527. determine their configuration. However, some old PCI motherboards
  1528. have BIOS bugs and may crash if this is done. Also, some embedded
  1529. PCI-based systems don't have any BIOS at all. Linux can also try to
  1530. detect the PCI hardware directly without using the BIOS.
  1531. With this option, you can specify how Linux should detect the
  1532. PCI devices. If you choose "BIOS", the BIOS will be used,
  1533. if you choose "Direct", the BIOS won't be used, and if you
  1534. choose "MMConfig", then PCI Express MMCONFIG will be used.
  1535. If you choose "Any", the kernel will try MMCONFIG, then the
  1536. direct access method and falls back to the BIOS if that doesn't
  1537. work. If unsure, go with the default, which is "Any".
  1538. config PCI_GOBIOS
  1539. bool "BIOS"
  1540. config PCI_GOMMCONFIG
  1541. bool "MMConfig"
  1542. config PCI_GODIRECT
  1543. bool "Direct"
  1544. config PCI_GOOLPC
  1545. bool "OLPC XO-1"
  1546. depends on OLPC
  1547. config PCI_GOANY
  1548. bool "Any"
  1549. endchoice
  1550. config PCI_BIOS
  1551. def_bool y
  1552. depends on X86_32 && PCI && (PCI_GOBIOS || PCI_GOANY)
  1553. # x86-64 doesn't support PCI BIOS access from long mode so always go direct.
  1554. config PCI_DIRECT
  1555. def_bool y
  1556. depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC))
  1557. config PCI_MMCONFIG
  1558. def_bool y
  1559. depends on X86_32 && PCI && (ACPI || SFI) && (PCI_GOMMCONFIG || PCI_GOANY)
  1560. config PCI_OLPC
  1561. def_bool y
  1562. depends on PCI && OLPC && (PCI_GOOLPC || PCI_GOANY)
  1563. config PCI_XEN
  1564. def_bool y
  1565. depends on PCI && XEN
  1566. select SWIOTLB_XEN
  1567. config PCI_DOMAINS
  1568. def_bool y
  1569. depends on PCI
  1570. config PCI_MMCONFIG
  1571. bool "Support mmconfig PCI config space access"
  1572. depends on X86_64 && PCI && ACPI
  1573. config PCI_CNB20LE_QUIRK
  1574. bool "Read CNB20LE Host Bridge Windows"
  1575. depends on PCI
  1576. help
  1577. Read the PCI windows out of the CNB20LE host bridge. This allows
  1578. PCI hotplug to work on systems with the CNB20LE chipset which do
  1579. not have ACPI.
  1580. config DMAR
  1581. bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
  1582. depends on PCI_MSI && ACPI && EXPERIMENTAL
  1583. help
  1584. DMA remapping (DMAR) devices support enables independent address
  1585. translations for Direct Memory Access (DMA) from devices.
  1586. These DMA remapping devices are reported via ACPI tables
  1587. and include PCI device scope covered by these DMA
  1588. remapping devices.
  1589. config DMAR_DEFAULT_ON
  1590. def_bool y
  1591. prompt "Enable DMA Remapping Devices by default"
  1592. depends on DMAR
  1593. help
  1594. Selecting this option will enable a DMAR device at boot time if
  1595. one is found. If this option is not selected, DMAR support can
  1596. be enabled by passing intel_iommu=on to the kernel. It is
  1597. recommended you say N here while the DMAR code remains
  1598. experimental.
  1599. config DMAR_BROKEN_GFX_WA
  1600. bool "Workaround broken graphics drivers (going away soon)"
  1601. depends on DMAR && BROKEN
  1602. ---help---
  1603. Current Graphics drivers tend to use physical address
  1604. for DMA and avoid using DMA APIs. Setting this config
  1605. option permits the IOMMU driver to set a unity map for
  1606. all the OS-visible memory. Hence the driver can continue
  1607. to use physical addresses for DMA, at least until this
  1608. option is removed in the 2.6.32 kernel.
  1609. config DMAR_FLOPPY_WA
  1610. def_bool y
  1611. depends on DMAR
  1612. ---help---
  1613. Floppy disk drivers are known to bypass DMA API calls
  1614. thereby failing to work when IOMMU is enabled. This
  1615. workaround will setup a 1:1 mapping for the first
  1616. 16MiB to make floppy (an ISA device) work.
  1617. config INTR_REMAP
  1618. bool "Support for Interrupt Remapping (EXPERIMENTAL)"
  1619. depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL
  1620. ---help---
  1621. Supports Interrupt remapping for IO-APIC and MSI devices.
  1622. To use x2apic mode in the CPU's which support x2APIC enhancements or
  1623. to support platforms with CPU's having > 8 bit APIC ID, say Y.
  1624. source "drivers/pci/pcie/Kconfig"
  1625. source "drivers/pci/Kconfig"
  1626. # x86_64 have no ISA slots, but do have ISA-style DMA.
  1627. config ISA_DMA_API
  1628. def_bool y
  1629. if X86_32
  1630. config ISA
  1631. bool "ISA support"
  1632. ---help---
  1633. Find out whether you have ISA slots on your motherboard. ISA is the
  1634. name of a bus system, i.e. the way the CPU talks to the other stuff
  1635. inside your box. Other bus systems are PCI, EISA, MicroChannel
  1636. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  1637. newer boards don't support it. If you have ISA, say Y, otherwise N.
  1638. config EISA
  1639. bool "EISA support"
  1640. depends on ISA
  1641. ---help---
  1642. The Extended Industry Standard Architecture (EISA) bus was
  1643. developed as an open alternative to the IBM MicroChannel bus.
  1644. The EISA bus provided some of the features of the IBM MicroChannel
  1645. bus while maintaining backward compatibility with cards made for
  1646. the older ISA bus. The EISA bus saw limited use between 1988 and
  1647. 1995 when it was made obsolete by the PCI bus.
  1648. Say Y here if you are building a kernel for an EISA-based machine.
  1649. Otherwise, say N.
  1650. source "drivers/eisa/Kconfig"
  1651. config MCA
  1652. bool "MCA support"
  1653. ---help---
  1654. MicroChannel Architecture is found in some IBM PS/2 machines and
  1655. laptops. It is a bus system similar to PCI or ISA. See
  1656. <file:Documentation/mca.txt> (and especially the web page given
  1657. there) before attempting to build an MCA bus kernel.
  1658. source "drivers/mca/Kconfig"
  1659. config SCx200
  1660. tristate "NatSemi SCx200 support"
  1661. ---help---
  1662. This provides basic support for National Semiconductor's
  1663. (now AMD's) Geode processors. The driver probes for the
  1664. PCI-IDs of several on-chip devices, so its a good dependency
  1665. for other scx200_* drivers.
  1666. If compiled as a module, the driver is named scx200.
  1667. config SCx200HR_TIMER
  1668. tristate "NatSemi SCx200 27MHz High-Resolution Timer Support"
  1669. depends on SCx200
  1670. default y
  1671. ---help---
  1672. This driver provides a clocksource built upon the on-chip
  1673. 27MHz high-resolution timer. Its also a workaround for
  1674. NSC Geode SC-1100's buggy TSC, which loses time when the
  1675. processor goes idle (as is done by the scheduler). The
  1676. other workaround is idle=poll boot option.
  1677. config OLPC
  1678. bool "One Laptop Per Child support"
  1679. select GPIOLIB
  1680. select OLPC_OPENFIRMWARE
  1681. ---help---
  1682. Add support for detecting the unique features of the OLPC
  1683. XO hardware.
  1684. config OLPC_XO1
  1685. tristate "OLPC XO-1 support"
  1686. depends on OLPC && PCI
  1687. ---help---
  1688. Add support for non-essential features of the OLPC XO-1 laptop.
  1689. config OLPC_OPENFIRMWARE
  1690. bool "Support for OLPC's Open Firmware"
  1691. depends on !X86_64 && !X86_PAE
  1692. default n
  1693. help
  1694. This option adds support for the implementation of Open Firmware
  1695. that is used on the OLPC XO-1 Children's Machine.
  1696. If unsure, say N here.
  1697. endif # X86_32
  1698. config AMD_NB
  1699. def_bool y
  1700. depends on CPU_SUP_AMD && PCI
  1701. source "drivers/pcmcia/Kconfig"
  1702. source "drivers/pci/hotplug/Kconfig"
  1703. endmenu
  1704. menu "Executable file formats / Emulations"
  1705. source "fs/Kconfig.binfmt"
  1706. config IA32_EMULATION
  1707. bool "IA32 Emulation"
  1708. depends on X86_64
  1709. select COMPAT_BINFMT_ELF
  1710. ---help---
  1711. Include code to run 32-bit programs under a 64-bit kernel. You should
  1712. likely turn this on, unless you're 100% sure that you don't have any
  1713. 32-bit programs left.
  1714. config IA32_AOUT
  1715. tristate "IA32 a.out support"
  1716. depends on IA32_EMULATION
  1717. ---help---
  1718. Support old a.out binaries in the 32bit emulation.
  1719. config COMPAT
  1720. def_bool y
  1721. depends on IA32_EMULATION
  1722. config COMPAT_FOR_U64_ALIGNMENT
  1723. def_bool COMPAT
  1724. depends on X86_64
  1725. config SYSVIPC_COMPAT
  1726. def_bool y
  1727. depends on COMPAT && SYSVIPC
  1728. endmenu
  1729. config HAVE_ATOMIC_IOMAP
  1730. def_bool y
  1731. depends on X86_32
  1732. config HAVE_TEXT_POKE_SMP
  1733. bool
  1734. select STOP_MACHINE if SMP
  1735. source "net/Kconfig"
  1736. source "drivers/Kconfig"
  1737. source "drivers/firmware/Kconfig"
  1738. source "fs/Kconfig"
  1739. source "arch/x86/Kconfig.debug"
  1740. source "security/Kconfig"
  1741. source "crypto/Kconfig"
  1742. source "arch/x86/kvm/Kconfig"
  1743. source "lib/Kconfig"