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