Kconfig 73 KB

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