Kconfig 21 KB

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