Kconfig 83 KB

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