]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/ppc64/Kconfig
[PATCH] make each arch use mm/Kconfig
[net-next-2.6.git] / arch / ppc64 / Kconfig
CommitLineData
1da177e4
LT
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6config 64BIT
7 def_bool y
8
9config MMU
10 bool
11 default y
12
13config UID16
14 bool
15
16config RWSEM_GENERIC_SPINLOCK
17 bool
18
19config RWSEM_XCHGADD_ALGORITHM
20 bool
21 default y
22
23config GENERIC_CALIBRATE_DELAY
24 bool
25 default y
26
27config GENERIC_ISA_DMA
28 bool
29 default y
30
31config HAVE_DEC_LOCK
32 bool
33 default y
34
35config EARLY_PRINTK
36 bool
37 default y
38
39config COMPAT
40 bool
41 default y
42
7d12e522
AB
43config SCHED_NO_NO_OMIT_FRAME_POINTER
44 bool
45 default y
46
1da177e4
LT
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
50config FORCE_MAX_ZONEORDER
51 int
52 default "13"
53
54source "init/Kconfig"
55
56config SYSVIPC_COMPAT
57 bool
58 depends on COMPAT && SYSVIPC
59 default y
60
61menu "Platform support"
62
63choice
64 prompt "Platform Type"
65 default PPC_MULTIPLATFORM
66
67config PPC_ISERIES
68 bool "IBM Legacy iSeries"
69
70config PPC_MULTIPLATFORM
71 bool "Generic"
72
73endchoice
74
75config PPC_PSERIES
76 depends on PPC_MULTIPLATFORM
77 bool " IBM pSeries & new iSeries"
78 default y
79
80config PPC_PMAC
81 depends on PPC_MULTIPLATFORM
82 bool " Apple G5 based machines"
83 default y
84 select U3_DART
85
86config 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
96config PPC
97 bool
98 default y
99
100config PPC64
101 bool
102 default y
103
104config 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
111config ALTIVEC
112 bool "Support for VMX (Altivec) vector unit"
113 depends on PPC_MULTIPLATFORM
114 default y
115
116config 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
126config IBMVIO
127 depends on PPC_PSERIES || PPC_ISERIES
128 bool
129 default y
130
131config U3_DART
132 bool
133 depends on PPC_MULTIPLATFORM
134 default n
135
136config MPIC_BROKEN_U3
137 bool
138 depends on PPC_MAPLE
139 default y
140
141config PPC_PMAC64
142 bool
143 depends on PPC_PMAC
144 default y
145
146config 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
153config 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
161config 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
173config 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
188config NR_CPUS
189 int "Maximum number of CPUs (2-128)"
190 range 2 128
191 depends on SMP
192 default "32"
193
194config 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
3f22ab27 201config ARCH_DISCONTIGMEM_ENABLE
1da177e4
LT
202 bool "Discontiguous Memory Support"
203 depends on SMP && PPC_PSERIES
204
3f22ab27
DH
205source "mm/Kconfig"
206
1da177e4
LT
207config NUMA
208 bool "NUMA support"
209 depends on DISCONTIGMEM
210
211config SCHED_SMT
212 bool "SMT (Hyperthreading) scheduler support"
213 depends on SMP
214 default off
215 help
216 SMT scheduler support improves the CPU scheduler's decision making
217 when dealing with POWER5 cpus at a cost of slightly increased
218 overhead in some places. If unsure say N here.
219
220config PREEMPT
221 bool "Preemptible Kernel"
222 help
223 This option reduces the latency of the kernel when reacting to
224 real-time or interactive events by allowing a low priority process to
225 be preempted even if it is in kernel mode executing a system call.
226
227 Say Y here if you are building a kernel for a desktop, embedded
228 or real-time system. Say N if you are unsure.
229
230config PREEMPT_BKL
231 bool "Preempt The Big Kernel Lock"
232 depends on PREEMPT
233 default y
234 help
235 This option reduces the latency of the kernel by making the
236 big kernel lock preemptible.
237
238 Say Y here if you are building a kernel for a desktop system.
239 Say N if you are unsure.
240
241config EEH
242 bool "PCI Extended Error Handling (EEH)" if EMBEDDED
243 depends on PPC_PSERIES
244 default y if !EMBEDDED
245
246#
247# Use the generic interrupt handling code in kernel/irq/:
248#
249config GENERIC_HARDIRQS
250 bool
251 default y
252
253config MSCHUNKS
254 bool
255 depends on PPC_ISERIES
256 default y
257
258
259config PPC_RTAS
260 bool
261 depends on PPC_PSERIES
262 default y
263
264config RTAS_PROC
265 bool "Proc interface to RTAS"
266 depends on PPC_RTAS
b7c2b704 267 default y
1da177e4
LT
268
269config RTAS_FLASH
270 tristate "Firmware flash interface"
271 depends on RTAS_PROC
272
273config SCANLOG
274 tristate "Scanlog dump interface"
275 depends on RTAS_PROC && PPC_PSERIES
276
277config LPARCFG
278 tristate "LPAR Configuration Data"
279 depends on PPC_PSERIES || PPC_ISERIES
280 help
281 Provide system capacity information via human readable
282 <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
283
284config SECCOMP
285 bool "Enable seccomp to safely compute untrusted bytecode"
286 depends on PROC_FS
287 default y
288 help
289 This kernel feature is useful for number crunching applications
290 that may need to compute untrusted bytecode during their
291 execution. By using pipes or other transports made available to
292 the process as file descriptors supporting the read/write
293 syscalls, it's possible to isolate those applications in
294 their own address space using seccomp. Once seccomp is
295 enabled via /proc/<pid>/seccomp, it cannot be disabled
296 and the task is only allowed to execute a few safe syscalls
297 defined by each seccomp mode.
298
299 If unsure, say Y. Only embedded should say N here.
300
301endmenu
302
5cae841b
AV
303config ISA_DMA_API
304 bool
305 default y
1da177e4
LT
306
307menu "General setup"
308
309config ISA
310 bool
311 help
312 Find out whether you have ISA slots on your motherboard. ISA is the
313 name of a bus system, i.e. the way the CPU talks to the other stuff
314 inside your box. If you have an Apple machine, say N here; if you
315 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
316 you have an embedded board, consult your board documentation.
317
318config SBUS
319 bool
320
321config MCA
322 bool
323
324config EISA
325 bool
326
327config PCI
145d01e4 328 bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
1da177e4
LT
329 default y
330 help
331 Find out whether your system includes a PCI bus. PCI is the name of
332 a bus system, i.e. the way the CPU talks to the other stuff inside
333 your box. If you say Y here, the kernel will include drivers and
334 infrastructure code to support PCI bus devices.
335
336config PCI_DOMAINS
337 bool
338 default PCI
339
340source "fs/Kconfig.binfmt"
341
342source "drivers/pci/Kconfig"
343
344config HOTPLUG_CPU
345 bool "Support for hot-pluggable CPUs"
346 depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
347 select HOTPLUG
348 ---help---
349 Say Y here to be able to turn CPUs off and on.
350
351 Say N if you are unsure.
352
353source "drivers/pcmcia/Kconfig"
354
355source "drivers/pci/hotplug/Kconfig"
356
357config PROC_DEVICETREE
358 bool "Support for Open Firmware device tree in /proc"
359 depends on !PPC_ISERIES
360 help
361 This option adds a device-tree directory under /proc which contains
362 an image of the device tree that the kernel copies from Open
363 Firmware. If unsure, say Y here.
364
365config CMDLINE_BOOL
366 bool "Default bootloader kernel arguments"
367 depends on !PPC_ISERIES
368
369config CMDLINE
370 string "Initial kernel command string"
371 depends on CMDLINE_BOOL
372 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
373 help
374 On some platforms, there is currently no way for the boot loader to
375 pass arguments to the kernel. For these platforms, you can supply
376 some command-line options at build time by entering them here. In
377 most cases you will need to specify the root device here.
378
379endmenu
380
381source "drivers/Kconfig"
382
383source "fs/Kconfig"
384
385menu "iSeries device drivers"
386 depends on PPC_ISERIES
387
388config VIOCONS
389 tristate "iSeries Virtual Console Support"
390
391config VIODASD
392 tristate "iSeries Virtual I/O disk support"
393 help
394 If you are running on an iSeries system and you want to use
395 virtual disks created and managed by OS/400, say Y.
396
397config VIOCD
398 tristate "iSeries Virtual I/O CD support"
399 help
400 If you are running Linux on an IBM iSeries system and you want to
401 read a CD drive owned by OS/400, say Y here.
402
403config VIOTAPE
404 tristate "iSeries Virtual Tape Support"
405 help
406 If you are running Linux on an iSeries system and you want Linux
407 to read and/or write a tape drive owned by OS/400, say Y here.
408
409endmenu
410
411config VIOPATH
412 bool
413 depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
414 default y
415
416source "arch/ppc64/oprofile/Kconfig"
417
418source "arch/ppc64/Kconfig.debug"
419
420source "security/Kconfig"
421
422config KEYS_COMPAT
423 bool
424 depends on COMPAT && KEYS
425 default y
426
427source "crypto/Kconfig"
428
429source "lib/Kconfig"