Merge from Linus' tree
[safe/jmp/linux-2.6] / 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_CALIBRATE_DELAY
24         bool
25         default y
26
27 config GENERIC_ISA_DMA
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 SCHED_NO_NO_OMIT_FRAME_POINTER
40         bool
41         default y
42
43 config ARCH_MAY_HAVE_PC_FDC
44         bool
45         default y
46
47 # We optimistically allocate largepages from the VM, so make the limit
48 # large enough (16MB). This badly named config option is actually
49 # max order + 1
50 config FORCE_MAX_ZONEORDER
51         int
52         default "13"
53
54 source "init/Kconfig"
55
56 config SYSVIPC_COMPAT
57         bool
58         depends on COMPAT && SYSVIPC
59         default y
60
61 menu "Platform support"
62
63 choice
64         prompt "Platform Type"
65         default PPC_MULTIPLATFORM
66
67 config PPC_ISERIES
68         bool "IBM Legacy iSeries"
69
70 config PPC_MULTIPLATFORM
71         bool "Generic"
72
73 endchoice
74
75 config PPC_PSERIES
76         depends on PPC_MULTIPLATFORM
77         bool "  IBM pSeries & new iSeries"
78         default y
79
80 config PPC_BPA
81         bool "  Broadband Processor Architecture"
82         depends on PPC_MULTIPLATFORM
83
84 config PPC_PMAC
85         depends on PPC_MULTIPLATFORM
86         bool "  Apple G5 based machines"
87         default y
88         select U3_DART
89
90 config PPC_MAPLE
91         depends on PPC_MULTIPLATFORM
92         bool "  Maple 970FX Evaluation Board"
93         select U3_DART
94         select MPIC_BROKEN_U3
95         default n
96         help
97           This option enables support for the Maple 970FX Evaluation Board.
98           For more informations, refer to <http://www.970eval.com>
99
100 config PPC
101         bool
102         default y
103
104 config PPC64
105         bool
106         default y
107
108 config PPC_OF
109         depends on PPC_MULTIPLATFORM
110         bool
111         default y
112
113 config XICS
114         depends on PPC_PSERIES
115         bool
116         default y
117
118 config MPIC
119         depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE
120         bool
121         default y
122
123 config BPA_IIC
124         depends on PPC_BPA
125         bool
126         default y
127
128 # VMX is pSeries only for now until somebody writes the iSeries
129 # exception vectors for it
130 config ALTIVEC
131         bool "Support for VMX (Altivec) vector unit"
132         depends on PPC_MULTIPLATFORM
133         default y
134
135 config PPC_SPLPAR
136         depends on PPC_PSERIES
137         bool "Support for shared-processor logical partitions"
138         default n
139         help
140           Enabling this option will make the kernel run more efficiently
141           on logically-partitioned pSeries systems which use shared
142           processors, that is, which share physical processors between
143           two or more partitions.
144
145 config KEXEC
146         bool "kexec system call (EXPERIMENTAL)"
147         depends on PPC_MULTIPLATFORM && EXPERIMENTAL
148         help
149           kexec is a system call that implements the ability to shutdown your
150           current kernel, and to start another kernel.  It is like a reboot
151           but it is indepedent of the system firmware.  And like a reboot
152           you can start any kernel with it, not just Linux.
153
154           The name comes from the similiarity to the exec system call.
155
156           It is an ongoing process to be certain the hardware in a machine
157           is properly shutdown, so do not be surprised if this code does not
158           initially work for you.  It may help to enable device hotplugging
159           support.  As of this writing the exact hardware interface is
160           strongly in flux, so no good recommendation can be made.
161
162 config IBMVIO
163         depends on PPC_PSERIES || PPC_ISERIES
164         bool
165         default y
166
167 config U3_DART
168         bool 
169         depends on PPC_MULTIPLATFORM
170         default n
171
172 config MPIC_BROKEN_U3
173         bool
174         depends on PPC_MAPLE
175         default y
176
177 config PPC_PMAC64
178         bool
179         depends on PPC_PMAC
180         default y
181
182 config BOOTX_TEXT
183         bool "Support for early boot text console"
184         depends PPC_OF
185         help
186           Say Y here to see progress messages from the boot firmware in text
187           mode. Requires an Open Firmware compatible video card.
188
189 config POWER4
190         def_bool y
191
192 config POWER4_ONLY
193         bool "Optimize for POWER4"
194         default n
195         ---help---
196           Cause the compiler to optimize for POWER4 processors. The resulting
197           binary will not work on POWER3 or RS64 processors when compiled with
198           binutils 2.15 or later.
199
200 config IOMMU_VMERGE
201         bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
202         depends on EXPERIMENTAL
203         default n
204         help
205           Cause IO segments sent to a device for DMA to be merged virtually
206           by the IOMMU when they happen to have been allocated contiguously.
207           This doesn't add pressure to the IOMMU allocator. However, some
208           drivers don't support getting large merged segments coming back
209           from *_map_sg(). Say Y if you know the drivers you are using are
210           properly handling this case.
211
212 config SMP
213         bool "Symmetric multi-processing support"
214         ---help---
215           This enables support for systems with more than one CPU. If you have
216           a system with only one CPU, say N. If you have a system with more
217           than one CPU, say Y.
218
219           If you say N here, the kernel will run on single and multiprocessor
220           machines, but will use only one CPU of a multiprocessor machine. If
221           you say Y here, the kernel will run on single-processor machines.
222           On a single-processor machine, the kernel will run faster if you say
223           N here.
224
225           If you don't know what to do here, say Y.
226
227 config NR_CPUS
228         int "Maximum number of CPUs (2-128)"
229         range 2 128
230         depends on SMP
231         default "32"
232
233 config HMT
234         bool "Hardware multithreading"
235         depends on SMP && PPC_PSERIES && BROKEN
236         help
237           This option enables hardware multithreading on RS64 cpus.
238           pSeries systems p620 and p660 have such a cpu type.
239
240 config ARCH_SELECT_MEMORY_MODEL
241         def_bool y
242
243 config ARCH_FLATMEM_ENABLE
244        def_bool y
245        depends on !NUMA
246
247 config ARCH_DISCONTIGMEM_ENABLE
248         def_bool y
249         depends on SMP && PPC_PSERIES
250
251 config ARCH_DISCONTIGMEM_DEFAULT
252         def_bool y
253         depends on ARCH_DISCONTIGMEM_ENABLE
254
255 config ARCH_FLATMEM_ENABLE
256         def_bool y
257
258 config ARCH_SPARSEMEM_ENABLE
259         def_bool y
260         depends on ARCH_DISCONTIGMEM_ENABLE
261
262 source "mm/Kconfig"
263
264 config HAVE_ARCH_EARLY_PFN_TO_NID
265         def_bool y
266         depends on NEED_MULTIPLE_NODES
267
268 # Some NUMA nodes have memory ranges that span
269 # other nodes.  Even though a pfn is valid and
270 # between a node's start and end pfns, it may not
271 # reside on that node.
272 #
273 # This is a relatively temporary hack that should
274 # be able to go away when sparsemem is fully in
275 # place
276 config NODES_SPAN_OTHER_NODES
277         def_bool y
278         depends on NEED_MULTIPLE_NODES
279
280 config NUMA
281         bool "NUMA support"
282         default y if DISCONTIGMEM || SPARSEMEM
283
284 config SCHED_SMT
285         bool "SMT (Hyperthreading) scheduler support"
286         depends on SMP
287         default off
288         help
289           SMT scheduler support improves the CPU scheduler's decision making
290           when dealing with POWER5 cpus at a cost of slightly increased
291           overhead in some places. If unsure say N here.
292
293 source "kernel/Kconfig.preempt"
294 source kernel/Kconfig.hz
295
296 config EEH
297         bool "PCI Extended Error Handling (EEH)" if EMBEDDED
298         depends on PPC_PSERIES
299         default y if !EMBEDDED
300
301 #
302 # Use the generic interrupt handling code in kernel/irq/:
303 #
304 config GENERIC_HARDIRQS
305         bool
306         default y
307
308 config PPC_RTAS
309         bool
310         depends on PPC_PSERIES || PPC_BPA
311         default y
312
313 config RTAS_PROC
314         bool "Proc interface to RTAS"
315         depends on PPC_RTAS
316         default y
317
318 config RTAS_FLASH
319         tristate "Firmware flash interface"
320         depends on RTAS_PROC
321
322 config SCANLOG
323         tristate "Scanlog dump interface"
324         depends on RTAS_PROC && PPC_PSERIES
325
326 config LPARCFG
327         tristate "LPAR Configuration Data"
328         depends on PPC_PSERIES || PPC_ISERIES
329         help
330         Provide system capacity information via human readable
331         <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
332
333 config SECCOMP
334         bool "Enable seccomp to safely compute untrusted bytecode"
335         depends on PROC_FS
336         default y
337         help
338           This kernel feature is useful for number crunching applications
339           that may need to compute untrusted bytecode during their
340           execution. By using pipes or other transports made available to
341           the process as file descriptors supporting the read/write
342           syscalls, it's possible to isolate those applications in
343           their own address space using seccomp. Once seccomp is
344           enabled via /proc/<pid>/seccomp, it cannot be disabled
345           and the task is only allowed to execute a few safe syscalls
346           defined by each seccomp mode.
347
348           If unsure, say Y. Only embedded should say N here.
349
350 source "fs/Kconfig.binfmt"
351
352 config HOTPLUG_CPU
353         bool "Support for hot-pluggable CPUs"
354         depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
355         select HOTPLUG
356         ---help---
357           Say Y here to be able to turn CPUs off and on.
358
359           Say N if you are unsure.
360
361 config PROC_DEVICETREE
362         bool "Support for Open Firmware device tree in /proc"
363         help
364           This option adds a device-tree directory under /proc which contains
365           an image of the device tree that the kernel copies from Open
366           Firmware. If unsure, say Y here.
367
368 config CMDLINE_BOOL
369         bool "Default bootloader kernel arguments"
370         depends on !PPC_ISERIES
371
372 config CMDLINE
373         string "Initial kernel command string"
374         depends on CMDLINE_BOOL
375         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
376         help
377           On some platforms, there is currently no way for the boot loader to
378           pass arguments to the kernel. For these platforms, you can supply
379           some command-line options at build time by entering them here.  In
380           most cases you will need to specify the root device here.
381
382 endmenu
383
384 config ISA_DMA_API
385         bool
386         default y
387
388 menu "Bus Options"
389
390 config ISA
391         bool
392         help
393           Find out whether you have ISA slots on your motherboard.  ISA is the
394           name of a bus system, i.e. the way the CPU talks to the other stuff
395           inside your box.  If you have an Apple machine, say N here; if you
396           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
397           you have an embedded board, consult your board documentation.
398
399 config SBUS
400         bool
401
402 config MCA
403         bool
404
405 config EISA
406         bool
407
408 config PCI
409         bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
410         default y
411         help
412           Find out whether your system includes a PCI bus. PCI is the name of
413           a bus system, i.e. the way the CPU talks to the other stuff inside
414           your box.  If you say Y here, the kernel will include drivers and
415           infrastructure code to support PCI bus devices.
416
417 config PCI_DOMAINS
418         bool
419         default PCI
420
421 source "drivers/pci/Kconfig"
422
423 source "drivers/pcmcia/Kconfig"
424
425 source "drivers/pci/hotplug/Kconfig"
426
427 endmenu
428
429 source "net/Kconfig"
430
431 source "drivers/Kconfig"
432
433 source "fs/Kconfig"
434
435 menu "iSeries device drivers"
436         depends on PPC_ISERIES
437
438 config VIOCONS
439         tristate "iSeries Virtual Console Support"
440
441 config VIODASD
442         tristate "iSeries Virtual I/O disk support"
443         help
444           If you are running on an iSeries system and you want to use
445           virtual disks created and managed by OS/400, say Y.
446
447 config VIOCD
448         tristate "iSeries Virtual I/O CD support"
449         help
450           If you are running Linux on an IBM iSeries system and you want to
451           read a CD drive owned by OS/400, say Y here.
452
453 config VIOTAPE
454         tristate "iSeries Virtual Tape Support"
455         help
456           If you are running Linux on an iSeries system and you want Linux
457           to read and/or write a tape drive owned by OS/400, say Y here.
458
459 endmenu
460
461 config VIOPATH
462         bool
463         depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
464         default y
465
466 source "arch/powerpc/oprofile/Kconfig"
467
468 source "arch/ppc64/Kconfig.debug"
469
470 source "security/Kconfig"
471
472 config KEYS_COMPAT
473         bool
474         depends on COMPAT && KEYS
475         default y
476
477 source "crypto/Kconfig"
478
479 source "lib/Kconfig"