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