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