blob: bae56ec76ea717664ad0c6323a5f8ecd9a21797e [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
220config DISCONTIGMEM
221 bool "Discontiguous Memory Support"
222 depends on SMP && PPC_PSERIES
223
224config NUMA
225 bool "NUMA support"
226 depends on DISCONTIGMEM
227
228config SCHED_SMT
229 bool "SMT (Hyperthreading) scheduler support"
230 depends on SMP
231 default off
232 help
233 SMT scheduler support improves the CPU scheduler's decision making
234 when dealing with POWER5 cpus at a cost of slightly increased
235 overhead in some places. If unsure say N here.
236
237config PREEMPT
238 bool "Preemptible Kernel"
239 help
240 This option reduces the latency of the kernel when reacting to
241 real-time or interactive events by allowing a low priority process to
242 be preempted even if it is in kernel mode executing a system call.
243
244 Say Y here if you are building a kernel for a desktop, embedded
245 or real-time system. Say N if you are unsure.
246
247config PREEMPT_BKL
248 bool "Preempt The Big Kernel Lock"
249 depends on PREEMPT
250 default y
251 help
252 This option reduces the latency of the kernel by making the
253 big kernel lock preemptible.
254
255 Say Y here if you are building a kernel for a desktop system.
256 Say N if you are unsure.
257
258config EEH
259 bool "PCI Extended Error Handling (EEH)" if EMBEDDED
260 depends on PPC_PSERIES
261 default y if !EMBEDDED
262
263#
264# Use the generic interrupt handling code in kernel/irq/:
265#
266config GENERIC_HARDIRQS
267 bool
268 default y
269
270config MSCHUNKS
271 bool
272 depends on PPC_ISERIES
273 default y
274
275
276config PPC_RTAS
277 bool
Arnd Bergmannfef1c772005-06-23 09:43:37 +1000278 depends on PPC_PSERIES || PPC_BPA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700279 default y
280
281config RTAS_PROC
282 bool "Proc interface to RTAS"
283 depends on PPC_RTAS
Paul Mackerrasb7c2b702005-05-06 17:41:03 -0700284 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285
286config RTAS_FLASH
287 tristate "Firmware flash interface"
288 depends on RTAS_PROC
289
290config SCANLOG
291 tristate "Scanlog dump interface"
292 depends on RTAS_PROC && PPC_PSERIES
293
294config LPARCFG
295 tristate "LPAR Configuration Data"
296 depends on PPC_PSERIES || PPC_ISERIES
297 help
298 Provide system capacity information via human readable
299 <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
300
301config SECCOMP
302 bool "Enable seccomp to safely compute untrusted bytecode"
303 depends on PROC_FS
304 default y
305 help
306 This kernel feature is useful for number crunching applications
307 that may need to compute untrusted bytecode during their
308 execution. By using pipes or other transports made available to
309 the process as file descriptors supporting the read/write
310 syscalls, it's possible to isolate those applications in
311 their own address space using seccomp. Once seccomp is
312 enabled via /proc/<pid>/seccomp, it cannot be disabled
313 and the task is only allowed to execute a few safe syscalls
314 defined by each seccomp mode.
315
316 If unsure, say Y. Only embedded should say N here.
317
318endmenu
319
Al Viro5cae8412005-05-04 05:39:22 +0100320config ISA_DMA_API
321 bool
322 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700323
324menu "General setup"
325
326config ISA
327 bool
328 help
329 Find out whether you have ISA slots on your motherboard. ISA is the
330 name of a bus system, i.e. the way the CPU talks to the other stuff
331 inside your box. If you have an Apple machine, say N here; if you
332 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
333 you have an embedded board, consult your board documentation.
334
335config SBUS
336 bool
337
338config MCA
339 bool
340
341config EISA
342 bool
343
344config PCI
Stephen Rothwell145d01e2005-06-21 17:15:52 -0700345 bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346 default y
347 help
348 Find out whether your system includes a PCI bus. PCI is the name of
349 a bus system, i.e. the way the CPU talks to the other stuff inside
350 your box. If you say Y here, the kernel will include drivers and
351 infrastructure code to support PCI bus devices.
352
353config PCI_DOMAINS
354 bool
355 default PCI
356
357source "fs/Kconfig.binfmt"
358
359source "drivers/pci/Kconfig"
360
361config HOTPLUG_CPU
362 bool "Support for hot-pluggable CPUs"
363 depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
364 select HOTPLUG
365 ---help---
366 Say Y here to be able to turn CPUs off and on.
367
368 Say N if you are unsure.
369
370source "drivers/pcmcia/Kconfig"
371
372source "drivers/pci/hotplug/Kconfig"
373
374config PROC_DEVICETREE
375 bool "Support for Open Firmware device tree in /proc"
376 depends on !PPC_ISERIES
377 help
378 This option adds a device-tree directory under /proc which contains
379 an image of the device tree that the kernel copies from Open
380 Firmware. If unsure, say Y here.
381
382config CMDLINE_BOOL
383 bool "Default bootloader kernel arguments"
384 depends on !PPC_ISERIES
385
386config CMDLINE
387 string "Initial kernel command string"
388 depends on CMDLINE_BOOL
389 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
390 help
391 On some platforms, there is currently no way for the boot loader to
392 pass arguments to the kernel. For these platforms, you can supply
393 some command-line options at build time by entering them here. In
394 most cases you will need to specify the root device here.
395
396endmenu
397
398source "drivers/Kconfig"
399
400source "fs/Kconfig"
401
402menu "iSeries device drivers"
403 depends on PPC_ISERIES
404
405config VIOCONS
406 tristate "iSeries Virtual Console Support"
407
408config VIODASD
409 tristate "iSeries Virtual I/O disk support"
410 help
411 If you are running on an iSeries system and you want to use
412 virtual disks created and managed by OS/400, say Y.
413
414config VIOCD
415 tristate "iSeries Virtual I/O CD support"
416 help
417 If you are running Linux on an IBM iSeries system and you want to
418 read a CD drive owned by OS/400, say Y here.
419
420config VIOTAPE
421 tristate "iSeries Virtual Tape Support"
422 help
423 If you are running Linux on an iSeries system and you want Linux
424 to read and/or write a tape drive owned by OS/400, say Y here.
425
426endmenu
427
428config VIOPATH
429 bool
430 depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
431 default y
432
433source "arch/ppc64/oprofile/Kconfig"
434
435source "arch/ppc64/Kconfig.debug"
436
437source "security/Kconfig"
438
439config KEYS_COMPAT
440 bool
441 depends on COMPAT && KEYS
442 default y
443
444source "crypto/Kconfig"
445
446source "lib/Kconfig"