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