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