]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # For a description of the syntax of this configuration file, | |
3 | # see Documentation/kbuild/kconfig-language.txt. | |
4 | # | |
5 | ||
6 | config 64BIT | |
7 | def_bool y | |
8 | ||
9 | config MMU | |
10 | bool | |
11 | default y | |
12 | ||
13 | config UID16 | |
14 | bool | |
15 | ||
16 | config RWSEM_GENERIC_SPINLOCK | |
17 | bool | |
18 | ||
19 | config RWSEM_XCHGADD_ALGORITHM | |
20 | bool | |
21 | default y | |
22 | ||
23 | config GENERIC_CALIBRATE_DELAY | |
24 | bool | |
25 | default y | |
26 | ||
27 | config GENERIC_ISA_DMA | |
28 | bool | |
29 | default y | |
30 | ||
31 | config HAVE_DEC_LOCK | |
32 | bool | |
33 | default y | |
34 | ||
35 | config EARLY_PRINTK | |
36 | bool | |
37 | default y | |
38 | ||
39 | config COMPAT | |
40 | bool | |
41 | default y | |
42 | ||
7d12e522 AB |
43 | config SCHED_NO_NO_OMIT_FRAME_POINTER |
44 | bool | |
45 | default y | |
46 | ||
1da177e4 LT |
47 | # 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 | |
50 | config FORCE_MAX_ZONEORDER | |
51 | int | |
52 | default "13" | |
53 | ||
54 | source "init/Kconfig" | |
55 | ||
56 | config SYSVIPC_COMPAT | |
57 | bool | |
58 | depends on COMPAT && SYSVIPC | |
59 | default y | |
60 | ||
61 | menu "Platform support" | |
62 | ||
63 | choice | |
64 | prompt "Platform Type" | |
65 | default PPC_MULTIPLATFORM | |
66 | ||
67 | config PPC_ISERIES | |
68 | bool "IBM Legacy iSeries" | |
69 | ||
70 | config PPC_MULTIPLATFORM | |
71 | bool "Generic" | |
72 | ||
73 | endchoice | |
74 | ||
75 | config PPC_PSERIES | |
76 | depends on PPC_MULTIPLATFORM | |
77 | bool " IBM pSeries & new iSeries" | |
78 | default y | |
79 | ||
fef1c772 AB |
80 | config PPC_BPA |
81 | bool " Broadband Processor Architecture" | |
82 | depends on PPC_MULTIPLATFORM | |
83 | ||
1da177e4 LT |
84 | config PPC_PMAC |
85 | depends on PPC_MULTIPLATFORM | |
86 | bool " Apple G5 based machines" | |
87 | default y | |
88 | select U3_DART | |
89 | ||
90 | config 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 | ||
100 | config PPC | |
101 | bool | |
102 | default y | |
103 | ||
104 | config PPC64 | |
105 | bool | |
106 | default y | |
107 | ||
108 | config PPC_OF | |
109 | depends on PPC_MULTIPLATFORM | |
110 | bool | |
111 | default y | |
112 | ||
cebf589c AB |
113 | config XICS |
114 | depends on PPC_PSERIES | |
115 | bool | |
116 | default y | |
117 | ||
118 | config MPIC | |
119 | depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE | |
120 | bool | |
121 | default y | |
122 | ||
123 | config BPA_IIC | |
124 | depends on PPC_BPA | |
125 | bool | |
126 | default y | |
127 | ||
1da177e4 LT |
128 | # VMX is pSeries only for now until somebody writes the iSeries |
129 | # exception vectors for it | |
130 | config ALTIVEC | |
131 | bool "Support for VMX (Altivec) vector unit" | |
132 | depends on PPC_MULTIPLATFORM | |
133 | default y | |
134 | ||
135 | config 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 | ||
145 | config IBMVIO | |
146 | depends on PPC_PSERIES || PPC_ISERIES | |
147 | bool | |
148 | default y | |
149 | ||
150 | config U3_DART | |
151 | bool | |
152 | depends on PPC_MULTIPLATFORM | |
153 | default n | |
154 | ||
155 | config MPIC_BROKEN_U3 | |
156 | bool | |
157 | depends on PPC_MAPLE | |
158 | default y | |
159 | ||
160 | config PPC_PMAC64 | |
161 | bool | |
162 | depends on PPC_PMAC | |
163 | default y | |
164 | ||
165 | config 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 | ||
172 | config 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 | ||
180 | config 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 | ||
192 | config 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 | ||
207 | config NR_CPUS | |
208 | int "Maximum number of CPUs (2-128)" | |
209 | range 2 128 | |
210 | depends on SMP | |
211 | default "32" | |
212 | ||
213 | config 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 | ||
145e6642 AW |
220 | config ARCH_SELECT_MEMORY_MODEL |
221 | def_bool y | |
222 | ||
223 | config ARCH_FLATMEM_ENABLE | |
224 | def_bool y | |
225 | depends on !NUMA | |
226 | ||
3f22ab27 | 227 | config ARCH_DISCONTIGMEM_ENABLE |
368a0a3a | 228 | def_bool y |
1da177e4 LT |
229 | depends on SMP && PPC_PSERIES |
230 | ||
368a0a3a MK |
231 | config ARCH_DISCONTIGMEM_DEFAULT |
232 | def_bool y | |
233 | depends on ARCH_DISCONTIGMEM_ENABLE | |
234 | ||
235 | config ARCH_FLATMEM_ENABLE | |
236 | def_bool y | |
237 | ||
145e6642 AW |
238 | config ARCH_SPARSEMEM_ENABLE |
239 | def_bool y | |
240 | depends on ARCH_DISCONTIGMEM_ENABLE | |
241 | ||
3f22ab27 DH |
242 | source "mm/Kconfig" |
243 | ||
510f8fa7 | 244 | config HAVE_ARCH_EARLY_PFN_TO_NID |
74b30be2 AW |
245 | def_bool y |
246 | depends on NEED_MULTIPLE_NODES | |
510f8fa7 | 247 | |
641c7673 AW |
248 | # 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 | |
256 | config NODES_SPAN_OTHER_NODES | |
257 | def_bool y | |
258 | depends on NEED_MULTIPLE_NODES | |
259 | ||
1da177e4 LT |
260 | config NUMA |
261 | bool "NUMA support" | |
145e6642 | 262 | default y if DISCONTIGMEM || SPARSEMEM |
1da177e4 LT |
263 | |
264 | config 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 | ||
cc19ca86 | 273 | source "kernel/Kconfig.preempt" |
1da177e4 LT |
274 | |
275 | config EEH | |
276 | bool "PCI Extended Error Handling (EEH)" if EMBEDDED | |
277 | depends on PPC_PSERIES | |
278 | default y if !EMBEDDED | |
279 | ||
280 | # | |
281 | # Use the generic interrupt handling code in kernel/irq/: | |
282 | # | |
283 | config GENERIC_HARDIRQS | |
284 | bool | |
285 | default y | |
286 | ||
287 | config MSCHUNKS | |
288 | bool | |
289 | depends on PPC_ISERIES | |
290 | default y | |
291 | ||
292 | ||
293 | config PPC_RTAS | |
294 | bool | |
fef1c772 | 295 | depends on PPC_PSERIES || PPC_BPA |
1da177e4 LT |
296 | default y |
297 | ||
298 | config RTAS_PROC | |
299 | bool "Proc interface to RTAS" | |
300 | depends on PPC_RTAS | |
b7c2b704 | 301 | default y |
1da177e4 LT |
302 | |
303 | config RTAS_FLASH | |
304 | tristate "Firmware flash interface" | |
305 | depends on RTAS_PROC | |
306 | ||
307 | config SCANLOG | |
308 | tristate "Scanlog dump interface" | |
309 | depends on RTAS_PROC && PPC_PSERIES | |
310 | ||
311 | config LPARCFG | |
312 | tristate "LPAR Configuration Data" | |
313 | depends on PPC_PSERIES || PPC_ISERIES | |
314 | help | |
315 | Provide system capacity information via human readable | |
316 | <key word>=<value> pairs through a /proc/ppc64/lparcfg interface. | |
317 | ||
318 | config SECCOMP | |
319 | bool "Enable seccomp to safely compute untrusted bytecode" | |
320 | depends on PROC_FS | |
321 | default y | |
322 | help | |
323 | This kernel feature is useful for number crunching applications | |
324 | that may need to compute untrusted bytecode during their | |
325 | execution. By using pipes or other transports made available to | |
326 | the process as file descriptors supporting the read/write | |
327 | syscalls, it's possible to isolate those applications in | |
328 | their own address space using seccomp. Once seccomp is | |
329 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
330 | and the task is only allowed to execute a few safe syscalls | |
331 | defined by each seccomp mode. | |
332 | ||
333 | If unsure, say Y. Only embedded should say N here. | |
334 | ||
335 | endmenu | |
336 | ||
5cae841b AV |
337 | config ISA_DMA_API |
338 | bool | |
339 | default y | |
1da177e4 LT |
340 | |
341 | menu "General setup" | |
342 | ||
343 | config ISA | |
344 | bool | |
345 | help | |
346 | Find out whether you have ISA slots on your motherboard. ISA is the | |
347 | name of a bus system, i.e. the way the CPU talks to the other stuff | |
348 | inside your box. If you have an Apple machine, say N here; if you | |
349 | have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If | |
350 | you have an embedded board, consult your board documentation. | |
351 | ||
352 | config SBUS | |
353 | bool | |
354 | ||
355 | config MCA | |
356 | bool | |
357 | ||
358 | config EISA | |
359 | bool | |
360 | ||
361 | config PCI | |
145d01e4 | 362 | bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES) |
1da177e4 LT |
363 | default y |
364 | help | |
365 | Find out whether your system includes a PCI bus. PCI is the name of | |
366 | a bus system, i.e. the way the CPU talks to the other stuff inside | |
367 | your box. If you say Y here, the kernel will include drivers and | |
368 | infrastructure code to support PCI bus devices. | |
369 | ||
370 | config PCI_DOMAINS | |
371 | bool | |
372 | default PCI | |
373 | ||
374 | source "fs/Kconfig.binfmt" | |
375 | ||
376 | source "drivers/pci/Kconfig" | |
377 | ||
378 | config HOTPLUG_CPU | |
379 | bool "Support for hot-pluggable CPUs" | |
380 | depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC) | |
381 | select HOTPLUG | |
382 | ---help--- | |
383 | Say Y here to be able to turn CPUs off and on. | |
384 | ||
385 | Say N if you are unsure. | |
386 | ||
387 | source "drivers/pcmcia/Kconfig" | |
388 | ||
389 | source "drivers/pci/hotplug/Kconfig" | |
390 | ||
391 | config PROC_DEVICETREE | |
392 | bool "Support for Open Firmware device tree in /proc" | |
393 | depends on !PPC_ISERIES | |
394 | help | |
395 | This option adds a device-tree directory under /proc which contains | |
396 | an image of the device tree that the kernel copies from Open | |
397 | Firmware. If unsure, say Y here. | |
398 | ||
399 | config CMDLINE_BOOL | |
400 | bool "Default bootloader kernel arguments" | |
401 | depends on !PPC_ISERIES | |
402 | ||
403 | config CMDLINE | |
404 | string "Initial kernel command string" | |
405 | depends on CMDLINE_BOOL | |
406 | default "console=ttyS0,9600 console=tty0 root=/dev/sda2" | |
407 | help | |
408 | On some platforms, there is currently no way for the boot loader to | |
409 | pass arguments to the kernel. For these platforms, you can supply | |
410 | some command-line options at build time by entering them here. In | |
411 | most cases you will need to specify the root device here. | |
412 | ||
413 | endmenu | |
414 | ||
415 | source "drivers/Kconfig" | |
416 | ||
417 | source "fs/Kconfig" | |
418 | ||
419 | menu "iSeries device drivers" | |
420 | depends on PPC_ISERIES | |
421 | ||
422 | config VIOCONS | |
423 | tristate "iSeries Virtual Console Support" | |
424 | ||
425 | config VIODASD | |
426 | tristate "iSeries Virtual I/O disk support" | |
427 | help | |
428 | If you are running on an iSeries system and you want to use | |
429 | virtual disks created and managed by OS/400, say Y. | |
430 | ||
431 | config VIOCD | |
432 | tristate "iSeries Virtual I/O CD support" | |
433 | help | |
434 | If you are running Linux on an IBM iSeries system and you want to | |
435 | read a CD drive owned by OS/400, say Y here. | |
436 | ||
437 | config VIOTAPE | |
438 | tristate "iSeries Virtual Tape Support" | |
439 | help | |
440 | If you are running Linux on an iSeries system and you want Linux | |
441 | to read and/or write a tape drive owned by OS/400, say Y here. | |
442 | ||
443 | endmenu | |
444 | ||
445 | config VIOPATH | |
446 | bool | |
447 | depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH | |
448 | default y | |
449 | ||
450 | source "arch/ppc64/oprofile/Kconfig" | |
451 | ||
452 | source "arch/ppc64/Kconfig.debug" | |
453 | ||
454 | source "security/Kconfig" | |
455 | ||
456 | config KEYS_COMPAT | |
457 | bool | |
458 | depends on COMPAT && KEYS | |
459 | default y | |
460 | ||
461 | source "crypto/Kconfig" | |
462 | ||
463 | source "lib/Kconfig" |