Kconfig 24 KB

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