2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
16 config RWSEM_GENERIC_SPINLOCK
19 config RWSEM_XCHGADD_ALGORITHM
23 config GENERIC_ISA_DMA
43 # We optimistically allocate largepages from the VM, so make the limit
44 # large enough (16MB). This badly named config option is actually
46 config FORCE_MAX_ZONEORDER
54 depends on COMPAT && SYSVIPC
57 menu "Platform support"
60 prompt "Platform Type"
67 bool "pSeries / PowerMac G5"
80 depends on PPC_PSERIES
84 # VMX is pSeries only for now until somebody writes the iSeries
85 # exception vectors for it
87 bool "Support for VMX (Altivec) vector unit"
88 depends on PPC_PSERIES
92 depends on PPC_PSERIES
93 bool "Apple PowerMac G5 support"
97 depends on PPC_PSERIES
98 bool "Support for shared-processor logical partitions"
101 Enabling this option will make the kernel run more efficiently
102 on logically-partitioned pSeries systems which use shared
103 processors, that is, which share physical processors between
104 two or more partitions.
107 bool "Enable DART/IOMMU on PowerMac (allow >2G of RAM)"
109 depends on EXPERIMENTAL
112 Enabling DART makes it possible to boot a PowerMac G5 with more
113 than 2GB of memory. Note that the code is very new and untested
114 at this time, so it has to be considered experimental. Enabling
115 this might result in data loss.
123 bool "Support for early boot text console"
126 Say Y here to see progress messages from the boot firmware in text
127 mode. Requires an Open Firmware compatible video card.
130 bool "Optimize for POWER4"
133 Cause the compiler to optimize for POWER4 processors. The resulting
134 binary will not work on POWER3 or RS64 processors when compiled with
135 binutils 2.15 or later.
138 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
139 depends on EXPERIMENTAL
142 Cause IO segments sent to a device for DMA to be merged virtually
143 by the IOMMU when they happen to have been allocated contiguously.
144 This doesn't add pressure to the IOMMU allocator. However, some
145 drivers don't support getting large merged segments coming back
146 from *_map_sg(). Say Y if you know the drivers you are using are
147 properly handling this case.
150 bool "Symmetric multi-processing support"
152 This enables support for systems with more than one CPU. If you have
153 a system with only one CPU, say N. If you have a system with more
156 If you say N here, the kernel will run on single and multiprocessor
157 machines, but will use only one CPU of a multiprocessor machine. If
158 you say Y here, the kernel will run on single-processor machines.
159 On a single-processor machine, the kernel will run faster if you say
162 If you don't know what to do here, say Y.
165 bool "Distribute interrupts on all CPUs by default"
166 depends on SMP && PPC_PSERIES
168 This option gives the kernel permission to distribute IRQs across
169 multiple CPUs. Saying N here will route all IRQs to the first
173 int "Maximum number of CPUs (2-128)"
179 bool "Hardware multithreading"
180 depends on SMP && PPC_PSERIES
183 bool "Discontiguous Memory Support"
184 depends on SMP && PPC_PSERIES
188 depends on DISCONTIGMEM
191 bool "SMT (Hyperthreading) scheduler support"
195 SMT scheduler support improves the CPU scheduler's decision making
196 when dealing with POWER5 cpus at a cost of slightly increased
197 overhead in some places. If unsure say N here.
200 bool "Preemptible Kernel"
202 This option reduces the latency of the kernel when reacting to
203 real-time or interactive events by allowing a low priority process to
204 be preempted even if it is in kernel mode executing a system call.
206 Say Y here if you are building a kernel for a desktop, embedded
207 or real-time system. Say N if you are unsure.
211 depends on PPC_ISERIES
216 bool "Proc interface to RTAS"
217 depends on !PPC_ISERIES
220 tristate "Firmware flash interface"
224 tristate "Scanlog dump interface"
228 tristate "LPAR Configuration Data"
230 Provide system capacity information via human readable
231 <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
241 Find out whether you have ISA slots on your motherboard. ISA is the
242 name of a bus system, i.e. the way the CPU talks to the other stuff
243 inside your box. If you have an Apple machine, say N here; if you
244 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
245 you have an embedded board, consult your board documentation.
260 Find out whether your system includes a PCI bus. PCI is the name of
261 a bus system, i.e. the way the CPU talks to the other stuff inside
262 your box. If you say Y here, the kernel will include drivers and
263 infrastructure code to support PCI bus devices.
269 source "fs/Kconfig.binfmt"
271 source "drivers/pci/Kconfig"
274 bool "Support for hot-pluggable CPUs"
275 depends on SMP && HOTPLUG && EXPERIMENTAL
277 Say Y here to be able to turn CPUs off and on.
279 Say N if you are unsure.
281 source "drivers/pcmcia/Kconfig"
283 source "drivers/pci/hotplug/Kconfig"
285 config PROC_DEVICETREE
286 bool "Support for Open Firmware device tree in /proc"
287 depends on !PPC_ISERIES
289 This option adds a device-tree directory under /proc which contains
290 an image of the device tree that the kernel copies from Open
291 Firmware. If unsure, say Y here.
294 bool "Default bootloader kernel arguments"
295 depends on !PPC_ISERIES
298 string "Initial kernel command string"
299 depends on CMDLINE_BOOL
300 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
302 On some platforms, there is currently no way for the boot loader to
303 pass arguments to the kernel. For these platforms, you can supply
304 some command-line options at build time by entering them here. In
305 most cases you will need to specify the root device here.
309 source "drivers/Kconfig"
313 menu "iSeries device drivers"
314 depends on PPC_ISERIES
317 tristate "iSeries Virtual Console Support"
320 tristate "iSeries Virtual I/O disk support"
322 If you are running on an iSeries system and you want to use
323 virtual disks created and managed by OS/400, say Y.
326 tristate "iSeries Virtual I/O CD support"
328 If you are running Linux on an IBM iSeries system and you want to
329 read a CD drive owned by OS/400, say Y here.
332 tristate "iSeries Virtual Tape Support"
334 If you are running Linux on an iSeries system and you want Linux
335 to read and/or write a tape drive owned by OS/400, say Y here.
341 depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
344 source "arch/ppc64/oprofile/Kconfig"
346 menu "Kernel hacking"
349 bool "Kernel debugging"
351 Say Y here if you are developing drivers or trying to debug and
352 identify kernel problems.
354 config DEBUG_STACKOVERFLOW
355 bool "Check for stack overflows"
356 depends on DEBUG_KERNEL
358 config DEBUG_STACK_USAGE
359 bool "Stack utilization instrumentation"
360 depends on DEBUG_KERNEL
362 Enables the display of the minimum amount of free stack which each
363 task has ever had available in the sysrq-T and sysrq-P debug output.
365 This option will slow down process creation somewhat.
368 bool "Debug memory allocations"
369 depends on DEBUG_KERNEL
371 Say Y here to have the kernel do limited verification on memory
372 allocation as well as poisoning memory on free to catch use of freed
376 bool "Magic SysRq key"
377 depends on DEBUG_KERNEL
379 If you say Y here, you will have some control over the system even
380 if the system crashes for example during kernel debugging (e.g., you
381 will be able to flush the buffer cache to disk, reboot the system
382 immediately or dump some status information). This is accomplished
383 by pressing various keys while holding SysRq (Alt+PrintScreen). It
384 also works on a serial console (on PC hardware at least), if you
385 send a BREAK and then within 5 seconds a command keypress. The
386 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
387 unless you really know what this hack does.
390 bool "Enable debugger hooks"
391 depends on DEBUG_KERNEL
393 Include in-kernel hooks for kernel debuggers. Unless you are
394 intending to debug the kernel, say N here.
397 bool "Include xmon kernel debugger"
400 Include in-kernel hooks for the xmon kernel monitor/debugger.
401 Unless you are intending to debug the kernel, say N here.
404 bool "Enable xmon by default"
408 bool "Include PPCDBG realtime debugging"
409 depends on DEBUG_KERNEL
412 bool "Compile the kernel with debug info"
413 depends on DEBUG_KERNEL
415 If you say Y here the resulting kernel image will include
416 debugging info resulting in a larger kernel image.
417 Say Y here only if you plan to use gdb to debug the kernel.
418 If you don't debug the kernel, you can say N.
421 bool "Use separate kernel stacks when processing interrupts"
423 If you say Y here the kernel will use separate kernel stacks
424 for handling hard and soft interrupts. This can help avoid
425 overflowing the process kernel stacks.
428 bool "Inline spinlock code at each call site"
429 depends on SMP && !PPC_SPLPAR && !PPC_ISERIES
431 Say Y if you want to have the code for acquiring spinlocks
432 and rwlocks inlined at each call site. This makes the kernel
433 somewhat bigger, but can be useful when profiling the kernel.
439 source "kernel/vserver/Kconfig"
441 source "security/Kconfig"
443 source "crypto/Kconfig"