Kconfig 21 KB

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