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