xref: /openbmc/linux/arch/s390/Kconfig (revision 20766c083e6ab3c33125f07c7ffe39914c106d98)
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
465a62b192SHeiko Carstensconfig GENERIC_CLOCKEVENTS
475a62b192SHeiko Carstens	def_bool y
485a62b192SHeiko Carstens
49c0007f1aSHeiko Carstensconfig GENERIC_BUG
50c0007f1aSHeiko Carstens	bool
51c0007f1aSHeiko Carstens	depends on BUG
52c0007f1aSHeiko Carstens	default y
53c0007f1aSHeiko Carstens
5423db764dSAl Viroconfig NO_IOMEM
555ea81769SAl Viro	def_bool y
565ea81769SAl Viro
57411f0f3eSHeiko Carstensconfig NO_DMA
58411f0f3eSHeiko Carstens	def_bool y
59411f0f3eSHeiko Carstens
60b6b40c53SMartin Schwidefskyconfig GENERIC_LOCKBREAK
61b6b40c53SMartin Schwidefsky	bool
62b6b40c53SMartin Schwidefsky	default y
63b6b40c53SMartin Schwidefsky	depends on SMP && PREEMPT
64b6b40c53SMartin Schwidefsky
65402b0862SCarsten Otteconfig PGSTE
66402b0862SCarsten Otte	bool
67402b0862SCarsten Otte	default y if KVM
68402b0862SCarsten Otte
691da177e4SLinus Torvaldsmainmenu "Linux Kernel Configuration"
701da177e4SLinus Torvalds
71347a8dc3SMartin Schwidefskyconfig S390
7261d48c2cSMartin Schwidefsky	def_bool y
7342d4b839SMathieu Desnoyers	select HAVE_OPROFILE
743f550096SMathieu Desnoyers	select HAVE_KPROBES
759edddaa2SAnanth N Mavinakayanahalli	select HAVE_KRETPROBES
7677b455f1SChristian Borntraeger	select HAVE_KVM if 64BIT
77753c4dd6SMartin Schwidefsky	select HAVE_ARCH_TRACEHOOK
781da177e4SLinus Torvalds
791da177e4SLinus Torvaldssource "init/Kconfig"
801da177e4SLinus Torvalds
811da177e4SLinus Torvaldsmenu "Base setup"
821da177e4SLinus Torvalds
831da177e4SLinus Torvaldscomment "Processor type and features"
841da177e4SLinus Torvalds
855a62b192SHeiko Carstenssource "kernel/time/Kconfig"
865a62b192SHeiko Carstens
87347a8dc3SMartin Schwidefskyconfig 64BIT
881da177e4SLinus Torvalds	bool "64 bit kernel"
891da177e4SLinus Torvalds	help
901da177e4SLinus Torvalds	  Select this option if you have a 64 bit IBM zSeries machine
911da177e4SLinus Torvalds	  and want to use the 64 bit addressing mode.
921da177e4SLinus Torvalds
93d9f7a745SMartin Schwidefskyconfig 32BIT
94d9f7a745SMartin Schwidefsky	bool
95d9f7a745SMartin Schwidefsky	default y if !64BIT
96d9f7a745SMartin Schwidefsky
971da177e4SLinus Torvaldsconfig SMP
981da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
991da177e4SLinus Torvalds	---help---
1001da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
1011da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
1021da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
1051da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
1061da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
1071da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
1081da177e4SLinus Torvalds	  will run faster if you say N here.
1091da177e4SLinus Torvalds
11003502faaSAdrian Bunk	  See also the SMP-HOWTO available at
11103502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvalds	  Even if you don't know what to do here, say Y.
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvaldsconfig NR_CPUS
1161da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
1171da177e4SLinus Torvalds	range 2 64
1181da177e4SLinus Torvalds	depends on SMP
119057c5cb3SHeiko Carstens	default "32" if !64BIT
120057c5cb3SHeiko Carstens	default "64" if 64BIT
1211da177e4SLinus Torvalds	help
1221da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
1231da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 64 and the
1241da177e4SLinus Torvalds	  minimum value which makes sense is 2.
1251da177e4SLinus Torvalds
1261da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
1271da177e4SLinus Torvalds	  approximately sixteen kilobytes to the kernel image.
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvaldsconfig HOTPLUG_CPU
1301da177e4SLinus Torvalds	bool "Support for hot-pluggable CPUs"
1311da177e4SLinus Torvalds	depends on SMP
1321da177e4SLinus Torvalds	select HOTPLUG
1331da177e4SLinus Torvalds	default n
1341da177e4SLinus Torvalds	help
1351da177e4SLinus Torvalds	  Say Y here to be able to turn CPUs off and on. CPUs
1361da177e4SLinus Torvalds	  can be controlled through /sys/devices/system/cpu/cpu#.
1371da177e4SLinus Torvalds	  Say N if you want to disable CPU hotplug.
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvaldsconfig MATHEMU
1401da177e4SLinus Torvalds	bool "IEEE FPU emulation"
1411da177e4SLinus Torvalds	depends on MARCH_G5
1421da177e4SLinus Torvalds	help
1431da177e4SLinus Torvalds	  This option is required for IEEE compliant floating point arithmetic
1441da177e4SLinus Torvalds	  on older S/390 machines. Say Y unless you know your machine doesn't
1451da177e4SLinus Torvalds	  need this.
1461da177e4SLinus Torvalds
147347a8dc3SMartin Schwidefskyconfig COMPAT
1481da177e4SLinus Torvalds	bool "Kernel support for 31 bit emulation"
149347a8dc3SMartin Schwidefsky	depends on 64BIT
15063506c41SMartin Schwidefsky	select COMPAT_BINFMT_ELF
1511da177e4SLinus Torvalds	help
1521da177e4SLinus Torvalds	  Select this option if you want to enable your system kernel to
1531da177e4SLinus Torvalds	  handle system-calls from ELF binaries for 31 bit ESA.  This option
1541da177e4SLinus Torvalds	  (and some other stuff like libraries and such) is needed for
1551da177e4SLinus Torvalds	  executing 31 bit applications.  It is safe to say "Y".
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsconfig SYSVIPC_COMPAT
1581da177e4SLinus Torvalds	bool
1591da177e4SLinus Torvalds	depends on COMPAT && SYSVIPC
1601da177e4SLinus Torvalds	default y
1611da177e4SLinus Torvalds
162e65e1fc2SAl Viroconfig AUDIT_ARCH
163e65e1fc2SAl Viro	bool
164e65e1fc2SAl Viro	default y
165e65e1fc2SAl Viro
166c1821c2eSGerald Schaeferconfig S390_SWITCH_AMODE
167c1821c2eSGerald Schaefer	bool "Switch kernel/user addressing modes"
168c1821c2eSGerald Schaefer	help
169c1821c2eSGerald Schaefer	  This option allows to switch the addressing modes of kernel and user
170c1821c2eSGerald Schaefer	  space. The kernel parameter switch_amode=on will enable this feature,
171c1821c2eSGerald Schaefer	  default is disabled. Enabling this (via kernel parameter) on machines
172c1821c2eSGerald Schaefer	  earlier than IBM System z9-109 EC/BC will reduce system performance.
173c1821c2eSGerald Schaefer
174c1821c2eSGerald Schaefer	  Note that this option will also be selected by selecting the execute
175c1821c2eSGerald Schaefer	  protection option below. Enabling the execute protection via the
176c1821c2eSGerald Schaefer	  noexec kernel parameter will also switch the addressing modes,
177c1821c2eSGerald Schaefer	  independent of the switch_amode kernel parameter.
178c1821c2eSGerald Schaefer
179c1821c2eSGerald Schaefer
180c1821c2eSGerald Schaeferconfig S390_EXEC_PROTECT
181c1821c2eSGerald Schaefer	bool "Data execute protection"
182c1821c2eSGerald Schaefer	select S390_SWITCH_AMODE
183c1821c2eSGerald Schaefer	help
184c1821c2eSGerald Schaefer	  This option allows to enable a buffer overflow protection for user
185c1821c2eSGerald Schaefer	  space programs and it also selects the addressing mode option above.
186c1821c2eSGerald Schaefer	  The kernel parameter noexec=on will enable this feature and also
187c1821c2eSGerald Schaefer	  switch the addressing modes, default is disabled. Enabling this (via
188c1821c2eSGerald Schaefer	  kernel parameter) on machines earlier than IBM System z9-109 EC/BC
189c1821c2eSGerald Schaefer	  will reduce system performance.
190c1821c2eSGerald Schaefer
1911da177e4SLinus Torvaldscomment "Code generation options"
1921da177e4SLinus Torvalds
1931da177e4SLinus Torvaldschoice
1941da177e4SLinus Torvalds	prompt "Processor type"
1951da177e4SLinus Torvalds	default MARCH_G5
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvaldsconfig MARCH_G5
1981da177e4SLinus Torvalds	bool "S/390 model G5 and G6"
199347a8dc3SMartin Schwidefsky	depends on !64BIT
2001da177e4SLinus Torvalds	help
2011da177e4SLinus Torvalds	  Select this to build a 31 bit kernel that works
2021da177e4SLinus Torvalds	  on all S/390 and zSeries machines.
2031da177e4SLinus Torvalds
2041da177e4SLinus Torvaldsconfig MARCH_Z900
2051da177e4SLinus Torvalds	bool "IBM eServer zSeries model z800 and z900"
2061da177e4SLinus Torvalds	help
2071da177e4SLinus Torvalds	  Select this to optimize for zSeries machines. This
2081da177e4SLinus Torvalds	  will enable some optimizations that are not available
2091da177e4SLinus Torvalds	  on older 31 bit only CPUs.
2101da177e4SLinus Torvalds
2111da177e4SLinus Torvaldsconfig MARCH_Z990
2121da177e4SLinus Torvalds	bool "IBM eServer zSeries model z890 and z990"
2131da177e4SLinus Torvalds	help
2141da177e4SLinus Torvalds	  Select this enable optimizations for model z890/z990.
2151da177e4SLinus Torvalds	  This will be slightly faster but does not work on
2161da177e4SLinus Torvalds	  older machines such as the z900.
2171da177e4SLinus Torvalds
2180efa4703SChristian Borntraegerconfig MARCH_Z9_109
2190efa4703SChristian Borntraeger	bool "IBM System z9"
2200efa4703SChristian Borntraeger	help
2210efa4703SChristian Borntraeger	  Select this to enable optimizations for IBM System z9-109, IBM
2220efa4703SChristian Borntraeger	  System z9 Enterprise Class (z9 EC), and IBM System z9 Business
2230efa4703SChristian Borntraeger	  Class (z9 BC). The kernel will be slightly faster but will not
2240efa4703SChristian Borntraeger	  work on older machines such as the z990, z890, z900, and z800.
2250efa4703SChristian Borntraeger
2261da177e4SLinus Torvaldsendchoice
2271da177e4SLinus Torvalds
2281da177e4SLinus Torvaldsconfig PACK_STACK
2291da177e4SLinus Torvalds	bool "Pack kernel stack"
2301da177e4SLinus Torvalds	help
2311da177e4SLinus Torvalds	  This option enables the compiler option -mkernel-backchain if it
2321da177e4SLinus Torvalds	  is available. If the option is available the compiler supports
2331da177e4SLinus Torvalds	  the new stack layout which dramatically reduces the minimum stack
2341da177e4SLinus Torvalds	  frame size. With an old compiler a non-leaf function needs a
2351da177e4SLinus Torvalds	  minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
2361da177e4SLinus Torvalds	  -mkernel-backchain the minimum size drops to 16 byte on 31 bit
2371da177e4SLinus Torvalds	  and 24 byte on 64 bit.
2381da177e4SLinus Torvalds
2391da177e4SLinus Torvalds	  Say Y if you are unsure.
2401da177e4SLinus Torvalds
2411da177e4SLinus Torvaldsconfig SMALL_STACK
2421da177e4SLinus Torvalds	bool "Use 4kb/8kb for kernel stack instead of 8kb/16kb"
24374f8f557SHeiko Carstens	depends on PACK_STACK && !LOCKDEP
2441da177e4SLinus Torvalds	help
2451da177e4SLinus Torvalds	  If you say Y here and the compiler supports the -mkernel-backchain
2461da177e4SLinus Torvalds	  option the kernel will use a smaller kernel stack size. For 31 bit
2471da177e4SLinus Torvalds	  the reduced size is 4kb instead of 8kb and for 64 bit it is 8kb
2481da177e4SLinus Torvalds	  instead of 16kb. This allows to run more thread on a system and
2491da177e4SLinus Torvalds	  reduces the pressure on the memory management for higher order
2501da177e4SLinus Torvalds	  page allocations.
2511da177e4SLinus Torvalds
2521da177e4SLinus Torvalds	  Say N if you are unsure.
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvalds
2551da177e4SLinus Torvaldsconfig CHECK_STACK
2561da177e4SLinus Torvalds	bool "Detect kernel stack overflow"
2571da177e4SLinus Torvalds	help
2581da177e4SLinus Torvalds	  This option enables the compiler option -mstack-guard and
2591da177e4SLinus Torvalds	  -mstack-size if they are available. If the compiler supports them
2601da177e4SLinus Torvalds	  it will emit additional code to each function prolog to trigger
2611da177e4SLinus Torvalds	  an illegal operation if the kernel stack is about to overflow.
2621da177e4SLinus Torvalds
2631da177e4SLinus Torvalds	  Say N if you are unsure.
2641da177e4SLinus Torvalds
2651da177e4SLinus Torvaldsconfig STACK_GUARD
2661da177e4SLinus Torvalds	int "Size of the guard area (128-1024)"
2671da177e4SLinus Torvalds	range 128 1024
2681da177e4SLinus Torvalds	depends on CHECK_STACK
2691da177e4SLinus Torvalds	default "256"
2701da177e4SLinus Torvalds	help
2711da177e4SLinus Torvalds	  This allows you to specify the size of the guard area at the lower
2721da177e4SLinus Torvalds	  end of the kernel stack. If the kernel stack points into the guard
2731da177e4SLinus Torvalds	  area on function entry an illegal operation is triggered. The size
2741da177e4SLinus Torvalds	  needs to be a power of 2. Please keep in mind that the size of an
2751da177e4SLinus Torvalds	  interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
2761da177e4SLinus Torvalds	  The minimum size for the stack guard should be 256 for 31 bit and
2771da177e4SLinus Torvalds	  512 for 64 bit.
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvaldsconfig WARN_STACK
2801da177e4SLinus Torvalds	bool "Emit compiler warnings for function with broken stack usage"
2811da177e4SLinus Torvalds	help
2821da177e4SLinus Torvalds	  This option enables the compiler options -mwarn-framesize and
2831da177e4SLinus Torvalds	  -mwarn-dynamicstack. If the compiler supports these options it
2841da177e4SLinus Torvalds	  will generate warnings for function which either use alloca or
2851da177e4SLinus Torvalds	  create a stack frame bigger then CONFIG_WARN_STACK_SIZE.
2861da177e4SLinus Torvalds
2871da177e4SLinus Torvalds	  Say N if you are unsure.
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldsconfig WARN_STACK_SIZE
2901da177e4SLinus Torvalds	int "Maximum frame size considered safe (128-2048)"
2911da177e4SLinus Torvalds	range 128 2048
2921da177e4SLinus Torvalds	depends on WARN_STACK
293c5a37255SHeiko Carstens	default "2048"
2941da177e4SLinus Torvalds	help
2951da177e4SLinus Torvalds	  This allows you to specify the maximum frame size a function may
2961da177e4SLinus Torvalds	  have without the compiler complaining about it.
2971da177e4SLinus Torvalds
29839b742f9SHeiko Carstensconfig ARCH_POPULATES_NODE_MAP
29939b742f9SHeiko Carstens	def_bool y
30039b742f9SHeiko Carstens
30161d48c2cSMartin Schwidefskycomment "Kernel preemption"
30261d48c2cSMartin Schwidefsky
30361d48c2cSMartin Schwidefskysource "kernel/Kconfig.preempt"
30461d48c2cSMartin Schwidefsky
30517f34580SHeiko Carstensconfig ARCH_SPARSEMEM_ENABLE
30617f34580SHeiko Carstens	def_bool y
30717f34580SHeiko Carstens	select SPARSEMEM_VMEMMAP_ENABLE
30817f34580SHeiko Carstens	select SPARSEMEM_VMEMMAP
309148f1678SHeiko Carstens	select SPARSEMEM_STATIC if !64BIT
31017f34580SHeiko Carstens
31117f34580SHeiko Carstensconfig ARCH_SPARSEMEM_DEFAULT
31217f34580SHeiko Carstens	def_bool y
31317f34580SHeiko Carstens
31497195d6bSHans-Joachim Pichtconfig ARCH_SELECT_MEMORY_MODEL
31597195d6bSHans-Joachim Picht       def_bool y
31697195d6bSHans-Joachim Picht
317421c175cSHeiko Carstensconfig ARCH_ENABLE_MEMORY_HOTPLUG
318421c175cSHeiko Carstens	def_bool y
319421c175cSHeiko Carstens	depends on SPARSEMEM
320421c175cSHeiko Carstens
3217e9238fbSGerald Schaeferconfig ARCH_ENABLE_MEMORY_HOTREMOVE
3227e9238fbSGerald Schaefer	def_bool y
3237e9238fbSGerald Schaefer
3243f22ab27SDave Hansensource "mm/Kconfig"
3253f22ab27SDave Hansen
3261da177e4SLinus Torvaldscomment "I/O subsystem configuration"
3271da177e4SLinus Torvalds
3281da177e4SLinus Torvaldsconfig MACHCHK_WARNING
3291da177e4SLinus Torvalds	bool "Process warning machine checks"
3301da177e4SLinus Torvalds	help
3311da177e4SLinus Torvalds	  Select this option if you want the machine check handler on IBM S/390 or
3321da177e4SLinus Torvalds	  zSeries to process warning machine checks (e.g. on power failures).
3331da177e4SLinus Torvalds	  If unsure, say "Y".
3341da177e4SLinus Torvalds
3351da177e4SLinus Torvaldsconfig QDIO
3361da177e4SLinus Torvalds	tristate "QDIO support"
3371da177e4SLinus Torvalds	---help---
3388129ee16SFrank Pavlic	  This driver provides the Queued Direct I/O base support for
339efca13bcSUrsula Braun	  IBM System z.
3401da177e4SLinus Torvalds
3411da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3421da177e4SLinus Torvalds	  module will be called qdio.
3431da177e4SLinus Torvalds
3441da177e4SLinus Torvalds	  If unsure, say Y.
3451da177e4SLinus Torvalds
3461da177e4SLinus Torvaldsconfig QDIO_DEBUG
3471da177e4SLinus Torvalds	bool "Extended debugging information"
3481da177e4SLinus Torvalds	depends on QDIO
3491da177e4SLinus Torvalds	help
3508129ee16SFrank Pavlic	  Say Y here to get extended debugging output in
3518129ee16SFrank Pavlic	    /sys/kernel/debug/s390dbf/qdio...
3521da177e4SLinus Torvalds	  Warning: this option reduces the performance of the QDIO module.
3531da177e4SLinus Torvalds
3541da177e4SLinus Torvalds	  If unsure, say N.
3551da177e4SLinus Torvalds
3569d92a7e1SCornelia Huckconfig CHSC_SCH
3579d92a7e1SCornelia Huck	tristate "Support for CHSC subchannels"
3589d92a7e1SCornelia Huck	help
3599d92a7e1SCornelia Huck	  This driver allows usage of CHSC subchannels. A CHSC subchannel
3609d92a7e1SCornelia Huck	  is usually present on LPAR only.
3619d92a7e1SCornelia Huck	  The driver creates a device /dev/chsc, which may be used to
3629d92a7e1SCornelia Huck	  obtain I/O configuration information about the machine and
3639d92a7e1SCornelia Huck	  to issue asynchronous chsc commands (DANGEROUS).
3649d92a7e1SCornelia Huck	  You will usually only want to use this interface on a special
3659d92a7e1SCornelia Huck	  LPAR designated for system management.
3669d92a7e1SCornelia Huck
3679d92a7e1SCornelia Huck	  To compile this driver as a module, choose M here: the
3689d92a7e1SCornelia Huck	  module will be called chsc_sch.
3699d92a7e1SCornelia Huck
3709d92a7e1SCornelia Huck	  If unsure, say N.
3719d92a7e1SCornelia Huck
3721da177e4SLinus Torvaldscomment "Misc"
3731da177e4SLinus Torvalds
3741da177e4SLinus Torvaldsconfig IPL
3751da177e4SLinus Torvalds	bool "Builtin IPL record support"
3761da177e4SLinus Torvalds	help
3771da177e4SLinus Torvalds	  If you want to use the produced kernel to IPL directly from a
3781da177e4SLinus Torvalds	  device, you have to merge a bootsector specific to the device
3791da177e4SLinus Torvalds	  into the first bytes of the kernel. You will have to select the
3801da177e4SLinus Torvalds	  IPL device.
3811da177e4SLinus Torvalds
3821da177e4SLinus Torvaldschoice
3831da177e4SLinus Torvalds	prompt "IPL method generated into head.S"
3841da177e4SLinus Torvalds	depends on IPL
3851da177e4SLinus Torvalds	default IPL_TAPE
3861da177e4SLinus Torvalds	help
3871da177e4SLinus Torvalds	  Select "tape" if you want to IPL the image from a Tape.
3881da177e4SLinus Torvalds
3891da177e4SLinus Torvalds	  Select "vm_reader" if you are running under VM/ESA and want
3901da177e4SLinus Torvalds	  to IPL the image from the emulated card reader.
3911da177e4SLinus Torvalds
3921da177e4SLinus Torvaldsconfig IPL_TAPE
3931da177e4SLinus Torvalds	bool "tape"
3941da177e4SLinus Torvalds
3951da177e4SLinus Torvaldsconfig IPL_VM
3961da177e4SLinus Torvalds	bool "vm_reader"
3971da177e4SLinus Torvalds
3981da177e4SLinus Torvaldsendchoice
3991da177e4SLinus Torvalds
4001da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
4011da177e4SLinus Torvalds
402684de39bSHeiko Carstensconfig FORCE_MAX_ZONEORDER
403684de39bSHeiko Carstens	int
404684de39bSHeiko Carstens	default "9"
405684de39bSHeiko Carstens
4061da177e4SLinus Torvaldsconfig PROCESS_DEBUG
4071da177e4SLinus Torvalds	bool "Show crashed user process info"
4081da177e4SLinus Torvalds	help
4091da177e4SLinus Torvalds	  Say Y to print all process fault locations to the console.  This is
4101da177e4SLinus Torvalds	  a debugging option; you probably do not want to set it unless you
4111da177e4SLinus Torvalds	  are an S390 port maintainer.
4121da177e4SLinus Torvalds
4131da177e4SLinus Torvaldsconfig PFAULT
4141da177e4SLinus Torvalds	bool "Pseudo page fault support"
4151da177e4SLinus Torvalds	help
4161da177e4SLinus Torvalds	  Select this option, if you want to use PFAULT pseudo page fault
4171da177e4SLinus Torvalds	  handling under VM. If running native or in LPAR, this option
4181da177e4SLinus Torvalds	  has no effect. If your VM does not support PFAULT, PAGEEX
4191da177e4SLinus Torvalds	  pseudo page fault handling will be used.
4201da177e4SLinus Torvalds	  Note that VM 4.2 supports PFAULT but has a bug in its
4211da177e4SLinus Torvalds	  implementation that causes some problems.
4221da177e4SLinus Torvalds	  Everybody who wants to run Linux under VM != VM4.2 should select
4231da177e4SLinus Torvalds	  this option.
4241da177e4SLinus Torvalds
4251da177e4SLinus Torvaldsconfig SHARED_KERNEL
4261da177e4SLinus Torvalds	bool "VM shared kernel support"
4271da177e4SLinus Torvalds	help
4281da177e4SLinus Torvalds	  Select this option, if you want to share the text segment of the
4291da177e4SLinus Torvalds	  Linux kernel between different VM guests. This reduces memory
4301da177e4SLinus Torvalds	  usage with lots of guests but greatly increases kernel size.
4319c9c1761SHeiko Carstens	  Also if a kernel was IPL'ed from a shared segment the kexec system
4329c9c1761SHeiko Carstens	  call will not work.
4331da177e4SLinus Torvalds	  You should only select this option if you know what you are
4341da177e4SLinus Torvalds	  doing and want to exploit this feature.
4351da177e4SLinus Torvalds
4361da177e4SLinus Torvaldsconfig CMM
4371da177e4SLinus Torvalds	tristate "Cooperative memory management"
4381da177e4SLinus Torvalds	help
4391da177e4SLinus Torvalds	  Select this option, if you want to enable the kernel interface
4401da177e4SLinus Torvalds	  to reduce the memory size of the system. This is accomplished
4411da177e4SLinus Torvalds	  by allocating pages of memory and put them "on hold". This only
4421da177e4SLinus Torvalds	  makes sense for a system running under VM where the unused pages
4431da177e4SLinus Torvalds	  will be reused by VM for other guest systems. The interface
4441da177e4SLinus Torvalds	  allows an external monitor to balance memory of many systems.
4451da177e4SLinus Torvalds	  Everybody who wants to run Linux under VM should select this
4461da177e4SLinus Torvalds	  option.
4471da177e4SLinus Torvalds
4481da177e4SLinus Torvaldsconfig CMM_PROC
4491da177e4SLinus Torvalds	bool "/proc interface to cooperative memory management"
4501da177e4SLinus Torvalds	depends on CMM
4511da177e4SLinus Torvalds	help
4521da177e4SLinus Torvalds	  Select this option to enable the /proc interface to the
4531da177e4SLinus Torvalds	  cooperative memory management.
4541da177e4SLinus Torvalds
4551da177e4SLinus Torvaldsconfig CMM_IUCV
4561da177e4SLinus Torvalds	bool "IUCV special message interface to cooperative memory management"
4571da177e4SLinus Torvalds	depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
4581da177e4SLinus Torvalds	help
4591da177e4SLinus Torvalds	  Select this option to enable the special message interface to
4601da177e4SLinus Torvalds	  the cooperative memory management.
4611da177e4SLinus Torvalds
46245e576b1SMartin Schwidefskyconfig PAGE_STATES
46345e576b1SMartin Schwidefsky	bool "Unused page notification"
46445e576b1SMartin Schwidefsky	help
46545e576b1SMartin Schwidefsky	  This enables the notification of unused pages to the
46645e576b1SMartin Schwidefsky	  hypervisor. The ESSA instruction is used to do the states
46745e576b1SMartin Schwidefsky	  changes between a page that has content and the unused state.
46845e576b1SMartin Schwidefsky
4691da177e4SLinus Torvaldsconfig VIRT_TIMER
4701da177e4SLinus Torvalds	bool "Virtual CPU timer support"
4711da177e4SLinus Torvalds	help
4721da177e4SLinus Torvalds	  This provides a kernel interface for virtual CPU timers.
4731da177e4SLinus Torvalds	  Default is disabled.
4741da177e4SLinus Torvalds
4751da177e4SLinus Torvaldsconfig VIRT_CPU_ACCOUNTING
4761da177e4SLinus Torvalds	bool "Base user process accounting on virtual cpu timer"
4771da177e4SLinus Torvalds	depends on VIRT_TIMER
4781da177e4SLinus Torvalds	help
4791da177e4SLinus Torvalds	  Select this option to use CPU timer deltas to do user
4801da177e4SLinus Torvalds	  process accounting.
4811da177e4SLinus Torvalds
4821da177e4SLinus Torvaldsconfig APPLDATA_BASE
4831da177e4SLinus Torvalds	bool "Linux - VM Monitor Stream, base infrastructure"
4841da177e4SLinus Torvalds	depends on PROC_FS && VIRT_TIMER=y
4851da177e4SLinus Torvalds	help
4861da177e4SLinus Torvalds	  This provides a kernel interface for creating and updating z/VM APPLDATA
4871da177e4SLinus Torvalds	  monitor records. The monitor records are updated at certain time
4881da177e4SLinus Torvalds	  intervals, once the timer is started.
4891da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
4901da177e4SLinus Torvalds	  i.e. enables or disables monitoring on the Linux side.
4911da177e4SLinus Torvalds	  A custom interval value (in seconds) can be written to
4921da177e4SLinus Torvalds	  /proc/appldata/interval.
4931da177e4SLinus Torvalds
4941da177e4SLinus Torvalds	  Defaults are 60 seconds interval and timer off.
4951da177e4SLinus Torvalds	  The /proc entries can also be read from, showing the current settings.
4961da177e4SLinus Torvalds
4971da177e4SLinus Torvaldsconfig APPLDATA_MEM
4981da177e4SLinus Torvalds	tristate "Monitor memory management statistics"
49962fb2ba3SAl Viro	depends on APPLDATA_BASE && VM_EVENT_COUNTERS
5001da177e4SLinus Torvalds	help
5011da177e4SLinus Torvalds	  This provides memory management related data to the Linux - VM Monitor
5021da177e4SLinus Torvalds	  Stream, like paging/swapping rate, memory utilisation, etc.
5031da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
5041da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
5051da177e4SLinus Torvalds	  on the z/VM side.
5061da177e4SLinus Torvalds
5071da177e4SLinus Torvalds	  Default is disabled.
5081da177e4SLinus Torvalds	  The /proc entry can also be read from, showing the current settings.
5091da177e4SLinus Torvalds
5101da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
5111da177e4SLinus Torvalds	  appldata_mem.o.
5121da177e4SLinus Torvalds
5131da177e4SLinus Torvaldsconfig APPLDATA_OS
5141da177e4SLinus Torvalds	tristate "Monitor OS statistics"
5151da177e4SLinus Torvalds	depends on APPLDATA_BASE
5161da177e4SLinus Torvalds	help
5171da177e4SLinus Torvalds	  This provides OS related data to the Linux - VM Monitor Stream, like
5181da177e4SLinus Torvalds	  CPU utilisation, etc.
5191da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
5201da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
5211da177e4SLinus Torvalds	  on the z/VM side.
5221da177e4SLinus Torvalds
5231da177e4SLinus Torvalds	  Default is disabled.
5241da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
5251da177e4SLinus Torvalds	  appldata_os.o.
5261da177e4SLinus Torvalds
5271da177e4SLinus Torvaldsconfig APPLDATA_NET_SUM
5281da177e4SLinus Torvalds	tristate "Monitor overall network statistics"
5291da177e4SLinus Torvalds	depends on APPLDATA_BASE
5301da177e4SLinus Torvalds	help
5311da177e4SLinus Torvalds	  This provides network related data to the Linux - VM Monitor Stream,
5321da177e4SLinus Torvalds	  currently there is only a total sum of network I/O statistics, no
5331da177e4SLinus Torvalds	  per-interface data.
5341da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
5351da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
5361da177e4SLinus Torvalds	  on the z/VM side.
5371da177e4SLinus Torvalds
5381da177e4SLinus Torvalds	  Default is disabled.
5391da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
5401da177e4SLinus Torvalds	  appldata_net_sum.o.
5411da177e4SLinus Torvalds
54261d48c2cSMartin Schwidefskysource kernel/Kconfig.hz
54361d48c2cSMartin Schwidefsky
54424bbb1faSMichael Holzheuconfig S390_HYPFS_FS
54524bbb1faSMichael Holzheu	bool "s390 hypervisor file system support"
54624bbb1faSMichael Holzheu	select SYS_HYPERVISOR
54724bbb1faSMichael Holzheu	default y
54824bbb1faSMichael Holzheu	help
54924bbb1faSMichael Holzheu	  This is a virtual file system intended to provide accounting
55024bbb1faSMichael Holzheu	  information in an s390 hypervisor environment.
55124bbb1faSMichael Holzheu
552cf13f0eaSHeiko Carstensconfig KEXEC
55307d43ce6SHeiko Carstens	bool "kexec system call"
554cf13f0eaSHeiko Carstens	help
555cf13f0eaSHeiko Carstens	  kexec is a system call that implements the ability to shutdown your
556cf13f0eaSHeiko Carstens	  current kernel, and to start another kernel.  It is like a reboot
557cf13f0eaSHeiko Carstens	  but is independent of hardware/microcode support.
558cf13f0eaSHeiko Carstens
559411ed322SMichael Holzheuconfig ZFCPDUMP
560411ed322SMichael Holzheu	tristate "zfcpdump support"
561411ed322SMichael Holzheu	select SMP
562411ed322SMichael Holzheu	default n
563411ed322SMichael Holzheu	help
564411ed322SMichael Holzheu	  Select this option if you want to build an zfcpdump enabled kernel.
565e403149cSDirk Hohndel	  Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
566411ed322SMichael Holzheu
567fa587743SCarsten Otteconfig S390_GUEST
568*20766c08SChristian Borntraegerbool "s390 guest support for KVM (EXPERIMENTAL)"
569fa587743SCarsten Otte	depends on 64BIT && EXPERIMENTAL
570fa587743SCarsten Otte	select VIRTIO
571fa587743SCarsten Otte	select VIRTIO_RING
572faeba830SChristian Borntraeger	select VIRTIO_CONSOLE
573fa587743SCarsten Otte	help
574*20766c08SChristian Borntraeger	  Select this option if you want to run the kernel as a guest under
575*20766c08SChristian Borntraeger	  the KVM hypervisor. This will add detection for KVM as well  as a
576*20766c08SChristian Borntraeger	  virtio transport. If KVM is detected, the virtio console will be
577*20766c08SChristian Borntraeger	  the default console.
5781da177e4SLinus Torvaldsendmenu
5791da177e4SLinus Torvalds
580d5950b43SSam Ravnborgsource "net/Kconfig"
581d5950b43SSam Ravnborg
5821da177e4SLinus Torvaldsconfig PCMCIA
58361d48c2cSMartin Schwidefsky	def_bool n
5841da177e4SLinus Torvalds
58561d48c2cSMartin Schwidefskyconfig CCW
58661d48c2cSMartin Schwidefsky	def_bool y
5871da177e4SLinus Torvalds
58861d48c2cSMartin Schwidefskysource "drivers/Kconfig"
5891da177e4SLinus Torvalds
5901da177e4SLinus Torvaldssource "fs/Kconfig"
5911da177e4SLinus Torvalds
5921da177e4SLinus Torvaldssource "arch/s390/Kconfig.debug"
5931da177e4SLinus Torvalds
5941da177e4SLinus Torvaldssource "security/Kconfig"
5951da177e4SLinus Torvalds
5961da177e4SLinus Torvaldssource "crypto/Kconfig"
5971da177e4SLinus Torvalds
5981da177e4SLinus Torvaldssource "lib/Kconfig"
59977b455f1SChristian Borntraeger
60077b455f1SChristian Borntraegersource "arch/s390/kvm/Kconfig"
601