blob: f5508abf1188a866e6c8b549b2548defcfbee010 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070043# 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
46config FORCE_MAX_ZONEORDER
47 int
48 default "13"
49
50source "init/Kconfig"
51
52config SYSVIPC_COMPAT
53 bool
54 depends on COMPAT && SYSVIPC
55 default y
56
57menu "Platform support"
58
59choice
60 prompt "Platform Type"
61 default PPC_MULTIPLATFORM
62
63config PPC_ISERIES
64 bool "IBM Legacy iSeries"
65
66config PPC_MULTIPLATFORM
67 bool "Generic"
68
69endchoice
70
71config PPC_PSERIES
72 depends on PPC_MULTIPLATFORM
73 bool " IBM pSeries & new iSeries"
74 default y
75
76config PPC_PMAC
77 depends on PPC_MULTIPLATFORM
78 bool " Apple G5 based machines"
79 default y
80 select U3_DART
81
82config PPC_MAPLE
83 depends on PPC_MULTIPLATFORM
84 bool " Maple 970FX Evaluation Board"
85 select U3_DART
86 select MPIC_BROKEN_U3
87 default n
88 help
89 This option enables support for the Maple 970FX Evaluation Board.
90 For more informations, refer to <http://www.970eval.com>
91
92config PPC
93 bool
94 default y
95
96config PPC64
97 bool
98 default y
99
100config PPC_OF
101 depends on PPC_MULTIPLATFORM
102 bool
103 default y
104
105# VMX is pSeries only for now until somebody writes the iSeries
106# exception vectors for it
107config ALTIVEC
108 bool "Support for VMX (Altivec) vector unit"
109 depends on PPC_MULTIPLATFORM
110 default y
111
112config PPC_SPLPAR
113 depends on PPC_PSERIES
114 bool "Support for shared-processor logical partitions"
115 default n
116 help
117 Enabling this option will make the kernel run more efficiently
118 on logically-partitioned pSeries systems which use shared
119 processors, that is, which share physical processors between
120 two or more partitions.
121
122config IBMVIO
123 depends on PPC_PSERIES || PPC_ISERIES
124 bool
125 default y
126
127config U3_DART
128 bool
129 depends on PPC_MULTIPLATFORM
130 default n
131
132config MPIC_BROKEN_U3
133 bool
134 depends on PPC_MAPLE
135 default y
136
137config PPC_PMAC64
138 bool
139 depends on PPC_PMAC
140 default y
141
142config BOOTX_TEXT
143 bool "Support for early boot text console"
144 depends PPC_OF
145 help
146 Say Y here to see progress messages from the boot firmware in text
147 mode. Requires an Open Firmware compatible video card.
148
149config POWER4_ONLY
150 bool "Optimize for POWER4"
151 default n
152 ---help---
153 Cause the compiler to optimize for POWER4 processors. The resulting
154 binary will not work on POWER3 or RS64 processors when compiled with
155 binutils 2.15 or later.
156
157config IOMMU_VMERGE
158 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
159 depends on EXPERIMENTAL
160 default n
161 help
162 Cause IO segments sent to a device for DMA to be merged virtually
163 by the IOMMU when they happen to have been allocated contiguously.
164 This doesn't add pressure to the IOMMU allocator. However, some
165 drivers don't support getting large merged segments coming back
166 from *_map_sg(). Say Y if you know the drivers you are using are
167 properly handling this case.
168
169config SMP
170 bool "Symmetric multi-processing support"
171 ---help---
172 This enables support for systems with more than one CPU. If you have
173 a system with only one CPU, say N. If you have a system with more
174 than one CPU, say Y.
175
176 If you say N here, the kernel will run on single and multiprocessor
177 machines, but will use only one CPU of a multiprocessor machine. If
178 you say Y here, the kernel will run on single-processor machines.
179 On a single-processor machine, the kernel will run faster if you say
180 N here.
181
182 If you don't know what to do here, say Y.
183
184config NR_CPUS
185 int "Maximum number of CPUs (2-128)"
186 range 2 128
187 depends on SMP
188 default "32"
189
190config HMT
191 bool "Hardware multithreading"
192 depends on SMP && PPC_PSERIES && BROKEN
193 help
194 This option enables hardware multithreading on RS64 cpus.
195 pSeries systems p620 and p660 have such a cpu type.
196
197config DISCONTIGMEM
198 bool "Discontiguous Memory Support"
199 depends on SMP && PPC_PSERIES
200
201config NUMA
202 bool "NUMA support"
203 depends on DISCONTIGMEM
204
205config SCHED_SMT
206 bool "SMT (Hyperthreading) scheduler support"
207 depends on SMP
208 default off
209 help
210 SMT scheduler support improves the CPU scheduler's decision making
211 when dealing with POWER5 cpus at a cost of slightly increased
212 overhead in some places. If unsure say N here.
213
214config PREEMPT
215 bool "Preemptible Kernel"
216 help
217 This option reduces the latency of the kernel when reacting to
218 real-time or interactive events by allowing a low priority process to
219 be preempted even if it is in kernel mode executing a system call.
220
221 Say Y here if you are building a kernel for a desktop, embedded
222 or real-time system. Say N if you are unsure.
223
224config PREEMPT_BKL
225 bool "Preempt The Big Kernel Lock"
226 depends on PREEMPT
227 default y
228 help
229 This option reduces the latency of the kernel by making the
230 big kernel lock preemptible.
231
232 Say Y here if you are building a kernel for a desktop system.
233 Say N if you are unsure.
234
235config EEH
236 bool "PCI Extended Error Handling (EEH)" if EMBEDDED
237 depends on PPC_PSERIES
238 default y if !EMBEDDED
239
240#
241# Use the generic interrupt handling code in kernel/irq/:
242#
243config GENERIC_HARDIRQS
244 bool
245 default y
246
247config MSCHUNKS
248 bool
249 depends on PPC_ISERIES
250 default y
251
252
253config PPC_RTAS
254 bool
255 depends on PPC_PSERIES
256 default y
257
258config RTAS_PROC
259 bool "Proc interface to RTAS"
260 depends on PPC_RTAS
261
262config RTAS_FLASH
263 tristate "Firmware flash interface"
264 depends on RTAS_PROC
265
266config SCANLOG
267 tristate "Scanlog dump interface"
268 depends on RTAS_PROC && PPC_PSERIES
269
270config LPARCFG
271 tristate "LPAR Configuration Data"
272 depends on PPC_PSERIES || PPC_ISERIES
273 help
274 Provide system capacity information via human readable
275 <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
276
277config SECCOMP
278 bool "Enable seccomp to safely compute untrusted bytecode"
279 depends on PROC_FS
280 default y
281 help
282 This kernel feature is useful for number crunching applications
283 that may need to compute untrusted bytecode during their
284 execution. By using pipes or other transports made available to
285 the process as file descriptors supporting the read/write
286 syscalls, it's possible to isolate those applications in
287 their own address space using seccomp. Once seccomp is
288 enabled via /proc/<pid>/seccomp, it cannot be disabled
289 and the task is only allowed to execute a few safe syscalls
290 defined by each seccomp mode.
291
292 If unsure, say Y. Only embedded should say N here.
293
294endmenu
295
Al Viro5cae8412005-05-04 05:39:22 +0100296config ISA_DMA_API
297 bool
298 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700299
300menu "General setup"
301
302config ISA
303 bool
304 help
305 Find out whether you have ISA slots on your motherboard. ISA is the
306 name of a bus system, i.e. the way the CPU talks to the other stuff
307 inside your box. If you have an Apple machine, say N here; if you
308 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
309 you have an embedded board, consult your board documentation.
310
311config SBUS
312 bool
313
314config MCA
315 bool
316
317config EISA
318 bool
319
320config PCI
321 bool
322 default y
323 help
324 Find out whether your system includes a PCI bus. PCI is the name of
325 a bus system, i.e. the way the CPU talks to the other stuff inside
326 your box. If you say Y here, the kernel will include drivers and
327 infrastructure code to support PCI bus devices.
328
329config PCI_DOMAINS
330 bool
331 default PCI
332
333source "fs/Kconfig.binfmt"
334
335source "drivers/pci/Kconfig"
336
337config HOTPLUG_CPU
338 bool "Support for hot-pluggable CPUs"
339 depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
340 select HOTPLUG
341 ---help---
342 Say Y here to be able to turn CPUs off and on.
343
344 Say N if you are unsure.
345
346source "drivers/pcmcia/Kconfig"
347
348source "drivers/pci/hotplug/Kconfig"
349
350config PROC_DEVICETREE
351 bool "Support for Open Firmware device tree in /proc"
352 depends on !PPC_ISERIES
353 help
354 This option adds a device-tree directory under /proc which contains
355 an image of the device tree that the kernel copies from Open
356 Firmware. If unsure, say Y here.
357
358config CMDLINE_BOOL
359 bool "Default bootloader kernel arguments"
360 depends on !PPC_ISERIES
361
362config CMDLINE
363 string "Initial kernel command string"
364 depends on CMDLINE_BOOL
365 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
366 help
367 On some platforms, there is currently no way for the boot loader to
368 pass arguments to the kernel. For these platforms, you can supply
369 some command-line options at build time by entering them here. In
370 most cases you will need to specify the root device here.
371
372endmenu
373
374source "drivers/Kconfig"
375
376source "fs/Kconfig"
377
378menu "iSeries device drivers"
379 depends on PPC_ISERIES
380
381config VIOCONS
382 tristate "iSeries Virtual Console Support"
383
384config VIODASD
385 tristate "iSeries Virtual I/O disk support"
386 help
387 If you are running on an iSeries system and you want to use
388 virtual disks created and managed by OS/400, say Y.
389
390config VIOCD
391 tristate "iSeries Virtual I/O CD support"
392 help
393 If you are running Linux on an IBM iSeries system and you want to
394 read a CD drive owned by OS/400, say Y here.
395
396config VIOTAPE
397 tristate "iSeries Virtual Tape Support"
398 help
399 If you are running Linux on an iSeries system and you want Linux
400 to read and/or write a tape drive owned by OS/400, say Y here.
401
402endmenu
403
404config VIOPATH
405 bool
406 depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
407 default y
408
409source "arch/ppc64/oprofile/Kconfig"
410
411source "arch/ppc64/Kconfig.debug"
412
413source "security/Kconfig"
414
415config KEYS_COMPAT
416 bool
417 depends on COMPAT && KEYS
418 default y
419
420source "crypto/Kconfig"
421
422source "lib/Kconfig"