Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922
  1. config MMU
  2. def_bool y
  3. config ZONE_DMA
  4. def_bool y
  5. config LOCKDEP_SUPPORT
  6. def_bool y
  7. config STACKTRACE_SUPPORT
  8. def_bool y
  9. config HAVE_LATENCYTOP_SUPPORT
  10. def_bool y
  11. config RWSEM_GENERIC_SPINLOCK
  12. bool
  13. config RWSEM_XCHGADD_ALGORITHM
  14. def_bool y
  15. config ARCH_HAS_ILOG2_U32
  16. def_bool n
  17. config ARCH_HAS_ILOG2_U64
  18. def_bool n
  19. config GENERIC_HWEIGHT
  20. def_bool y
  21. config GENERIC_BUG
  22. def_bool y if BUG
  23. config GENERIC_BUG_RELATIVE_POINTERS
  24. def_bool y
  25. config ARCH_DMA_ADDR_T_64BIT
  26. def_bool y
  27. config GENERIC_LOCKBREAK
  28. def_bool y if SMP && PREEMPT
  29. config PGSTE
  30. def_bool y if KVM
  31. config ARCH_SUPPORTS_DEBUG_PAGEALLOC
  32. def_bool y
  33. config KEXEC
  34. def_bool y
  35. select KEXEC_CORE
  36. config AUDIT_ARCH
  37. def_bool y
  38. config NO_IOPORT_MAP
  39. def_bool y
  40. config PCI_QUIRKS
  41. def_bool n
  42. config ARCH_SUPPORTS_UPROBES
  43. def_bool y
  44. config S390
  45. def_bool y
  46. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  47. select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
  48. select ARCH_HAS_ELF_RANDOMIZE
  49. select ARCH_HAS_GCOV_PROFILE_ALL
  50. select ARCH_HAS_SG_CHAIN
  51. select ARCH_HAVE_NMI_SAFE_CMPXCHG
  52. select ARCH_INLINE_READ_LOCK
  53. select ARCH_INLINE_READ_LOCK_BH
  54. select ARCH_INLINE_READ_LOCK_IRQ
  55. select ARCH_INLINE_READ_LOCK_IRQSAVE
  56. select ARCH_INLINE_READ_TRYLOCK
  57. select ARCH_INLINE_READ_UNLOCK
  58. select ARCH_INLINE_READ_UNLOCK_BH
  59. select ARCH_INLINE_READ_UNLOCK_IRQ
  60. select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
  61. select ARCH_INLINE_SPIN_LOCK
  62. select ARCH_INLINE_SPIN_LOCK_BH
  63. select ARCH_INLINE_SPIN_LOCK_IRQ
  64. select ARCH_INLINE_SPIN_LOCK_IRQSAVE
  65. select ARCH_INLINE_SPIN_TRYLOCK
  66. select ARCH_INLINE_SPIN_TRYLOCK_BH
  67. select ARCH_INLINE_SPIN_UNLOCK
  68. select ARCH_INLINE_SPIN_UNLOCK_BH
  69. select ARCH_INLINE_SPIN_UNLOCK_IRQ
  70. select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
  71. select ARCH_INLINE_WRITE_LOCK
  72. select ARCH_INLINE_WRITE_LOCK_BH
  73. select ARCH_INLINE_WRITE_LOCK_IRQ
  74. select ARCH_INLINE_WRITE_LOCK_IRQSAVE
  75. select ARCH_INLINE_WRITE_TRYLOCK
  76. select ARCH_INLINE_WRITE_UNLOCK
  77. select ARCH_INLINE_WRITE_UNLOCK_BH
  78. select ARCH_INLINE_WRITE_UNLOCK_IRQ
  79. select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
  80. select ARCH_SAVE_PAGE_KEYS if HIBERNATION
  81. select ARCH_SUPPORTS_ATOMIC_RMW
  82. select ARCH_SUPPORTS_NUMA_BALANCING
  83. select ARCH_USE_BUILTIN_BSWAP
  84. select ARCH_USE_CMPXCHG_LOCKREF
  85. select ARCH_WANTS_PROT_NUMA_PROT_NONE
  86. select ARCH_WANT_IPC_PARSE_VERSION
  87. select BUILDTIME_EXTABLE_SORT
  88. select CLONE_BACKWARDS2
  89. select DYNAMIC_FTRACE if FUNCTION_TRACER
  90. select GENERIC_CLOCKEVENTS
  91. select GENERIC_CPU_AUTOPROBE
  92. select GENERIC_CPU_DEVICES if !SMP
  93. select GENERIC_CPU_VULNERABILITIES
  94. select GENERIC_FIND_FIRST_BIT
  95. select GENERIC_SMP_IDLE_THREAD
  96. select GENERIC_TIME_VSYSCALL
  97. select HAVE_ALIGNED_STRUCT_PAGE if SLUB
  98. select HAVE_ARCH_AUDITSYSCALL
  99. select HAVE_ARCH_EARLY_PFN_TO_NID
  100. select HAVE_ARCH_JUMP_LABEL
  101. select HAVE_ARCH_SECCOMP_FILTER
  102. select HAVE_ARCH_SOFT_DIRTY
  103. select HAVE_ARCH_TRACEHOOK
  104. select HAVE_ARCH_TRANSPARENT_HUGEPAGE
  105. select HAVE_BPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES
  106. select HAVE_EBPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES
  107. select HAVE_CMPXCHG_DOUBLE
  108. select HAVE_CMPXCHG_LOCAL
  109. select HAVE_DEBUG_KMEMLEAK
  110. select HAVE_DYNAMIC_FTRACE
  111. select HAVE_DYNAMIC_FTRACE_WITH_REGS
  112. select HAVE_FTRACE_MCOUNT_RECORD
  113. select HAVE_FUNCTION_GRAPH_TRACER
  114. select HAVE_FUNCTION_TRACER
  115. select HAVE_FUTEX_CMPXCHG if FUTEX
  116. select HAVE_KERNEL_BZIP2
  117. select HAVE_KERNEL_GZIP
  118. select HAVE_KERNEL_LZ4
  119. select HAVE_KERNEL_LZMA
  120. select HAVE_KERNEL_LZO
  121. select HAVE_KERNEL_XZ
  122. select HAVE_KPROBES
  123. select HAVE_KRETPROBES
  124. select HAVE_KVM
  125. select HAVE_LIVEPATCH
  126. select HAVE_MEMBLOCK
  127. select HAVE_MEMBLOCK_NODE_MAP
  128. select HAVE_MEMBLOCK_PHYS_MAP
  129. select HAVE_MOD_ARCH_SPECIFIC
  130. select HAVE_OPROFILE
  131. select HAVE_PERF_EVENTS
  132. select HAVE_REGS_AND_STACK_ACCESS_API
  133. select HAVE_SYSCALL_TRACEPOINTS
  134. select HAVE_VIRT_CPU_ACCOUNTING
  135. select MODULES_USE_ELF_RELA
  136. select NO_BOOTMEM
  137. select OLD_SIGACTION
  138. select OLD_SIGSUSPEND3
  139. select SYSCTL_EXCEPTION_TRACE
  140. select TTY
  141. select VIRT_CPU_ACCOUNTING
  142. select VIRT_TO_BUS
  143. config SCHED_OMIT_FRAME_POINTER
  144. def_bool y
  145. config PGTABLE_LEVELS
  146. int
  147. default 4 if 64BIT
  148. default 2
  149. source "init/Kconfig"
  150. source "kernel/Kconfig.freezer"
  151. source "kernel/livepatch/Kconfig"
  152. menu "Processor type and features"
  153. config HAVE_MARCH_Z900_FEATURES
  154. def_bool n
  155. config HAVE_MARCH_Z990_FEATURES
  156. def_bool n
  157. select HAVE_MARCH_Z900_FEATURES
  158. config HAVE_MARCH_Z9_109_FEATURES
  159. def_bool n
  160. select HAVE_MARCH_Z990_FEATURES
  161. config HAVE_MARCH_Z10_FEATURES
  162. def_bool n
  163. select HAVE_MARCH_Z9_109_FEATURES
  164. config HAVE_MARCH_Z196_FEATURES
  165. def_bool n
  166. select HAVE_MARCH_Z10_FEATURES
  167. config HAVE_MARCH_ZEC12_FEATURES
  168. def_bool n
  169. select HAVE_MARCH_Z196_FEATURES
  170. config HAVE_MARCH_Z13_FEATURES
  171. def_bool n
  172. select HAVE_MARCH_ZEC12_FEATURES
  173. choice
  174. prompt "Processor type"
  175. default MARCH_Z900
  176. config MARCH_Z900
  177. bool "IBM zSeries model z800 and z900"
  178. select HAVE_MARCH_Z900_FEATURES
  179. help
  180. Select this to enable optimizations for model z800/z900 (2064 and
  181. 2066 series). This will enable some optimizations that are not
  182. available on older ESA/390 (31 Bit) only CPUs.
  183. config MARCH_Z990
  184. bool "IBM zSeries model z890 and z990"
  185. select HAVE_MARCH_Z990_FEATURES
  186. help
  187. Select this to enable optimizations for model z890/z990 (2084 and
  188. 2086 series). The kernel will be slightly faster but will not work
  189. on older machines.
  190. config MARCH_Z9_109
  191. bool "IBM System z9"
  192. select HAVE_MARCH_Z9_109_FEATURES
  193. help
  194. Select this to enable optimizations for IBM System z9 (2094 and
  195. 2096 series). The kernel will be slightly faster but will not work
  196. on older machines.
  197. config MARCH_Z10
  198. bool "IBM System z10"
  199. select HAVE_MARCH_Z10_FEATURES
  200. help
  201. Select this to enable optimizations for IBM System z10 (2097 and
  202. 2098 series). The kernel will be slightly faster but will not work
  203. on older machines.
  204. config MARCH_Z196
  205. bool "IBM zEnterprise 114 and 196"
  206. select HAVE_MARCH_Z196_FEATURES
  207. help
  208. Select this to enable optimizations for IBM zEnterprise 114 and 196
  209. (2818 and 2817 series). The kernel will be slightly faster but will
  210. not work on older machines.
  211. config MARCH_ZEC12
  212. bool "IBM zBC12 and zEC12"
  213. select HAVE_MARCH_ZEC12_FEATURES
  214. help
  215. Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
  216. 2827 series). The kernel will be slightly faster but will not work on
  217. older machines.
  218. config MARCH_Z13
  219. bool "IBM z13"
  220. select HAVE_MARCH_Z13_FEATURES
  221. help
  222. Select this to enable optimizations for IBM z13 (2964 series).
  223. The kernel will be slightly faster but will not work on older
  224. machines.
  225. endchoice
  226. config MARCH_Z900_TUNE
  227. def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT
  228. config MARCH_Z990_TUNE
  229. def_bool TUNE_Z990 || MARCH_Z990 && TUNE_DEFAULT
  230. config MARCH_Z9_109_TUNE
  231. def_bool TUNE_Z9_109 || MARCH_Z9_109 && TUNE_DEFAULT
  232. config MARCH_Z10_TUNE
  233. def_bool TUNE_Z10 || MARCH_Z10 && TUNE_DEFAULT
  234. config MARCH_Z196_TUNE
  235. def_bool TUNE_Z196 || MARCH_Z196 && TUNE_DEFAULT
  236. config MARCH_ZEC12_TUNE
  237. def_bool TUNE_ZEC12 || MARCH_ZEC12 && TUNE_DEFAULT
  238. config MARCH_Z13_TUNE
  239. def_bool TUNE_Z13 || MARCH_Z13 && TUNE_DEFAULT
  240. choice
  241. prompt "Tune code generation"
  242. default TUNE_DEFAULT
  243. help
  244. Cause the compiler to tune (-mtune) the generated code for a machine.
  245. This will make the code run faster on the selected machine but
  246. somewhat slower on other machines.
  247. This option only changes how the compiler emits instructions, not the
  248. selection of instructions itself, so the resulting kernel will run on
  249. all other machines.
  250. config TUNE_DEFAULT
  251. bool "Default"
  252. help
  253. Tune the generated code for the target processor for which the kernel
  254. will be compiled.
  255. config TUNE_Z900
  256. bool "IBM zSeries model z800 and z900"
  257. config TUNE_Z990
  258. bool "IBM zSeries model z890 and z990"
  259. config TUNE_Z9_109
  260. bool "IBM System z9"
  261. config TUNE_Z10
  262. bool "IBM System z10"
  263. config TUNE_Z196
  264. bool "IBM zEnterprise 114 and 196"
  265. config TUNE_ZEC12
  266. bool "IBM zBC12 and zEC12"
  267. config TUNE_Z13
  268. bool "IBM z13"
  269. endchoice
  270. config 64BIT
  271. def_bool y
  272. config COMPAT
  273. def_bool y
  274. prompt "Kernel support for 31 bit emulation"
  275. select COMPAT_BINFMT_ELF if BINFMT_ELF
  276. select ARCH_WANT_OLD_COMPAT_IPC
  277. select COMPAT_OLD_SIGACTION
  278. depends on MULTIUSER
  279. help
  280. Select this option if you want to enable your system kernel to
  281. handle system-calls from ELF binaries for 31 bit ESA. This option
  282. (and some other stuff like libraries and such) is needed for
  283. executing 31 bit applications. It is safe to say "Y".
  284. config SYSVIPC_COMPAT
  285. def_bool y if COMPAT && SYSVIPC
  286. config SMP
  287. def_bool y
  288. prompt "Symmetric multi-processing support"
  289. ---help---
  290. This enables support for systems with more than one CPU. If you have
  291. a system with only one CPU, like most personal computers, say N. If
  292. you have a system with more than one CPU, say Y.
  293. If you say N here, the kernel will run on uni- and multiprocessor
  294. machines, but will use only one CPU of a multiprocessor machine. If
  295. you say Y here, the kernel will run on many, but not all,
  296. uniprocessor machines. On a uniprocessor machine, the kernel
  297. will run faster if you say N here.
  298. See also the SMP-HOWTO available at
  299. <http://www.tldp.org/docs.html#howto>.
  300. Even if you don't know what to do here, say Y.
  301. config NR_CPUS
  302. int "Maximum number of CPUs (2-512)"
  303. range 2 512
  304. depends on SMP
  305. default "64"
  306. help
  307. This allows you to specify the maximum number of CPUs which this
  308. kernel will support. The maximum supported value is 512 and the
  309. minimum value which makes sense is 2.
  310. This is purely to save memory - each supported CPU adds
  311. approximately sixteen kilobytes to the kernel image.
  312. config HOTPLUG_CPU
  313. def_bool y
  314. prompt "Support for hot-pluggable CPUs"
  315. depends on SMP
  316. help
  317. Say Y here to be able to turn CPUs off and on. CPUs
  318. can be controlled through /sys/devices/system/cpu/cpu#.
  319. Say N if you want to disable CPU hotplug.
  320. config SCHED_SMT
  321. def_bool n
  322. # Some NUMA nodes have memory ranges that span
  323. # other nodes. Even though a pfn is valid and
  324. # between a node's start and end pfns, it may not
  325. # reside on that node. See memmap_init_zone()
  326. # for details. <- They meant memory holes!
  327. config NODES_SPAN_OTHER_NODES
  328. def_bool NUMA
  329. config NUMA
  330. bool "NUMA support"
  331. depends on SMP && 64BIT && SCHED_TOPOLOGY
  332. default n
  333. help
  334. Enable NUMA support
  335. This option adds NUMA support to the kernel.
  336. An operation mode can be selected by appending
  337. numa=<method> to the kernel command line.
  338. The default behaviour is identical to appending numa=plain to
  339. the command line. This will create just one node with all
  340. available memory and all CPUs in it.
  341. config NODES_SHIFT
  342. int "Maximum NUMA nodes (as a power of 2)"
  343. range 1 10
  344. depends on NUMA
  345. default "4"
  346. help
  347. Specify the maximum number of NUMA nodes available on the target
  348. system. Increases memory reserved to accommodate various tables.
  349. menu "Select NUMA modes"
  350. depends on NUMA
  351. config NUMA_EMU
  352. bool "NUMA emulation"
  353. default y
  354. help
  355. Numa emulation mode will split the available system memory into
  356. equal chunks which then are distributed over the configured number
  357. of nodes in a round-robin manner.
  358. The number of fake nodes is limited by the number of available memory
  359. chunks (i.e. memory size / fake size) and the number of supported
  360. nodes in the kernel.
  361. The CPUs are assigned to the nodes in a way that partially respects
  362. the original machine topology (if supported by the machine).
  363. Fair distribution of the CPUs is not guaranteed.
  364. config EMU_SIZE
  365. hex "NUMA emulation memory chunk size"
  366. default 0x10000000
  367. range 0x400000 0x100000000
  368. depends on NUMA_EMU
  369. help
  370. Select the default size by which the memory is chopped and then
  371. assigned to emulated NUMA nodes.
  372. This can be overridden by specifying
  373. emu_size=<n>
  374. on the kernel command line where also suffixes K, M, G, and T are
  375. supported.
  376. endmenu
  377. config SCHED_MC
  378. def_bool n
  379. config SCHED_BOOK
  380. def_bool n
  381. config SCHED_TOPOLOGY
  382. def_bool y
  383. prompt "Topology scheduler support"
  384. depends on SMP
  385. select SCHED_SMT
  386. select SCHED_MC
  387. select SCHED_BOOK
  388. help
  389. Topology scheduler support improves the CPU scheduler's decision
  390. making when dealing with machines that have multi-threading,
  391. multiple cores or multiple books.
  392. source kernel/Kconfig.preempt
  393. source kernel/Kconfig.hz
  394. endmenu
  395. menu "Memory setup"
  396. config ARCH_SPARSEMEM_ENABLE
  397. def_bool y
  398. select SPARSEMEM_VMEMMAP_ENABLE
  399. select SPARSEMEM_VMEMMAP
  400. config ARCH_SPARSEMEM_DEFAULT
  401. def_bool y
  402. config ARCH_SELECT_MEMORY_MODEL
  403. def_bool y
  404. config ARCH_ENABLE_MEMORY_HOTPLUG
  405. def_bool y if SPARSEMEM
  406. config ARCH_ENABLE_MEMORY_HOTREMOVE
  407. def_bool y
  408. config ARCH_ENABLE_SPLIT_PMD_PTLOCK
  409. def_bool y
  410. config FORCE_MAX_ZONEORDER
  411. int
  412. default "9"
  413. source "mm/Kconfig"
  414. config PACK_STACK
  415. def_bool y
  416. prompt "Pack kernel stack"
  417. help
  418. This option enables the compiler option -mkernel-backchain if it
  419. is available. If the option is available the compiler supports
  420. the new stack layout which dramatically reduces the minimum stack
  421. frame size. With an old compiler a non-leaf function needs a
  422. minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
  423. -mkernel-backchain the minimum size drops to 16 byte on 31 bit
  424. and 24 byte on 64 bit.
  425. Say Y if you are unsure.
  426. config CHECK_STACK
  427. def_bool y
  428. prompt "Detect kernel stack overflow"
  429. help
  430. This option enables the compiler option -mstack-guard and
  431. -mstack-size if they are available. If the compiler supports them
  432. it will emit additional code to each function prolog to trigger
  433. an illegal operation if the kernel stack is about to overflow.
  434. Say N if you are unsure.
  435. config STACK_GUARD
  436. int "Size of the guard area (128-1024)"
  437. range 128 1024
  438. depends on CHECK_STACK
  439. default "256"
  440. help
  441. This allows you to specify the size of the guard area at the lower
  442. end of the kernel stack. If the kernel stack points into the guard
  443. area on function entry an illegal operation is triggered. The size
  444. needs to be a power of 2. Please keep in mind that the size of an
  445. interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
  446. The minimum size for the stack guard should be 256 for 31 bit and
  447. 512 for 64 bit.
  448. config WARN_DYNAMIC_STACK
  449. def_bool n
  450. prompt "Emit compiler warnings for function with dynamic stack usage"
  451. help
  452. This option enables the compiler option -mwarn-dynamicstack. If the
  453. compiler supports this options generates warnings for functions
  454. that dynamically allocate stack space using alloca.
  455. Say N if you are unsure.
  456. endmenu
  457. menu "I/O subsystem"
  458. config QDIO
  459. def_tristate y
  460. prompt "QDIO support"
  461. ---help---
  462. This driver provides the Queued Direct I/O base support for
  463. IBM System z.
  464. To compile this driver as a module, choose M here: the
  465. module will be called qdio.
  466. If unsure, say Y.
  467. menuconfig PCI
  468. bool "PCI support"
  469. select HAVE_DMA_ATTRS
  470. select PCI_MSI
  471. select IOMMU_SUPPORT
  472. help
  473. Enable PCI support.
  474. if PCI
  475. config PCI_NR_FUNCTIONS
  476. int "Maximum number of PCI functions (1-4096)"
  477. range 1 4096
  478. default "64"
  479. help
  480. This allows you to specify the maximum number of PCI functions which
  481. this kernel will support.
  482. config PCI_NR_MSI
  483. int "Maximum number of MSI interrupts (64-32768)"
  484. range 64 32768
  485. default "256"
  486. help
  487. This defines the number of virtual interrupts the kernel will
  488. provide for MSI interrupts. If you configure your system to have
  489. too few drivers will fail to allocate MSI interrupts for all
  490. PCI devices.
  491. source "drivers/pci/Kconfig"
  492. source "drivers/pci/pcie/Kconfig"
  493. source "drivers/pci/hotplug/Kconfig"
  494. endif # PCI
  495. config PCI_DOMAINS
  496. def_bool PCI
  497. config HAS_IOMEM
  498. def_bool PCI
  499. config IOMMU_HELPER
  500. def_bool PCI
  501. config HAS_DMA
  502. def_bool PCI
  503. select HAVE_DMA_API_DEBUG
  504. config NEED_SG_DMA_LENGTH
  505. def_bool PCI
  506. config NEED_DMA_MAP_STATE
  507. def_bool PCI
  508. config CHSC_SCH
  509. def_tristate m
  510. prompt "Support for CHSC subchannels"
  511. help
  512. This driver allows usage of CHSC subchannels. A CHSC subchannel
  513. is usually present on LPAR only.
  514. The driver creates a device /dev/chsc, which may be used to
  515. obtain I/O configuration information about the machine and
  516. to issue asynchronous chsc commands (DANGEROUS).
  517. You will usually only want to use this interface on a special
  518. LPAR designated for system management.
  519. To compile this driver as a module, choose M here: the
  520. module will be called chsc_sch.
  521. If unsure, say N.
  522. config SCM_BUS
  523. def_bool y
  524. prompt "SCM bus driver"
  525. help
  526. Bus driver for Storage Class Memory.
  527. config EADM_SCH
  528. def_tristate m
  529. prompt "Support for EADM subchannels"
  530. depends on SCM_BUS
  531. help
  532. This driver allows usage of EADM subchannels. EADM subchannels act
  533. as a communication vehicle for SCM increments.
  534. To compile this driver as a module, choose M here: the
  535. module will be called eadm_sch.
  536. endmenu
  537. menu "Dump support"
  538. config CRASH_DUMP
  539. bool "kernel crash dumps"
  540. depends on SMP
  541. select KEXEC
  542. help
  543. Generate crash dump after being started by kexec.
  544. Crash dump kernels are loaded in the main kernel with kexec-tools
  545. into a specially reserved region and then later executed after
  546. a crash by kdump/kexec.
  547. Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
  548. This option also enables s390 zfcpdump.
  549. See also <file:Documentation/s390/zfcpdump.txt>
  550. endmenu
  551. menu "Executable file formats / Emulations"
  552. source "fs/Kconfig.binfmt"
  553. config SECCOMP
  554. def_bool y
  555. prompt "Enable seccomp to safely compute untrusted bytecode"
  556. depends on PROC_FS
  557. help
  558. This kernel feature is useful for number crunching applications
  559. that may need to compute untrusted bytecode during their
  560. execution. By using pipes or other transports made available to
  561. the process as file descriptors supporting the read/write
  562. syscalls, it's possible to isolate those applications in
  563. their own address space using seccomp. Once seccomp is
  564. enabled via /proc/<pid>/seccomp, it cannot be disabled
  565. and the task is only allowed to execute a few safe syscalls
  566. defined by each seccomp mode.
  567. If unsure, say Y.
  568. config KERNEL_NOBP
  569. def_bool n
  570. prompt "Enable modified branch prediction for the kernel by default"
  571. help
  572. If this option is selected the kernel will switch to a modified
  573. branch prediction mode if the firmware interface is available.
  574. The modified branch prediction mode improves the behaviour in
  575. regard to speculative execution.
  576. With the option enabled the kernel parameter "nobp=0" or "nospec"
  577. can be used to run the kernel in the normal branch prediction mode.
  578. With the option disabled the modified branch prediction mode is
  579. enabled with the "nobp=1" kernel parameter.
  580. If unsure, say N.
  581. config EXPOLINE
  582. def_bool n
  583. prompt "Avoid speculative indirect branches in the kernel"
  584. help
  585. Compile the kernel with the expoline compiler options to guard
  586. against kernel-to-user data leaks by avoiding speculative indirect
  587. branches.
  588. Requires a compiler with -mindirect-branch=thunk support for full
  589. protection. The kernel may run slower.
  590. If unsure, say N.
  591. choice
  592. prompt "Expoline default"
  593. depends on EXPOLINE
  594. default EXPOLINE_FULL
  595. config EXPOLINE_OFF
  596. bool "spectre_v2=off"
  597. config EXPOLINE_AUTO
  598. bool "spectre_v2=auto"
  599. config EXPOLINE_FULL
  600. bool "spectre_v2=on"
  601. endchoice
  602. endmenu
  603. menu "Power Management"
  604. config ARCH_HIBERNATION_POSSIBLE
  605. def_bool y
  606. source "kernel/power/Kconfig"
  607. endmenu
  608. source "net/Kconfig"
  609. config PCMCIA
  610. def_bool n
  611. config CCW
  612. def_bool y
  613. source "drivers/Kconfig"
  614. source "fs/Kconfig"
  615. source "arch/s390/Kconfig.debug"
  616. source "security/Kconfig"
  617. source "crypto/Kconfig"
  618. source "lib/Kconfig"
  619. menu "Virtualization"
  620. config PFAULT
  621. def_bool y
  622. prompt "Pseudo page fault support"
  623. help
  624. Select this option, if you want to use PFAULT pseudo page fault
  625. handling under VM. If running native or in LPAR, this option
  626. has no effect. If your VM does not support PFAULT, PAGEEX
  627. pseudo page fault handling will be used.
  628. Note that VM 4.2 supports PFAULT but has a bug in its
  629. implementation that causes some problems.
  630. Everybody who wants to run Linux under VM != VM4.2 should select
  631. this option.
  632. config SHARED_KERNEL
  633. bool "VM shared kernel support"
  634. depends on !JUMP_LABEL
  635. depends on !ALTERNATIVES
  636. help
  637. Select this option, if you want to share the text segment of the
  638. Linux kernel between different VM guests. This reduces memory
  639. usage with lots of guests but greatly increases kernel size.
  640. Also if a kernel was IPL'ed from a shared segment the kexec system
  641. call will not work.
  642. You should only select this option if you know what you are
  643. doing and want to exploit this feature.
  644. config CMM
  645. def_tristate n
  646. prompt "Cooperative memory management"
  647. help
  648. Select this option, if you want to enable the kernel interface
  649. to reduce the memory size of the system. This is accomplished
  650. by allocating pages of memory and put them "on hold". This only
  651. makes sense for a system running under VM where the unused pages
  652. will be reused by VM for other guest systems. The interface
  653. allows an external monitor to balance memory of many systems.
  654. Everybody who wants to run Linux under VM should select this
  655. option.
  656. config CMM_IUCV
  657. def_bool y
  658. prompt "IUCV special message interface to cooperative memory management"
  659. depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
  660. help
  661. Select this option to enable the special message interface to
  662. the cooperative memory management.
  663. config APPLDATA_BASE
  664. def_bool n
  665. prompt "Linux - VM Monitor Stream, base infrastructure"
  666. depends on PROC_FS
  667. help
  668. This provides a kernel interface for creating and updating z/VM APPLDATA
  669. monitor records. The monitor records are updated at certain time
  670. intervals, once the timer is started.
  671. Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
  672. i.e. enables or disables monitoring on the Linux side.
  673. A custom interval value (in seconds) can be written to
  674. /proc/appldata/interval.
  675. Defaults are 60 seconds interval and timer off.
  676. The /proc entries can also be read from, showing the current settings.
  677. config APPLDATA_MEM
  678. def_tristate m
  679. prompt "Monitor memory management statistics"
  680. depends on APPLDATA_BASE && VM_EVENT_COUNTERS
  681. help
  682. This provides memory management related data to the Linux - VM Monitor
  683. Stream, like paging/swapping rate, memory utilisation, etc.
  684. Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
  685. APPLDATA monitor record, i.e. enables or disables monitoring this record
  686. on the z/VM side.
  687. Default is disabled.
  688. The /proc entry can also be read from, showing the current settings.
  689. This can also be compiled as a module, which will be called
  690. appldata_mem.o.
  691. config APPLDATA_OS
  692. def_tristate m
  693. prompt "Monitor OS statistics"
  694. depends on APPLDATA_BASE
  695. help
  696. This provides OS related data to the Linux - VM Monitor Stream, like
  697. CPU utilisation, etc.
  698. Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
  699. APPLDATA monitor record, i.e. enables or disables monitoring this record
  700. on the z/VM side.
  701. Default is disabled.
  702. This can also be compiled as a module, which will be called
  703. appldata_os.o.
  704. config APPLDATA_NET_SUM
  705. def_tristate m
  706. prompt "Monitor overall network statistics"
  707. depends on APPLDATA_BASE && NET
  708. help
  709. This provides network related data to the Linux - VM Monitor Stream,
  710. currently there is only a total sum of network I/O statistics, no
  711. per-interface data.
  712. Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
  713. APPLDATA monitor record, i.e. enables or disables monitoring this record
  714. on the z/VM side.
  715. Default is disabled.
  716. This can also be compiled as a module, which will be called
  717. appldata_net_sum.o.
  718. config S390_HYPFS_FS
  719. def_bool y
  720. prompt "s390 hypervisor file system support"
  721. select SYS_HYPERVISOR
  722. help
  723. This is a virtual file system intended to provide accounting
  724. information in an s390 hypervisor environment.
  725. source "arch/s390/kvm/Kconfig"
  726. config S390_GUEST
  727. def_bool y
  728. prompt "s390 support for virtio devices"
  729. select TTY
  730. select VIRTUALIZATION
  731. select VIRTIO
  732. select VIRTIO_CONSOLE
  733. help
  734. Enabling this option adds support for virtio based paravirtual device
  735. drivers on s390.
  736. Select this option if you want to run the kernel as a guest under
  737. the KVM hypervisor.
  738. endmenu