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