Merge head 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
[pandora-kernel.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_CALIBRATE_DELAY
24         bool
25         default y
26
27 config GENERIC_ISA_DMA
28         bool
29         default y
30
31 config HAVE_DEC_LOCK
32         bool
33         default y
34
35 config EARLY_PRINTK
36         bool
37         default y
38
39 config COMPAT
40         bool
41         default y
42
43 config SCHED_NO_NO_OMIT_FRAME_POINTER
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_ONLY
190         bool "Optimize for POWER4"
191         default n
192         ---help---
193           Cause the compiler to optimize for POWER4 processors. The resulting
194           binary will not work on POWER3 or RS64 processors when compiled with
195           binutils 2.15 or later.
196
197 config IOMMU_VMERGE
198         bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
199         depends on EXPERIMENTAL
200         default n
201         help
202           Cause IO segments sent to a device for DMA to be merged virtually
203           by the IOMMU when they happen to have been allocated contiguously.
204           This doesn't add pressure to the IOMMU allocator. However, some
205           drivers don't support getting large merged segments coming back
206           from *_map_sg(). Say Y if you know the drivers you are using are
207           properly handling this case.
208
209 config SMP
210         bool "Symmetric multi-processing support"
211         ---help---
212           This enables support for systems with more than one CPU. If you have
213           a system with only one CPU, say N. If you have a system with more
214           than one CPU, say Y.
215
216           If you say N here, the kernel will run on single and multiprocessor
217           machines, but will use only one CPU of a multiprocessor machine. If
218           you say Y here, the kernel will run on single-processor machines.
219           On a single-processor machine, the kernel will run faster if you say
220           N here.
221
222           If you don't know what to do here, say Y.
223
224 config NR_CPUS
225         int "Maximum number of CPUs (2-128)"
226         range 2 128
227         depends on SMP
228         default "32"
229
230 config HMT
231         bool "Hardware multithreading"
232         depends on SMP && PPC_PSERIES && BROKEN
233         help
234           This option enables hardware multithreading on RS64 cpus.
235           pSeries systems p620 and p660 have such a cpu type.
236
237 config ARCH_SELECT_MEMORY_MODEL
238         def_bool y
239
240 config ARCH_FLATMEM_ENABLE
241        def_bool y
242        depends on !NUMA
243
244 config ARCH_DISCONTIGMEM_ENABLE
245         def_bool y
246         depends on SMP && PPC_PSERIES
247
248 config ARCH_DISCONTIGMEM_DEFAULT
249         def_bool y
250         depends on ARCH_DISCONTIGMEM_ENABLE
251
252 config ARCH_FLATMEM_ENABLE
253         def_bool y
254
255 config ARCH_SPARSEMEM_ENABLE
256         def_bool y
257         depends on ARCH_DISCONTIGMEM_ENABLE
258
259 source "mm/Kconfig"
260
261 config HAVE_ARCH_EARLY_PFN_TO_NID
262         def_bool y
263         depends on NEED_MULTIPLE_NODES
264
265 # Some NUMA nodes have memory ranges that span
266 # other nodes.  Even though a pfn is valid and
267 # between a node's start and end pfns, it may not
268 # reside on that node.
269 #
270 # This is a relatively temporary hack that should
271 # be able to go away when sparsemem is fully in
272 # place
273 config NODES_SPAN_OTHER_NODES
274         def_bool y
275         depends on NEED_MULTIPLE_NODES
276
277 config NUMA
278         bool "NUMA support"
279         default y if DISCONTIGMEM || SPARSEMEM
280
281 config SCHED_SMT
282         bool "SMT (Hyperthreading) scheduler support"
283         depends on SMP
284         default off
285         help
286           SMT scheduler support improves the CPU scheduler's decision making
287           when dealing with POWER5 cpus at a cost of slightly increased
288           overhead in some places. If unsure say N here.
289
290 source "kernel/Kconfig.preempt"
291 source kernel/Kconfig.hz
292
293 config EEH
294         bool "PCI Extended Error Handling (EEH)" if EMBEDDED
295         depends on PPC_PSERIES
296         default y if !EMBEDDED
297
298 #
299 # Use the generic interrupt handling code in kernel/irq/:
300 #
301 config GENERIC_HARDIRQS
302         bool
303         default y
304
305 config MSCHUNKS
306         bool
307         depends on PPC_ISERIES
308         default y
309
310
311 config PPC_RTAS
312         bool
313         depends on PPC_PSERIES || PPC_BPA
314         default y
315
316 config RTAS_PROC
317         bool "Proc interface to RTAS"
318         depends on PPC_RTAS
319         default y
320
321 config RTAS_FLASH
322         tristate "Firmware flash interface"
323         depends on RTAS_PROC
324
325 config SCANLOG
326         tristate "Scanlog dump interface"
327         depends on RTAS_PROC && PPC_PSERIES
328
329 config LPARCFG
330         tristate "LPAR Configuration Data"
331         depends on PPC_PSERIES || PPC_ISERIES
332         help
333         Provide system capacity information via human readable
334         <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
335
336 config SECCOMP
337         bool "Enable seccomp to safely compute untrusted bytecode"
338         depends on PROC_FS
339         default y
340         help
341           This kernel feature is useful for number crunching applications
342           that may need to compute untrusted bytecode during their
343           execution. By using pipes or other transports made available to
344           the process as file descriptors supporting the read/write
345           syscalls, it's possible to isolate those applications in
346           their own address space using seccomp. Once seccomp is
347           enabled via /proc/<pid>/seccomp, it cannot be disabled
348           and the task is only allowed to execute a few safe syscalls
349           defined by each seccomp mode.
350
351           If unsure, say Y. Only embedded should say N here.
352
353 endmenu
354
355 config ISA_DMA_API
356         bool
357         default y
358
359 menu "General setup"
360
361 config ISA
362         bool
363         help
364           Find out whether you have ISA slots on your motherboard.  ISA is the
365           name of a bus system, i.e. the way the CPU talks to the other stuff
366           inside your box.  If you have an Apple machine, say N here; if you
367           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
368           you have an embedded board, consult your board documentation.
369
370 config SBUS
371         bool
372
373 config MCA
374         bool
375
376 config EISA
377         bool
378
379 config PCI
380         bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
381         default y
382         help
383           Find out whether your system includes a PCI bus. PCI is the name of
384           a bus system, i.e. the way the CPU talks to the other stuff inside
385           your box.  If you say Y here, the kernel will include drivers and
386           infrastructure code to support PCI bus devices.
387
388 config PCI_DOMAINS
389         bool
390         default PCI
391
392 source "fs/Kconfig.binfmt"
393
394 source "drivers/pci/Kconfig"
395
396 config HOTPLUG_CPU
397         bool "Support for hot-pluggable CPUs"
398         depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
399         select HOTPLUG
400         ---help---
401           Say Y here to be able to turn CPUs off and on.
402
403           Say N if you are unsure.
404
405 source "drivers/pcmcia/Kconfig"
406
407 source "drivers/pci/hotplug/Kconfig"
408
409 config PROC_DEVICETREE
410         bool "Support for Open Firmware device tree in /proc"
411         depends on !PPC_ISERIES
412         help
413           This option adds a device-tree directory under /proc which contains
414           an image of the device tree that the kernel copies from Open
415           Firmware. If unsure, say Y here.
416
417 config CMDLINE_BOOL
418         bool "Default bootloader kernel arguments"
419         depends on !PPC_ISERIES
420
421 config CMDLINE
422         string "Initial kernel command string"
423         depends on CMDLINE_BOOL
424         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
425         help
426           On some platforms, there is currently no way for the boot loader to
427           pass arguments to the kernel. For these platforms, you can supply
428           some command-line options at build time by entering them here.  In
429           most cases you will need to specify the root device here.
430
431 endmenu
432
433 source "net/Kconfig"
434
435 source "drivers/Kconfig"
436
437 source "fs/Kconfig"
438
439 menu "iSeries device drivers"
440         depends on PPC_ISERIES
441
442 config VIOCONS
443         tristate "iSeries Virtual Console Support"
444
445 config VIODASD
446         tristate "iSeries Virtual I/O disk support"
447         help
448           If you are running on an iSeries system and you want to use
449           virtual disks created and managed by OS/400, say Y.
450
451 config VIOCD
452         tristate "iSeries Virtual I/O CD support"
453         help
454           If you are running Linux on an IBM iSeries system and you want to
455           read a CD drive owned by OS/400, say Y here.
456
457 config VIOTAPE
458         tristate "iSeries Virtual Tape Support"
459         help
460           If you are running Linux on an iSeries system and you want Linux
461           to read and/or write a tape drive owned by OS/400, say Y here.
462
463 endmenu
464
465 config VIOPATH
466         bool
467         depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
468         default y
469
470 source "arch/ppc64/oprofile/Kconfig"
471
472 source "arch/ppc64/Kconfig.debug"
473
474 source "security/Kconfig"
475
476 config KEYS_COMPAT
477         bool
478         depends on COMPAT && KEYS
479         default y
480
481 source "crypto/Kconfig"
482
483 source "lib/Kconfig"