blob: ef1f05e437c4dc9d908076a82a22f5364a471198 [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
296
297menu "General setup"
298
299config ISA
300 bool
301 help
302 Find out whether you have ISA slots on your motherboard. ISA is the
303 name of a bus system, i.e. the way the CPU talks to the other stuff
304 inside your box. If you have an Apple machine, say N here; if you
305 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
306 you have an embedded board, consult your board documentation.
307
308config SBUS
309 bool
310
311config MCA
312 bool
313
314config EISA
315 bool
316
317config PCI
318 bool
319 default y
320 help
321 Find out whether your system includes a PCI bus. PCI is the name of
322 a bus system, i.e. the way the CPU talks to the other stuff inside
323 your box. If you say Y here, the kernel will include drivers and
324 infrastructure code to support PCI bus devices.
325
326config PCI_DOMAINS
327 bool
328 default PCI
329
330source "fs/Kconfig.binfmt"
331
332source "drivers/pci/Kconfig"
333
334config HOTPLUG_CPU
335 bool "Support for hot-pluggable CPUs"
336 depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
337 select HOTPLUG
338 ---help---
339 Say Y here to be able to turn CPUs off and on.
340
341 Say N if you are unsure.
342
343source "drivers/pcmcia/Kconfig"
344
345source "drivers/pci/hotplug/Kconfig"
346
347config PROC_DEVICETREE
348 bool "Support for Open Firmware device tree in /proc"
349 depends on !PPC_ISERIES
350 help
351 This option adds a device-tree directory under /proc which contains
352 an image of the device tree that the kernel copies from Open
353 Firmware. If unsure, say Y here.
354
355config CMDLINE_BOOL
356 bool "Default bootloader kernel arguments"
357 depends on !PPC_ISERIES
358
359config CMDLINE
360 string "Initial kernel command string"
361 depends on CMDLINE_BOOL
362 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
363 help
364 On some platforms, there is currently no way for the boot loader to
365 pass arguments to the kernel. For these platforms, you can supply
366 some command-line options at build time by entering them here. In
367 most cases you will need to specify the root device here.
368
369endmenu
370
371source "drivers/Kconfig"
372
373source "fs/Kconfig"
374
375menu "iSeries device drivers"
376 depends on PPC_ISERIES
377
378config VIOCONS
379 tristate "iSeries Virtual Console Support"
380
381config VIODASD
382 tristate "iSeries Virtual I/O disk support"
383 help
384 If you are running on an iSeries system and you want to use
385 virtual disks created and managed by OS/400, say Y.
386
387config VIOCD
388 tristate "iSeries Virtual I/O CD support"
389 help
390 If you are running Linux on an IBM iSeries system and you want to
391 read a CD drive owned by OS/400, say Y here.
392
393config VIOTAPE
394 tristate "iSeries Virtual Tape Support"
395 help
396 If you are running Linux on an iSeries system and you want Linux
397 to read and/or write a tape drive owned by OS/400, say Y here.
398
399endmenu
400
401config VIOPATH
402 bool
403 depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
404 default y
405
406source "arch/ppc64/oprofile/Kconfig"
407
408source "arch/ppc64/Kconfig.debug"
409
410source "security/Kconfig"
411
412config KEYS_COMPAT
413 bool
414 depends on COMPAT && KEYS
415 default y
416
417source "crypto/Kconfig"
418
419source "lib/Kconfig"