VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / arch / s390 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 config MMU
7         bool
8         default y
9
10 config RWSEM_GENERIC_SPINLOCK
11         bool
12
13 config RWSEM_XCHGADD_ALGORITHM
14         bool
15         default y
16
17 config GENERIC_BUST_SPINLOCK
18         bool
19
20 mainmenu "Linux Kernel Configuration"
21
22 config ARCH_S390
23         bool
24         default y
25
26 config UID16
27         bool
28         default y
29         depends on ARCH_S390X = 'n'
30
31 source "init/Kconfig"
32
33 menu "Base setup"
34
35 comment "Processor type and features"
36
37 config ARCH_S390X
38         bool "64 bit kernel"
39         help
40           Select this option if you have a 64 bit IBM zSeries machine
41           and want to use the 64 bit addressing mode.
42
43 config 64BIT
44         def_bool ARCH_S390X
45
46 config ARCH_S390_31
47         bool
48         depends on ARCH_S390X = 'n'
49         default y
50
51 choice 
52         prompt "Processor type"
53         default MARCH_G5
54
55 config MARCH_G5
56         bool "S/390 model G5 and G6"
57         depends on ARCH_S390_31
58         help
59           Select this to build a 31 bit kernel that works
60           on all S/390 and zSeries machines.
61
62 config MARCH_Z900
63         bool "IBM eServer zSeries model z800 and z900"
64         help
65           Select this to optimize for zSeries machines. This
66           will enable some optimizations that are not available
67           on older 31 bit only CPUs.
68
69 config MARCH_Z990
70         bool "IBM eServer zSeries model z890 and z990"
71         help
72           Select this enable optimizations for model z890/z990.
73           This will be slightly faster but does not work on
74           older machines such as the z900.
75
76 endchoice 
77
78
79 config SMP
80         bool "Symmetric multi-processing support"
81         ---help---
82           This enables support for systems with more than one CPU. If you have
83           a system with only one CPU, like most personal computers, say N. If
84           you have a system with more than one CPU, say Y.
85
86           If you say N here, the kernel will run on single and multiprocessor
87           machines, but will use only one CPU of a multiprocessor machine. If
88           you say Y here, the kernel will run on many, but not all,
89           singleprocessor machines. On a singleprocessor machine, the kernel
90           will run faster if you say N here.
91
92           See also the <file:Documentation/smp.txt> and the SMP-HOWTO
93           available at <http://www.tldp.org/docs.html#howto>.
94
95           Even if you don't know what to do here, say Y.
96
97 config NR_CPUS
98         int "Maximum number of CPUs (2-64)"
99         range 2 64
100         depends on SMP
101         default "32"
102         help
103           This allows you to specify the maximum number of CPUs which this
104           kernel will support.  The maximum supported value is 64 and the
105           minimum value which makes sense is 2.
106
107           This is purely to save memory - each supported CPU adds
108           approximately sixteen kilobytes to the kernel image.
109
110 config HOTPLUG_CPU
111         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
112         depends on SMP && HOTPLUG && EXPERIMENTAL
113         default n
114         help
115           Say Y here to experiment with turning CPUs off and on.  CPUs
116           can be controlled through /sys/devices/system/cpu/cpu#.
117           Say N if you want to disable CPU hotplug.
118
119 config MATHEMU
120         bool "IEEE FPU emulation"
121         depends on MARCH_G5
122         help
123           This option is required for IEEE compliant floating point arithmetic
124           on older S/390 machines. Say Y unless you know your machine doesn't 
125           need this.
126
127 config S390_SUPPORT
128         bool "Kernel support for 31 bit emulation"
129         depends on ARCH_S390X
130         help
131           Select this option if you want to enable your system kernel to
132           handle system-calls from ELF binaries for 31 bit ESA.  This option
133           (and some other stuff like libraries and such) is needed for
134           executing 31 bit applications.  It is safe to say "Y".
135
136 config COMPAT
137         bool
138         depends on S390_SUPPORT
139         default y
140
141 config SYSVIPC_COMPAT
142         bool
143         depends on COMPAT && SYSVIPC
144         default y
145
146 config BINFMT_ELF32
147         tristate "Kernel support for 31 bit ELF binaries"
148         depends on S390_SUPPORT
149         help
150           This allows you to run 32-bit Linux/ELF binaries on your zSeries
151           in 64 bit mode. Everybody wants this; say Y.
152
153 comment "I/O subsystem configuration"
154
155 config MACHCHK_WARNING
156         bool "Process warning machine checks"
157         help
158           Select this option if you want the machine check handler on IBM S/390 or
159           zSeries to process warning machine checks (e.g. on power failures). 
160           If unsure, say "Y".
161
162 config QDIO
163         tristate "QDIO support"
164         ---help---
165           This driver provides the Queued Direct I/O base support for the
166           IBM S/390 (G5 and G6) and eServer zSeries (z800, z890, z900 and z990).
167
168           For details please refer to the documentation provided by IBM at
169           <http://www10.software.ibm.com/developerworks/opensource/linux390>
170
171           To compile this driver as a module, choose M here: the
172           module will be called qdio.
173
174           If unsure, say Y.
175
176 config QDIO_PERF_STATS
177         bool "Performance statistics in /proc"
178         depends on QDIO
179         help
180           Say Y here to get performance statistics in /proc/qdio_perf
181
182           If unsure, say N.
183
184 config QDIO_DEBUG
185         bool "Extended debugging information"
186         depends on QDIO
187         help
188           Say Y here to get extended debugging output in /proc/s390dbf/qdio...
189           Warning: this option reduces the performance of the QDIO module.
190
191           If unsure, say N.
192
193 comment "Misc"
194
195 config PREEMPT
196         bool "Preemptible Kernel"
197         help
198           This option reduces the latency of the kernel when reacting to
199           real-time or interactive events by allowing a low priority process to
200           be preempted even if it is in kernel mode executing a system call.
201           This allows applications to run more reliably even when the system is
202           under load.
203
204           Say N if you are unsure.
205
206 config IPL
207         bool "Builtin IPL record support"
208         help
209           If you want to use the produced kernel to IPL directly from a
210           device, you have to merge a bootsector specific to the device
211           into the first bytes of the kernel. You will have to select the
212           IPL device.
213
214 choice
215         prompt "IPL method generated into head.S"
216         depends on IPL
217         default IPL_TAPE
218         help
219           Select "tape" if you want to IPL the image from a Tape.
220
221           Select "vm_reader" if you are running under VM/ESA and want
222           to IPL the image from the emulated card reader.
223
224 config IPL_TAPE
225         bool "tape"
226
227 config IPL_VM
228         bool "vm_reader"
229
230 endchoice
231
232 source "fs/Kconfig.binfmt"
233
234 config PROCESS_DEBUG
235         bool "Show crashed user process info"
236         help
237           Say Y to print all process fault locations to the console.  This is
238           a debugging option; you probably do not want to set it unless you
239           are an S390 port maintainer.
240
241 config PFAULT
242         bool "Pseudo page fault support"
243         help
244           Select this option, if you want to use PFAULT pseudo page fault
245           handling under VM. If running native or in LPAR, this option
246           has no effect. If your VM does not support PFAULT, PAGEEX
247           pseudo page fault handling will be used.
248           Note that VM 4.2 supports PFAULT but has a bug in its
249           implementation that causes some problems.
250           Everybody who wants to run Linux under VM != VM4.2 should select
251           this option.
252
253 config SHARED_KERNEL
254         bool "VM shared kernel support"
255         help
256           Select this option, if you want to share the text segment of the
257           Linux kernel between different VM guests. This reduces memory
258           usage with lots of guests but greatly increases kernel size.
259           You should only select this option if you know what you are
260           doing and want to exploit this feature.
261
262 config CMM
263         tristate "Cooperative memory management"
264         help
265           Select this option, if you want to enable the kernel interface
266           to reduce the memory size of the system. This is accomplished
267           by allocating pages of memory and put them "on hold". This only
268           makes sense for a system running under VM where the unused pages
269           will be reused by VM for other guest systems. The interface
270           allows an external monitor to balance memory of many systems.
271           Everybody who wants to run Linux under VM should select this
272           option.
273
274 config CMM_PROC
275         bool "/proc interface to cooperative memory management"
276         depends on CMM
277         help
278           Select this option to enable the /proc interface to the
279           cooperative memory management.
280
281 config CMM_IUCV
282         bool "IUCV special message interface to cooperative memory management"
283         depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
284         help
285           Select this option to enable the special message interface to
286           the cooperative memory management.
287
288 config VIRT_TIMER
289         bool "Virtual CPU timer support"
290         help
291           This provides a kernel interface for virtual CPU timers.
292           Default is disabled.
293
294 config APPLDATA_BASE
295         bool "Linux - VM Monitor Stream, base infrastructure"
296         depends on PROC_FS && VIRT_TIMER=y
297         help
298           This provides a kernel interface for creating and updating z/VM APPLDATA
299           monitor records. The monitor records are updated at certain time
300           intervals, once the timer is started.
301           Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
302           i.e. enables or disables monitoring on the Linux side.
303           A custom interval value (in seconds) can be written to
304           /proc/appldata/interval.
305
306           Defaults are 60 seconds interval and timer off.
307           The /proc entries can also be read from, showing the current settings.
308
309 config APPLDATA_MEM
310         tristate "Monitor memory management statistics"
311         depends on APPLDATA_BASE
312         help
313           This provides memory management related data to the Linux - VM Monitor
314           Stream, like paging/swapping rate, memory utilisation, etc.
315           Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
316           APPLDATA monitor record, i.e. enables or disables monitoring this record
317           on the z/VM side.
318
319           Default is disabled.
320           The /proc entry can also be read from, showing the current settings.
321
322           This can also be compiled as a module, which will be called
323           appldata_mem.o.
324
325 config APPLDATA_OS
326         tristate "Monitor OS statistics"
327         depends on APPLDATA_BASE
328         help
329           This provides OS related data to the Linux - VM Monitor Stream, like
330           CPU utilisation, etc.
331           Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
332           APPLDATA monitor record, i.e. enables or disables monitoring this record
333           on the z/VM side.
334
335           Default is disabled.
336           This can also be compiled as a module, which will be called
337           appldata_os.o.
338
339 config APPLDATA_NET_SUM
340         tristate "Monitor overall network statistics"
341         depends on APPLDATA_BASE
342         help
343           This provides network related data to the Linux - VM Monitor Stream,
344           currently there is only a total sum of network I/O statistics, no
345           per-interface data.
346           Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
347           APPLDATA monitor record, i.e. enables or disables monitoring this record
348           on the z/VM side.
349
350           Default is disabled.
351           This can also be compiled as a module, which will be called
352           appldata_net_sum.o.
353
354 config NO_IDLE_HZ
355         bool "No HZ timer ticks in idle"
356         help
357           Switches the regular HZ timer off when the system is going idle.
358           This helps z/VM to detect that the Linux system is idle. VM can
359           then "swap-out" this guest which reduces memory usage. It also
360           reduces the overhead of idle systems.
361
362           The HZ timer can be switched on/off via /proc/sys/kernel/hz_timer.
363           hz_timer=0 means HZ timer is disabled. hz_timer=1 means HZ
364           timer is active.
365
366 config NO_IDLE_HZ_INIT
367         bool "HZ timer in idle off by default"
368         depends on NO_IDLE_HZ
369         help
370           The HZ timer is switched off in idle by default. That means the
371           HZ timer is already disabled at boot time.
372
373 endmenu
374
375 config PCMCIA
376         bool
377         default n
378
379 source "drivers/base/Kconfig"
380
381 source "drivers/scsi/Kconfig"
382
383 source "drivers/s390/Kconfig"
384
385 source "net/Kconfig"
386
387 source "fs/Kconfig"
388
389 source "arch/s390/oprofile/Kconfig"
390
391 menu "Kernel hacking"
392
393 config DEBUG_KERNEL
394         bool "Kernel debugging"
395         help
396           Say Y here if you are developing drivers or trying to debug and
397           identify kernel problems.
398
399 config MAGIC_SYSRQ
400         bool "Magic SysRq key"
401         depends on DEBUG_KERNEL
402         help
403           If you say Y here, you will have some control over the system even
404           if the system crashes for example during kernel debugging (e.g., you
405           will be able to flush the buffer cache to disk, reboot the system
406           immediately or dump some status information). This is accomplished
407           by pressing various keys while holding SysRq (Alt+PrintScreen). It
408           also works on a serial console (on PC hardware at least), if you
409           send a BREAK and then within 5 seconds a command keypress. The
410           keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
411           unless you really know what this hack does.
412
413 config DEBUG_SLAB
414         bool "Debug memory allocations"
415         depends on DEBUG_KERNEL
416         help
417           Say Y here to have the kernel do limited verification on memory
418           allocation as well as poisoning memory on free to catch use of freed
419           memory.
420
421 config KALLSYMS
422         bool "Load all symbols for debugging/kksymoops"
423         depends on DEBUG_KERNEL
424         help
425           Say Y here to let the kernel print out symbolic crash information and
426           symbolic stack backtraces. This increases the size of the kernel
427           somewhat, as all symbols have to be loaded into the kernel image.
428
429 config DEBUG_INFO
430         bool "Compile the kernel with debug info"
431         depends on DEBUG_KERNEL
432         help
433           If you say Y here the resulting kernel image will include
434           debugging info resulting in a larger kernel image.
435           Say Y here only if you plan to use gdb to debug the kernel.
436           If you don't debug the kernel, you can say N.
437           
438 config DEBUG_SPINLOCK_SLEEP
439         bool "Sleep-inside-spinlock checking"
440         help
441           If you say Y here, various routines which may sleep will become very
442           noisy if they are called with a spinlock held.        
443
444 endmenu
445
446 source "kernel/vserver/Kconfig"
447
448 source "security/Kconfig"
449
450 source "crypto/Kconfig"
451
452 source "lib/Kconfig"
453