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