[PATCH] Kprobes/IA64: architecture specific JProbes support
[powerpc.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_PMAC
81         depends on PPC_MULTIPLATFORM
82         bool "  Apple G5 based machines"
83         default y
84         select U3_DART
85
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>
95
96 config PPC
97         bool
98         default y
99
100 config PPC64
101         bool
102         default y
103
104 config PPC_OF
105         depends on PPC_MULTIPLATFORM
106         bool
107         default y
108
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
115
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.
125
126 config IBMVIO
127         depends on PPC_PSERIES || PPC_ISERIES
128         bool
129         default y
130
131 config U3_DART
132         bool 
133         depends on PPC_MULTIPLATFORM
134         default n
135
136 config MPIC_BROKEN_U3
137         bool
138         depends on PPC_MAPLE
139         default y
140
141 config PPC_PMAC64
142         bool
143         depends on PPC_PMAC
144         default y
145
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.
152
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.
160
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.
172
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.
179
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.
185
186           If you don't know what to do here, say Y.
187
188 config NR_CPUS
189         int "Maximum number of CPUs (2-128)"
190         range 2 128
191         depends on SMP
192         default "32"
193
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.
200
201 config ARCH_SELECT_MEMORY_MODEL
202         def_bool y
203
204 config ARCH_FLATMEM_ENABLE
205        def_bool y
206        depends on !NUMA
207
208 config ARCH_DISCONTIGMEM_ENABLE
209         def_bool y
210         depends on SMP && PPC_PSERIES
211
212 config ARCH_DISCONTIGMEM_DEFAULT
213         def_bool y
214         depends on ARCH_DISCONTIGMEM_ENABLE
215
216 config ARCH_FLATMEM_ENABLE
217         def_bool y
218
219 config ARCH_SPARSEMEM_ENABLE
220         def_bool y
221         depends on ARCH_DISCONTIGMEM_ENABLE
222
223 source "mm/Kconfig"
224
225 config HAVE_ARCH_EARLY_PFN_TO_NID
226         def_bool y
227         depends on NEED_MULTIPLE_NODES
228
229 # Some NUMA nodes have memory ranges that span
230 # other nodes.  Even though a pfn is valid and
231 # between a node's start and end pfns, it may not
232 # reside on that node.
233 #
234 # This is a relatively temporary hack that should
235 # be able to go away when sparsemem is fully in
236 # place
237 config NODES_SPAN_OTHER_NODES
238         def_bool y
239         depends on NEED_MULTIPLE_NODES
240
241 config NUMA
242         bool "NUMA support"
243         default y if DISCONTIGMEM || SPARSEMEM
244
245 config SCHED_SMT
246         bool "SMT (Hyperthreading) scheduler support"
247         depends on SMP
248         default off
249         help
250           SMT scheduler support improves the CPU scheduler's decision making
251           when dealing with POWER5 cpus at a cost of slightly increased
252           overhead in some places. If unsure say N here.
253
254 config PREEMPT
255         bool "Preemptible Kernel"
256         help
257           This option reduces the latency of the kernel when reacting to
258           real-time or interactive events by allowing a low priority process to
259           be preempted even if it is in kernel mode executing a system call.
260
261           Say Y here if you are building a kernel for a desktop, embedded
262           or real-time system.  Say N if you are unsure.
263
264 config PREEMPT_BKL
265         bool "Preempt The Big Kernel Lock"
266         depends on PREEMPT
267         default y
268         help
269           This option reduces the latency of the kernel by making the
270           big kernel lock preemptible.
271
272           Say Y here if you are building a kernel for a desktop system.
273           Say N if you are unsure.
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
295         depends on PPC_PSERIES
296         default y
297
298 config RTAS_PROC
299         bool "Proc interface to RTAS"
300         depends on PPC_RTAS
301         default y
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
337 config ISA_DMA_API
338         bool
339         default y
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
362         bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
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"