Kconfig 73 KB

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