This commit was manufactured by cvs2svn to create tag
[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 comment "Misc"
185
186 config PREEMPT
187         bool "Preemptible Kernel"
188         help
189           This option reduces the latency of the kernel when reacting to
190           real-time or interactive events by allowing a low priority process to
191           be preempted even if it is in kernel mode executing a system call.
192           This allows applications to run more reliably even when the system is
193           under load.
194
195           Say N if you are unsure.
196
197 config IPL
198         bool "Builtin IPL record support"
199         help
200           If you want to use the produced kernel to IPL directly from a
201           device, you have to merge a bootsector specific to the device
202           into the first bytes of the kernel. You will have to select the
203           IPL device.
204
205 choice
206         prompt "IPL method generated into head.S"
207         depends on IPL
208         default IPL_TAPE
209         help
210           Select "tape" if you want to IPL the image from a Tape.
211
212           Select "vm_reader" if you are running under VM/ESA and want
213           to IPL the image from the emulated card reader.
214
215 config IPL_TAPE
216         bool "tape"
217
218 config IPL_VM
219         bool "vm_reader"
220
221 endchoice
222
223 source "fs/Kconfig.binfmt"
224
225 config PROCESS_DEBUG
226         bool "Show crashed user process info"
227         help
228           Say Y to print all process fault locations to the console.  This is
229           a debugging option; you probably do not want to set it unless you
230           are an S390 port maintainer.
231
232 config PFAULT
233         bool "Pseudo page fault support"
234         help
235           Select this option, if you want to use PFAULT pseudo page fault
236           handling under VM. If running native or in LPAR, this option
237           has no effect. If your VM does not support PFAULT, PAGEEX
238           pseudo page fault handling will be used.
239           Note that VM 4.2 supports PFAULT but has a bug in its
240           implementation that causes some problems.
241           Everybody who wants to run Linux under VM != VM4.2 should select
242           this option.
243
244 config SHARED_KERNEL
245         bool "VM shared kernel support"
246         help
247           Select this option, if you want to share the text segment of the
248           Linux kernel between different VM guests. This reduces memory
249           usage with lots of guests but greatly increases kernel size.
250           You should only select this option if you know what you are
251           doing and want to exploit this feature.
252
253 config CMM
254         tristate "Cooperative memory management"
255         help
256           Select this option, if you want to enable the kernel interface
257           to reduce the memory size of the system. This is accomplished
258           by allocating pages of memory and put them "on hold". This only
259           makes sense for a system running under VM where the unused pages
260           will be reused by VM for other guest systems. The interface
261           allows an external monitor to balance memory of many systems.
262           Everybody who wants to run Linux under VM should select this
263           option.
264
265 config CMM_PROC
266         bool "/proc interface to cooperative memory management"
267         depends on CMM
268         help
269           Select this option to enable the /proc interface to the
270           cooperative memory management.
271
272 config CMM_IUCV
273         bool "IUCV special message interface to cooperative memory management"
274         depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
275         help
276           Select this option to enable the special message interface to
277           the cooperative memory management.
278
279 config VIRT_TIMER
280         bool "Virtual CPU timer support"
281         help
282           This provides a kernel interface for virtual CPU timers.
283           Default is disabled.
284
285 config APPLDATA_BASE
286         bool "Linux - VM Monitor Stream, base infrastructure"
287         depends on PROC_FS && VIRT_TIMER=y
288         help
289           This provides a kernel interface for creating and updating z/VM APPLDATA
290           monitor records. The monitor records are updated at certain time
291           intervals, once the timer is started.
292           Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
293           i.e. enables or disables monitoring on the Linux side.
294           A custom interval value (in seconds) can be written to
295           /proc/appldata/interval.
296
297           Defaults are 60 seconds interval and timer off.
298           The /proc entries can also be read from, showing the current settings.
299
300 config APPLDATA_MEM
301         tristate "Monitor memory management statistics"
302         depends on APPLDATA_BASE
303         help
304           This provides memory management related data to the Linux - VM Monitor
305           Stream, like paging/swapping rate, memory utilisation, etc.
306           Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
307           APPLDATA monitor record, i.e. enables or disables monitoring this record
308           on the z/VM side.
309
310           Default is disabled.
311           The /proc entry can also be read from, showing the current settings.
312
313           This can also be compiled as a module, which will be called
314           appldata_mem.o.
315
316 config APPLDATA_OS
317         tristate "Monitor OS statistics"
318         depends on APPLDATA_BASE
319         help
320           This provides OS related data to the Linux - VM Monitor Stream, like
321           CPU utilisation, etc.
322           Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
323           APPLDATA monitor record, i.e. enables or disables monitoring this record
324           on the z/VM side.
325
326           Default is disabled.
327           This can also be compiled as a module, which will be called
328           appldata_os.o.
329
330 config APPLDATA_NET_SUM
331         tristate "Monitor overall network statistics"
332         depends on APPLDATA_BASE
333         help
334           This provides network related data to the Linux - VM Monitor Stream,
335           currently there is only a total sum of network I/O statistics, no
336           per-interface data.
337           Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
338           APPLDATA monitor record, i.e. enables or disables monitoring this record
339           on the z/VM side.
340
341           Default is disabled.
342           This can also be compiled as a module, which will be called
343           appldata_net_sum.o.
344
345 config NO_IDLE_HZ
346         bool "No HZ timer ticks in idle"
347         help
348           Switches the regular HZ timer off when the system is going idle.
349           This helps z/VM to detect that the Linux system is idle. VM can
350           then "swap-out" this guest which reduces memory usage. It also
351           reduces the overhead of idle systems.
352
353           The HZ timer can be switched on/off via /proc/sys/kernel/hz_timer.
354           hz_timer=0 means HZ timer is disabled. hz_timer=1 means HZ
355           timer is active.
356
357 config NO_IDLE_HZ_INIT
358         bool "HZ timer in idle off by default"
359         depends on NO_IDLE_HZ
360         help
361           The HZ timer is switched off in idle by default. That means the
362           HZ timer is already disabled at boot time.
363
364 endmenu
365
366 config PCMCIA
367         bool
368         default n
369
370 source "drivers/base/Kconfig"
371
372 source "drivers/scsi/Kconfig"
373
374 source "drivers/s390/Kconfig"
375
376 source "net/Kconfig"
377
378 source "fs/Kconfig"
379
380 source "arch/s390/oprofile/Kconfig"
381
382 menu "Kernel hacking"
383
384 config DEBUG_KERNEL
385         bool "Kernel debugging"
386         help
387           Say Y here if you are developing drivers or trying to debug and
388           identify kernel problems.
389
390 config MAGIC_SYSRQ
391         bool "Magic SysRq key"
392         depends on DEBUG_KERNEL
393         help
394           If you say Y here, you will have some control over the system even
395           if the system crashes for example during kernel debugging (e.g., you
396           will be able to flush the buffer cache to disk, reboot the system
397           immediately or dump some status information). This is accomplished
398           by pressing various keys while holding SysRq (Alt+PrintScreen). It
399           also works on a serial console (on PC hardware at least), if you
400           send a BREAK and then within 5 seconds a command keypress. The
401           keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
402           unless you really know what this hack does.
403
404 config DEBUG_SLAB
405         bool "Debug memory allocations"
406         depends on DEBUG_KERNEL
407         help
408           Say Y here to have the kernel do limited verification on memory
409           allocation as well as poisoning memory on free to catch use of freed
410           memory.
411
412 config KALLSYMS
413         bool "Load all symbols for debugging/kksymoops"
414         depends on DEBUG_KERNEL
415         help
416           Say Y here to let the kernel print out symbolic crash information and
417           symbolic stack backtraces. This increases the size of the kernel
418           somewhat, as all symbols have to be loaded into the kernel image.
419
420 config DEBUG_INFO
421         bool "Compile the kernel with debug info"
422         depends on DEBUG_KERNEL
423         help
424           If you say Y here the resulting kernel image will include
425           debugging info resulting in a larger kernel image.
426           Say Y here only if you plan to use gdb to debug the kernel.
427           If you don't debug the kernel, you can say N.
428           
429 config DEBUG_SPINLOCK_SLEEP
430         bool "Sleep-inside-spinlock checking"
431         help
432           If you say Y here, various routines which may sleep will become very
433           noisy if they are called with a spinlock held.        
434
435 endmenu
436
437 source "kernel/vserver/Kconfig"
438
439 source "security/Kconfig"
440
441 source "crypto/Kconfig"
442
443 source "lib/Kconfig"
444