Kconfig 76 KB

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