Kconfig 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. config MMU
  6. bool
  7. default y
  8. config ZONE_DMA
  9. def_bool y
  10. depends on 64BIT
  11. config LOCKDEP_SUPPORT
  12. bool
  13. default y
  14. config STACKTRACE_SUPPORT
  15. bool
  16. default y
  17. config RWSEM_GENERIC_SPINLOCK
  18. bool
  19. config RWSEM_XCHGADD_ALGORITHM
  20. bool
  21. default y
  22. config ARCH_HAS_ILOG2_U32
  23. bool
  24. default n
  25. config ARCH_HAS_ILOG2_U64
  26. bool
  27. default n
  28. config GENERIC_HWEIGHT
  29. bool
  30. default y
  31. config GENERIC_TIME
  32. def_bool y
  33. config GENERIC_BUG
  34. bool
  35. depends on BUG
  36. default y
  37. config NO_IOMEM
  38. def_bool y
  39. mainmenu "Linux Kernel Configuration"
  40. config S390
  41. bool
  42. default y
  43. source "init/Kconfig"
  44. menu "Base setup"
  45. comment "Processor type and features"
  46. config 64BIT
  47. bool "64 bit kernel"
  48. help
  49. Select this option if you have a 64 bit IBM zSeries machine
  50. and want to use the 64 bit addressing mode.
  51. config 32BIT
  52. bool
  53. default y if !64BIT
  54. config SMP
  55. bool "Symmetric multi-processing support"
  56. ---help---
  57. This enables support for systems with more than one CPU. If you have
  58. a system with only one CPU, like most personal computers, say N. If
  59. you have a system with more than one CPU, say Y.
  60. If you say N here, the kernel will run on single and multiprocessor
  61. machines, but will use only one CPU of a multiprocessor machine. If
  62. you say Y here, the kernel will run on many, but not all,
  63. singleprocessor machines. On a singleprocessor machine, the kernel
  64. will run faster if you say N here.
  65. See also the <file:Documentation/smp.txt> and the SMP-HOWTO
  66. available at <http://www.tldp.org/docs.html#howto>.
  67. Even if you don't know what to do here, say Y.
  68. config NR_CPUS
  69. int "Maximum number of CPUs (2-64)"
  70. range 2 64
  71. depends on SMP
  72. default "32"
  73. help
  74. This allows you to specify the maximum number of CPUs which this
  75. kernel will support. The maximum supported value is 64 and the
  76. minimum value which makes sense is 2.
  77. This is purely to save memory - each supported CPU adds
  78. approximately sixteen kilobytes to the kernel image.
  79. config HOTPLUG_CPU
  80. bool "Support for hot-pluggable CPUs"
  81. depends on SMP
  82. select HOTPLUG
  83. default n
  84. help
  85. Say Y here to be able to turn CPUs off and on. CPUs
  86. can be controlled through /sys/devices/system/cpu/cpu#.
  87. Say N if you want to disable CPU hotplug.
  88. config DEFAULT_MIGRATION_COST
  89. int
  90. default "1000000"
  91. config MATHEMU
  92. bool "IEEE FPU emulation"
  93. depends on MARCH_G5
  94. help
  95. This option is required for IEEE compliant floating point arithmetic
  96. on older S/390 machines. Say Y unless you know your machine doesn't
  97. need this.
  98. config COMPAT
  99. bool "Kernel support for 31 bit emulation"
  100. depends on 64BIT
  101. help
  102. Select this option if you want to enable your system kernel to
  103. handle system-calls from ELF binaries for 31 bit ESA. This option
  104. (and some other stuff like libraries and such) is needed for
  105. executing 31 bit applications. It is safe to say "Y".
  106. config SYSVIPC_COMPAT
  107. bool
  108. depends on COMPAT && SYSVIPC
  109. default y
  110. config AUDIT_ARCH
  111. bool
  112. default y
  113. config S390_SWITCH_AMODE
  114. bool "Switch kernel/user addressing modes"
  115. help
  116. This option allows to switch the addressing modes of kernel and user
  117. space. The kernel parameter switch_amode=on will enable this feature,
  118. default is disabled. Enabling this (via kernel parameter) on machines
  119. earlier than IBM System z9-109 EC/BC will reduce system performance.
  120. Note that this option will also be selected by selecting the execute
  121. protection option below. Enabling the execute protection via the
  122. noexec kernel parameter will also switch the addressing modes,
  123. independent of the switch_amode kernel parameter.
  124. config S390_EXEC_PROTECT
  125. bool "Data execute protection"
  126. select S390_SWITCH_AMODE
  127. help
  128. This option allows to enable a buffer overflow protection for user
  129. space programs and it also selects the addressing mode option above.
  130. The kernel parameter noexec=on will enable this feature and also
  131. switch the addressing modes, default is disabled. Enabling this (via
  132. kernel parameter) on machines earlier than IBM System z9-109 EC/BC
  133. will reduce system performance.
  134. comment "Code generation options"
  135. choice
  136. prompt "Processor type"
  137. default MARCH_G5
  138. config MARCH_G5
  139. bool "S/390 model G5 and G6"
  140. depends on !64BIT
  141. help
  142. Select this to build a 31 bit kernel that works
  143. on all S/390 and zSeries machines.
  144. config MARCH_Z900
  145. bool "IBM eServer zSeries model z800 and z900"
  146. help
  147. Select this to optimize for zSeries machines. This
  148. will enable some optimizations that are not available
  149. on older 31 bit only CPUs.
  150. config MARCH_Z990
  151. bool "IBM eServer zSeries model z890 and z990"
  152. help
  153. Select this enable optimizations for model z890/z990.
  154. This will be slightly faster but does not work on
  155. older machines such as the z900.
  156. config MARCH_Z9_109
  157. bool "IBM System z9"
  158. help
  159. Select this to enable optimizations for IBM System z9-109, IBM
  160. System z9 Enterprise Class (z9 EC), and IBM System z9 Business
  161. Class (z9 BC). The kernel will be slightly faster but will not
  162. work on older machines such as the z990, z890, z900, and z800.
  163. endchoice
  164. config PACK_STACK
  165. bool "Pack kernel stack"
  166. help
  167. This option enables the compiler option -mkernel-backchain if it
  168. is available. If the option is available the compiler supports
  169. the new stack layout which dramatically reduces the minimum stack
  170. frame size. With an old compiler a non-leaf function needs a
  171. minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
  172. -mkernel-backchain the minimum size drops to 16 byte on 31 bit
  173. and 24 byte on 64 bit.
  174. Say Y if you are unsure.
  175. config SMALL_STACK
  176. bool "Use 4kb/8kb for kernel stack instead of 8kb/16kb"
  177. depends on PACK_STACK && !LOCKDEP
  178. help
  179. If you say Y here and the compiler supports the -mkernel-backchain
  180. option the kernel will use a smaller kernel stack size. For 31 bit
  181. the reduced size is 4kb instead of 8kb and for 64 bit it is 8kb
  182. instead of 16kb. This allows to run more thread on a system and
  183. reduces the pressure on the memory management for higher order
  184. page allocations.
  185. Say N if you are unsure.
  186. config CHECK_STACK
  187. bool "Detect kernel stack overflow"
  188. help
  189. This option enables the compiler option -mstack-guard and
  190. -mstack-size if they are available. If the compiler supports them
  191. it will emit additional code to each function prolog to trigger
  192. an illegal operation if the kernel stack is about to overflow.
  193. Say N if you are unsure.
  194. config STACK_GUARD
  195. int "Size of the guard area (128-1024)"
  196. range 128 1024
  197. depends on CHECK_STACK
  198. default "256"
  199. help
  200. This allows you to specify the size of the guard area at the lower
  201. end of the kernel stack. If the kernel stack points into the guard
  202. area on function entry an illegal operation is triggered. The size
  203. needs to be a power of 2. Please keep in mind that the size of an
  204. interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
  205. The minimum size for the stack guard should be 256 for 31 bit and
  206. 512 for 64 bit.
  207. config WARN_STACK
  208. bool "Emit compiler warnings for function with broken stack usage"
  209. help
  210. This option enables the compiler options -mwarn-framesize and
  211. -mwarn-dynamicstack. If the compiler supports these options it
  212. will generate warnings for function which either use alloca or
  213. create a stack frame bigger then CONFIG_WARN_STACK_SIZE.
  214. Say N if you are unsure.
  215. config WARN_STACK_SIZE
  216. int "Maximum frame size considered safe (128-2048)"
  217. range 128 2048
  218. depends on WARN_STACK
  219. default "256"
  220. help
  221. This allows you to specify the maximum frame size a function may
  222. have without the compiler complaining about it.
  223. config ARCH_POPULATES_NODE_MAP
  224. def_bool y
  225. source "mm/Kconfig"
  226. config HOLES_IN_ZONE
  227. def_bool y
  228. comment "I/O subsystem configuration"
  229. config MACHCHK_WARNING
  230. bool "Process warning machine checks"
  231. help
  232. Select this option if you want the machine check handler on IBM S/390 or
  233. zSeries to process warning machine checks (e.g. on power failures).
  234. If unsure, say "Y".
  235. config QDIO
  236. tristate "QDIO support"
  237. ---help---
  238. This driver provides the Queued Direct I/O base support for
  239. IBM mainframes.
  240. For details please refer to the documentation provided by IBM at
  241. <http://www10.software.ibm.com/developerworks/opensource/linux390>
  242. To compile this driver as a module, choose M here: the
  243. module will be called qdio.
  244. If unsure, say Y.
  245. config QDIO_DEBUG
  246. bool "Extended debugging information"
  247. depends on QDIO
  248. help
  249. Say Y here to get extended debugging output in
  250. /sys/kernel/debug/s390dbf/qdio...
  251. Warning: this option reduces the performance of the QDIO module.
  252. If unsure, say N.
  253. comment "Misc"
  254. config PREEMPT
  255. bool "Preemptible Kernel"
  256. help
  257. This option reduces the latency of the kernel when reacting to
  258. real-time or interactive events by allowing a low priority process to
  259. be preempted even if it is in kernel mode executing a system call.
  260. This allows applications to run more reliably even when the system is
  261. under load.
  262. Say N if you are unsure.
  263. config IPL
  264. bool "Builtin IPL record support"
  265. help
  266. If you want to use the produced kernel to IPL directly from a
  267. device, you have to merge a bootsector specific to the device
  268. into the first bytes of the kernel. You will have to select the
  269. IPL device.
  270. choice
  271. prompt "IPL method generated into head.S"
  272. depends on IPL
  273. default IPL_TAPE
  274. help
  275. Select "tape" if you want to IPL the image from a Tape.
  276. Select "vm_reader" if you are running under VM/ESA and want
  277. to IPL the image from the emulated card reader.
  278. config IPL_TAPE
  279. bool "tape"
  280. config IPL_VM
  281. bool "vm_reader"
  282. endchoice
  283. source "fs/Kconfig.binfmt"
  284. config PROCESS_DEBUG
  285. bool "Show crashed user process info"
  286. help
  287. Say Y to print all process fault locations to the console. This is
  288. a debugging option; you probably do not want to set it unless you
  289. are an S390 port maintainer.
  290. config PFAULT
  291. bool "Pseudo page fault support"
  292. help
  293. Select this option, if you want to use PFAULT pseudo page fault
  294. handling under VM. If running native or in LPAR, this option
  295. has no effect. If your VM does not support PFAULT, PAGEEX
  296. pseudo page fault handling will be used.
  297. Note that VM 4.2 supports PFAULT but has a bug in its
  298. implementation that causes some problems.
  299. Everybody who wants to run Linux under VM != VM4.2 should select
  300. this option.
  301. config SHARED_KERNEL
  302. bool "VM shared kernel support"
  303. help
  304. Select this option, if you want to share the text segment of the
  305. Linux kernel between different VM guests. This reduces memory
  306. usage with lots of guests but greatly increases kernel size.
  307. Also if a kernel was IPL'ed from a shared segment the kexec system
  308. call will not work.
  309. You should only select this option if you know what you are
  310. doing and want to exploit this feature.
  311. config CMM
  312. tristate "Cooperative memory management"
  313. help
  314. Select this option, if you want to enable the kernel interface
  315. to reduce the memory size of the system. This is accomplished
  316. by allocating pages of memory and put them "on hold". This only
  317. makes sense for a system running under VM where the unused pages
  318. will be reused by VM for other guest systems. The interface
  319. allows an external monitor to balance memory of many systems.
  320. Everybody who wants to run Linux under VM should select this
  321. option.
  322. config CMM_PROC
  323. bool "/proc interface to cooperative memory management"
  324. depends on CMM
  325. help
  326. Select this option to enable the /proc interface to the
  327. cooperative memory management.
  328. config CMM_IUCV
  329. bool "IUCV special message interface to cooperative memory management"
  330. depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
  331. help
  332. Select this option to enable the special message interface to
  333. the cooperative memory management.
  334. config VIRT_TIMER
  335. bool "Virtual CPU timer support"
  336. help
  337. This provides a kernel interface for virtual CPU timers.
  338. Default is disabled.
  339. config VIRT_CPU_ACCOUNTING
  340. bool "Base user process accounting on virtual cpu timer"
  341. depends on VIRT_TIMER
  342. help
  343. Select this option to use CPU timer deltas to do user
  344. process accounting.
  345. config APPLDATA_BASE
  346. bool "Linux - VM Monitor Stream, base infrastructure"
  347. depends on PROC_FS && VIRT_TIMER=y
  348. help
  349. This provides a kernel interface for creating and updating z/VM APPLDATA
  350. monitor records. The monitor records are updated at certain time
  351. intervals, once the timer is started.
  352. Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
  353. i.e. enables or disables monitoring on the Linux side.
  354. A custom interval value (in seconds) can be written to
  355. /proc/appldata/interval.
  356. Defaults are 60 seconds interval and timer off.
  357. The /proc entries can also be read from, showing the current settings.
  358. config APPLDATA_MEM
  359. tristate "Monitor memory management statistics"
  360. depends on APPLDATA_BASE && VM_EVENT_COUNTERS
  361. help
  362. This provides memory management related data to the Linux - VM Monitor
  363. Stream, like paging/swapping rate, memory utilisation, etc.
  364. Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
  365. APPLDATA monitor record, i.e. enables or disables monitoring this record
  366. on the z/VM side.
  367. Default is disabled.
  368. The /proc entry can also be read from, showing the current settings.
  369. This can also be compiled as a module, which will be called
  370. appldata_mem.o.
  371. config APPLDATA_OS
  372. tristate "Monitor OS statistics"
  373. depends on APPLDATA_BASE
  374. help
  375. This provides OS related data to the Linux - VM Monitor Stream, like
  376. CPU utilisation, etc.
  377. Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
  378. APPLDATA monitor record, i.e. enables or disables monitoring this record
  379. on the z/VM side.
  380. Default is disabled.
  381. This can also be compiled as a module, which will be called
  382. appldata_os.o.
  383. config APPLDATA_NET_SUM
  384. tristate "Monitor overall network statistics"
  385. depends on APPLDATA_BASE
  386. help
  387. This provides network related data to the Linux - VM Monitor Stream,
  388. currently there is only a total sum of network I/O statistics, no
  389. per-interface data.
  390. Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
  391. APPLDATA monitor record, i.e. enables or disables monitoring this record
  392. on the z/VM side.
  393. Default is disabled.
  394. This can also be compiled as a module, which will be called
  395. appldata_net_sum.o.
  396. config NO_IDLE_HZ
  397. bool "No HZ timer ticks in idle"
  398. help
  399. Switches the regular HZ timer off when the system is going idle.
  400. This helps z/VM to detect that the Linux system is idle. VM can
  401. then "swap-out" this guest which reduces memory usage. It also
  402. reduces the overhead of idle systems.
  403. The HZ timer can be switched on/off via /proc/sys/kernel/hz_timer.
  404. hz_timer=0 means HZ timer is disabled. hz_timer=1 means HZ
  405. timer is active.
  406. config NO_IDLE_HZ_INIT
  407. bool "HZ timer in idle off by default"
  408. depends on NO_IDLE_HZ
  409. help
  410. The HZ timer is switched off in idle by default. That means the
  411. HZ timer is already disabled at boot time.
  412. config S390_HYPFS_FS
  413. bool "s390 hypervisor file system support"
  414. select SYS_HYPERVISOR
  415. default y
  416. help
  417. This is a virtual file system intended to provide accounting
  418. information in an s390 hypervisor environment.
  419. config KEXEC
  420. bool "kexec system call"
  421. help
  422. kexec is a system call that implements the ability to shutdown your
  423. current kernel, and to start another kernel. It is like a reboot
  424. but is independent of hardware/microcode support.
  425. config ZFCPDUMP
  426. tristate "zfcpdump support"
  427. select SMP
  428. default n
  429. help
  430. Select this option if you want to build an zfcpdump enabled kernel.
  431. Refer to "Documentation/s390/zfcpdump.txt" for more details on this.
  432. endmenu
  433. source "net/Kconfig"
  434. config PCMCIA
  435. bool
  436. default n
  437. source "drivers/base/Kconfig"
  438. source "drivers/connector/Kconfig"
  439. source "drivers/scsi/Kconfig"
  440. source "drivers/s390/Kconfig"
  441. source "drivers/net/Kconfig"
  442. source "fs/Kconfig"
  443. menu "Instrumentation Support"
  444. source "arch/s390/oprofile/Kconfig"
  445. config KPROBES
  446. bool "Kprobes (EXPERIMENTAL)"
  447. depends on EXPERIMENTAL && MODULES
  448. help
  449. Kprobes allows you to trap at almost any kernel address and
  450. execute a callback function. register_kprobe() establishes
  451. a probepoint and specifies the callback. Kprobes is useful
  452. for kernel debugging, non-intrusive instrumentation and testing.
  453. If in doubt, say "N".
  454. endmenu
  455. source "arch/s390/Kconfig.debug"
  456. source "security/Kconfig"
  457. source "crypto/Kconfig"
  458. source "lib/Kconfig"