blob: cb27068bfcd49694123c1cf9cc27c692a80c2c9d [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070047# 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
Arnd Bergmannfef1c772005-06-23 09:43:37 +100080config PPC_BPA
81 bool " Broadband Processor Architecture"
82 depends on PPC_MULTIPLATFORM
83
Linus Torvalds1da177e2005-04-16 15:20:36 -070084config PPC_PMAC
85 depends on PPC_MULTIPLATFORM
86 bool " Apple G5 based machines"
87 default y
88 select U3_DART
89
90config 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
100config PPC
101 bool
102 default y
103
104config PPC64
105 bool
106 default y
107
108config PPC_OF
109 depends on PPC_MULTIPLATFORM
110 bool
111 default y
112
Arnd Bergmanncebf5892005-06-23 09:43:43 +1000113config XICS
114 depends on PPC_PSERIES
115 bool
116 default y
117
118config MPIC
119 depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE
120 bool
121 default y
122
123config BPA_IIC
124 depends on PPC_BPA
125 bool
126 default y
127
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128# VMX is pSeries only for now until somebody writes the iSeries
129# exception vectors for it
130config ALTIVEC
131 bool "Support for VMX (Altivec) vector unit"
132 depends on PPC_MULTIPLATFORM
133 default y
134
135config 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
145config IBMVIO
146 depends on PPC_PSERIES || PPC_ISERIES
147 bool
148 default y
149
150config U3_DART
151 bool
152 depends on PPC_MULTIPLATFORM
153 default n
154
155config MPIC_BROKEN_U3
156 bool
157 depends on PPC_MAPLE
158 default y
159
160config PPC_PMAC64
161 bool
162 depends on PPC_PMAC
163 default y
164
165config 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
172config 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
180config 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
192config 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
207config NR_CPUS
208 int "Maximum number of CPUs (2-128)"
209 range 2 128
210 depends on SMP
211 default "32"
212
213config 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
Andy Whitcroft145e6642005-06-23 00:08:03 -0700220config ARCH_SELECT_MEMORY_MODEL
221 def_bool y
222
223config ARCH_FLATMEM_ENABLE
224 def_bool y
225 depends on !NUMA
226
Dave Hansen3f22ab22005-06-23 00:07:43 -0700227config ARCH_DISCONTIGMEM_ENABLE
Mike Kravetz368a0a32005-06-23 00:07:51 -0700228 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700229 depends on SMP && PPC_PSERIES
230
Mike Kravetz368a0a32005-06-23 00:07:51 -0700231config ARCH_DISCONTIGMEM_DEFAULT
232 def_bool y
233 depends on ARCH_DISCONTIGMEM_ENABLE
234
235config ARCH_FLATMEM_ENABLE
236 def_bool y
237
Andy Whitcroft145e6642005-06-23 00:08:03 -0700238config ARCH_SPARSEMEM_ENABLE
239 def_bool y
240 depends on ARCH_DISCONTIGMEM_ENABLE
241
Dave Hansen3f22ab22005-06-23 00:07:43 -0700242source "mm/Kconfig"
243
Andy Whitcroft510f8fa2005-06-23 00:08:01 -0700244config HAVE_ARCH_EARLY_PFN_TO_NID
Andy Whitcroft74b30be2005-06-23 00:08:02 -0700245 def_bool y
246 depends on NEED_MULTIPLE_NODES
Andy Whitcroft510f8fa2005-06-23 00:08:01 -0700247
Andy Whitcroft641c7672005-06-23 00:07:59 -0700248# 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
256config NODES_SPAN_OTHER_NODES
257 def_bool y
258 depends on NEED_MULTIPLE_NODES
259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260config NUMA
261 bool "NUMA support"
Andy Whitcroft145e6642005-06-23 00:08:03 -0700262 default y if DISCONTIGMEM || SPARSEMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263
264config 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
273config 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
283config 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
294config 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#
302config GENERIC_HARDIRQS
303 bool
304 default y
305
306config MSCHUNKS
307 bool
308 depends on PPC_ISERIES
309 default y
310
311
312config PPC_RTAS
313 bool
Arnd Bergmannfef1c772005-06-23 09:43:37 +1000314 depends on PPC_PSERIES || PPC_BPA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700315 default y
316
317config RTAS_PROC
318 bool "Proc interface to RTAS"
319 depends on PPC_RTAS
Paul Mackerrasb7c2b702005-05-06 17:41:03 -0700320 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700321
322config RTAS_FLASH
323 tristate "Firmware flash interface"
324 depends on RTAS_PROC
325
326config SCANLOG
327 tristate "Scanlog dump interface"
328 depends on RTAS_PROC && PPC_PSERIES
329
330config 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
337config 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
354endmenu
355
Al Viro5cae8412005-05-04 05:39:22 +0100356config ISA_DMA_API
357 bool
358 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359
360menu "General setup"
361
362config 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
371config SBUS
372 bool
373
374config MCA
375 bool
376
377config EISA
378 bool
379
380config PCI
Stephen Rothwell145d01e2005-06-21 17:15:52 -0700381 bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700382 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
389config PCI_DOMAINS
390 bool
391 default PCI
392
393source "fs/Kconfig.binfmt"
394
395source "drivers/pci/Kconfig"
396
397config 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
406source "drivers/pcmcia/Kconfig"
407
408source "drivers/pci/hotplug/Kconfig"
409
410config 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
418config CMDLINE_BOOL
419 bool "Default bootloader kernel arguments"
420 depends on !PPC_ISERIES
421
422config 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
432endmenu
433
434source "drivers/Kconfig"
435
436source "fs/Kconfig"
437
438menu "iSeries device drivers"
439 depends on PPC_ISERIES
440
441config VIOCONS
442 tristate "iSeries Virtual Console Support"
443
444config 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
450config 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
456config 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
462endmenu
463
464config VIOPATH
465 bool
466 depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
467 default y
468
469source "arch/ppc64/oprofile/Kconfig"
470
471source "arch/ppc64/Kconfig.debug"
472
473source "security/Kconfig"
474
475config KEYS_COMPAT
476 bool
477 depends on COMPAT && KEYS
478 default y
479
480source "crypto/Kconfig"
481
482source "lib/Kconfig"