Kconfig 24 KB

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