vserver 1.9.3
[linux-2.6.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_ISA_DMA
24         bool
25         default y
26
27 config HAVE_DEC_LOCK
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 FRAME_POINTER
40         bool
41         default y
42
43 # We optimistically allocate largepages from the VM, so make the limit
44 # large enough (16MB). This badly named config option is actually
45 # max order + 1
46 config FORCE_MAX_ZONEORDER
47         int
48         default "13"
49
50 source "init/Kconfig"
51
52 config SYSVIPC_COMPAT
53         bool
54         depends on COMPAT && SYSVIPC
55         default y
56
57 menu "Platform support"
58
59 choice
60         prompt "Platform Type"
61         default PPC_MULTIPLATFORM
62
63 config PPC_ISERIES
64         bool "IBM Legacy iSeries"
65
66 config PPC_MULTIPLATFORM
67         bool "Generic"
68
69 endchoice
70
71 config PPC_PSERIES
72         depends on PPC_MULTIPLATFORM
73         bool "  IBM pSeries & new iSeries"
74         default y
75
76 config PPC_PMAC
77         depends on PPC_MULTIPLATFORM
78         bool "  Apple G5 based machines"
79         default y
80         select ADB_PMU
81         select U3_DART
82
83 config PPC
84         bool
85         default y
86
87 config PPC64
88         bool
89         default y
90
91 config PPC_OF
92         depends on PPC_MULTIPLATFORM
93         bool
94         default y
95
96 # VMX is pSeries only for now until somebody writes the iSeries
97 # exception vectors for it
98 config ALTIVEC
99         bool "Support for VMX (Altivec) vector unit"
100         depends on PPC_MULTIPLATFORM
101         default y
102
103 config PPC_SPLPAR
104         depends on PPC_PSERIES
105         bool "Support for shared-processor logical partitions"
106         default n
107         help
108           Enabling this option will make the kernel run more efficiently
109           on logically-partitioned pSeries systems which use shared
110           processors, that is, which share physical processors between
111           two or more partitions.
112
113 config U3_DART
114         bool 
115         depends on PPC_MULTIPLATFORM
116         default n
117
118 config PPC_PMAC64
119         bool
120         depends on PPC_PMAC
121         default y
122
123 config BOOTX_TEXT
124         bool "Support for early boot text console"
125         depends PPC_OF
126         help
127           Say Y here to see progress messages from the boot firmware in text
128           mode. Requires an Open Firmware compatible video card.
129
130 config POWER4_ONLY
131         bool "Optimize for POWER4"
132         default n
133         ---help---
134           Cause the compiler to optimize for POWER4 processors. The resulting
135           binary will not work on POWER3 or RS64 processors when compiled with
136           binutils 2.15 or later.
137
138 config IOMMU_VMERGE
139         bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
140         depends on EXPERIMENTAL
141         default n
142         help
143           Cause IO segments sent to a device for DMA to be merged virtually
144           by the IOMMU when they happen to have been allocated contiguously.
145           This doesn't add pressure to the IOMMU allocator. However, some
146           drivers don't support getting large merged segments coming back
147           from *_map_sg(). Say Y if you know the drivers you are using are
148           properly handling this case.
149
150 config SMP
151         bool "Symmetric multi-processing support"
152         ---help---
153           This enables support for systems with more than one CPU. If you have
154           a system with only one CPU, say N. If you have a system with more
155           than one CPU, say Y.
156
157           If you say N here, the kernel will run on single and multiprocessor
158           machines, but will use only one CPU of a multiprocessor machine. If
159           you say Y here, the kernel will run on single-processor machines.
160           On a single-processor machine, the kernel will run faster if you say
161           N here.
162
163           If you don't know what to do here, say Y.
164
165 config IRQ_ALL_CPUS
166         bool "Distribute interrupts on all CPUs by default"
167         depends on SMP && PPC_MULTIPLATFORM
168         help
169           This option gives the kernel permission to distribute IRQs across
170           multiple CPUs.  Saying N here will route all IRQs to the first
171           CPU.
172
173 config NR_CPUS
174         int "Maximum number of CPUs (2-128)"
175         range 2 128
176         depends on SMP
177         default "32"
178
179 config HMT
180         bool "Hardware multithreading"
181         depends on SMP && PPC_PSERIES
182
183 config DISCONTIGMEM
184         bool "Discontiguous Memory Support"
185         depends on SMP && PPC_PSERIES
186
187 config NUMA
188         bool "NUMA support"
189         depends on DISCONTIGMEM
190
191 config SCHED_SMT
192         bool "SMT (Hyperthreading) scheduler support"
193         depends on SMP
194         default off
195         help
196           SMT scheduler support improves the CPU scheduler's decision making
197           when dealing with POWER5 cpus at a cost of slightly increased
198           overhead in some places. If unsure say N here.
199
200 config PREEMPT
201         bool "Preemptible Kernel"
202         help
203           This option reduces the latency of the kernel when reacting to
204           real-time or interactive events by allowing a low priority process to
205           be preempted even if it is in kernel mode executing a system call.
206
207           Say Y here if you are building a kernel for a desktop, embedded
208           or real-time system.  Say N if you are unsure.
209
210 config MSCHUNKS
211         bool
212         depends on PPC_ISERIES
213         default y
214
215
216 config PPC_RTAS
217         bool "Proc interface to RTAS"
218         depends on PPC_PSERIES
219
220 config RTAS_FLASH
221         tristate "Firmware flash interface"
222         depends on PPC_RTAS
223
224 config SCANLOG
225         tristate "Scanlog dump interface"
226         depends on PPC_RTAS
227
228 config LPARCFG
229         tristate "LPAR Configuration Data"
230         depends on PPC_PSERIES || PPC_ISERIES
231         help
232         Provide system capacity information via human readable
233         <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
234
235 endmenu
236
237
238 menu "General setup"
239
240 config ISA
241         bool
242         help
243           Find out whether you have ISA slots on your motherboard.  ISA is the
244           name of a bus system, i.e. the way the CPU talks to the other stuff
245           inside your box.  If you have an Apple machine, say N here; if you
246           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
247           you have an embedded board, consult your board documentation.
248
249 config SBUS
250         bool
251
252 config MCA
253         bool
254
255 config EISA
256         bool
257
258 config PCI
259         bool
260         default y
261         help
262           Find out whether your system includes a PCI bus. PCI is the name of
263           a bus system, i.e. the way the CPU talks to the other stuff inside
264           your box.  If you say Y here, the kernel will include drivers and
265           infrastructure code to support PCI bus devices.
266
267 config PCI_DOMAINS
268         bool
269         default PCI
270
271 source "fs/Kconfig.binfmt"
272
273 source "drivers/pci/Kconfig"
274
275 config HOTPLUG_CPU
276         bool "Support for hot-pluggable CPUs"
277         depends on SMP && HOTPLUG && EXPERIMENTAL && PPC_PSERIES
278         ---help---
279           Say Y here to be able to turn CPUs off and on.
280
281           Say N if you are unsure.
282
283 source "drivers/pcmcia/Kconfig"
284
285 source "drivers/pci/hotplug/Kconfig"
286
287 config PROC_DEVICETREE
288         bool "Support for Open Firmware device tree in /proc"
289         depends on !PPC_ISERIES
290         help
291           This option adds a device-tree directory under /proc which contains
292           an image of the device tree that the kernel copies from Open
293           Firmware. If unsure, say Y here.
294
295 config CMDLINE_BOOL
296         bool "Default bootloader kernel arguments"
297         depends on !PPC_ISERIES
298
299 config CMDLINE
300         string "Initial kernel command string"
301         depends on CMDLINE_BOOL
302         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
303         help
304           On some platforms, there is currently no way for the boot loader to
305           pass arguments to the kernel. For these platforms, you can supply
306           some command-line options at build time by entering them here.  In
307           most cases you will need to specify the root device here.
308
309 endmenu
310
311 source "drivers/Kconfig"
312
313 source "fs/Kconfig"
314
315 menu "iSeries device drivers"
316         depends on PPC_ISERIES
317
318 config VIOCONS
319         tristate "iSeries Virtual Console Support"
320
321 config VIODASD
322         tristate "iSeries Virtual I/O disk support"
323         help
324           If you are running on an iSeries system and you want to use
325           virtual disks created and managed by OS/400, say Y.
326
327 config VIOCD
328         tristate "iSeries Virtual I/O CD support"
329         help
330           If you are running Linux on an IBM iSeries system and you want to
331           read a CD drive owned by OS/400, say Y here.
332
333 config VIOTAPE
334         tristate "iSeries Virtual Tape Support"
335         help
336           If you are running Linux on an iSeries system and you want Linux
337           to read and/or write a tape drive owned by OS/400, say Y here.
338
339 endmenu
340
341 config VIOPATH
342         bool
343         depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
344         default y
345
346 source "arch/ppc64/oprofile/Kconfig"
347
348 source "arch/ppc64/Kconfig.debug"
349
350 source "kernel/vserver/Kconfig"
351
352 source "security/Kconfig"
353
354 source "crypto/Kconfig"
355
356 source "lib/Kconfig"