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