Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ppc64 / Kconfig
blob15c4a1455caee73829879fec90d7345804a4d4a5
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 config 64BIT
7         def_bool y
9 config MMU
10         bool
11         default y
13 config UID16
14         bool
16 config RWSEM_GENERIC_SPINLOCK
17         bool
19 config RWSEM_XCHGADD_ALGORITHM
20         bool
21         default y
23 config GENERIC_CALIBRATE_DELAY
24         bool
25         default y
27 config GENERIC_ISA_DMA
28         bool
29         default y
31 config HAVE_DEC_LOCK
32         bool
33         default y
35 config EARLY_PRINTK
36         bool
37         default y
39 config COMPAT
40         bool
41         default y
43 config FRAME_POINTER
44         bool
45         default y
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"
54 source "init/Kconfig"
56 config SYSVIPC_COMPAT
57         bool
58         depends on COMPAT && SYSVIPC
59         default y
61 menu "Platform support"
63 choice
64         prompt "Platform Type"
65         default PPC_MULTIPLATFORM
67 config PPC_ISERIES
68         bool "IBM Legacy iSeries"
70 config PPC_MULTIPLATFORM
71         bool "Generic"
73 endchoice
75 config PPC_PSERIES
76         depends on PPC_MULTIPLATFORM
77         bool "  IBM pSeries & new iSeries"
78         default y
80 config PPC_PMAC
81         depends on PPC_MULTIPLATFORM
82         bool "  Apple G5 based machines"
83         default y
84         select U3_DART
86 config 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>
96 config PPC
97         bool
98         default y
100 config PPC64
101         bool
102         default y
104 config PPC_OF
105         depends on PPC_MULTIPLATFORM
106         bool
107         default y
109 # VMX is pSeries only for now until somebody writes the iSeries
110 # exception vectors for it
111 config ALTIVEC
112         bool "Support for VMX (Altivec) vector unit"
113         depends on PPC_MULTIPLATFORM
114         default y
116 config 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.
126 config IBMVIO
127         depends on PPC_PSERIES || PPC_ISERIES
128         bool
129         default y
131 config U3_DART
132         bool 
133         depends on PPC_MULTIPLATFORM
134         default n
136 config MPIC_BROKEN_U3
137         bool
138         depends on PPC_MAPLE
139         default y
141 config PPC_PMAC64
142         bool
143         depends on PPC_PMAC
144         default y
146 config 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.
153 config 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.
161 config 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.
173 config 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.
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.
186           If you don't know what to do here, say Y.
188 config NR_CPUS
189         int "Maximum number of CPUs (2-128)"
190         range 2 128
191         depends on SMP
192         default "32"
194 config 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.
201 config DISCONTIGMEM
202         bool "Discontiguous Memory Support"
203         depends on SMP && PPC_PSERIES
205 config NUMA
206         bool "NUMA support"
207         depends on DISCONTIGMEM
209 config 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.
218 config 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.
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.
228 config 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.
236           Say Y here if you are building a kernel for a desktop system.
237           Say N if you are unsure.
239 config EEH
240         bool "PCI Extended Error Handling (EEH)" if EMBEDDED
241         depends on PPC_PSERIES
242         default y if !EMBEDDED
245 # Use the generic interrupt handling code in kernel/irq/:
247 config GENERIC_HARDIRQS
248         bool
249         default y
251 config MSCHUNKS
252         bool
253         depends on PPC_ISERIES
254         default y
257 config PPC_RTAS
258         bool
259         depends on PPC_PSERIES
260         default y
262 config RTAS_PROC
263         bool "Proc interface to RTAS"
264         depends on PPC_RTAS
266 config RTAS_FLASH
267         tristate "Firmware flash interface"
268         depends on RTAS_PROC
270 config SCANLOG
271         tristate "Scanlog dump interface"
272         depends on RTAS_PROC && PPC_PSERIES
274 config LPARCFG
275         tristate "LPAR Configuration Data"
276         depends on PPC_PSERIES || PPC_ISERIES
277         help
278         Provide system capacity information via human readable
279         <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
281 config SECCOMP
282         bool "Enable seccomp to safely compute untrusted bytecode"
283         depends on PROC_FS
284         default y
285         help
286           This kernel feature is useful for number crunching applications
287           that may need to compute untrusted bytecode during their
288           execution. By using pipes or other transports made available to
289           the process as file descriptors supporting the read/write
290           syscalls, it's possible to isolate those applications in
291           their own address space using seccomp. Once seccomp is
292           enabled via /proc/<pid>/seccomp, it cannot be disabled
293           and the task is only allowed to execute a few safe syscalls
294           defined by each seccomp mode.
296           If unsure, say Y. Only embedded should say N here.
298 endmenu
301 menu "General setup"
303 config ISA
304         bool
305         help
306           Find out whether you have ISA slots on your motherboard.  ISA is the
307           name of a bus system, i.e. the way the CPU talks to the other stuff
308           inside your box.  If you have an Apple machine, say N here; if you
309           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
310           you have an embedded board, consult your board documentation.
312 config SBUS
313         bool
315 config MCA
316         bool
318 config EISA
319         bool
321 config PCI
322         bool
323         default y
324         help
325           Find out whether your system includes a PCI bus. PCI is the name of
326           a bus system, i.e. the way the CPU talks to the other stuff inside
327           your box.  If you say Y here, the kernel will include drivers and
328           infrastructure code to support PCI bus devices.
330 config PCI_DOMAINS
331         bool
332         default PCI
334 source "fs/Kconfig.binfmt"
336 source "drivers/pci/Kconfig"
338 config HOTPLUG_CPU
339         bool "Support for hot-pluggable CPUs"
340         depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
341         select HOTPLUG
342         ---help---
343           Say Y here to be able to turn CPUs off and on.
345           Say N if you are unsure.
347 source "drivers/pcmcia/Kconfig"
349 source "drivers/pci/hotplug/Kconfig"
351 config PROC_DEVICETREE
352         bool "Support for Open Firmware device tree in /proc"
353         depends on !PPC_ISERIES
354         help
355           This option adds a device-tree directory under /proc which contains
356           an image of the device tree that the kernel copies from Open
357           Firmware. If unsure, say Y here.
359 config CMDLINE_BOOL
360         bool "Default bootloader kernel arguments"
361         depends on !PPC_ISERIES
363 config CMDLINE
364         string "Initial kernel command string"
365         depends on CMDLINE_BOOL
366         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
367         help
368           On some platforms, there is currently no way for the boot loader to
369           pass arguments to the kernel. For these platforms, you can supply
370           some command-line options at build time by entering them here.  In
371           most cases you will need to specify the root device here.
373 endmenu
375 source "drivers/Kconfig"
377 source "fs/Kconfig"
379 menu "iSeries device drivers"
380         depends on PPC_ISERIES
382 config VIOCONS
383         tristate "iSeries Virtual Console Support"
385 config VIODASD
386         tristate "iSeries Virtual I/O disk support"
387         help
388           If you are running on an iSeries system and you want to use
389           virtual disks created and managed by OS/400, say Y.
391 config VIOCD
392         tristate "iSeries Virtual I/O CD support"
393         help
394           If you are running Linux on an IBM iSeries system and you want to
395           read a CD drive owned by OS/400, say Y here.
397 config VIOTAPE
398         tristate "iSeries Virtual Tape Support"
399         help
400           If you are running Linux on an iSeries system and you want Linux
401           to read and/or write a tape drive owned by OS/400, say Y here.
403 endmenu
405 config VIOPATH
406         bool
407         depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
408         default y
410 source "arch/ppc64/oprofile/Kconfig"
412 source "arch/ppc64/Kconfig.debug"
414 source "security/Kconfig"
416 config KEYS_COMPAT
417         bool
418         depends on COMPAT && KEYS
419         default y
421 source "crypto/Kconfig"
423 source "lib/Kconfig"