]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/ppc64/Kconfig
[PATCH] ppc64: SMU based macs cpufreq support
[linux-2.6-omap-h63xx.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 PPC_STD_MMU
14         def_bool y
15
16 config UID16
17         bool
18
19 config RWSEM_GENERIC_SPINLOCK
20         bool
21
22 config RWSEM_XCHGADD_ALGORITHM
23         bool
24         default y
25
26 config GENERIC_CALIBRATE_DELAY
27         bool
28         default y
29
30 config GENERIC_ISA_DMA
31         bool
32         default y
33
34 config EARLY_PRINTK
35         bool
36         default y
37
38 config COMPAT
39         bool
40         default y
41
42 config SCHED_NO_NO_OMIT_FRAME_POINTER
43         bool
44         default y
45
46 config ARCH_MAY_HAVE_PC_FDC
47         bool
48         default y
49
50 config PPC_STD_MMU
51         bool
52         default y
53
54 # We optimistically allocate largepages from the VM, so make the limit
55 # large enough (16MB). This badly named config option is actually
56 # max order + 1
57 config FORCE_MAX_ZONEORDER
58         int
59         default "13"
60
61 source "init/Kconfig"
62
63 config SYSVIPC_COMPAT
64         bool
65         depends on COMPAT && SYSVIPC
66         default y
67
68 menu "Platform support"
69
70 choice
71         prompt "Platform Type"
72         default PPC_MULTIPLATFORM
73
74 config PPC_ISERIES
75         bool "IBM Legacy iSeries"
76
77 config PPC_MULTIPLATFORM
78         bool "Generic"
79
80 endchoice
81
82 config PPC_PSERIES
83         depends on PPC_MULTIPLATFORM
84         bool "  IBM pSeries & new iSeries"
85         default y
86
87 config PPC_BPA
88         bool "  Broadband Processor Architecture"
89         depends on PPC_MULTIPLATFORM
90
91 config PPC_PMAC
92         depends on PPC_MULTIPLATFORM
93         bool "  Apple G5 based machines"
94         default y
95         select U3_DART
96         select GENERIC_TBSYNC
97
98 config PPC_MAPLE
99         depends on PPC_MULTIPLATFORM
100         bool "  Maple 970FX Evaluation Board"
101         select U3_DART
102         select MPIC_BROKEN_U3
103         select GENERIC_TBSYNC
104         default n
105         help
106           This option enables support for the Maple 970FX Evaluation Board.
107           For more informations, refer to <http://www.970eval.com>
108
109 config PPC
110         bool
111         default y
112
113 config PPC64
114         bool
115         default y
116
117 config PPC_OF
118         depends on PPC_MULTIPLATFORM
119         bool
120         default y
121
122 config XICS
123         depends on PPC_PSERIES
124         bool
125         default y
126
127 config MPIC
128         depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE
129         bool
130         default y
131
132 config PPC_I8259
133         depends on PPC_PSERIES
134         bool
135         default y
136
137 config BPA_IIC
138         depends on PPC_BPA
139         bool
140         default y
141
142 # VMX is pSeries only for now until somebody writes the iSeries
143 # exception vectors for it
144 config ALTIVEC
145         bool "Support for VMX (Altivec) vector unit"
146         depends on PPC_MULTIPLATFORM
147         default y
148
149 config PPC_SPLPAR
150         depends on PPC_PSERIES
151         bool "Support for shared-processor logical partitions"
152         default n
153         help
154           Enabling this option will make the kernel run more efficiently
155           on logically-partitioned pSeries systems which use shared
156           processors, that is, which share physical processors between
157           two or more partitions.
158
159 config KEXEC
160         bool "kexec system call (EXPERIMENTAL)"
161         depends on PPC_MULTIPLATFORM && EXPERIMENTAL
162         help
163           kexec is a system call that implements the ability to shutdown your
164           current kernel, and to start another kernel.  It is like a reboot
165           but it is indepedent of the system firmware.  And like a reboot
166           you can start any kernel with it, not just Linux.
167
168           The name comes from the similiarity to the exec system call.
169
170           It is an ongoing process to be certain the hardware in a machine
171           is properly shutdown, so do not be surprised if this code does not
172           initially work for you.  It may help to enable device hotplugging
173           support.  As of this writing the exact hardware interface is
174           strongly in flux, so no good recommendation can be made.
175
176 source "drivers/cpufreq/Kconfig"
177
178 config CPU_FREQ_PMAC64
179         bool "Support for some Apple G5s"
180         depends on CPU_FREQ && PMAC_SMU && PPC64
181         select CPU_FREQ_TABLE
182         help
183           This adds support for frequency switching on Apple iMac G5,
184           and some of the more recent desktop G5 machines as well.
185
186 config IBMVIO
187         depends on PPC_PSERIES || PPC_ISERIES
188         bool
189         default y
190
191 config U3_DART
192         bool 
193         depends on PPC_MULTIPLATFORM
194         default n
195
196 config MPIC_BROKEN_U3
197         bool
198         depends on PPC_MAPLE
199         default y
200
201 config GENERIC_TBSYNC
202         def_bool n
203
204 config PPC_PMAC64
205         bool
206         depends on PPC_PMAC
207         default y
208
209 config BOOTX_TEXT
210         bool "Support for early boot text console"
211         depends PPC_OF
212         help
213           Say Y here to see progress messages from the boot firmware in text
214           mode. Requires an Open Firmware compatible video card.
215
216 config POWER4
217         def_bool y
218
219 config PPC_FPU
220         def_bool y
221
222 config POWER4_ONLY
223         bool "Optimize for POWER4"
224         default n
225         ---help---
226           Cause the compiler to optimize for POWER4 processors. The resulting
227           binary will not work on POWER3 or RS64 processors when compiled with
228           binutils 2.15 or later.
229
230 config IOMMU_VMERGE
231         bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
232         depends on EXPERIMENTAL
233         default n
234         help
235           Cause IO segments sent to a device for DMA to be merged virtually
236           by the IOMMU when they happen to have been allocated contiguously.
237           This doesn't add pressure to the IOMMU allocator. However, some
238           drivers don't support getting large merged segments coming back
239           from *_map_sg(). Say Y if you know the drivers you are using are
240           properly handling this case.
241
242 config SMP
243         bool "Symmetric multi-processing support"
244         ---help---
245           This enables support for systems with more than one CPU. If you have
246           a system with only one CPU, say N. If you have a system with more
247           than one CPU, say Y.
248
249           If you say N here, the kernel will run on single and multiprocessor
250           machines, but will use only one CPU of a multiprocessor machine. If
251           you say Y here, the kernel will run on single-processor machines.
252           On a single-processor machine, the kernel will run faster if you say
253           N here.
254
255           If you don't know what to do here, say Y.
256
257 config NR_CPUS
258         int "Maximum number of CPUs (2-128)"
259         range 2 128
260         depends on SMP
261         default "32"
262
263 config HMT
264         bool "Hardware multithreading"
265         depends on SMP && PPC_PSERIES && BROKEN
266         help
267           This option enables hardware multithreading on RS64 cpus.
268           pSeries systems p620 and p660 have such a cpu type.
269
270 config NUMA
271         bool "NUMA support"
272         default y if SMP && PPC_PSERIES
273
274 config ARCH_SELECT_MEMORY_MODEL
275         def_bool y
276
277 config ARCH_FLATMEM_ENABLE
278        def_bool y
279        depends on !NUMA
280
281 config ARCH_DISCONTIGMEM_ENABLE
282         def_bool y
283         depends on SMP && PPC_PSERIES
284
285 config ARCH_DISCONTIGMEM_DEFAULT
286         def_bool y
287         depends on ARCH_DISCONTIGMEM_ENABLE
288
289 config ARCH_SPARSEMEM_ENABLE
290         def_bool y
291         depends on ARCH_DISCONTIGMEM_ENABLE
292
293 source "mm/Kconfig"
294
295 config HAVE_ARCH_EARLY_PFN_TO_NID
296         def_bool y
297         depends on NEED_MULTIPLE_NODES
298
299 # Some NUMA nodes have memory ranges that span
300 # other nodes.  Even though a pfn is valid and
301 # between a node's start and end pfns, it may not
302 # reside on that node.
303 #
304 # This is a relatively temporary hack that should
305 # be able to go away when sparsemem is fully in
306 # place
307 config NODES_SPAN_OTHER_NODES
308         def_bool y
309         depends on NEED_MULTIPLE_NODES
310
311 config PPC_64K_PAGES
312         bool "64k page size"
313         help
314           This option changes the kernel logical page size to 64k. On machines
315           without processor support for 64k pages, the kernel will simulate
316           them by loading each individual 4k page on demand transparently,
317           while on hardware with such support, it will be used to map
318           normal application pages.
319
320 config SCHED_SMT
321         bool "SMT (Hyperthreading) scheduler support"
322         depends on SMP
323         default off
324         help
325           SMT scheduler support improves the CPU scheduler's decision making
326           when dealing with POWER5 cpus at a cost of slightly increased
327           overhead in some places. If unsure say N here.
328
329 source "kernel/Kconfig.preempt"
330 source kernel/Kconfig.hz
331
332 config EEH
333         bool "PCI Extended Error Handling (EEH)" if EMBEDDED
334         depends on PPC_PSERIES
335         default y if !EMBEDDED
336
337 #
338 # Use the generic interrupt handling code in kernel/irq/:
339 #
340 config GENERIC_HARDIRQS
341         bool
342         default y
343
344 config PPC_RTAS
345         bool
346         depends on PPC_PSERIES || PPC_BPA
347         default y
348
349 config RTAS_ERROR_LOGGING
350         bool
351         depends on PPC_RTAS
352         default y
353
354 config RTAS_PROC
355         bool "Proc interface to RTAS"
356         depends on PPC_RTAS
357         default y
358
359 config RTAS_FLASH
360         tristate "Firmware flash interface"
361         depends on RTAS_PROC
362
363 config SCANLOG
364         tristate "Scanlog dump interface"
365         depends on RTAS_PROC && PPC_PSERIES
366
367 config LPARCFG
368         tristate "LPAR Configuration Data"
369         depends on PPC_PSERIES || PPC_ISERIES
370         help
371         Provide system capacity information via human readable
372         <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
373
374 config SECCOMP
375         bool "Enable seccomp to safely compute untrusted bytecode"
376         depends on PROC_FS
377         default y
378         help
379           This kernel feature is useful for number crunching applications
380           that may need to compute untrusted bytecode during their
381           execution. By using pipes or other transports made available to
382           the process as file descriptors supporting the read/write
383           syscalls, it's possible to isolate those applications in
384           their own address space using seccomp. Once seccomp is
385           enabled via /proc/<pid>/seccomp, it cannot be disabled
386           and the task is only allowed to execute a few safe syscalls
387           defined by each seccomp mode.
388
389           If unsure, say Y. Only embedded should say N here.
390
391 source "fs/Kconfig.binfmt"
392
393 config HOTPLUG_CPU
394         bool "Support for hot-pluggable CPUs"
395         depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
396         select HOTPLUG
397         ---help---
398           Say Y here to be able to turn CPUs off and on.
399
400           Say N if you are unsure.
401
402 config PROC_DEVICETREE
403         bool "Support for Open Firmware device tree in /proc"
404         help
405           This option adds a device-tree directory under /proc which contains
406           an image of the device tree that the kernel copies from Open
407           Firmware. If unsure, say Y here.
408
409 config CMDLINE_BOOL
410         bool "Default bootloader kernel arguments"
411         depends on !PPC_ISERIES
412
413 config CMDLINE
414         string "Initial kernel command string"
415         depends on CMDLINE_BOOL
416         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
417         help
418           On some platforms, there is currently no way for the boot loader to
419           pass arguments to the kernel. For these platforms, you can supply
420           some command-line options at build time by entering them here.  In
421           most cases you will need to specify the root device here.
422
423 endmenu
424
425 config ISA_DMA_API
426         bool
427         default y
428
429 menu "Bus Options"
430
431 config ISA
432         bool
433         help
434           Find out whether you have ISA slots on your motherboard.  ISA is the
435           name of a bus system, i.e. the way the CPU talks to the other stuff
436           inside your box.  If you have an Apple machine, say N here; if you
437           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
438           you have an embedded board, consult your board documentation.
439
440 config SBUS
441         bool
442
443 config MCA
444         bool
445
446 config EISA
447         bool
448
449 config PCI
450         bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
451         default y
452         help
453           Find out whether your system includes a PCI bus. PCI is the name of
454           a bus system, i.e. the way the CPU talks to the other stuff inside
455           your box.  If you say Y here, the kernel will include drivers and
456           infrastructure code to support PCI bus devices.
457
458 config PCI_DOMAINS
459         bool
460         default PCI
461
462 source "drivers/pci/Kconfig"
463
464 source "drivers/pcmcia/Kconfig"
465
466 source "drivers/pci/hotplug/Kconfig"
467
468 endmenu
469
470 source "net/Kconfig"
471
472 source "drivers/Kconfig"
473
474 source "fs/Kconfig"
475
476 menu "iSeries device drivers"
477         depends on PPC_ISERIES
478
479 config VIOCONS
480         tristate "iSeries Virtual Console Support"
481
482 config VIODASD
483         tristate "iSeries Virtual I/O disk support"
484         help
485           If you are running on an iSeries system and you want to use
486           virtual disks created and managed by OS/400, say Y.
487
488 config VIOCD
489         tristate "iSeries Virtual I/O CD support"
490         help
491           If you are running Linux on an IBM iSeries system and you want to
492           read a CD drive owned by OS/400, say Y here.
493
494 config VIOTAPE
495         tristate "iSeries Virtual Tape Support"
496         help
497           If you are running Linux on an iSeries system and you want Linux
498           to read and/or write a tape drive owned by OS/400, say Y here.
499
500 endmenu
501
502 config VIOPATH
503         bool
504         depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
505         default y
506
507 source "arch/powerpc/oprofile/Kconfig"
508
509 source "arch/ppc64/Kconfig.debug"
510
511 source "security/Kconfig"
512
513 config KEYS_COMPAT
514         bool
515         depends on COMPAT && KEYS
516         default y
517
518 source "crypto/Kconfig"
519
520 source "lib/Kconfig"