xref: /openbmc/linux/arch/s390/Kconfig (revision 6beb000923882f6204ea2cfcd932e568e900803f)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# For a description of the syntax of this configuration file,
31da177e4SLinus Torvalds# see Documentation/kbuild/kconfig-language.txt.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6dbd70fb4SHeiko Carstensconfig SCHED_MC
7dbd70fb4SHeiko Carstens	def_bool y
8dbd70fb4SHeiko Carstens	depends on SMP
9dbd70fb4SHeiko Carstens
101da177e4SLinus Torvaldsconfig MMU
1161d48c2cSMartin Schwidefsky	def_bool y
121da177e4SLinus Torvalds
1366701b14SChristoph Lameterconfig ZONE_DMA
14118bcd31SHeiko Carstens	def_bool y
15118bcd31SHeiko Carstens	depends on 64BIT
1666701b14SChristoph Lameter
172b105ff9SIngo Molnarconfig LOCKDEP_SUPPORT
1861d48c2cSMartin Schwidefsky	def_bool y
192b105ff9SIngo Molnar
205bdc9b44SHeiko Carstensconfig STACKTRACE_SUPPORT
2161d48c2cSMartin Schwidefsky	def_bool y
225bdc9b44SHeiko Carstens
23a3afe70bSHeiko Carstensconfig HAVE_LATENCYTOP_SUPPORT
24a3afe70bSHeiko Carstens	def_bool y
25a3afe70bSHeiko Carstens
261da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
271da177e4SLinus Torvalds	bool
281da177e4SLinus Torvalds
291da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
3061d48c2cSMartin Schwidefsky	def_bool y
311da177e4SLinus Torvalds
32f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
33f0d1b0b3SDavid Howells	bool
34f0d1b0b3SDavid Howells	default n
35f0d1b0b3SDavid Howells
36f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
37f0d1b0b3SDavid Howells	bool
38f0d1b0b3SDavid Howells	default n
39f0d1b0b3SDavid Howells
407e33db4eSAkinobu Mitaconfig GENERIC_HWEIGHT
4161d48c2cSMartin Schwidefsky	def_bool y
427e33db4eSAkinobu Mita
43dc64bef5SMartin Schwidefskyconfig GENERIC_TIME
44dc64bef5SMartin Schwidefsky	def_bool y
45dc64bef5SMartin Schwidefsky
46b020632eSMartin Schwidefskyconfig GENERIC_TIME_VSYSCALL
47b020632eSMartin Schwidefsky	def_bool y
48b020632eSMartin Schwidefsky
495a62b192SHeiko Carstensconfig GENERIC_CLOCKEVENTS
505a62b192SHeiko Carstens	def_bool y
515a62b192SHeiko Carstens
52c0007f1aSHeiko Carstensconfig GENERIC_BUG
53c0007f1aSHeiko Carstens	bool
54c0007f1aSHeiko Carstens	depends on BUG
55c0007f1aSHeiko Carstens	default y
56c0007f1aSHeiko Carstens
5723db764dSAl Viroconfig NO_IOMEM
585ea81769SAl Viro	def_bool y
595ea81769SAl Viro
60411f0f3eSHeiko Carstensconfig NO_DMA
61411f0f3eSHeiko Carstens	def_bool y
62411f0f3eSHeiko Carstens
63b6b40c53SMartin Schwidefskyconfig GENERIC_LOCKBREAK
64b6b40c53SMartin Schwidefsky	bool
65b6b40c53SMartin Schwidefsky	default y
66b6b40c53SMartin Schwidefsky	depends on SMP && PREEMPT
67b6b40c53SMartin Schwidefsky
68402b0862SCarsten Otteconfig PGSTE
69402b0862SCarsten Otte	bool
70402b0862SCarsten Otte	default y if KVM
71402b0862SCarsten Otte
72c185b783SMartin Schwidefskyconfig VIRT_CPU_ACCOUNTING
73c185b783SMartin Schwidefsky	def_bool y
74c185b783SMartin Schwidefsky
756a11f75bSAkinobu Mitaconfig ARCH_SUPPORTS_DEBUG_PAGEALLOC
766a11f75bSAkinobu Mita	def_bool y
776a11f75bSAkinobu Mita
781da177e4SLinus Torvaldsmainmenu "Linux Kernel Configuration"
791da177e4SLinus Torvalds
80347a8dc3SMartin Schwidefskyconfig S390
8161d48c2cSMartin Schwidefsky	def_bool y
82ca9fc75aSHeiko Carstens	select USE_GENERIC_SMP_HELPERS if SMP
83ed6bb619SHeiko Carstens	select HAVE_SYSCALL_WRAPPERS
845d360a75SHeiko Carstens	select HAVE_FUNCTION_TRACER
858b4488f8SHeiko Carstens	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
86dfd9f7abSHeiko Carstens	select HAVE_FTRACE_MCOUNT_RECORD
8766700001SJosh Stone	select HAVE_SYSCALL_TRACEPOINTS
88dfd9f7abSHeiko Carstens	select HAVE_DYNAMIC_FTRACE
8988dbd203SHeiko Carstens	select HAVE_FUNCTION_GRAPH_TRACER
9036cd3c9fSHeiko Carstens	select HAVE_DEFAULT_NO_SPIN_MUTEXES
9142d4b839SMathieu Desnoyers	select HAVE_OPROFILE
923f550096SMathieu Desnoyers	select HAVE_KPROBES
939edddaa2SAnanth N Mavinakayanahalli	select HAVE_KRETPROBES
9477b455f1SChristian Borntraeger	select HAVE_KVM if 64BIT
95753c4dd6SMartin Schwidefsky	select HAVE_ARCH_TRACEHOOK
9698a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
97cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
98*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_TRYLOCK
99*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_TRYLOCK_BH
100*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_LOCK
101*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_LOCK_BH
102*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_LOCK_IRQ
103*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_LOCK_IRQSAVE
104*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_UNLOCK
105*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_UNLOCK_BH
106*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_UNLOCK_IRQ
107*6beb0009SThomas Gleixner	select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
108*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_TRYLOCK
109*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK
110*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK_BH
111*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK_IRQ
112*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK_IRQSAVE
113*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK
114*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK_BH
115*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK_IRQ
116*6beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
117*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_TRYLOCK
118*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK
119*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK_BH
120*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK_IRQ
121*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK_IRQSAVE
122*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK
123*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK_BH
124*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK_IRQ
125*6beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
1261da177e4SLinus Torvalds
127fca3e357SMartin Schwidefskyconfig SCHED_OMIT_FRAME_POINTER
128fca3e357SMartin Schwidefsky	bool
129fca3e357SMartin Schwidefsky	default y
130fca3e357SMartin Schwidefsky
1311da177e4SLinus Torvaldssource "init/Kconfig"
1321da177e4SLinus Torvalds
133dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
134dc52ddc0SMatt Helsley
1351da177e4SLinus Torvaldsmenu "Base setup"
1361da177e4SLinus Torvalds
1371da177e4SLinus Torvaldscomment "Processor type and features"
1381da177e4SLinus Torvalds
1395a62b192SHeiko Carstenssource "kernel/time/Kconfig"
1405a62b192SHeiko Carstens
141347a8dc3SMartin Schwidefskyconfig 64BIT
1421da177e4SLinus Torvalds	bool "64 bit kernel"
1431da177e4SLinus Torvalds	help
1441da177e4SLinus Torvalds	  Select this option if you have a 64 bit IBM zSeries machine
1451da177e4SLinus Torvalds	  and want to use the 64 bit addressing mode.
1461da177e4SLinus Torvalds
147d9f7a745SMartin Schwidefskyconfig 32BIT
148d9f7a745SMartin Schwidefsky	bool
149d9f7a745SMartin Schwidefsky	default y if !64BIT
150d9f7a745SMartin Schwidefsky
15107606309SMartin Schwidefskyconfig KTIME_SCALAR
15207606309SMartin Schwidefsky	def_bool 32BIT
15307606309SMartin Schwidefsky
1541da177e4SLinus Torvaldsconfig SMP
1551da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
1561da177e4SLinus Torvalds	---help---
1571da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
1581da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
1591da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
1621da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
1631da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
1641da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
1651da177e4SLinus Torvalds	  will run faster if you say N here.
1661da177e4SLinus Torvalds
16703502faaSAdrian Bunk	  See also the SMP-HOWTO available at
16803502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvalds	  Even if you don't know what to do here, say Y.
1711da177e4SLinus Torvalds
1721da177e4SLinus Torvaldsconfig NR_CPUS
1731da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
1741da177e4SLinus Torvalds	range 2 64
1751da177e4SLinus Torvalds	depends on SMP
176057c5cb3SHeiko Carstens	default "32" if !64BIT
177057c5cb3SHeiko Carstens	default "64" if 64BIT
1781da177e4SLinus Torvalds	help
1791da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
1801da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 64 and the
1811da177e4SLinus Torvalds	  minimum value which makes sense is 2.
1821da177e4SLinus Torvalds
1831da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
1841da177e4SLinus Torvalds	  approximately sixteen kilobytes to the kernel image.
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvaldsconfig HOTPLUG_CPU
1871da177e4SLinus Torvalds	bool "Support for hot-pluggable CPUs"
1881da177e4SLinus Torvalds	depends on SMP
1891da177e4SLinus Torvalds	select HOTPLUG
1901da177e4SLinus Torvalds	default n
1911da177e4SLinus Torvalds	help
1921da177e4SLinus Torvalds	  Say Y here to be able to turn CPUs off and on. CPUs
1931da177e4SLinus Torvalds	  can be controlled through /sys/devices/system/cpu/cpu#.
1941da177e4SLinus Torvalds	  Say N if you want to disable CPU hotplug.
1951da177e4SLinus Torvalds
1961da177e4SLinus Torvaldsconfig MATHEMU
1971da177e4SLinus Torvalds	bool "IEEE FPU emulation"
1981da177e4SLinus Torvalds	depends on MARCH_G5
1991da177e4SLinus Torvalds	help
2001da177e4SLinus Torvalds	  This option is required for IEEE compliant floating point arithmetic
2011da177e4SLinus Torvalds	  on older S/390 machines. Say Y unless you know your machine doesn't
2021da177e4SLinus Torvalds	  need this.
2031da177e4SLinus Torvalds
204347a8dc3SMartin Schwidefskyconfig COMPAT
2051da177e4SLinus Torvalds	bool "Kernel support for 31 bit emulation"
206347a8dc3SMartin Schwidefsky	depends on 64BIT
20763506c41SMartin Schwidefsky	select COMPAT_BINFMT_ELF
2081da177e4SLinus Torvalds	help
2091da177e4SLinus Torvalds	  Select this option if you want to enable your system kernel to
2101da177e4SLinus Torvalds	  handle system-calls from ELF binaries for 31 bit ESA.  This option
2111da177e4SLinus Torvalds	  (and some other stuff like libraries and such) is needed for
2121da177e4SLinus Torvalds	  executing 31 bit applications.  It is safe to say "Y".
2131da177e4SLinus Torvalds
2141da177e4SLinus Torvaldsconfig SYSVIPC_COMPAT
2151da177e4SLinus Torvalds	bool
2161da177e4SLinus Torvalds	depends on COMPAT && SYSVIPC
2171da177e4SLinus Torvalds	default y
2181da177e4SLinus Torvalds
219e65e1fc2SAl Viroconfig AUDIT_ARCH
220e65e1fc2SAl Viro	bool
221e65e1fc2SAl Viro	default y
222e65e1fc2SAl Viro
223c1821c2eSGerald Schaeferconfig S390_SWITCH_AMODE
224c1821c2eSGerald Schaefer	bool "Switch kernel/user addressing modes"
225c1821c2eSGerald Schaefer	help
226c1821c2eSGerald Schaefer	  This option allows to switch the addressing modes of kernel and user
227c1821c2eSGerald Schaefer	  space. The kernel parameter switch_amode=on will enable this feature,
228c1821c2eSGerald Schaefer	  default is disabled. Enabling this (via kernel parameter) on machines
229c1821c2eSGerald Schaefer	  earlier than IBM System z9-109 EC/BC will reduce system performance.
230c1821c2eSGerald Schaefer
231c1821c2eSGerald Schaefer	  Note that this option will also be selected by selecting the execute
232c1821c2eSGerald Schaefer	  protection option below. Enabling the execute protection via the
233c1821c2eSGerald Schaefer	  noexec kernel parameter will also switch the addressing modes,
234c1821c2eSGerald Schaefer	  independent of the switch_amode kernel parameter.
235c1821c2eSGerald Schaefer
236c1821c2eSGerald Schaefer
237c1821c2eSGerald Schaeferconfig S390_EXEC_PROTECT
238c1821c2eSGerald Schaefer	bool "Data execute protection"
239c1821c2eSGerald Schaefer	select S390_SWITCH_AMODE
240c1821c2eSGerald Schaefer	help
241c1821c2eSGerald Schaefer	  This option allows to enable a buffer overflow protection for user
242c1821c2eSGerald Schaefer	  space programs and it also selects the addressing mode option above.
243c1821c2eSGerald Schaefer	  The kernel parameter noexec=on will enable this feature and also
244c1821c2eSGerald Schaefer	  switch the addressing modes, default is disabled. Enabling this (via
245c1821c2eSGerald Schaefer	  kernel parameter) on machines earlier than IBM System z9-109 EC/BC
246c1821c2eSGerald Schaefer	  will reduce system performance.
247c1821c2eSGerald Schaefer
2481da177e4SLinus Torvaldscomment "Code generation options"
2491da177e4SLinus Torvalds
2501da177e4SLinus Torvaldschoice
2511da177e4SLinus Torvalds	prompt "Processor type"
2521da177e4SLinus Torvalds	default MARCH_G5
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvaldsconfig MARCH_G5
2551da177e4SLinus Torvalds	bool "S/390 model G5 and G6"
256347a8dc3SMartin Schwidefsky	depends on !64BIT
2571da177e4SLinus Torvalds	help
2581da177e4SLinus Torvalds	  Select this to build a 31 bit kernel that works
2591da177e4SLinus Torvalds	  on all S/390 and zSeries machines.
2601da177e4SLinus Torvalds
2611da177e4SLinus Torvaldsconfig MARCH_Z900
2621da177e4SLinus Torvalds	bool "IBM eServer zSeries model z800 and z900"
2631da177e4SLinus Torvalds	help
2641da177e4SLinus Torvalds	  Select this to optimize for zSeries machines. This
2651da177e4SLinus Torvalds	  will enable some optimizations that are not available
2661da177e4SLinus Torvalds	  on older 31 bit only CPUs.
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldsconfig MARCH_Z990
2691da177e4SLinus Torvalds	bool "IBM eServer zSeries model z890 and z990"
2701da177e4SLinus Torvalds	help
2711da177e4SLinus Torvalds	  Select this enable optimizations for model z890/z990.
2721da177e4SLinus Torvalds	  This will be slightly faster but does not work on
2731da177e4SLinus Torvalds	  older machines such as the z900.
2741da177e4SLinus Torvalds
2750efa4703SChristian Borntraegerconfig MARCH_Z9_109
2760efa4703SChristian Borntraeger	bool "IBM System z9"
2770efa4703SChristian Borntraeger	help
2780efa4703SChristian Borntraeger	  Select this to enable optimizations for IBM System z9-109, IBM
2790efa4703SChristian Borntraeger	  System z9 Enterprise Class (z9 EC), and IBM System z9 Business
2800efa4703SChristian Borntraeger	  Class (z9 BC). The kernel will be slightly faster but will not
2810efa4703SChristian Borntraeger	  work on older machines such as the z990, z890, z900, and z800.
2820efa4703SChristian Borntraeger
283e37f50e1SMartin Schwidefskyconfig MARCH_Z10
284e37f50e1SMartin Schwidefsky	bool "IBM System z10"
285e37f50e1SMartin Schwidefsky	help
286e37f50e1SMartin Schwidefsky	  Select this to enable optimizations for IBM System z10. The
287e37f50e1SMartin Schwidefsky	  kernel will be slightly faster but will not work on older
288e37f50e1SMartin Schwidefsky	  machines such as the z990, z890, z900, z800, z9-109, z9-ec
289e37f50e1SMartin Schwidefsky	  and z9-bc.
290e37f50e1SMartin Schwidefsky
2911da177e4SLinus Torvaldsendchoice
2921da177e4SLinus Torvalds
2931da177e4SLinus Torvaldsconfig PACK_STACK
2941da177e4SLinus Torvalds	bool "Pack kernel stack"
2951da177e4SLinus Torvalds	help
2961da177e4SLinus Torvalds	  This option enables the compiler option -mkernel-backchain if it
2971da177e4SLinus Torvalds	  is available. If the option is available the compiler supports
2981da177e4SLinus Torvalds	  the new stack layout which dramatically reduces the minimum stack
2991da177e4SLinus Torvalds	  frame size. With an old compiler a non-leaf function needs a
3001da177e4SLinus Torvalds	  minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
3011da177e4SLinus Torvalds	  -mkernel-backchain the minimum size drops to 16 byte on 31 bit
3021da177e4SLinus Torvalds	  and 24 byte on 64 bit.
3031da177e4SLinus Torvalds
3041da177e4SLinus Torvalds	  Say Y if you are unsure.
3051da177e4SLinus Torvalds
3061da177e4SLinus Torvaldsconfig SMALL_STACK
3077f5a8ba6SHeiko Carstens	bool "Use 8kb for kernel stack instead of 16kb"
3087f5a8ba6SHeiko Carstens	depends on PACK_STACK && 64BIT && !LOCKDEP
3091da177e4SLinus Torvalds	help
3101da177e4SLinus Torvalds	  If you say Y here and the compiler supports the -mkernel-backchain
3117f5a8ba6SHeiko Carstens	  option the kernel will use a smaller kernel stack size. The reduced
3127f5a8ba6SHeiko Carstens	  size is 8kb instead of 16kb. This allows to run more threads on a
3137f5a8ba6SHeiko Carstens	  system and reduces the pressure on the memory management for higher
3147f5a8ba6SHeiko Carstens	  order page allocations.
3151da177e4SLinus Torvalds
3161da177e4SLinus Torvalds	  Say N if you are unsure.
3171da177e4SLinus Torvalds
3181da177e4SLinus Torvaldsconfig CHECK_STACK
3191da177e4SLinus Torvalds	bool "Detect kernel stack overflow"
3201da177e4SLinus Torvalds	help
3211da177e4SLinus Torvalds	  This option enables the compiler option -mstack-guard and
3221da177e4SLinus Torvalds	  -mstack-size if they are available. If the compiler supports them
3231da177e4SLinus Torvalds	  it will emit additional code to each function prolog to trigger
3241da177e4SLinus Torvalds	  an illegal operation if the kernel stack is about to overflow.
3251da177e4SLinus Torvalds
3261da177e4SLinus Torvalds	  Say N if you are unsure.
3271da177e4SLinus Torvalds
3281da177e4SLinus Torvaldsconfig STACK_GUARD
3291da177e4SLinus Torvalds	int "Size of the guard area (128-1024)"
3301da177e4SLinus Torvalds	range 128 1024
3311da177e4SLinus Torvalds	depends on CHECK_STACK
3321da177e4SLinus Torvalds	default "256"
3331da177e4SLinus Torvalds	help
3341da177e4SLinus Torvalds	  This allows you to specify the size of the guard area at the lower
3351da177e4SLinus Torvalds	  end of the kernel stack. If the kernel stack points into the guard
3361da177e4SLinus Torvalds	  area on function entry an illegal operation is triggered. The size
3371da177e4SLinus Torvalds	  needs to be a power of 2. Please keep in mind that the size of an
3381da177e4SLinus Torvalds	  interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
3391da177e4SLinus Torvalds	  The minimum size for the stack guard should be 256 for 31 bit and
3401da177e4SLinus Torvalds	  512 for 64 bit.
3411da177e4SLinus Torvalds
3421da177e4SLinus Torvaldsconfig WARN_STACK
3431da177e4SLinus Torvalds	bool "Emit compiler warnings for function with broken stack usage"
3441da177e4SLinus Torvalds	help
3451da177e4SLinus Torvalds	  This option enables the compiler options -mwarn-framesize and
3461da177e4SLinus Torvalds	  -mwarn-dynamicstack. If the compiler supports these options it
3471da177e4SLinus Torvalds	  will generate warnings for function which either use alloca or
348025dfdafSFrederik Schwarzer	  create a stack frame bigger than CONFIG_WARN_STACK_SIZE.
3491da177e4SLinus Torvalds
3501da177e4SLinus Torvalds	  Say N if you are unsure.
3511da177e4SLinus Torvalds
3521da177e4SLinus Torvaldsconfig WARN_STACK_SIZE
3531da177e4SLinus Torvalds	int "Maximum frame size considered safe (128-2048)"
3541da177e4SLinus Torvalds	range 128 2048
3551da177e4SLinus Torvalds	depends on WARN_STACK
356c5a37255SHeiko Carstens	default "2048"
3571da177e4SLinus Torvalds	help
3581da177e4SLinus Torvalds	  This allows you to specify the maximum frame size a function may
3591da177e4SLinus Torvalds	  have without the compiler complaining about it.
3601da177e4SLinus Torvalds
36139b742f9SHeiko Carstensconfig ARCH_POPULATES_NODE_MAP
36239b742f9SHeiko Carstens	def_bool y
36339b742f9SHeiko Carstens
36461d48c2cSMartin Schwidefskycomment "Kernel preemption"
36561d48c2cSMartin Schwidefsky
36661d48c2cSMartin Schwidefskysource "kernel/Kconfig.preempt"
36761d48c2cSMartin Schwidefsky
36817f34580SHeiko Carstensconfig ARCH_SPARSEMEM_ENABLE
36917f34580SHeiko Carstens	def_bool y
37017f34580SHeiko Carstens	select SPARSEMEM_VMEMMAP_ENABLE
37117f34580SHeiko Carstens	select SPARSEMEM_VMEMMAP
372148f1678SHeiko Carstens	select SPARSEMEM_STATIC if !64BIT
37317f34580SHeiko Carstens
37417f34580SHeiko Carstensconfig ARCH_SPARSEMEM_DEFAULT
37517f34580SHeiko Carstens	def_bool y
37617f34580SHeiko Carstens
37797195d6bSHans-Joachim Pichtconfig ARCH_SELECT_MEMORY_MODEL
37897195d6bSHans-Joachim Picht       def_bool y
37997195d6bSHans-Joachim Picht
380421c175cSHeiko Carstensconfig ARCH_ENABLE_MEMORY_HOTPLUG
381421c175cSHeiko Carstens	def_bool y
382421c175cSHeiko Carstens	depends on SPARSEMEM
383421c175cSHeiko Carstens
3847e9238fbSGerald Schaeferconfig ARCH_ENABLE_MEMORY_HOTREMOVE
3857e9238fbSGerald Schaefer	def_bool y
3867e9238fbSGerald Schaefer
387155af2f9SHans-Joachim Pichtconfig ARCH_HIBERNATION_POSSIBLE
388155af2f9SHans-Joachim Picht       def_bool y if 64BIT
389155af2f9SHans-Joachim Picht
3903f22ab27SDave Hansensource "mm/Kconfig"
3913f22ab27SDave Hansen
3921da177e4SLinus Torvaldscomment "I/O subsystem configuration"
3931da177e4SLinus Torvalds
3941da177e4SLinus Torvaldsconfig QDIO
3951da177e4SLinus Torvalds	tristate "QDIO support"
3961da177e4SLinus Torvalds	---help---
3978129ee16SFrank Pavlic	  This driver provides the Queued Direct I/O base support for
398efca13bcSUrsula Braun	  IBM System z.
3991da177e4SLinus Torvalds
4001da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
4011da177e4SLinus Torvalds	  module will be called qdio.
4021da177e4SLinus Torvalds
4031da177e4SLinus Torvalds	  If unsure, say Y.
4041da177e4SLinus Torvalds
4059d92a7e1SCornelia Huckconfig CHSC_SCH
4069d92a7e1SCornelia Huck	tristate "Support for CHSC subchannels"
4079d92a7e1SCornelia Huck	help
4089d92a7e1SCornelia Huck	  This driver allows usage of CHSC subchannels. A CHSC subchannel
4099d92a7e1SCornelia Huck	  is usually present on LPAR only.
4109d92a7e1SCornelia Huck	  The driver creates a device /dev/chsc, which may be used to
4119d92a7e1SCornelia Huck	  obtain I/O configuration information about the machine and
4129d92a7e1SCornelia Huck	  to issue asynchronous chsc commands (DANGEROUS).
4139d92a7e1SCornelia Huck	  You will usually only want to use this interface on a special
4149d92a7e1SCornelia Huck	  LPAR designated for system management.
4159d92a7e1SCornelia Huck
4169d92a7e1SCornelia Huck	  To compile this driver as a module, choose M here: the
4179d92a7e1SCornelia Huck	  module will be called chsc_sch.
4189d92a7e1SCornelia Huck
4199d92a7e1SCornelia Huck	  If unsure, say N.
4209d92a7e1SCornelia Huck
4211da177e4SLinus Torvaldscomment "Misc"
4221da177e4SLinus Torvalds
4231da177e4SLinus Torvaldsconfig IPL
4241da177e4SLinus Torvalds	bool "Builtin IPL record support"
4251da177e4SLinus Torvalds	help
4261da177e4SLinus Torvalds	  If you want to use the produced kernel to IPL directly from a
4271da177e4SLinus Torvalds	  device, you have to merge a bootsector specific to the device
4281da177e4SLinus Torvalds	  into the first bytes of the kernel. You will have to select the
4291da177e4SLinus Torvalds	  IPL device.
4301da177e4SLinus Torvalds
4311da177e4SLinus Torvaldschoice
4321da177e4SLinus Torvalds	prompt "IPL method generated into head.S"
4331da177e4SLinus Torvalds	depends on IPL
43446e7951fSHeiko Carstens	default IPL_VM
4351da177e4SLinus Torvalds	help
4361da177e4SLinus Torvalds	  Select "tape" if you want to IPL the image from a Tape.
4371da177e4SLinus Torvalds
4381da177e4SLinus Torvalds	  Select "vm_reader" if you are running under VM/ESA and want
4391da177e4SLinus Torvalds	  to IPL the image from the emulated card reader.
4401da177e4SLinus Torvalds
4411da177e4SLinus Torvaldsconfig IPL_TAPE
4421da177e4SLinus Torvalds	bool "tape"
4431da177e4SLinus Torvalds
4441da177e4SLinus Torvaldsconfig IPL_VM
4451da177e4SLinus Torvalds	bool "vm_reader"
4461da177e4SLinus Torvalds
4471da177e4SLinus Torvaldsendchoice
4481da177e4SLinus Torvalds
4491da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
4501da177e4SLinus Torvalds
451684de39bSHeiko Carstensconfig FORCE_MAX_ZONEORDER
452684de39bSHeiko Carstens	int
453684de39bSHeiko Carstens	default "9"
454684de39bSHeiko Carstens
4551da177e4SLinus Torvaldsconfig PROCESS_DEBUG
4561da177e4SLinus Torvalds	bool "Show crashed user process info"
4571da177e4SLinus Torvalds	help
4581da177e4SLinus Torvalds	  Say Y to print all process fault locations to the console.  This is
4591da177e4SLinus Torvalds	  a debugging option; you probably do not want to set it unless you
4601da177e4SLinus Torvalds	  are an S390 port maintainer.
4611da177e4SLinus Torvalds
4621da177e4SLinus Torvaldsconfig PFAULT
4631da177e4SLinus Torvalds	bool "Pseudo page fault support"
4641da177e4SLinus Torvalds	help
4651da177e4SLinus Torvalds	  Select this option, if you want to use PFAULT pseudo page fault
4661da177e4SLinus Torvalds	  handling under VM. If running native or in LPAR, this option
4671da177e4SLinus Torvalds	  has no effect. If your VM does not support PFAULT, PAGEEX
4681da177e4SLinus Torvalds	  pseudo page fault handling will be used.
4691da177e4SLinus Torvalds	  Note that VM 4.2 supports PFAULT but has a bug in its
4701da177e4SLinus Torvalds	  implementation that causes some problems.
4711da177e4SLinus Torvalds	  Everybody who wants to run Linux under VM != VM4.2 should select
4721da177e4SLinus Torvalds	  this option.
4731da177e4SLinus Torvalds
4741da177e4SLinus Torvaldsconfig SHARED_KERNEL
4751da177e4SLinus Torvalds	bool "VM shared kernel support"
4761da177e4SLinus Torvalds	help
4771da177e4SLinus Torvalds	  Select this option, if you want to share the text segment of the
4781da177e4SLinus Torvalds	  Linux kernel between different VM guests. This reduces memory
4791da177e4SLinus Torvalds	  usage with lots of guests but greatly increases kernel size.
4809c9c1761SHeiko Carstens	  Also if a kernel was IPL'ed from a shared segment the kexec system
4819c9c1761SHeiko Carstens	  call will not work.
4821da177e4SLinus Torvalds	  You should only select this option if you know what you are
4831da177e4SLinus Torvalds	  doing and want to exploit this feature.
4841da177e4SLinus Torvalds
4851da177e4SLinus Torvaldsconfig CMM
4861da177e4SLinus Torvalds	tristate "Cooperative memory management"
4871da177e4SLinus Torvalds	help
4881da177e4SLinus Torvalds	  Select this option, if you want to enable the kernel interface
4891da177e4SLinus Torvalds	  to reduce the memory size of the system. This is accomplished
4901da177e4SLinus Torvalds	  by allocating pages of memory and put them "on hold". This only
4911da177e4SLinus Torvalds	  makes sense for a system running under VM where the unused pages
4921da177e4SLinus Torvalds	  will be reused by VM for other guest systems. The interface
4931da177e4SLinus Torvalds	  allows an external monitor to balance memory of many systems.
4941da177e4SLinus Torvalds	  Everybody who wants to run Linux under VM should select this
4951da177e4SLinus Torvalds	  option.
4961da177e4SLinus Torvalds
4971da177e4SLinus Torvaldsconfig CMM_PROC
4981da177e4SLinus Torvalds	bool "/proc interface to cooperative memory management"
4991da177e4SLinus Torvalds	depends on CMM
5001da177e4SLinus Torvalds	help
5011da177e4SLinus Torvalds	  Select this option to enable the /proc interface to the
5021da177e4SLinus Torvalds	  cooperative memory management.
5031da177e4SLinus Torvalds
5041da177e4SLinus Torvaldsconfig CMM_IUCV
5051da177e4SLinus Torvalds	bool "IUCV special message interface to cooperative memory management"
5061da177e4SLinus Torvalds	depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
5071da177e4SLinus Torvalds	help
5081da177e4SLinus Torvalds	  Select this option to enable the special message interface to
5091da177e4SLinus Torvalds	  the cooperative memory management.
5101da177e4SLinus Torvalds
5111da177e4SLinus Torvaldsconfig APPLDATA_BASE
5121da177e4SLinus Torvalds	bool "Linux - VM Monitor Stream, base infrastructure"
513c185b783SMartin Schwidefsky	depends on PROC_FS
5141da177e4SLinus Torvalds	help
5151da177e4SLinus Torvalds	  This provides a kernel interface for creating and updating z/VM APPLDATA
5161da177e4SLinus Torvalds	  monitor records. The monitor records are updated at certain time
5171da177e4SLinus Torvalds	  intervals, once the timer is started.
5181da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
5191da177e4SLinus Torvalds	  i.e. enables or disables monitoring on the Linux side.
5201da177e4SLinus Torvalds	  A custom interval value (in seconds) can be written to
5211da177e4SLinus Torvalds	  /proc/appldata/interval.
5221da177e4SLinus Torvalds
5231da177e4SLinus Torvalds	  Defaults are 60 seconds interval and timer off.
5241da177e4SLinus Torvalds	  The /proc entries can also be read from, showing the current settings.
5251da177e4SLinus Torvalds
5261da177e4SLinus Torvaldsconfig APPLDATA_MEM
5271da177e4SLinus Torvalds	tristate "Monitor memory management statistics"
52862fb2ba3SAl Viro	depends on APPLDATA_BASE && VM_EVENT_COUNTERS
5291da177e4SLinus Torvalds	help
5301da177e4SLinus Torvalds	  This provides memory management related data to the Linux - VM Monitor
5311da177e4SLinus Torvalds	  Stream, like paging/swapping rate, memory utilisation, etc.
5321da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
5331da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
5341da177e4SLinus Torvalds	  on the z/VM side.
5351da177e4SLinus Torvalds
5361da177e4SLinus Torvalds	  Default is disabled.
5371da177e4SLinus Torvalds	  The /proc entry can also be read from, showing the current settings.
5381da177e4SLinus Torvalds
5391da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
5401da177e4SLinus Torvalds	  appldata_mem.o.
5411da177e4SLinus Torvalds
5421da177e4SLinus Torvaldsconfig APPLDATA_OS
5431da177e4SLinus Torvalds	tristate "Monitor OS statistics"
5441da177e4SLinus Torvalds	depends on APPLDATA_BASE
5451da177e4SLinus Torvalds	help
5461da177e4SLinus Torvalds	  This provides OS related data to the Linux - VM Monitor Stream, like
5471da177e4SLinus Torvalds	  CPU utilisation, etc.
5481da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
5491da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
5501da177e4SLinus Torvalds	  on the z/VM side.
5511da177e4SLinus Torvalds
5521da177e4SLinus Torvalds	  Default is disabled.
5531da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
5541da177e4SLinus Torvalds	  appldata_os.o.
5551da177e4SLinus Torvalds
5561da177e4SLinus Torvaldsconfig APPLDATA_NET_SUM
5571da177e4SLinus Torvalds	tristate "Monitor overall network statistics"
55870193af9SSachin Sant	depends on APPLDATA_BASE && NET
5591da177e4SLinus Torvalds	help
5601da177e4SLinus Torvalds	  This provides network related data to the Linux - VM Monitor Stream,
5611da177e4SLinus Torvalds	  currently there is only a total sum of network I/O statistics, no
5621da177e4SLinus Torvalds	  per-interface data.
5631da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
5641da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
5651da177e4SLinus Torvalds	  on the z/VM side.
5661da177e4SLinus Torvalds
5671da177e4SLinus Torvalds	  Default is disabled.
5681da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
5691da177e4SLinus Torvalds	  appldata_net_sum.o.
5701da177e4SLinus Torvalds
57161d48c2cSMartin Schwidefskysource kernel/Kconfig.hz
57261d48c2cSMartin Schwidefsky
57324bbb1faSMichael Holzheuconfig S390_HYPFS_FS
57424bbb1faSMichael Holzheu	bool "s390 hypervisor file system support"
57524bbb1faSMichael Holzheu	select SYS_HYPERVISOR
57624bbb1faSMichael Holzheu	default y
57724bbb1faSMichael Holzheu	help
57824bbb1faSMichael Holzheu	  This is a virtual file system intended to provide accounting
57924bbb1faSMichael Holzheu	  information in an s390 hypervisor environment.
58024bbb1faSMichael Holzheu
581cf13f0eaSHeiko Carstensconfig KEXEC
58207d43ce6SHeiko Carstens	bool "kexec system call"
583cf13f0eaSHeiko Carstens	help
584cf13f0eaSHeiko Carstens	  kexec is a system call that implements the ability to shutdown your
585cf13f0eaSHeiko Carstens	  current kernel, and to start another kernel.  It is like a reboot
586cf13f0eaSHeiko Carstens	  but is independent of hardware/microcode support.
587cf13f0eaSHeiko Carstens
588411ed322SMichael Holzheuconfig ZFCPDUMP
58959f2e69dSMichael Holzheu	bool "zfcpdump support"
590411ed322SMichael Holzheu	select SMP
591411ed322SMichael Holzheu	default n
592411ed322SMichael Holzheu	help
593411ed322SMichael Holzheu	  Select this option if you want to build an zfcpdump enabled kernel.
594e403149cSDirk Hohndel	  Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
595411ed322SMichael Holzheu
596fa587743SCarsten Otteconfig S390_GUEST
59720766c08SChristian Borntraegerbool "s390 guest support for KVM (EXPERIMENTAL)"
598fa587743SCarsten Otte	depends on 64BIT && EXPERIMENTAL
599fa587743SCarsten Otte	select VIRTIO
600fa587743SCarsten Otte	select VIRTIO_RING
601faeba830SChristian Borntraeger	select VIRTIO_CONSOLE
602fa587743SCarsten Otte	help
60320766c08SChristian Borntraeger	  Select this option if you want to run the kernel as a guest under
60420766c08SChristian Borntraeger	  the KVM hypervisor. This will add detection for KVM as well  as a
60520766c08SChristian Borntraeger	  virtio transport. If KVM is detected, the virtio console will be
60620766c08SChristian Borntraeger	  the default console.
607bcf5cef7SHeiko Carstens
608bcf5cef7SHeiko Carstensconfig SECCOMP
609bcf5cef7SHeiko Carstens	bool "Enable seccomp to safely compute untrusted bytecode"
610bcf5cef7SHeiko Carstens	depends on PROC_FS
611bcf5cef7SHeiko Carstens	default y
612bcf5cef7SHeiko Carstens	help
613bcf5cef7SHeiko Carstens	  This kernel feature is useful for number crunching applications
614bcf5cef7SHeiko Carstens	  that may need to compute untrusted bytecode during their
615bcf5cef7SHeiko Carstens	  execution. By using pipes or other transports made available to
616bcf5cef7SHeiko Carstens	  the process as file descriptors supporting the read/write
617bcf5cef7SHeiko Carstens	  syscalls, it's possible to isolate those applications in
618bcf5cef7SHeiko Carstens	  their own address space using seccomp. Once seccomp is
619bcf5cef7SHeiko Carstens	  enabled via /proc/<pid>/seccomp, it cannot be disabled
620bcf5cef7SHeiko Carstens	  and the task is only allowed to execute a few safe syscalls
621bcf5cef7SHeiko Carstens	  defined by each seccomp mode.
622bcf5cef7SHeiko Carstens
623bcf5cef7SHeiko Carstens	  If unsure, say Y.
624bcf5cef7SHeiko Carstens
6251da177e4SLinus Torvaldsendmenu
6261da177e4SLinus Torvalds
627155af2f9SHans-Joachim Pichtmenu "Power Management"
628155af2f9SHans-Joachim Picht
629155af2f9SHans-Joachim Pichtsource "kernel/power/Kconfig"
630155af2f9SHans-Joachim Picht
631155af2f9SHans-Joachim Pichtendmenu
632155af2f9SHans-Joachim Picht
633d5950b43SSam Ravnborgsource "net/Kconfig"
634d5950b43SSam Ravnborg
6351da177e4SLinus Torvaldsconfig PCMCIA
63661d48c2cSMartin Schwidefsky	def_bool n
6371da177e4SLinus Torvalds
63861d48c2cSMartin Schwidefskyconfig CCW
63961d48c2cSMartin Schwidefsky	def_bool y
6401da177e4SLinus Torvalds
64161d48c2cSMartin Schwidefskysource "drivers/Kconfig"
6421da177e4SLinus Torvalds
6431da177e4SLinus Torvaldssource "fs/Kconfig"
6441da177e4SLinus Torvalds
6451da177e4SLinus Torvaldssource "arch/s390/Kconfig.debug"
6461da177e4SLinus Torvalds
6471da177e4SLinus Torvaldssource "security/Kconfig"
6481da177e4SLinus Torvalds
6491da177e4SLinus Torvaldssource "crypto/Kconfig"
6501da177e4SLinus Torvalds
6511da177e4SLinus Torvaldssource "lib/Kconfig"
65277b455f1SChristian Borntraeger
65377b455f1SChristian Borntraegersource "arch/s390/kvm/Kconfig"
654