Merge bk://linux-sam.bkbits.net/kbuild
[linux-flexiantxendom0-3.2.10.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 ARCH_S390_31
44         bool
45         depends on ARCH_S390X = 'n'
46         default y
47
48 config SMP
49         bool "Symmetric multi-processing support"
50         ---help---
51           This enables support for systems with more than one CPU. If you have
52           a system with only one CPU, like most personal computers, say N. If
53           you have a system with more than one CPU, say Y.
54
55           If you say N here, the kernel will run on single and multiprocessor
56           machines, but will use only one CPU of a multiprocessor machine. If
57           you say Y here, the kernel will run on many, but not all,
58           singleprocessor machines. On a singleprocessor machine, the kernel
59           will run faster if you say N here.
60
61           See also the <file:Documentation/smp.tex>,
62           <file:Documentation/smp.txt> and the SMP-HOWTO available at
63           <http://www.tldp.org/docs.html#howto>.
64
65           Even if you don't know what to do here, say Y.
66
67 config NR_CPUS
68         int "Maximum number of CPUs (2-32)"
69         depends on SMP && ARCH_S390X = 'n'
70         default "32"
71         help
72           This allows you to specify the maximum number of CPUs which this
73           kernel will support.  The maximum supported value is 32 and the
74           minimum value which makes sense is 2.
75
76           This is purely to save memory - each supported CPU adds
77           approximately eight kilobytes to the kernel image.
78         
79 config NR_CPUS
80         int "Maximum number of CPUs (2-64)"
81         depends on SMP && ARCH_S390X
82         default "64"
83         help
84           This allows you to specify the maximum number of CPUs which this
85           kernel will support.  The maximum supported value is 64 and the
86           minimum value which makes sense is 2.
87
88           This is purely to save memory - each supported CPU adds
89           approximately sixteen kilobytes to the kernel image.
90
91 config MATHEMU
92         bool "IEEE FPU emulation"
93         depends on ARCH_S390X = n
94         help
95           This option is required for IEEE compliant floating point arithmetic
96           on older S/390 machines. Say Y unless you know your machine doesn't 
97           need this.
98
99 config S390_SUPPORT
100         bool "Kernel support for 31 bit emulation"
101         depends on ARCH_S390X
102         help
103           Select this option if you want to enable your system kernel to
104           handle system-calls from ELF binaries for 31 bit ESA.  This option
105           (and some other stuff like libraries and such) is needed for
106           executing 31 bit applications.  It is safe to say "Y".
107
108 config COMPAT
109         bool
110         depends on S390_SUPPORT
111         default y
112
113 config BINFMT_ELF32
114         tristate "Kernel support for 31 bit ELF binaries"
115         depends on S390_SUPPORT
116         help
117           This allows you to run 32-bit Linux/ELF binaries on your zSeries
118           in 64 bit mode. Everybody wants this; say Y.
119
120 comment "I/O subsystem configuration"
121
122 config MACHCHK_WARNING
123         bool "Process warning machine checks"
124         help
125           Select this option if you want the machine check handler on IBM S/390 or
126           zSeries to process warning machine checks (e.g. on power failures). 
127           If unsure, say "Y".
128
129 config QDIO
130         tristate "QDIO support"
131         ---help---
132           This driver provides the Queued Direct I/O base support for the
133           IBM S/390 (G5 and G6) and eServer zSeries (z800 and z900).
134
135           For details please refer to the documentation provided by IBM at
136           <http://www10.software.ibm.com/developerworks/opensource/linux390>
137
138           This driver is also available as a module ( = code which can be
139           inserted in and removed from the running kernel whenever you want).
140           The module will be called qdio. If you want to compile it as a
141           module, say M here and read <file:Documentation/modules.txt>.
142
143           If unsure, say Y.
144
145 config QDIO_PERF_STATS
146         bool "Performance statistics in /proc"
147         depends on QDIO
148         help
149           Say Y here to get performance statistics in /proc/qdio_perf
150
151           If unsure, say N.
152
153 comment "Misc"
154
155 config PREEMPT
156         bool "Preemptible Kernel"
157         help
158           This option reduces the latency of the kernel when reacting to
159           real-time or interactive events by allowing a low priority process to
160           be preempted even if it is in kernel mode executing a system call.
161           This allows applications to run more reliably even when the system is
162           under load.
163
164           Say N if you are unsure.
165
166 config IPL
167         bool "Builtin IPL record support"
168         help
169           If you want to use the produced kernel to IPL directly from a
170           device, you have to merge a bootsector specific to the device
171           into the first bytes of the kernel. You will have to select the
172           IPL device.
173
174 choice
175         prompt "IPL method generated into head.S"
176         depends on IPL
177         default IPL_TAPE
178         help
179           Select "tape" if you want to IPL the image from a Tape.
180
181           Select "vm_reader" if you are running under VM/ESA and want
182           to IPL the image from the emulated card reader.
183
184 config IPL_TAPE
185         bool "tape"
186
187 config IPL_VM
188         bool "vm_reader"
189
190 endchoice
191
192 config KCORE_ELF
193         bool
194         default y
195
196 source "fs/Kconfig.binfmt"
197
198 config PROCESS_DEBUG
199         bool "Show crashed user process info"
200         help
201           Say Y to print all process fault locations to the console.  This is
202           a debugging option; you probably do not want to set it unless you
203           are an S390 port maintainer.
204
205 config PFAULT
206         bool "Pseudo page fault support"
207         help
208           Select this option, if you want to use PFAULT pseudo page fault
209           handling under VM. If running native or in LPAR, this option
210           has no effect. If your VM does not support PFAULT, PAGEEX
211           pseudo page fault handling will be used.
212           Note that VM 4.2 supports PFAULT but has a bug in its
213           implementation that causes some problems.
214           Everybody who wants to run Linux under VM != VM4.2 should select
215           this option.
216
217 config SHARED_KERNEL
218         bool "VM shared kernel support"
219         help
220           Select this option, if you want to share the text segment of the
221           Linux kernel between different VM guests. This reduces memory
222           usage with lots of guests but greatly increases kernel size.
223           You should only select this option if you know what you are
224           doing and want to exploit this feature.
225
226 endmenu
227
228 config PCMCIA
229         bool
230         default n
231
232 source "drivers/base/Kconfig"
233
234 menu "SCSI support"
235
236 config SCSI
237         tristate "SCSI support"
238
239 source "drivers/scsi/Kconfig"
240
241 endmenu
242
243 source "drivers/s390/Kconfig"
244
245 source "net/Kconfig"
246
247 source "fs/Kconfig"
248
249
250 menu "Kernel hacking"
251
252 config DEBUG_KERNEL
253         bool "Kernel debugging"
254         help
255           Say Y here if you are developing drivers or trying to debug and
256           identify kernel problems.
257
258 config MAGIC_SYSRQ
259         bool "Magic SysRq key"
260         depends on DEBUG_KERNEL
261         help
262           If you say Y here, you will have some control over the system even
263           if the system crashes for example during kernel debugging (e.g., you
264           will be able to flush the buffer cache to disk, reboot the system
265           immediately or dump some status information). This is accomplished
266           by pressing various keys while holding SysRq (Alt+PrintScreen). It
267           also works on a serial console (on PC hardware at least), if you
268           send a BREAK and then within 5 seconds a command keypress. The
269           keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
270           unless you really know what this hack does.
271
272 config DEBUG_SLAB
273         bool "Debug memory allocations"
274         depends on DEBUG_KERNEL
275         help
276           Say Y here to have the kernel do limited verification on memory
277           allocation as well as poisoning memory on free to catch use of freed
278           memory.
279
280 config KALLSYMS
281         bool "Load all symbols for debugging/kksymoops"
282         depends on DEBUG_KERNEL
283         help
284           Say Y here to let the kernel print out symbolic crash information and
285           symbolic stack backtraces. This increases the size of the kernel
286           somewhat, as all symbols have to be loaded into the kernel image.
287
288 config DEBUG_INFO
289         bool "Compile the kernel with debug info"
290         depends on DEBUG_KERNEL
291         help
292           If you say Y here the resulting kernel image will include
293           debugging info resulting in a larger kernel image.
294           Say Y here only if you plan to use gdb to debug the kernel.
295           If you don't debug the kernel, you can say N.
296           
297 config DEBUG_SPINLOCK_SLEEP
298         bool "Sleep-inside-spinlock checking"
299         help
300           If you say Y here, various routines which may sleep will become very
301           noisy if they are called with a spinlock held.        
302
303 endmenu
304
305 source "security/Kconfig"
306
307 source "crypto/Kconfig"
308
309 source "lib/Kconfig"
310