Kconfig 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. config SCHED_MC
  2. def_bool y
  3. depends on SMP
  4. config MMU
  5. def_bool y
  6. config ZONE_DMA
  7. def_bool y
  8. depends on 64BIT
  9. config LOCKDEP_SUPPORT
  10. def_bool y
  11. config STACKTRACE_SUPPORT
  12. def_bool y
  13. config HAVE_LATENCYTOP_SUPPORT
  14. def_bool y
  15. config RWSEM_GENERIC_SPINLOCK
  16. bool
  17. config RWSEM_XCHGADD_ALGORITHM
  18. def_bool y
  19. config ARCH_HAS_ILOG2_U32
  20. bool
  21. default n
  22. config ARCH_HAS_ILOG2_U64
  23. bool
  24. default n
  25. config GENERIC_HWEIGHT
  26. def_bool y
  27. config GENERIC_TIME_VSYSCALL
  28. def_bool y
  29. config GENERIC_CLOCKEVENTS
  30. def_bool y
  31. config GENERIC_BUG
  32. bool
  33. depends on BUG
  34. default y
  35. config GENERIC_BUG_RELATIVE_POINTERS
  36. def_bool y
  37. config NO_IOMEM
  38. def_bool y
  39. config NO_DMA
  40. def_bool y
  41. config ARCH_DMA_ADDR_T_64BIT
  42. def_bool 64BIT
  43. config GENERIC_LOCKBREAK
  44. bool
  45. default y
  46. depends on SMP && PREEMPT
  47. config PGSTE
  48. bool
  49. default y if KVM
  50. config VIRT_CPU_ACCOUNTING
  51. def_bool y
  52. config ARCH_SUPPORTS_DEBUG_PAGEALLOC
  53. def_bool y
  54. config S390
  55. def_bool y
  56. select USE_GENERIC_SMP_HELPERS if SMP
  57. select HAVE_SYSCALL_WRAPPERS
  58. select HAVE_FUNCTION_TRACER
  59. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  60. select HAVE_FTRACE_MCOUNT_RECORD
  61. select HAVE_C_RECORDMCOUNT
  62. select HAVE_SYSCALL_TRACEPOINTS
  63. select HAVE_DYNAMIC_FTRACE
  64. select HAVE_FUNCTION_GRAPH_TRACER
  65. select HAVE_REGS_AND_STACK_ACCESS_API
  66. select HAVE_DEFAULT_NO_SPIN_MUTEXES
  67. select HAVE_OPROFILE
  68. select HAVE_KPROBES
  69. select HAVE_KRETPROBES
  70. select HAVE_KVM if 64BIT
  71. select HAVE_ARCH_TRACEHOOK
  72. select INIT_ALL_POSSIBLE
  73. select HAVE_IRQ_WORK
  74. select HAVE_PERF_EVENTS
  75. select HAVE_KERNEL_GZIP
  76. select HAVE_KERNEL_BZIP2
  77. select HAVE_KERNEL_LZMA
  78. select HAVE_KERNEL_LZO
  79. select HAVE_GET_USER_PAGES_FAST
  80. select HAVE_ARCH_MUTEX_CPU_RELAX
  81. select ARCH_INLINE_SPIN_TRYLOCK
  82. select ARCH_INLINE_SPIN_TRYLOCK_BH
  83. select ARCH_INLINE_SPIN_LOCK
  84. select ARCH_INLINE_SPIN_LOCK_BH
  85. select ARCH_INLINE_SPIN_LOCK_IRQ
  86. select ARCH_INLINE_SPIN_LOCK_IRQSAVE
  87. select ARCH_INLINE_SPIN_UNLOCK
  88. select ARCH_INLINE_SPIN_UNLOCK_BH
  89. select ARCH_INLINE_SPIN_UNLOCK_IRQ
  90. select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
  91. select ARCH_INLINE_READ_TRYLOCK
  92. select ARCH_INLINE_READ_LOCK
  93. select ARCH_INLINE_READ_LOCK_BH
  94. select ARCH_INLINE_READ_LOCK_IRQ
  95. select ARCH_INLINE_READ_LOCK_IRQSAVE
  96. select ARCH_INLINE_READ_UNLOCK
  97. select ARCH_INLINE_READ_UNLOCK_BH
  98. select ARCH_INLINE_READ_UNLOCK_IRQ
  99. select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
  100. select ARCH_INLINE_WRITE_TRYLOCK
  101. select ARCH_INLINE_WRITE_LOCK
  102. select ARCH_INLINE_WRITE_LOCK_BH
  103. select ARCH_INLINE_WRITE_LOCK_IRQ
  104. select ARCH_INLINE_WRITE_LOCK_IRQSAVE
  105. select ARCH_INLINE_WRITE_UNLOCK
  106. select ARCH_INLINE_WRITE_UNLOCK_BH
  107. select ARCH_INLINE_WRITE_UNLOCK_IRQ
  108. select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
  109. config SCHED_OMIT_FRAME_POINTER
  110. bool
  111. default y
  112. source "init/Kconfig"
  113. source "kernel/Kconfig.freezer"
  114. menu "Base setup"
  115. comment "Processor type and features"
  116. source "kernel/time/Kconfig"
  117. config 64BIT
  118. bool "64 bit kernel"
  119. help
  120. Select this option if you have an IBM z/Architecture machine
  121. and want to use the 64 bit addressing mode.
  122. config 32BIT
  123. bool
  124. default y if !64BIT
  125. config KTIME_SCALAR
  126. def_bool 32BIT
  127. config SMP
  128. bool "Symmetric multi-processing support"
  129. ---help---
  130. This enables support for systems with more than one CPU. If you have
  131. a system with only one CPU, like most personal computers, say N. If
  132. you have a system with more than one CPU, say Y.
  133. If you say N here, the kernel will run on single and multiprocessor
  134. machines, but will use only one CPU of a multiprocessor machine. If
  135. you say Y here, the kernel will run on many, but not all,
  136. singleprocessor machines. On a singleprocessor machine, the kernel
  137. will run faster if you say N here.
  138. See also the SMP-HOWTO available at
  139. <http://www.tldp.org/docs.html#howto>.
  140. Even if you don't know what to do here, say Y.
  141. config NR_CPUS
  142. int "Maximum number of CPUs (2-64)"
  143. range 2 64
  144. depends on SMP
  145. default "32" if !64BIT
  146. default "64" if 64BIT
  147. help
  148. This allows you to specify the maximum number of CPUs which this
  149. kernel will support. The maximum supported value is 64 and the
  150. minimum value which makes sense is 2.
  151. This is purely to save memory - each supported CPU adds
  152. approximately sixteen kilobytes to the kernel image.
  153. config HOTPLUG_CPU
  154. bool "Support for hot-pluggable CPUs"
  155. depends on SMP
  156. select HOTPLUG
  157. default n
  158. help
  159. Say Y here to be able to turn CPUs off and on. CPUs
  160. can be controlled through /sys/devices/system/cpu/cpu#.
  161. Say N if you want to disable CPU hotplug.
  162. config SCHED_MC
  163. def_bool y
  164. prompt "Multi-core scheduler support"
  165. depends on SMP
  166. help
  167. Multi-core scheduler support improves the CPU scheduler's decision
  168. making when dealing with multi-core CPU chips at a cost of slightly
  169. increased overhead in some places.
  170. config SCHED_BOOK
  171. bool "Book scheduler support"
  172. depends on SMP && SCHED_MC
  173. help
  174. Book scheduler support improves the CPU scheduler's decision making
  175. when dealing with machines that have several books.
  176. config MATHEMU
  177. bool "IEEE FPU emulation"
  178. depends on MARCH_G5
  179. help
  180. This option is required for IEEE compliant floating point arithmetic
  181. on older ESA/390 machines. Say Y unless you know your machine doesn't
  182. need this.
  183. config COMPAT
  184. bool "Kernel support for 31 bit emulation"
  185. depends on 64BIT
  186. select COMPAT_BINFMT_ELF
  187. help
  188. Select this option if you want to enable your system kernel to
  189. handle system-calls from ELF binaries for 31 bit ESA. This option
  190. (and some other stuff like libraries and such) is needed for
  191. executing 31 bit applications. It is safe to say "Y".
  192. config SYSVIPC_COMPAT
  193. bool
  194. depends on COMPAT && SYSVIPC
  195. default y
  196. config AUDIT_ARCH
  197. bool
  198. default y
  199. config S390_EXEC_PROTECT
  200. bool "Data execute protection"
  201. help
  202. This option allows to enable a buffer overflow protection for user
  203. space programs and it also selects the addressing mode option above.
  204. The kernel parameter noexec=on will enable this feature and also
  205. switch the addressing modes, default is disabled. Enabling this (via
  206. kernel parameter) on machines earlier than IBM System z9 this will
  207. reduce system performance.
  208. comment "Code generation options"
  209. choice
  210. prompt "Processor type"
  211. default MARCH_G5
  212. config MARCH_G5
  213. bool "System/390 model G5 and G6"
  214. depends on !64BIT
  215. help
  216. Select this to build a 31 bit kernel that works
  217. on all ESA/390 and z/Architecture machines.
  218. config MARCH_Z900
  219. bool "IBM zSeries model z800 and z900"
  220. help
  221. Select this to enable optimizations for model z800/z900 (2064 and
  222. 2066 series). This will enable some optimizations that are not
  223. available on older ESA/390 (31 Bit) only CPUs.
  224. config MARCH_Z990
  225. bool "IBM zSeries model z890 and z990"
  226. help
  227. Select this to enable optimizations for model z890/z990 (2084 and
  228. 2086 series). The kernel will be slightly faster but will not work
  229. on older machines.
  230. config MARCH_Z9_109
  231. bool "IBM System z9"
  232. help
  233. Select this to enable optimizations for IBM System z9 (2094 and
  234. 2096 series). The kernel will be slightly faster but will not work
  235. on older machines.
  236. config MARCH_Z10
  237. bool "IBM System z10"
  238. help
  239. Select this to enable optimizations for IBM System z10 (2097 and
  240. 2098 series). The kernel will be slightly faster but will not work
  241. on older machines.
  242. config MARCH_Z196
  243. bool "IBM zEnterprise 196"
  244. help
  245. Select this to enable optimizations for IBM zEnterprise 196
  246. (2817 series). The kernel will be slightly faster but will not work
  247. on older machines.
  248. endchoice
  249. config PACK_STACK
  250. bool "Pack kernel stack"
  251. help
  252. This option enables the compiler option -mkernel-backchain if it
  253. is available. If the option is available the compiler supports
  254. the new stack layout which dramatically reduces the minimum stack
  255. frame size. With an old compiler a non-leaf function needs a
  256. minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
  257. -mkernel-backchain the minimum size drops to 16 byte on 31 bit
  258. and 24 byte on 64 bit.
  259. Say Y if you are unsure.
  260. config SMALL_STACK
  261. bool "Use 8kb for kernel stack instead of 16kb"
  262. depends on PACK_STACK && 64BIT && !LOCKDEP
  263. help
  264. If you say Y here and the compiler supports the -mkernel-backchain
  265. option the kernel will use a smaller kernel stack size. The reduced
  266. size is 8kb instead of 16kb. This allows to run more threads on a
  267. system and reduces the pressure on the memory management for higher
  268. order page allocations.
  269. Say N if you are unsure.
  270. config CHECK_STACK
  271. bool "Detect kernel stack overflow"
  272. help
  273. This option enables the compiler option -mstack-guard and
  274. -mstack-size if they are available. If the compiler supports them
  275. it will emit additional code to each function prolog to trigger
  276. an illegal operation if the kernel stack is about to overflow.
  277. Say N if you are unsure.
  278. config STACK_GUARD
  279. int "Size of the guard area (128-1024)"
  280. range 128 1024
  281. depends on CHECK_STACK
  282. default "256"
  283. help
  284. This allows you to specify the size of the guard area at the lower
  285. end of the kernel stack. If the kernel stack points into the guard
  286. area on function entry an illegal operation is triggered. The size
  287. needs to be a power of 2. Please keep in mind that the size of an
  288. interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
  289. The minimum size for the stack guard should be 256 for 31 bit and
  290. 512 for 64 bit.
  291. config WARN_STACK
  292. bool "Emit compiler warnings for function with broken stack usage"
  293. help
  294. This option enables the compiler options -mwarn-framesize and
  295. -mwarn-dynamicstack. If the compiler supports these options it
  296. will generate warnings for function which either use alloca or
  297. create a stack frame bigger than CONFIG_WARN_STACK_SIZE.
  298. Say N if you are unsure.
  299. config WARN_STACK_SIZE
  300. int "Maximum frame size considered safe (128-2048)"
  301. range 128 2048
  302. depends on WARN_STACK
  303. default "2048"
  304. help
  305. This allows you to specify the maximum frame size a function may
  306. have without the compiler complaining about it.
  307. config ARCH_POPULATES_NODE_MAP
  308. def_bool y
  309. comment "Kernel preemption"
  310. source "kernel/Kconfig.preempt"
  311. config ARCH_SPARSEMEM_ENABLE
  312. def_bool y
  313. select SPARSEMEM_VMEMMAP_ENABLE
  314. select SPARSEMEM_VMEMMAP
  315. select SPARSEMEM_STATIC if !64BIT
  316. config ARCH_SPARSEMEM_DEFAULT
  317. def_bool y
  318. config ARCH_SELECT_MEMORY_MODEL
  319. def_bool y
  320. config ARCH_ENABLE_MEMORY_HOTPLUG
  321. def_bool y
  322. depends on SPARSEMEM
  323. config ARCH_ENABLE_MEMORY_HOTREMOVE
  324. def_bool y
  325. config ARCH_HIBERNATION_POSSIBLE
  326. def_bool y if 64BIT
  327. source "mm/Kconfig"
  328. comment "I/O subsystem configuration"
  329. config QDIO
  330. tristate "QDIO support"
  331. ---help---
  332. This driver provides the Queued Direct I/O base support for
  333. IBM System z.
  334. To compile this driver as a module, choose M here: the
  335. module will be called qdio.
  336. If unsure, say Y.
  337. config CHSC_SCH
  338. tristate "Support for CHSC subchannels"
  339. help
  340. This driver allows usage of CHSC subchannels. A CHSC subchannel
  341. is usually present on LPAR only.
  342. The driver creates a device /dev/chsc, which may be used to
  343. obtain I/O configuration information about the machine and
  344. to issue asynchronous chsc commands (DANGEROUS).
  345. You will usually only want to use this interface on a special
  346. LPAR designated for system management.
  347. To compile this driver as a module, choose M here: the
  348. module will be called chsc_sch.
  349. If unsure, say N.
  350. comment "Misc"
  351. config IPL
  352. bool "Builtin IPL record support"
  353. help
  354. If you want to use the produced kernel to IPL directly from a
  355. device, you have to merge a bootsector specific to the device
  356. into the first bytes of the kernel. You will have to select the
  357. IPL device.
  358. choice
  359. prompt "IPL method generated into head.S"
  360. depends on IPL
  361. default IPL_VM
  362. help
  363. Select "tape" if you want to IPL the image from a Tape.
  364. Select "vm_reader" if you are running under VM/ESA and want
  365. to IPL the image from the emulated card reader.
  366. config IPL_TAPE
  367. bool "tape"
  368. config IPL_VM
  369. bool "vm_reader"
  370. endchoice
  371. source "fs/Kconfig.binfmt"
  372. config FORCE_MAX_ZONEORDER
  373. int
  374. default "9"
  375. config PFAULT
  376. bool "Pseudo page fault support"
  377. help
  378. Select this option, if you want to use PFAULT pseudo page fault
  379. handling under VM. If running native or in LPAR, this option
  380. has no effect. If your VM does not support PFAULT, PAGEEX
  381. pseudo page fault handling will be used.
  382. Note that VM 4.2 supports PFAULT but has a bug in its
  383. implementation that causes some problems.
  384. Everybody who wants to run Linux under VM != VM4.2 should select
  385. this option.
  386. config SHARED_KERNEL
  387. bool "VM shared kernel support"
  388. help
  389. Select this option, if you want to share the text segment of the
  390. Linux kernel between different VM guests. This reduces memory
  391. usage with lots of guests but greatly increases kernel size.
  392. Also if a kernel was IPL'ed from a shared segment the kexec system
  393. call will not work.
  394. You should only select this option if you know what you are
  395. doing and want to exploit this feature.
  396. config CMM
  397. tristate "Cooperative memory management"
  398. help
  399. Select this option, if you want to enable the kernel interface
  400. to reduce the memory size of the system. This is accomplished
  401. by allocating pages of memory and put them "on hold". This only
  402. makes sense for a system running under VM where the unused pages
  403. will be reused by VM for other guest systems. The interface
  404. allows an external monitor to balance memory of many systems.
  405. Everybody who wants to run Linux under VM should select this
  406. option.
  407. config CMM_IUCV
  408. bool "IUCV special message interface to cooperative memory management"
  409. depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
  410. help
  411. Select this option to enable the special message interface to
  412. the cooperative memory management.
  413. config APPLDATA_BASE
  414. bool "Linux - VM Monitor Stream, base infrastructure"
  415. depends on PROC_FS
  416. help
  417. This provides a kernel interface for creating and updating z/VM APPLDATA
  418. monitor records. The monitor records are updated at certain time
  419. intervals, once the timer is started.
  420. Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
  421. i.e. enables or disables monitoring on the Linux side.
  422. A custom interval value (in seconds) can be written to
  423. /proc/appldata/interval.
  424. Defaults are 60 seconds interval and timer off.
  425. The /proc entries can also be read from, showing the current settings.
  426. config APPLDATA_MEM
  427. tristate "Monitor memory management statistics"
  428. depends on APPLDATA_BASE && VM_EVENT_COUNTERS
  429. help
  430. This provides memory management related data to the Linux - VM Monitor
  431. Stream, like paging/swapping rate, memory utilisation, etc.
  432. Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
  433. APPLDATA monitor record, i.e. enables or disables monitoring this record
  434. on the z/VM side.
  435. Default is disabled.
  436. The /proc entry can also be read from, showing the current settings.
  437. This can also be compiled as a module, which will be called
  438. appldata_mem.o.
  439. config APPLDATA_OS
  440. tristate "Monitor OS statistics"
  441. depends on APPLDATA_BASE
  442. help
  443. This provides OS related data to the Linux - VM Monitor Stream, like
  444. CPU utilisation, etc.
  445. Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
  446. APPLDATA monitor record, i.e. enables or disables monitoring this record
  447. on the z/VM side.
  448. Default is disabled.
  449. This can also be compiled as a module, which will be called
  450. appldata_os.o.
  451. config APPLDATA_NET_SUM
  452. tristate "Monitor overall network statistics"
  453. depends on APPLDATA_BASE && NET
  454. help
  455. This provides network related data to the Linux - VM Monitor Stream,
  456. currently there is only a total sum of network I/O statistics, no
  457. per-interface data.
  458. Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
  459. APPLDATA monitor record, i.e. enables or disables monitoring this record
  460. on the z/VM side.
  461. Default is disabled.
  462. This can also be compiled as a module, which will be called
  463. appldata_net_sum.o.
  464. source kernel/Kconfig.hz
  465. config S390_HYPFS_FS
  466. bool "s390 hypervisor file system support"
  467. select SYS_HYPERVISOR
  468. default y
  469. help
  470. This is a virtual file system intended to provide accounting
  471. information in an s390 hypervisor environment.
  472. config KEXEC
  473. bool "kexec system call"
  474. help
  475. kexec is a system call that implements the ability to shutdown your
  476. current kernel, and to start another kernel. It is like a reboot
  477. but is independent of hardware/microcode support.
  478. config ZFCPDUMP
  479. bool "zfcpdump support"
  480. select SMP
  481. default n
  482. help
  483. Select this option if you want to build an zfcpdump enabled kernel.
  484. Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
  485. config S390_GUEST
  486. bool "s390 guest support for KVM (EXPERIMENTAL)"
  487. depends on 64BIT && EXPERIMENTAL
  488. select VIRTIO
  489. select VIRTIO_RING
  490. select VIRTIO_CONSOLE
  491. help
  492. Select this option if you want to run the kernel as a guest under
  493. the KVM hypervisor. This will add detection for KVM as well as a
  494. virtio transport. If KVM is detected, the virtio console will be
  495. the default console.
  496. config SECCOMP
  497. bool "Enable seccomp to safely compute untrusted bytecode"
  498. depends on PROC_FS
  499. default y
  500. help
  501. This kernel feature is useful for number crunching applications
  502. that may need to compute untrusted bytecode during their
  503. execution. By using pipes or other transports made available to
  504. the process as file descriptors supporting the read/write
  505. syscalls, it's possible to isolate those applications in
  506. their own address space using seccomp. Once seccomp is
  507. enabled via /proc/<pid>/seccomp, it cannot be disabled
  508. and the task is only allowed to execute a few safe syscalls
  509. defined by each seccomp mode.
  510. If unsure, say Y.
  511. endmenu
  512. menu "Power Management"
  513. source "kernel/power/Kconfig"
  514. endmenu
  515. source "net/Kconfig"
  516. config PCMCIA
  517. def_bool n
  518. config CCW
  519. def_bool y
  520. source "drivers/Kconfig"
  521. source "fs/Kconfig"
  522. source "arch/s390/Kconfig.debug"
  523. source "security/Kconfig"
  524. source "crypto/Kconfig"
  525. source "lib/Kconfig"
  526. source "arch/s390/kvm/Kconfig"