[S390] cio: Use device_reprobe() instead of bus_rescan_devices().
[deliverable/linux.git] / arch / s390 / Kconfig
CommitLineData
1da177e4
LT
1#
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
2b105ff9
IM
10config LOCKDEP_SUPPORT
11 bool
12 default y
13
5bdc9b44
HC
14config STACKTRACE_SUPPORT
15 bool
16 default y
17
1da177e4
LT
18config RWSEM_GENERIC_SPINLOCK
19 bool
20
21config RWSEM_XCHGADD_ALGORITHM
22 bool
23 default y
24
7e33db4e
AM
25config GENERIC_HWEIGHT
26 bool
27 default y
28
1da177e4
LT
29config GENERIC_CALIBRATE_DELAY
30 bool
31 default y
32
dc64bef5
MS
33config GENERIC_TIME
34 def_bool y
35
1da177e4
LT
36mainmenu "Linux Kernel Configuration"
37
347a8dc3 38config S390
1da177e4
LT
39 bool
40 default y
41
1da177e4
LT
42source "init/Kconfig"
43
44menu "Base setup"
45
46comment "Processor type and features"
47
347a8dc3 48config 64BIT
1da177e4
LT
49 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
d9f7a745
MS
54config 32BIT
55 bool
56 default y if !64BIT
57
1da177e4
LT
58config 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
4bbf39c2
IM
99config DEFAULT_MIGRATION_COST
100 int
101 default "1000000"
102
1da177e4
LT
103config 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
347a8dc3 111config COMPAT
1da177e4 112 bool "Kernel support for 31 bit emulation"
347a8dc3 113 depends on 64BIT
1da177e4
LT
114 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
1da177e4
LT
120config SYSVIPC_COMPAT
121 bool
122 depends on COMPAT && SYSVIPC
123 default y
124
e65e1fc2
AV
125config AUDIT_ARCH
126 bool
127 default y
128
1da177e4
LT
129comment "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"
347a8dc3 137 depends on !64BIT
1da177e4
LT
138 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
0efa4703
CB
156config 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
1da177e4
LT
164endchoice
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"
181 depends on PACK_STACK
182 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
3f22ab27
DH
236source "mm/Kconfig"
237
1da177e4
LT
238comment "I/O subsystem configuration"
239
240config MACHCHK_WARNING
241 bool "Process warning machine checks"
242 help
243 Select this option if you want the machine check handler on IBM S/390 or
244 zSeries to process warning machine checks (e.g. on power failures).
245 If unsure, say "Y".
246
247config QDIO
248 tristate "QDIO support"
249 ---help---
8129ee16
FP
250 This driver provides the Queued Direct I/O base support for
251 IBM mainframes.
1da177e4
LT
252
253 For details please refer to the documentation provided by IBM at
254 <http://www10.software.ibm.com/developerworks/opensource/linux390>
255
256 To compile this driver as a module, choose M here: the
257 module will be called qdio.
258
259 If unsure, say Y.
260
261config QDIO_PERF_STATS
262 bool "Performance statistics in /proc"
263 depends on QDIO
264 help
265 Say Y here to get performance statistics in /proc/qdio_perf
266
267 If unsure, say N.
268
269config QDIO_DEBUG
270 bool "Extended debugging information"
271 depends on QDIO
272 help
8129ee16
FP
273 Say Y here to get extended debugging output in
274 /sys/kernel/debug/s390dbf/qdio...
1da177e4
LT
275 Warning: this option reduces the performance of the QDIO module.
276
277 If unsure, say N.
278
279comment "Misc"
280
281config PREEMPT
282 bool "Preemptible Kernel"
283 help
284 This option reduces the latency of the kernel when reacting to
285 real-time or interactive events by allowing a low priority process to
286 be preempted even if it is in kernel mode executing a system call.
287 This allows applications to run more reliably even when the system is
288 under load.
289
290 Say N if you are unsure.
291
292config IPL
293 bool "Builtin IPL record support"
294 help
295 If you want to use the produced kernel to IPL directly from a
296 device, you have to merge a bootsector specific to the device
297 into the first bytes of the kernel. You will have to select the
298 IPL device.
299
300choice
301 prompt "IPL method generated into head.S"
302 depends on IPL
303 default IPL_TAPE
304 help
305 Select "tape" if you want to IPL the image from a Tape.
306
307 Select "vm_reader" if you are running under VM/ESA and want
308 to IPL the image from the emulated card reader.
309
310config IPL_TAPE
311 bool "tape"
312
313config IPL_VM
314 bool "vm_reader"
315
316endchoice
317
318source "fs/Kconfig.binfmt"
319
320config PROCESS_DEBUG
321 bool "Show crashed user process info"
322 help
323 Say Y to print all process fault locations to the console. This is
324 a debugging option; you probably do not want to set it unless you
325 are an S390 port maintainer.
326
327config PFAULT
328 bool "Pseudo page fault support"
329 help
330 Select this option, if you want to use PFAULT pseudo page fault
331 handling under VM. If running native or in LPAR, this option
332 has no effect. If your VM does not support PFAULT, PAGEEX
333 pseudo page fault handling will be used.
334 Note that VM 4.2 supports PFAULT but has a bug in its
335 implementation that causes some problems.
336 Everybody who wants to run Linux under VM != VM4.2 should select
337 this option.
338
339config SHARED_KERNEL
340 bool "VM shared kernel support"
341 help
342 Select this option, if you want to share the text segment of the
343 Linux kernel between different VM guests. This reduces memory
344 usage with lots of guests but greatly increases kernel size.
345 You should only select this option if you know what you are
346 doing and want to exploit this feature.
347
348config CMM
349 tristate "Cooperative memory management"
350 help
351 Select this option, if you want to enable the kernel interface
352 to reduce the memory size of the system. This is accomplished
353 by allocating pages of memory and put them "on hold". This only
354 makes sense for a system running under VM where the unused pages
355 will be reused by VM for other guest systems. The interface
356 allows an external monitor to balance memory of many systems.
357 Everybody who wants to run Linux under VM should select this
358 option.
359
360config CMM_PROC
361 bool "/proc interface to cooperative memory management"
362 depends on CMM
363 help
364 Select this option to enable the /proc interface to the
365 cooperative memory management.
366
367config CMM_IUCV
368 bool "IUCV special message interface to cooperative memory management"
369 depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
370 help
371 Select this option to enable the special message interface to
372 the cooperative memory management.
373
374config VIRT_TIMER
375 bool "Virtual CPU timer support"
376 help
377 This provides a kernel interface for virtual CPU timers.
378 Default is disabled.
379
380config VIRT_CPU_ACCOUNTING
381 bool "Base user process accounting on virtual cpu timer"
382 depends on VIRT_TIMER
383 help
384 Select this option to use CPU timer deltas to do user
385 process accounting.
386
387config APPLDATA_BASE
388 bool "Linux - VM Monitor Stream, base infrastructure"
389 depends on PROC_FS && VIRT_TIMER=y
390 help
391 This provides a kernel interface for creating and updating z/VM APPLDATA
392 monitor records. The monitor records are updated at certain time
393 intervals, once the timer is started.
394 Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
395 i.e. enables or disables monitoring on the Linux side.
396 A custom interval value (in seconds) can be written to
397 /proc/appldata/interval.
398
399 Defaults are 60 seconds interval and timer off.
400 The /proc entries can also be read from, showing the current settings.
401
402config APPLDATA_MEM
403 tristate "Monitor memory management statistics"
404 depends on APPLDATA_BASE
405 help
406 This provides memory management related data to the Linux - VM Monitor
407 Stream, like paging/swapping rate, memory utilisation, etc.
408 Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
409 APPLDATA monitor record, i.e. enables or disables monitoring this record
410 on the z/VM side.
411
412 Default is disabled.
413 The /proc entry can also be read from, showing the current settings.
414
415 This can also be compiled as a module, which will be called
416 appldata_mem.o.
417
418config APPLDATA_OS
419 tristate "Monitor OS statistics"
420 depends on APPLDATA_BASE
421 help
422 This provides OS related data to the Linux - VM Monitor Stream, like
423 CPU utilisation, etc.
424 Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
425 APPLDATA monitor record, i.e. enables or disables monitoring this record
426 on the z/VM side.
427
428 Default is disabled.
429 This can also be compiled as a module, which will be called
430 appldata_os.o.
431
432config APPLDATA_NET_SUM
433 tristate "Monitor overall network statistics"
434 depends on APPLDATA_BASE
435 help
436 This provides network related data to the Linux - VM Monitor Stream,
437 currently there is only a total sum of network I/O statistics, no
438 per-interface data.
439 Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
440 APPLDATA monitor record, i.e. enables or disables monitoring this record
441 on the z/VM side.
442
443 Default is disabled.
444 This can also be compiled as a module, which will be called
445 appldata_net_sum.o.
446
447config NO_IDLE_HZ
448 bool "No HZ timer ticks in idle"
449 help
450 Switches the regular HZ timer off when the system is going idle.
451 This helps z/VM to detect that the Linux system is idle. VM can
452 then "swap-out" this guest which reduces memory usage. It also
453 reduces the overhead of idle systems.
454
455 The HZ timer can be switched on/off via /proc/sys/kernel/hz_timer.
456 hz_timer=0 means HZ timer is disabled. hz_timer=1 means HZ
457 timer is active.
458
459config NO_IDLE_HZ_INIT
460 bool "HZ timer in idle off by default"
461 depends on NO_IDLE_HZ
462 help
463 The HZ timer is switched off in idle by default. That means the
464 HZ timer is already disabled at boot time.
465
24bbb1fa
MH
466config S390_HYPFS_FS
467 bool "s390 hypervisor file system support"
468 select SYS_HYPERVISOR
469 default y
470 help
471 This is a virtual file system intended to provide accounting
472 information in an s390 hypervisor environment.
473
cf13f0ea 474config KEXEC
07d43ce6 475 bool "kexec system call"
cf13f0ea
HC
476 help
477 kexec is a system call that implements the ability to shutdown your
478 current kernel, and to start another kernel. It is like a reboot
479 but is independent of hardware/microcode support.
480
1da177e4
LT
481endmenu
482
d5950b43
SR
483source "net/Kconfig"
484
1da177e4
LT
485config PCMCIA
486 bool
487 default n
488
489source "drivers/base/Kconfig"
490
61d3ad0e
MS
491source "drivers/connector/Kconfig"
492
1da177e4
LT
493source "drivers/scsi/Kconfig"
494
495source "drivers/s390/Kconfig"
496
d5950b43 497source "drivers/net/Kconfig"
1da177e4
LT
498
499source "fs/Kconfig"
500
4ba069b8
MG
501menu "Instrumentation Support"
502
1da177e4
LT
503source "arch/s390/oprofile/Kconfig"
504
4ba069b8
MG
505config KPROBES
506 bool "Kprobes (EXPERIMENTAL)"
507 depends on EXPERIMENTAL && MODULES
508 help
509 Kprobes allows you to trap at almost any kernel address and
510 execute a callback function. register_kprobe() establishes
511 a probepoint and specifies the callback. Kprobes is useful
512 for kernel debugging, non-intrusive instrumentation and testing.
513 If in doubt, say "N".
514
515endmenu
516
1da177e4
LT
517source "arch/s390/Kconfig.debug"
518
519source "security/Kconfig"
520
521source "crypto/Kconfig"
522
523source "lib/Kconfig"
This page took 0.291296 seconds and 5 git commands to generate.