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