VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / arch / ppc64 / Kconfig
1
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 config 64BIT
7         def_bool y
8
9 config MMU
10         bool
11         default y
12
13 config UID16
14         bool
15
16 config RWSEM_GENERIC_SPINLOCK
17         bool
18
19 config RWSEM_XCHGADD_ALGORITHM
20         bool
21         default y
22
23 config GENERIC_ISA_DMA
24         bool
25         default y
26
27 config HAVE_DEC_LOCK
28         bool
29         default y
30
31 config EARLY_PRINTK
32         bool
33         default y
34
35 config COMPAT
36         bool
37         default y
38
39 config FRAME_POINTER
40         bool
41         default y
42
43 # We optimistically allocate largepages from the VM, so make the limit
44 # large enough (16MB). This badly named config option is actually
45 # max order + 1
46 config FORCE_MAX_ZONEORDER
47         int
48         default "13"
49
50 source "init/Kconfig"
51
52 config SYSVIPC_COMPAT
53         bool
54         depends on COMPAT && SYSVIPC
55         default y
56
57 menu "Platform support"
58
59 choice
60         prompt "Platform Type"
61         default PPC_PSERIES
62
63 config PPC_ISERIES
64         bool "iSeries"
65
66 config PPC_PSERIES
67         bool "pSeries / PowerMac G5"
68
69 endchoice
70
71 config PPC
72         bool
73         default y
74
75 config PPC64
76         bool
77         default y
78
79 config PPC_OF
80         depends on PPC_PSERIES
81         bool
82         default y
83
84 # VMX is pSeries only for now until somebody writes the iSeries
85 # exception vectors for it
86 config ALTIVEC
87         bool "Support for VMX (Altivec) vector unit"
88         depends on PPC_PSERIES
89         default y
90
91 config PPC_PMAC
92         depends on PPC_PSERIES
93         bool "Apple PowerMac G5 support"
94         select ADB_PMU
95
96 config PPC_SPLPAR
97         depends on PPC_PSERIES
98         bool "Support for shared-processor logical partitions"
99         default n
100         help
101           Enabling this option will make the kernel run more efficiently
102           on logically-partitioned pSeries systems which use shared
103           processors, that is, which share physical processors between
104           two or more partitions.
105
106 config PMAC_DART
107         bool "Enable DART/IOMMU on PowerMac (allow >2G of RAM)"
108         depends on PPC_PMAC
109         depends on EXPERIMENTAL
110         default n
111         help
112           Enabling DART makes it possible to boot a PowerMac G5 with more
113           than 2GB of memory. Note that the code is very new and untested
114           at this time, so it has to be considered experimental. Enabling
115           this might result in data loss.
116
117 config PPC_PMAC64
118         bool
119         depends on PPC_PMAC
120         default y
121
122 config BOOTX_TEXT
123         bool "Support for early boot text console"
124         depends PPC_OF
125         help
126           Say Y here to see progress messages from the boot firmware in text
127           mode. Requires an Open Firmware compatible video card.
128
129 config POWER4_ONLY
130         bool "Optimize for POWER4"
131         default n
132         ---help---
133           Cause the compiler to optimize for POWER4 processors. The resulting
134           binary will not work on POWER3 or RS64 processors when compiled with
135           binutils 2.15 or later.
136
137 config IOMMU_VMERGE
138         bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
139         depends on EXPERIMENTAL
140         default n
141         help
142           Cause IO segments sent to a device for DMA to be merged virtually
143           by the IOMMU when they happen to have been allocated contiguously.
144           This doesn't add pressure to the IOMMU allocator. However, some
145           drivers don't support getting large merged segments coming back
146           from *_map_sg(). Say Y if you know the drivers you are using are
147           properly handling this case.
148
149 config SMP
150         bool "Symmetric multi-processing support"
151         ---help---
152           This enables support for systems with more than one CPU. If you have
153           a system with only one CPU, say N. If you have a system with more
154           than one CPU, say Y.
155
156           If you say N here, the kernel will run on single and multiprocessor
157           machines, but will use only one CPU of a multiprocessor machine. If
158           you say Y here, the kernel will run on single-processor machines.
159           On a single-processor machine, the kernel will run faster if you say
160           N here.
161
162           If you don't know what to do here, say Y.
163
164 config IRQ_ALL_CPUS
165         bool "Distribute interrupts on all CPUs by default"
166         depends on SMP && PPC_PSERIES
167         help
168           This option gives the kernel permission to distribute IRQs across
169           multiple CPUs.  Saying N here will route all IRQs to the first
170           CPU.
171
172 config NR_CPUS
173         int "Maximum number of CPUs (2-128)"
174         range 2 128
175         depends on SMP
176         default "32"
177
178 config HMT
179         bool "Hardware multithreading"
180         depends on SMP && PPC_PSERIES
181
182 config DISCONTIGMEM
183         bool "Discontiguous Memory Support"
184         depends on SMP && PPC_PSERIES
185
186 config NUMA
187         bool "NUMA support"
188         depends on DISCONTIGMEM
189
190 config SCHED_SMT
191         bool "SMT (Hyperthreading) scheduler support"
192         depends on SMP
193         default off
194         help
195           SMT scheduler support improves the CPU scheduler's decision making
196           when dealing with POWER5 cpus at a cost of slightly increased
197           overhead in some places. If unsure say N here.
198
199 config PREEMPT
200         bool "Preemptible Kernel"
201         help
202           This option reduces the latency of the kernel when reacting to
203           real-time or interactive events by allowing a low priority process to
204           be preempted even if it is in kernel mode executing a system call.
205
206           Say Y here if you are building a kernel for a desktop, embedded
207           or real-time system.  Say N if you are unsure.
208
209 config MSCHUNKS
210         bool
211         depends on PPC_ISERIES
212         default y
213
214
215 config PPC_RTAS
216         bool "Proc interface to RTAS"
217         depends on !PPC_ISERIES
218
219 config RTAS_FLASH
220         tristate "Firmware flash interface"
221         depends on PPC_RTAS
222
223 config SCANLOG
224         tristate "Scanlog dump interface"
225         depends on PPC_RTAS
226
227 config LPARCFG
228         tristate "LPAR Configuration Data"
229         help
230         Provide system capacity information via human readable 
231         <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
232
233 endmenu
234
235
236 menu "General setup"
237
238 config ISA
239         bool
240         help
241           Find out whether you have ISA slots on your motherboard.  ISA is the
242           name of a bus system, i.e. the way the CPU talks to the other stuff
243           inside your box.  If you have an Apple machine, say N here; if you
244           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
245           you have an embedded board, consult your board documentation.
246
247 config SBUS
248         bool
249
250 config MCA
251         bool
252
253 config EISA
254         bool
255
256 config PCI
257         bool
258         default y
259         help
260           Find out whether your system includes a PCI bus. PCI is the name of
261           a bus system, i.e. the way the CPU talks to the other stuff inside
262           your box.  If you say Y here, the kernel will include drivers and
263           infrastructure code to support PCI bus devices.
264
265 config PCI_DOMAINS
266         bool
267         default PCI
268
269 source "fs/Kconfig.binfmt"
270
271 source "drivers/pci/Kconfig"
272
273 config HOTPLUG_CPU
274         bool "Support for hot-pluggable CPUs"
275         depends on SMP && HOTPLUG && EXPERIMENTAL
276         ---help---
277           Say Y here to be able to turn CPUs off and on.
278
279           Say N if you are unsure.
280
281 source "drivers/pcmcia/Kconfig"
282
283 source "drivers/pci/hotplug/Kconfig"
284
285 config PROC_DEVICETREE
286         bool "Support for Open Firmware device tree in /proc"
287         depends on !PPC_ISERIES
288         help
289           This option adds a device-tree directory under /proc which contains
290           an image of the device tree that the kernel copies from Open
291           Firmware. If unsure, say Y here.
292
293 config CMDLINE_BOOL
294         bool "Default bootloader kernel arguments"
295         depends on !PPC_ISERIES
296
297 config CMDLINE
298         string "Initial kernel command string"
299         depends on CMDLINE_BOOL
300         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
301         help
302           On some platforms, there is currently no way for the boot loader to
303           pass arguments to the kernel. For these platforms, you can supply
304           some command-line options at build time by entering them here.  In
305           most cases you will need to specify the root device here.
306
307 endmenu
308
309 source "drivers/Kconfig"
310
311 source "fs/Kconfig"
312
313 menu "iSeries device drivers"
314         depends on PPC_ISERIES
315
316 config VIOCONS
317         tristate "iSeries Virtual Console Support"
318
319 config VIODASD
320         tristate "iSeries Virtual I/O disk support"
321         help
322           If you are running on an iSeries system and you want to use
323           virtual disks created and managed by OS/400, say Y.
324
325 config VIOCD
326         tristate "iSeries Virtual I/O CD support"
327         help
328           If you are running Linux on an IBM iSeries system and you want to
329           read a CD drive owned by OS/400, say Y here.
330
331 config VIOTAPE
332         tristate "iSeries Virtual Tape Support"
333         help
334           If you are running Linux on an iSeries system and you want Linux
335           to read and/or write a tape drive owned by OS/400, say Y here.
336
337 endmenu
338
339 config VIOPATH
340         bool
341         depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
342         default y
343
344 source "arch/ppc64/oprofile/Kconfig"
345
346 menu "Kernel hacking"
347
348 config DEBUG_KERNEL
349         bool "Kernel debugging"
350         help
351           Say Y here if you are developing drivers or trying to debug and
352           identify kernel problems.
353
354 config DEBUG_STACKOVERFLOW
355         bool "Check for stack overflows"
356         depends on DEBUG_KERNEL
357
358 config DEBUG_STACK_USAGE
359         bool "Stack utilization instrumentation"
360         depends on DEBUG_KERNEL
361         help
362           Enables the display of the minimum amount of free stack which each
363           task has ever had available in the sysrq-T and sysrq-P debug output.
364
365           This option will slow down process creation somewhat.
366
367 config DEBUG_SLAB
368         bool "Debug memory allocations"
369         depends on DEBUG_KERNEL
370         help
371           Say Y here to have the kernel do limited verification on memory
372           allocation as well as poisoning memory on free to catch use of freed
373           memory.
374
375 config MAGIC_SYSRQ
376         bool "Magic SysRq key"
377         depends on DEBUG_KERNEL
378         help
379           If you say Y here, you will have some control over the system even
380           if the system crashes for example during kernel debugging (e.g., you
381           will be able to flush the buffer cache to disk, reboot the system
382           immediately or dump some status information). This is accomplished
383           by pressing various keys while holding SysRq (Alt+PrintScreen). It
384           also works on a serial console (on PC hardware at least), if you
385           send a BREAK and then within 5 seconds a command keypress. The
386           keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
387           unless you really know what this hack does.
388
389 config DEBUGGER
390         bool "Enable debugger hooks"
391         depends on DEBUG_KERNEL
392         help
393           Include in-kernel hooks for kernel debuggers. Unless you are
394           intending to debug the kernel, say N here.
395
396 config XMON
397         bool "Include xmon kernel debugger"
398         depends on DEBUGGER
399         help
400           Include in-kernel hooks for the xmon kernel monitor/debugger.
401           Unless you are intending to debug the kernel, say N here.
402
403 config XMON_DEFAULT
404         bool "Enable xmon by default"
405         depends on XMON
406
407 config PPCDBG
408         bool "Include PPCDBG realtime debugging"
409         depends on DEBUG_KERNEL
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 IRQSTACKS
421         bool "Use separate kernel stacks when processing interrupts"
422         help
423           If you say Y here the kernel will use separate kernel stacks
424           for handling hard and soft interrupts.  This can help avoid
425           overflowing the process kernel stacks.
426           
427 config SPINLINE
428         bool "Inline spinlock code at each call site"
429         depends on SMP && !PPC_SPLPAR && !PPC_ISERIES
430         help
431           Say Y if you want to have the code for acquiring spinlocks
432           and rwlocks inlined at each call site.  This makes the kernel
433           somewhat bigger, but can be useful when profiling the kernel.
434
435           If in doubt, say N.
436
437 endmenu
438
439 source "kernel/vserver/Kconfig"
440
441 source "security/Kconfig"
442
443 source "crypto/Kconfig"
444
445 source "lib/Kconfig"
446