blob: 04f5a0230298d49cecb0f3f6a9ad0e971d234f29 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6config MMU
7 bool
8 default y
9
Ingo Molnar2b105ff2006-07-03 00:25:02 -070010config LOCKDEP_SUPPORT
11 bool
12 default y
13
Heiko Carstens5bdc9b42006-07-03 00:24:41 -070014config STACKTRACE_SUPPORT
15 bool
16 default y
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018config RWSEM_GENERIC_SPINLOCK
19 bool
20
21config RWSEM_XCHGADD_ALGORITHM
22 bool
23 default y
24
Akinobu Mita7e33db42006-03-26 01:39:34 -080025config GENERIC_HWEIGHT
26 bool
27 default y
28
Linus Torvalds1da177e2005-04-16 15:20:36 -070029config GENERIC_CALIBRATE_DELAY
30 bool
31 default y
32
Martin Schwidefskydc64bef2006-10-06 16:38:48 +020033config GENERIC_TIME
34 def_bool y
35
Linus Torvalds1da177e2005-04-16 15:20:36 -070036mainmenu "Linux Kernel Configuration"
37
Martin Schwidefsky347a8dc2006-01-06 00:19:28 -080038config S390
Linus Torvalds1da177e2005-04-16 15:20:36 -070039 bool
40 default y
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042source "init/Kconfig"
43
44menu "Base setup"
45
46comment "Processor type and features"
47
Martin Schwidefsky347a8dc2006-01-06 00:19:28 -080048config 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070049 bool "64 bit kernel"
50 help
51 Select this option if you have a 64 bit IBM zSeries machine
52 and want to use the 64 bit addressing mode.
53
Martin Schwidefskyd9f7a742006-09-28 16:55:39 +020054config 32BIT
55 bool
56 default y if !64BIT
57
Linus Torvalds1da177e2005-04-16 15:20:36 -070058config SMP
59 bool "Symmetric multi-processing support"
60 ---help---
61 This enables support for systems with more than one CPU. If you have
62 a system with only one CPU, like most personal computers, say N. If
63 you have a system with more than one CPU, say Y.
64
65 If you say N here, the kernel will run on single and multiprocessor
66 machines, but will use only one CPU of a multiprocessor machine. If
67 you say Y here, the kernel will run on many, but not all,
68 singleprocessor machines. On a singleprocessor machine, the kernel
69 will run faster if you say N here.
70
71 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
72 available at <http://www.tldp.org/docs.html#howto>.
73
74 Even if you don't know what to do here, say Y.
75
76config NR_CPUS
77 int "Maximum number of CPUs (2-64)"
78 range 2 64
79 depends on SMP
80 default "32"
81 help
82 This allows you to specify the maximum number of CPUs which this
83 kernel will support. The maximum supported value is 64 and the
84 minimum value which makes sense is 2.
85
86 This is purely to save memory - each supported CPU adds
87 approximately sixteen kilobytes to the kernel image.
88
89config HOTPLUG_CPU
90 bool "Support for hot-pluggable CPUs"
91 depends on SMP
92 select HOTPLUG
93 default n
94 help
95 Say Y here to be able to turn CPUs off and on. CPUs
96 can be controlled through /sys/devices/system/cpu/cpu#.
97 Say N if you want to disable CPU hotplug.
98
Ingo Molnar4bbf39c2006-02-17 13:52:44 -080099config DEFAULT_MIGRATION_COST
100 int
101 default "1000000"
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103config MATHEMU
104 bool "IEEE FPU emulation"
105 depends on MARCH_G5
106 help
107 This option is required for IEEE compliant floating point arithmetic
108 on older S/390 machines. Say Y unless you know your machine doesn't
109 need this.
110
Martin Schwidefsky347a8dc2006-01-06 00:19:28 -0800111config COMPAT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 bool "Kernel support for 31 bit emulation"
Martin Schwidefsky347a8dc2006-01-06 00:19:28 -0800113 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 help
115 Select this option if you want to enable your system kernel to
116 handle system-calls from ELF binaries for 31 bit ESA. This option
117 (and some other stuff like libraries and such) is needed for
118 executing 31 bit applications. It is safe to say "Y".
119
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120config SYSVIPC_COMPAT
121 bool
122 depends on COMPAT && SYSVIPC
123 default y
124
Al Viroe65e1fc2006-09-12 03:04:40 -0400125config AUDIT_ARCH
126 bool
127 default y
128
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129comment "Code generation options"
130
131choice
132 prompt "Processor type"
133 default MARCH_G5
134
135config MARCH_G5
136 bool "S/390 model G5 and G6"
Martin Schwidefsky347a8dc2006-01-06 00:19:28 -0800137 depends on !64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700138 help
139 Select this to build a 31 bit kernel that works
140 on all S/390 and zSeries machines.
141
142config MARCH_Z900
143 bool "IBM eServer zSeries model z800 and z900"
144 help
145 Select this to optimize for zSeries machines. This
146 will enable some optimizations that are not available
147 on older 31 bit only CPUs.
148
149config MARCH_Z990
150 bool "IBM eServer zSeries model z890 and z990"
151 help
152 Select this enable optimizations for model z890/z990.
153 This will be slightly faster but does not work on
154 older machines such as the z900.
155
Christian Borntraeger0efa4702006-09-28 16:55:46 +0200156config MARCH_Z9_109
157 bool "IBM System z9"
158 help
159 Select this to enable optimizations for IBM System z9-109, IBM
160 System z9 Enterprise Class (z9 EC), and IBM System z9 Business
161 Class (z9 BC). The kernel will be slightly faster but will not
162 work on older machines such as the z990, z890, z900, and z800.
163
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164endchoice
165
166config PACK_STACK
167 bool "Pack kernel stack"
168 help
169 This option enables the compiler option -mkernel-backchain if it
170 is available. If the option is available the compiler supports
171 the new stack layout which dramatically reduces the minimum stack
172 frame size. With an old compiler a non-leaf function needs a
173 minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
174 -mkernel-backchain the minimum size drops to 16 byte on 31 bit
175 and 24 byte on 64 bit.
176
177 Say Y if you are unsure.
178
179config SMALL_STACK
180 bool "Use 4kb/8kb for kernel stack instead of 8kb/16kb"
Heiko Carstens74f8f552006-12-04 15:41:10 +0100181 depends on PACK_STACK && !LOCKDEP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182 help
183 If you say Y here and the compiler supports the -mkernel-backchain
184 option the kernel will use a smaller kernel stack size. For 31 bit
185 the reduced size is 4kb instead of 8kb and for 64 bit it is 8kb
186 instead of 16kb. This allows to run more thread on a system and
187 reduces the pressure on the memory management for higher order
188 page allocations.
189
190 Say N if you are unsure.
191
192
193config CHECK_STACK
194 bool "Detect kernel stack overflow"
195 help
196 This option enables the compiler option -mstack-guard and
197 -mstack-size if they are available. If the compiler supports them
198 it will emit additional code to each function prolog to trigger
199 an illegal operation if the kernel stack is about to overflow.
200
201 Say N if you are unsure.
202
203config STACK_GUARD
204 int "Size of the guard area (128-1024)"
205 range 128 1024
206 depends on CHECK_STACK
207 default "256"
208 help
209 This allows you to specify the size of the guard area at the lower
210 end of the kernel stack. If the kernel stack points into the guard
211 area on function entry an illegal operation is triggered. The size
212 needs to be a power of 2. Please keep in mind that the size of an
213 interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
214 The minimum size for the stack guard should be 256 for 31 bit and
215 512 for 64 bit.
216
217config WARN_STACK
218 bool "Emit compiler warnings for function with broken stack usage"
219 help
220 This option enables the compiler options -mwarn-framesize and
221 -mwarn-dynamicstack. If the compiler supports these options it
222 will generate warnings for function which either use alloca or
223 create a stack frame bigger then CONFIG_WARN_STACK_SIZE.
224
225 Say N if you are unsure.
226
227config WARN_STACK_SIZE
228 int "Maximum frame size considered safe (128-2048)"
229 range 128 2048
230 depends on WARN_STACK
231 default "256"
232 help
233 This allows you to specify the maximum frame size a function may
234 have without the compiler complaining about it.
235
Heiko Carstens39b742f2006-12-08 15:56:10 +0100236config ARCH_POPULATES_NODE_MAP
237 def_bool y
238
Dave Hansen3f22ab22005-06-23 00:07:43 -0700239source "mm/Kconfig"
240
Heiko Carstensf4eb07c2006-12-08 15:56:07 +0100241config HOLES_IN_ZONE
242 def_bool y
243
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244comment "I/O subsystem configuration"
245
246config MACHCHK_WARNING
247 bool "Process warning machine checks"
248 help
249 Select this option if you want the machine check handler on IBM S/390 or
250 zSeries to process warning machine checks (e.g. on power failures).
251 If unsure, say "Y".
252
253config QDIO
254 tristate "QDIO support"
255 ---help---
Frank Pavlic8129ee12006-01-06 00:19:20 -0800256 This driver provides the Queued Direct I/O base support for
257 IBM mainframes.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700258
259 For details please refer to the documentation provided by IBM at
260 <http://www10.software.ibm.com/developerworks/opensource/linux390>
261
262 To compile this driver as a module, choose M here: the
263 module will be called qdio.
264
265 If unsure, say Y.
266
Linus Torvalds1da177e2005-04-16 15:20:36 -0700267config QDIO_DEBUG
268 bool "Extended debugging information"
269 depends on QDIO
270 help
Frank Pavlic8129ee12006-01-06 00:19:20 -0800271 Say Y here to get extended debugging output in
272 /sys/kernel/debug/s390dbf/qdio...
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273 Warning: this option reduces the performance of the QDIO module.
274
275 If unsure, say N.
276
277comment "Misc"
278
279config PREEMPT
280 bool "Preemptible Kernel"
281 help
282 This option reduces the latency of the kernel when reacting to
283 real-time or interactive events by allowing a low priority process to
284 be preempted even if it is in kernel mode executing a system call.
285 This allows applications to run more reliably even when the system is
286 under load.
287
288 Say N if you are unsure.
289
290config IPL
291 bool "Builtin IPL record support"
292 help
293 If you want to use the produced kernel to IPL directly from a
294 device, you have to merge a bootsector specific to the device
295 into the first bytes of the kernel. You will have to select the
296 IPL device.
297
298choice
299 prompt "IPL method generated into head.S"
300 depends on IPL
301 default IPL_TAPE
302 help
303 Select "tape" if you want to IPL the image from a Tape.
304
305 Select "vm_reader" if you are running under VM/ESA and want
306 to IPL the image from the emulated card reader.
307
308config IPL_TAPE
309 bool "tape"
310
311config IPL_VM
312 bool "vm_reader"
313
314endchoice
315
316source "fs/Kconfig.binfmt"
317
318config PROCESS_DEBUG
319 bool "Show crashed user process info"
320 help
321 Say Y to print all process fault locations to the console. This is
322 a debugging option; you probably do not want to set it unless you
323 are an S390 port maintainer.
324
325config PFAULT
326 bool "Pseudo page fault support"
327 help
328 Select this option, if you want to use PFAULT pseudo page fault
329 handling under VM. If running native or in LPAR, this option
330 has no effect. If your VM does not support PFAULT, PAGEEX
331 pseudo page fault handling will be used.
332 Note that VM 4.2 supports PFAULT but has a bug in its
333 implementation that causes some problems.
334 Everybody who wants to run Linux under VM != VM4.2 should select
335 this option.
336
337config SHARED_KERNEL
338 bool "VM shared kernel support"
339 help
340 Select this option, if you want to share the text segment of the
341 Linux kernel between different VM guests. This reduces memory
342 usage with lots of guests but greatly increases kernel size.
343 You should only select this option if you know what you are
344 doing and want to exploit this feature.
345
346config CMM
347 tristate "Cooperative memory management"
348 help
349 Select this option, if you want to enable the kernel interface
350 to reduce the memory size of the system. This is accomplished
351 by allocating pages of memory and put them "on hold". This only
352 makes sense for a system running under VM where the unused pages
353 will be reused by VM for other guest systems. The interface
354 allows an external monitor to balance memory of many systems.
355 Everybody who wants to run Linux under VM should select this
356 option.
357
358config CMM_PROC
359 bool "/proc interface to cooperative memory management"
360 depends on CMM
361 help
362 Select this option to enable the /proc interface to the
363 cooperative memory management.
364
365config CMM_IUCV
366 bool "IUCV special message interface to cooperative memory management"
367 depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
368 help
369 Select this option to enable the special message interface to
370 the cooperative memory management.
371
372config VIRT_TIMER
373 bool "Virtual CPU timer support"
374 help
375 This provides a kernel interface for virtual CPU timers.
376 Default is disabled.
377
378config VIRT_CPU_ACCOUNTING
379 bool "Base user process accounting on virtual cpu timer"
380 depends on VIRT_TIMER
381 help
382 Select this option to use CPU timer deltas to do user
383 process accounting.
384
385config APPLDATA_BASE
386 bool "Linux - VM Monitor Stream, base infrastructure"
387 depends on PROC_FS && VIRT_TIMER=y
388 help
389 This provides a kernel interface for creating and updating z/VM APPLDATA
390 monitor records. The monitor records are updated at certain time
391 intervals, once the timer is started.
392 Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
393 i.e. enables or disables monitoring on the Linux side.
394 A custom interval value (in seconds) can be written to
395 /proc/appldata/interval.
396
397 Defaults are 60 seconds interval and timer off.
398 The /proc entries can also be read from, showing the current settings.
399
400config APPLDATA_MEM
401 tristate "Monitor memory management statistics"
402 depends on APPLDATA_BASE
403 help
404 This provides memory management related data to the Linux - VM Monitor
405 Stream, like paging/swapping rate, memory utilisation, etc.
406 Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
407 APPLDATA monitor record, i.e. enables or disables monitoring this record
408 on the z/VM side.
409
410 Default is disabled.
411 The /proc entry can also be read from, showing the current settings.
412
413 This can also be compiled as a module, which will be called
414 appldata_mem.o.
415
416config APPLDATA_OS
417 tristate "Monitor OS statistics"
418 depends on APPLDATA_BASE
419 help
420 This provides OS related data to the Linux - VM Monitor Stream, like
421 CPU utilisation, etc.
422 Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
423 APPLDATA monitor record, i.e. enables or disables monitoring this record
424 on the z/VM side.
425
426 Default is disabled.
427 This can also be compiled as a module, which will be called
428 appldata_os.o.
429
430config APPLDATA_NET_SUM
431 tristate "Monitor overall network statistics"
432 depends on APPLDATA_BASE
433 help
434 This provides network related data to the Linux - VM Monitor Stream,
435 currently there is only a total sum of network I/O statistics, no
436 per-interface data.
437 Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
438 APPLDATA monitor record, i.e. enables or disables monitoring this record
439 on the z/VM side.
440
441 Default is disabled.
442 This can also be compiled as a module, which will be called
443 appldata_net_sum.o.
444
445config NO_IDLE_HZ
446 bool "No HZ timer ticks in idle"
447 help
448 Switches the regular HZ timer off when the system is going idle.
449 This helps z/VM to detect that the Linux system is idle. VM can
450 then "swap-out" this guest which reduces memory usage. It also
451 reduces the overhead of idle systems.
452
453 The HZ timer can be switched on/off via /proc/sys/kernel/hz_timer.
454 hz_timer=0 means HZ timer is disabled. hz_timer=1 means HZ
455 timer is active.
456
457config NO_IDLE_HZ_INIT
458 bool "HZ timer in idle off by default"
459 depends on NO_IDLE_HZ
460 help
461 The HZ timer is switched off in idle by default. That means the
462 HZ timer is already disabled at boot time.
463
Michael Holzheu24bbb1f2006-06-23 02:05:06 -0700464config S390_HYPFS_FS
465 bool "s390 hypervisor file system support"
466 select SYS_HYPERVISOR
467 default y
468 help
469 This is a virtual file system intended to provide accounting
470 information in an s390 hypervisor environment.
471
Heiko Carstenscf13f0e2005-06-25 14:58:11 -0700472config KEXEC
Heiko Carstens07d43ce2006-09-20 15:59:29 +0200473 bool "kexec system call"
Heiko Carstenscf13f0e2005-06-25 14:58:11 -0700474 help
475 kexec is a system call that implements the ability to shutdown your
476 current kernel, and to start another kernel. It is like a reboot
477 but is independent of hardware/microcode support.
478
Linus Torvalds1da177e2005-04-16 15:20:36 -0700479endmenu
480
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700481source "net/Kconfig"
482
Linus Torvalds1da177e2005-04-16 15:20:36 -0700483config PCMCIA
484 bool
485 default n
486
487source "drivers/base/Kconfig"
488
Martin Schwidefsky61d3ad02006-03-24 03:15:18 -0800489source "drivers/connector/Kconfig"
490
Linus Torvalds1da177e2005-04-16 15:20:36 -0700491source "drivers/scsi/Kconfig"
492
493source "drivers/s390/Kconfig"
494
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700495source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700496
497source "fs/Kconfig"
498
Michael Grundy4ba069b2006-09-20 15:58:39 +0200499menu "Instrumentation Support"
500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700501source "arch/s390/oprofile/Kconfig"
502
Michael Grundy4ba069b2006-09-20 15:58:39 +0200503config KPROBES
504 bool "Kprobes (EXPERIMENTAL)"
505 depends on EXPERIMENTAL && MODULES
506 help
507 Kprobes allows you to trap at almost any kernel address and
508 execute a callback function. register_kprobe() establishes
509 a probepoint and specifies the callback. Kprobes is useful
510 for kernel debugging, non-intrusive instrumentation and testing.
511 If in doubt, say "N".
512
513endmenu
514
Linus Torvalds1da177e2005-04-16 15:20:36 -0700515source "arch/s390/Kconfig.debug"
516
517source "security/Kconfig"
518
519source "crypto/Kconfig"
520
521source "lib/Kconfig"