blob: 0e564d30fc468050b68b0df5e1c2e404563f3054 [file] [log] [blame]
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3#
4
5mainmenu "Linux/PowerPC Kernel Configuration"
6
7config PPC64
8 bool "64-bit kernel"
9 default n
10 help
11 This option selects whether a 32-bit or a 64-bit kernel
12 will be built.
13
14config PPC32
15 bool
16 default y if !PPC64
17
18config 64BIT
19 bool
20 default y if PPC64
21
22config PPC_MERGE
23 def_bool y
24
25config MMU
26 bool
27 default y
28
Paul Mackerras14cf11a2005-09-26 16:04:21 +100029config GENERIC_HARDIRQS
30 bool
31 default y
32
Ingo Molnar0d7012a2006-06-29 02:24:43 -070033config IRQ_PER_CPU
34 bool
35 default y
36
Paul Mackerras14cf11a2005-09-26 16:04:21 +100037config RWSEM_GENERIC_SPINLOCK
38 bool
39
40config RWSEM_XCHGADD_ALGORITHM
41 bool
42 default y
43
Akinobu Mitae779b2f2006-03-26 01:39:33 -080044config GENERIC_HWEIGHT
45 bool
46 default y
47
Paul Mackerras14cf11a2005-09-26 16:04:21 +100048config GENERIC_CALIBRATE_DELAY
49 bool
50 default y
51
Jon Mason0a9cb462006-05-19 15:35:32 -050052config GENERIC_FIND_NEXT_BIT
53 bool
54 default y
55
Paul Mackerras14cf11a2005-09-26 16:04:21 +100056config PPC
57 bool
58 default y
59
60config EARLY_PRINTK
61 bool
Benjamin Herrenschmidt51d30822005-11-23 17:57:25 +110062 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +100063
64config COMPAT
65 bool
66 default y if PPC64
67
68config SYSVIPC_COMPAT
69 bool
70 depends on COMPAT && SYSVIPC
71 default y
72
73# All PPC32s use generic nvram driver through ppc_md
74config GENERIC_NVRAM
75 bool
76 default y if PPC32
77
78config SCHED_NO_NO_OMIT_FRAME_POINTER
79 bool
80 default y
81
82config ARCH_MAY_HAVE_PC_FDC
83 bool
84 default y
85
Kumar Gala08264cb2006-01-10 21:43:56 -060086config PPC_OF
87 def_bool y
88
89config PPC_UDBG_16550
90 bool
91 default n
92
Kumar Gala08264cb2006-01-10 21:43:56 -060093config GENERIC_TBSYNC
94 bool
95 default y if PPC32 && SMP
96 default n
97
Al Viroe65e1fc2006-09-12 03:04:40 -040098config AUDIT_ARCH
99 bool
100 default y
101
Kumar Galaf4fc4a52006-01-16 10:53:22 -0600102config DEFAULT_UIMAGE
103 bool
104 help
105 Used to allow a board to specify it wants a uImage built by default
106 default n
107
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000108menu "Processor support"
109choice
110 prompt "Processor Type"
111 depends on PPC32
112 default 6xx
113
Kumar Gala08264cb2006-01-10 21:43:56 -0600114config CLASSIC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000115 bool "6xx/7xx/74xx"
116 select PPC_FPU
Kumar Gala08264cb2006-01-10 21:43:56 -0600117 select 6xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000118 help
119 There are four families of PowerPC chips supported. The more common
120 types (601, 603, 604, 740, 750, 7400), the Motorola embedded
121 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
122 embedded versions (403 and 405) and the high end 64 bit Power
123 processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
124
125 Unless you are building a kernel for one of the embedded processor
126 systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
127 Note that the kernel runs in 32-bit mode even on 64-bit chips.
128
129config PPC_52xx
130 bool "Freescale 52xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600131 select 6xx
132 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000133
134config PPC_82xx
135 bool "Freescale 82xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600136 select 6xx
137 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000138
139config PPC_83xx
140 bool "Freescale 83xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600141 select 6xx
142 select FSL_SOC
143 select 83xx
144 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000145
Becky Bruce63dafe52006-01-14 16:57:39 -0600146config PPC_85xx
147 bool "Freescale 85xx"
148 select E500
149 select FSL_SOC
150 select 85xx
151
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500152config PPC_86xx
153 bool "Freescale 86xx"
154 select 6xx
155 select FSL_SOC
156 select PPC_FPU
157 select ALTIVEC
158 help
159 The Freescale E600 SoCs have 74xx cores.
160
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000161config 40x
162 bool "AMCC 40x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100163 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000164
165config 44x
166 bool "AMCC 44x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100167 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000168
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000169config 8xx
170 bool "Freescale 8xx"
171
172config E200
173 bool "Freescale e200"
174
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000175endchoice
176
177config POWER4_ONLY
178 bool "Optimize for POWER4"
Paul Mackerras187a0062005-10-06 12:49:05 +1000179 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000180 default n
181 ---help---
182 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
183 The resulting binary will not work on POWER3 or RS64 processors
184 when compiled with binutils 2.15 or later.
185
186config POWER3
187 bool
Paul Mackerras187a0062005-10-06 12:49:05 +1000188 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000189 default y if !POWER4_ONLY
190
191config POWER4
Paul Mackerras187a0062005-10-06 12:49:05 +1000192 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000193 def_bool y
194
Kumar Gala08264cb2006-01-10 21:43:56 -0600195config 6xx
196 bool
197
198# this is temp to handle compat with arch=ppc
199config 83xx
200 bool
201
Becky Bruce63dafe52006-01-14 16:57:39 -0600202# this is temp to handle compat with arch=ppc
203config 85xx
204 bool
205
206config E500
207 bool
208
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000209config PPC_FPU
Paul Mackerras187a0062005-10-06 12:49:05 +1000210 bool
211 default y if PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000212
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100213config PPC_DCR_NATIVE
214 bool
215 default n
216
217config PPC_DCR_MMIO
218 bool
219 default n
220
221config PPC_DCR
222 bool
223 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
224 default y
225
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000226config BOOKE
227 bool
228 depends on E200 || E500
229 default y
230
231config FSL_BOOKE
232 bool
233 depends on E200 || E500
234 default y
235
236config PTE_64BIT
237 bool
238 depends on 44x || E500
239 default y if 44x
240 default y if E500 && PHYS_64BIT
241
242config PHYS_64BIT
243 bool 'Large physical address support' if E500
244 depends on 44x || E500
245 default y if 44x
246 ---help---
247 This option enables kernel support for larger than 32-bit physical
248 addresses. This features is not be available on all e500 cores.
249
250 If in doubt, say N here.
251
252config ALTIVEC
253 bool "AltiVec Support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600254 depends on CLASSIC32 || POWER4
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000255 ---help---
256 This option enables kernel support for the Altivec extensions to the
257 PowerPC processor. The kernel currently supports saving and restoring
258 altivec registers, and turning on the 'altivec enable' bit so user
259 processes can execute altivec instructions.
260
261 This option is only usefully if you have a processor that supports
262 altivec (G4, otherwise known as 74xx series), but does not have
263 any affect on a non-altivec cpu (it does, however add code to the
264 kernel).
265
266 If in doubt, say Y here.
267
268config SPE
269 bool "SPE Support"
270 depends on E200 || E500
Becky Bruce63dafe52006-01-14 16:57:39 -0600271 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000272 ---help---
273 This option enables kernel support for the Signal Processing
274 Extensions (SPE) to the PowerPC processor. The kernel currently
275 supports saving and restoring SPE registers, and turning on the
276 'spe enable' bit so user processes can execute SPE instructions.
277
278 This option is only useful if you have a processor that supports
279 SPE (e500, otherwise known as 85xx series), but does not have any
280 effect on a non-spe cpu (it does, however add code to the kernel).
281
282 If in doubt, say Y here.
283
284config PPC_STD_MMU
285 bool
286 depends on 6xx || POWER3 || POWER4 || PPC64
287 default y
288
289config PPC_STD_MMU_32
290 def_bool y
291 depends on PPC_STD_MMU && PPC32
292
Paul Mackerrasc6622f62006-02-24 10:06:59 +1100293config VIRT_CPU_ACCOUNTING
294 bool "Deterministic task and CPU time accounting"
295 depends on PPC64
296 default y
297 help
298 Select this option to enable more accurate task and CPU time
299 accounting. This is done by reading a CPU counter on each
300 kernel entry and exit and on transitions within the kernel
301 between system, softirq and hardirq state, so there is a
302 small performance impact. This also enables accounting of
303 stolen time on logically-partitioned systems running on
304 IBM POWER5-based machines.
305
306 If in doubt, say Y here.
307
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000308config SMP
309 depends on PPC_STD_MMU
310 bool "Symmetric multi-processing support"
311 ---help---
312 This enables support for systems with more than one CPU. If you have
313 a system with only one CPU, say N. If you have a system with more
314 than one CPU, say Y. Note that the kernel does not currently
315 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
316 since they have inadequate hardware support for multiprocessor
317 operation.
318
319 If you say N here, the kernel will run on single and multiprocessor
320 machines, but will use only one CPU of a multiprocessor machine. If
321 you say Y here, the kernel will run on single-processor machines.
322 On a single-processor machine, the kernel will run faster if you say
323 N here.
324
325 If you don't know what to do here, say N.
326
327config NR_CPUS
Olaf Heringe8a167a2005-12-01 21:10:10 +0100328 int "Maximum number of CPUs (2-128)"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000329 range 2 128
330 depends on SMP
331 default "32" if PPC64
332 default "4"
333
334config NOT_COHERENT_CACHE
335 bool
336 depends on 4xx || 8xx || E200
337 default y
338endmenu
339
340source "init/Kconfig"
341
342menu "Platform support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600343 depends on PPC64 || CLASSIC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000344
345choice
346 prompt "Machine type"
347 default PPC_MULTIPLATFORM
348
349config PPC_MULTIPLATFORM
350 bool "Generic desktop/server/laptop"
351 help
352 Select this option if configuring for an IBM pSeries or
353 RS/6000 machine, an Apple machine, or a PReP, CHRP,
354 Maple or Cell-based machine.
355
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000356config EMBEDDED6xx
357 bool "Embedded 6xx/7xx/7xxx-based board"
Zang Roy-r61911c5d56332006-06-13 15:07:15 +0800358 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000359
360config APUS
361 bool "Amiga-APUS"
362 depends on PPC32 && BROKEN
363 help
364 Select APUS if configuring for a PowerUP Amiga.
365 More information is available at:
366 <http://linux-apus.sourceforge.net/>.
367endchoice
368
Li Yang98658532006-10-03 23:10:46 -0500369config QUICC_ENGINE
370 bool
371 depends on PPC_MPC836x || PPC_MPC832x
372 default y
373 help
374 The QUICC Engine (QE) is a new generation of communications
375 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
376 Selecting this option means that you wish to build a kernel
377 for a machine with a QE coprocessor.
378
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000379config PPC_PSERIES
380 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700381 bool "IBM pSeries & new (POWER5-based) iSeries"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000382 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000383 select PPC_I8259
Paul Mackerras033ef332005-10-26 17:05:24 +1000384 select PPC_RTAS
385 select RTAS_ERROR_LOGGING
Paul Mackerras13b8a272006-01-10 16:19:05 +1100386 select PPC_UDBG_16550
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000387 default y
388
Stephen Rothwella542dbd2006-09-25 13:49:58 +1000389config PPC_ISERIES
390 bool "IBM Legacy iSeries"
391 depends on PPC_MULTIPLATFORM && PPC64
392
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000393config PPC_CHRP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700394 bool "Common Hardware Reference Platform (CHRP) based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000395 depends on PPC_MULTIPLATFORM && PPC32
Zang Roy-r6191172335932006-08-25 14:16:30 +1000396 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000397 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000398 select PPC_INDIRECT_PCI
Paul Mackerras033ef332005-10-26 17:05:24 +1000399 select PPC_RTAS
Paul Mackerras830825d2005-10-26 17:16:38 +1000400 select PPC_MPC106
Paul Mackerras13b8a272006-01-10 16:19:05 +1100401 select PPC_UDBG_16550
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000402 default y
403
Nicolas DETc37858d2006-11-05 12:57:16 +0100404config PPC_EFIKA
405 bool "bPlan Efika 5k2. MPC5200B based computer"
406 depends on PPC_MULTIPLATFORM && PPC32
407 select PPC_RTAS
408 select RTAS_PROC
409 select PPC_MPC52xx
410 default y
411
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000412config PPC_PMAC
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700413 bool "Apple PowerMac based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000414 depends on PPC_MULTIPLATFORM
Zang Roy-r6191172335932006-08-25 14:16:30 +1000415 select MPIC
Paul Mackerras25635c72005-10-26 16:36:55 +1000416 select PPC_INDIRECT_PCI if PPC32
Paul Mackerrasb6a4ce52005-10-26 22:54:17 +1000417 select PPC_MPC106 if PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000418 default y
419
420config PPC_PMAC64
421 bool
422 depends on PPC_PMAC && POWER4
Zang Roy-r6191172335932006-08-25 14:16:30 +1000423 select MPIC
Paul Mackerras35499c02005-10-22 16:02:39 +1000424 select U3_DART
Benjamin Herrenschmidt1beb6a72005-12-14 13:10:10 +1100425 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100426 select GENERIC_TBSYNC
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000427 select PPC_970_NAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000428 default y
429
430config PPC_PREP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700431 bool "PowerPC Reference Platform (PReP) based machines"
Paul Mackerras5be396b2005-11-14 17:31:55 +1100432 depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
Zang Roy-r6191172335932006-08-25 14:16:30 +1000433 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000434 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000435 select PPC_INDIRECT_PCI
Paul Mackerras13b8a272006-01-10 16:19:05 +1100436 select PPC_UDBG_16550
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000437 default y
438
439config PPC_MAPLE
440 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700441 bool "Maple 970FX Evaluation Board"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000442 select MPIC
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000443 select U3_DART
444 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100445 select GENERIC_TBSYNC
Paul Mackerras13b8a272006-01-10 16:19:05 +1100446 select PPC_UDBG_16550
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000447 select PPC_970_NAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000448 default n
449 help
450 This option enables support for the Maple 970FX Evaluation Board.
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100451 For more information, refer to <http://www.970eval.com>
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000452
Olof Johansson1e768752006-09-06 14:42:08 -0500453config PPC_PASEMI
454 depends on PPC_MULTIPLATFORM && PPC64
455 bool "PA Semi SoC-based platforms"
456 default n
457 select MPIC
458 select PPC_UDBG_16550
459 select GENERIC_TBSYNC
460 help
461 This option enables support for PA Semi's PWRficient line
462 of SoC processors, including PA6T-1682M
463
Arnd Bergmannf3f66f52005-10-31 20:08:37 -0500464config PPC_CELL
Geoff Levandc01ea722006-06-19 20:33:28 +0200465 bool
466 default n
467
468config PPC_CELL_NATIVE
469 bool
470 select PPC_CELL
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100471 select PPC_DCR_MMIO
Geoff Levandc01ea722006-06-19 20:33:28 +0200472 default n
473
474config PPC_IBM_CELL_BLADE
Andrew Mortonf127a2b2006-06-25 01:49:07 -0700475 bool "IBM Cell Blade"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000476 depends on PPC_MULTIPLATFORM && PPC64
Geoff Levandc01ea722006-06-19 20:33:28 +0200477 select PPC_CELL_NATIVE
Paul Mackerras033ef332005-10-26 17:05:24 +1000478 select PPC_RTAS
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500479 select MMIO_NVRAM
Paul Mackerras13b8a272006-01-10 16:19:05 +1100480 select PPC_UDBG_16550
Michael Ellerman94b60ec2006-06-23 18:20:22 +1000481 select UDBG_RTAS_CONSOLE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000482
Michael Ellermancc46bb92006-06-23 18:20:16 +1000483config UDBG_RTAS_CONSOLE
Michael Neuling9a2ded52006-08-16 23:12:14 -0500484 bool "RTAS based debug console"
485 depends on PPC_RTAS
Michael Ellermancc46bb92006-06-23 18:20:16 +1000486 default n
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000487
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000488config XICS
489 depends on PPC_PSERIES
490 bool
491 default y
492
493config U3_DART
494 bool
495 depends on PPC_MULTIPLATFORM && PPC64
496 default n
497
Paul Mackerras033ef332005-10-26 17:05:24 +1000498config PPC_RTAS
499 bool
500 default n
501
502config RTAS_ERROR_LOGGING
503 bool
504 depends on PPC_RTAS
505 default n
506
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100507config RTAS_PROC
508 bool "Proc interface to RTAS"
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500509 depends on PPC_RTAS
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100510 default y
511
512config RTAS_FLASH
513 tristate "Firmware flash interface"
514 depends on PPC64 && RTAS_PROC
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500515
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500516config MMIO_NVRAM
517 bool
518 default n
519
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000520config MPIC_BROKEN_U3
521 bool
522 depends on PPC_MAPLE
523 default y
524
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000525config IBMVIO
526 depends on PPC_PSERIES || PPC_ISERIES
527 bool
528 default y
529
Heiko J Schickd7a30102005-11-16 08:56:43 +0100530config IBMEBUS
531 depends on PPC_PSERIES
532 bool "Support for GX bus based adapters"
Heiko J Schickd7a30102005-11-16 08:56:43 +0100533 help
534 Bus device driver for GX bus based adapters.
535
Paul Mackerras830825d2005-10-26 17:16:38 +1000536config PPC_MPC106
537 bool
538 default n
539
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000540config PPC_970_NAP
541 bool
542 default n
543
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000544source "drivers/cpufreq/Kconfig"
545
546config CPU_FREQ_PMAC
547 bool "Support for Apple PowerBooks"
548 depends on CPU_FREQ && ADB_PMU && PPC32
549 select CPU_FREQ_TABLE
550 help
551 This adds support for frequency switching on Apple PowerBooks,
552 this currently includes some models of iBook & Titanium
553 PowerBook.
554
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100555config CPU_FREQ_PMAC64
556 bool "Support for some Apple G5s"
Benjamin Herrenschmidt7ed14c22006-07-06 15:09:19 +1000557 depends on CPU_FREQ && PPC64
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100558 select CPU_FREQ_TABLE
559 help
560 This adds support for frequency switching on Apple iMac G5,
561 and some of the more recent desktop G5 machines as well.
562
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000563config PPC601_SYNC_FIX
564 bool "Workarounds for PPC601 bugs"
565 depends on 6xx && (PPC_PREP || PPC_PMAC)
566 help
567 Some versions of the PPC601 (the first PowerPC chip) have bugs which
568 mean that extra synchronization instructions are required near
569 certain instructions, typically those that make major changes to the
570 CPU state. These extra instructions reduce performance slightly.
571 If you say N here, these extra instructions will not be included,
572 resulting in a kernel which will run faster but may not run at all
573 on some systems with the PPC601 chip.
574
575 If in doubt, say Y here.
576
577config TAU
Paul Mackerras9b781722006-03-27 19:15:26 +1100578 bool "On-chip CPU temperature sensor support"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000579 depends on 6xx
580 help
581 G3 and G4 processors have an on-chip temperature sensor called the
582 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
583 temperature within 2-4 degrees Celsius. This option shows the current
584 on-die temperature in /proc/cpuinfo if the cpu supports it.
585
586 Unfortunately, on some chip revisions, this sensor is very inaccurate
Paul Mackerras9b781722006-03-27 19:15:26 +1100587 and in many cases, does not work at all, so don't assume the cpu
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000588 temp is actually what /proc/cpuinfo says it is.
589
590config TAU_INT
591 bool "Interrupt driven TAU driver (DANGEROUS)"
592 depends on TAU
593 ---help---
594 The TAU supports an interrupt driven mode which causes an interrupt
595 whenever the temperature goes out of range. This is the fastest way
596 to get notified the temp has exceeded a range. With this option off,
597 a timer is used to re-check the temperature periodically.
598
599 However, on some cpus it appears that the TAU interrupt hardware
600 is buggy and can cause a situation which would lead unexplained hard
601 lockups.
602
603 Unless you are extending the TAU driver, or enjoy kernel/hardware
604 debugging, leave this option off.
605
606config TAU_AVERAGE
607 bool "Average high and low temp"
608 depends on TAU
609 ---help---
610 The TAU hardware can compare the temperature to an upper and lower
611 bound. The default behavior is to show both the upper and lower
612 bound in /proc/cpuinfo. If the range is large, the temperature is
613 either changing a lot, or the TAU hardware is broken (likely on some
614 G4's). If the range is small (around 4 degrees), the temperature is
615 relatively stable. If you say Y here, a single temperature value,
616 halfway between the upper and lower bounds, will be reported in
617 /proc/cpuinfo.
618
619 If in doubt, say N here.
Mark A. Greerc2201532006-06-28 14:13:20 -0700620
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000621endmenu
622
623source arch/powerpc/platforms/embedded6xx/Kconfig
624source arch/powerpc/platforms/4xx/Kconfig
Vitaly Borduged943c12006-10-02 22:41:50 +0400625source arch/powerpc/platforms/82xx/Kconfig
Kumar Gala08264cb2006-01-10 21:43:56 -0600626source arch/powerpc/platforms/83xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000627source arch/powerpc/platforms/85xx/Kconfig
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500628source arch/powerpc/platforms/86xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000629source arch/powerpc/platforms/8xx/Kconfig
Arnd Bergmann67207b92005-11-15 15:53:48 -0500630source arch/powerpc/platforms/cell/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000631
632menu "Kernel options"
633
634config HIGHMEM
635 bool "High memory support"
636 depends on PPC32
637
638source kernel/Kconfig.hz
639source kernel/Kconfig.preempt
640source "fs/Kconfig.binfmt"
641
642# We optimistically allocate largepages from the VM, so make the limit
643# large enough (16MB). This badly named config option is actually
644# max order + 1
645config FORCE_MAX_ZONEORDER
646 int
647 depends on PPC64
Mike Kravetz02864862005-11-07 13:48:59 -0800648 default "9" if PPC_64K_PAGES
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000649 default "13"
650
651config MATH_EMULATION
652 bool "Math emulation"
653 depends on 4xx || 8xx || E200 || E500
654 ---help---
655 Some PowerPC chips designed for embedded applications do not have
656 a floating-point unit and therefore do not implement the
657 floating-point instructions in the PowerPC instruction set. If you
658 say Y here, the kernel will include code to emulate a floating-point
659 unit, which will allow programs that use floating-point
660 instructions to run.
661
662config IOMMU_VMERGE
663 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
664 depends on EXPERIMENTAL && PPC64
665 default n
666 help
667 Cause IO segments sent to a device for DMA to be merged virtually
668 by the IOMMU when they happen to have been allocated contiguously.
669 This doesn't add pressure to the IOMMU allocator. However, some
670 drivers don't support getting large merged segments coming back
671 from *_map_sg(). Say Y if you know the drivers you are using are
672 properly handling this case.
673
674config HOTPLUG_CPU
675 bool "Support for enabling/disabling CPUs"
676 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
677 ---help---
678 Say Y here to be able to disable and re-enable individual
679 CPUs at runtime on SMP machines.
680
681 Say N if you are unsure.
682
Yasunori Gotocc576372006-06-29 02:24:27 -0700683config ARCH_ENABLE_MEMORY_HOTPLUG
684 def_bool y
685
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000686config KEXEC
687 bool "kexec system call (EXPERIMENTAL)"
688 depends on PPC_MULTIPLATFORM && EXPERIMENTAL
689 help
690 kexec is a system call that implements the ability to shutdown your
691 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400692 but it is independent of the system firmware. And like a reboot
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000693 you can start any kernel with it, not just Linux.
694
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400695 The name comes from the similarity to the exec system call.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000696
697 It is an ongoing process to be certain the hardware in a machine
698 is properly shutdown, so do not be surprised if this code does not
699 initially work for you. It may help to enable device hotplugging
700 support. As of this writing the exact hardware interface is
701 strongly in flux, so no good recommendation can be made.
702
Haren Mynenie8625d462006-01-14 13:48:25 -0800703config CRASH_DUMP
Michael Ellermancd9c99d2006-03-10 15:01:08 +1100704 bool "Build a kdump crash kernel (EXPERIMENTAL)"
Haren Mynenie8625d462006-01-14 13:48:25 -0800705 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
706 help
707 Build a kernel suitable for use as a kdump capture kernel.
708 The kernel will be linked at a different address than normal, and
709 so can only be used for Kdump.
710
711 Don't change this unless you know what you are doing.
712
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000713config EMBEDDEDBOOT
714 bool
715 depends on 8xx || 8260
716 default y
717
718config PC_KEYBOARD
719 bool "PC PS/2 style Keyboard"
720 depends on 4xx || CPM2
721
722config PPCBUG_NVRAM
723 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
724 default y if PPC_PREP
725
726config IRQ_ALL_CPUS
727 bool "Distribute interrupts on all CPUs by default"
728 depends on SMP && !MV64360
729 help
730 This option gives the kernel permission to distribute IRQs across
731 multiple CPUs. Saying N here will route all IRQs to the first
732 CPU. Generally saying Y is safe, although some problems have been
733 reported with SMP Power Macintoshes with this option enabled.
734
735source "arch/powerpc/platforms/pseries/Kconfig"
736
Andy Whitcroftffa27b62005-10-28 17:46:58 -0700737config NUMA
738 bool "NUMA support"
739 depends on PPC64
740 default y if SMP && PPC_PSERIES
741
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700742config NODES_SHIFT
743 int
744 default "4"
745 depends on NEED_MULTIPLE_NODES
746
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000747config ARCH_SELECT_MEMORY_MODEL
748 def_bool y
749 depends on PPC64
750
751config ARCH_FLATMEM_ENABLE
Andy Whitcroft9100b202005-11-29 19:20:55 +0000752 def_bool y
753 depends on (PPC64 && !NUMA) || PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000754
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000755config ARCH_SPARSEMEM_ENABLE
756 def_bool y
Andy Whitcroft9100b202005-11-29 19:20:55 +0000757 depends on PPC64
Anton Blanchard45fb6ce2005-11-11 14:22:35 +1100758
759config ARCH_SPARSEMEM_DEFAULT
760 def_bool y
Geoff Levand36b600f2006-11-02 21:08:45 -0800761 depends on (SMP && PPC_PSERIES) || PPC_CELL
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000762
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700763config ARCH_POPULATES_NODE_MAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000764 def_bool y
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700765
766source "mm/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000767
Mike Kravetz7e9191d2005-11-07 09:39:48 -0800768config ARCH_MEMORY_PROBE
769 def_bool y
770 depends on MEMORY_HOTPLUG
771
Andy Whitcroft75167952006-10-21 10:24:14 -0700772# Some NUMA nodes have memory ranges that span
773# other nodes. Even though a pfn is valid and
774# between a node's start and end pfns, it may not
775# reside on that node. See memmap_init_zone()
776# for details.
777config NODES_SPAN_OTHER_NODES
778 def_bool y
779 depends on NEED_MULTIPLE_NODES
780
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100781config PPC_64K_PAGES
782 bool "64k page size"
Benjamin Herrenschmidt863c84b2005-11-07 00:57:58 -0800783 depends on PPC64
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100784 help
785 This option changes the kernel logical page size to 64k. On machines
786 without processor support for 64k pages, the kernel will simulate
787 them by loading each individual 4k page on demand transparently,
788 while on hardware with such support, it will be used to map
789 normal application pages.
790
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000791config SCHED_SMT
792 bool "SMT (Hyperthreading) scheduler support"
793 depends on PPC64 && SMP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000794 help
795 SMT scheduler support improves the CPU scheduler's decision making
796 when dealing with POWER5 cpus at a cost of slightly increased
797 overhead in some places. If unsure say N here.
798
799config PROC_DEVICETREE
Paul Mackerras5f296752005-10-17 20:14:59 +1000800 bool "Support for device tree in /proc"
801 depends on PROC_FS
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000802 help
803 This option adds a device-tree directory under /proc which contains
804 an image of the device tree that the kernel copies from Open
Paul Mackerras5f296752005-10-17 20:14:59 +1000805 Firmware or other boot firmware. If unsure, say Y here.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000806
807source "arch/powerpc/platforms/prep/Kconfig"
808
809config CMDLINE_BOOL
810 bool "Default bootloader kernel arguments"
811 depends on !PPC_ISERIES
812
813config CMDLINE
814 string "Initial kernel command string"
815 depends on CMDLINE_BOOL
816 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
817 help
818 On some platforms, there is currently no way for the boot loader to
819 pass arguments to the kernel. For these platforms, you can supply
820 some command-line options at build time by entering them here. In
821 most cases you will need to specify the root device here.
822
823if !44x || BROKEN
824source kernel/power/Kconfig
825endif
826
827config SECCOMP
828 bool "Enable seccomp to safely compute untrusted bytecode"
829 depends on PROC_FS
830 default y
831 help
832 This kernel feature is useful for number crunching applications
833 that may need to compute untrusted bytecode during their
834 execution. By using pipes or other transports made available to
835 the process as file descriptors supporting the read/write
836 syscalls, it's possible to isolate those applications in
837 their own address space using seccomp. Once seccomp is
838 enabled via /proc/<pid>/seccomp, it cannot be disabled
839 and the task is only allowed to execute a few safe syscalls
840 defined by each seccomp mode.
841
842 If unsure, say Y. Only embedded should say N here.
843
844endmenu
845
846config ISA_DMA_API
847 bool
848 default y
849
850menu "Bus options"
851
852config ISA
853 bool "Support for ISA-bus hardware"
854 depends on PPC_PREP || PPC_CHRP
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000855 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000856 help
857 Find out whether you have ISA slots on your motherboard. ISA is the
858 name of a bus system, i.e. the way the CPU talks to the other stuff
859 inside your box. If you have an Apple machine, say N here; if you
860 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
861 you have an embedded board, consult your board documentation.
862
863config GENERIC_ISA_DMA
864 bool
865 depends on PPC64 || POWER4 || 6xx && !CPM2
866 default y
867
Zang Roy-r6191172335932006-08-25 14:16:30 +1000868config MPIC
869 bool
870 default n
871
872config MPIC_WEIRD
873 bool
874 default n
875
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000876config PPC_I8259
877 bool
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000878 default n
879
Paul Mackerras25635c72005-10-26 16:36:55 +1000880config PPC_INDIRECT_PCI
881 bool
882 depends on PCI
Becky Bruce63dafe52006-01-14 16:57:39 -0600883 default y if 40x || 44x
Paul Mackerras25635c72005-10-26 16:36:55 +1000884 default n
885
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000886config EISA
887 bool
888
889config SBUS
890 bool
891
Kumar Gala08264cb2006-01-10 21:43:56 -0600892config FSL_SOC
893 bool
894
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000895# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
896config MCA
897 bool
898
899config PCI
Jon Loeliger53158622006-08-09 10:37:28 -0500900 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
901 || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2
902 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
903 && !PPC_85xx && !PPC_86xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000904 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
905 default PCI_QSPAN if !4xx && !CPM2 && 8xx
906 help
907 Find out whether your system includes a PCI bus. PCI is the name of
908 a bus system, i.e. the way the CPU talks to the other stuff inside
909 your box. If you say Y here, the kernel will include drivers and
910 infrastructure code to support PCI bus devices.
911
912config PCI_DOMAINS
913 bool
914 default PCI
915
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000916config PCI_QSPAN
917 bool "QSpan PCI"
918 depends on !4xx && !CPM2 && 8xx
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000919 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000920 help
921 Say Y here if you have a system based on a Motorola 8xx-series
922 embedded processor with a QSPAN PCI interface, otherwise say N.
923
924config PCI_8260
925 bool
926 depends on PCI && 8260
Paul Mackerras25635c72005-10-26 16:36:55 +1000927 select PPC_INDIRECT_PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000928 default y
929
930config 8260_PCI9
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700931 bool "Enable workaround for MPC826x erratum PCI 9"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000932 depends on PCI_8260 && !ADS8272
933 default y
934
935choice
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700936 prompt "IDMA channel for PCI 9 workaround"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000937 depends on 8260_PCI9
938
939config 8260_PCI9_IDMA1
940 bool "IDMA1"
941
942config 8260_PCI9_IDMA2
943 bool "IDMA2"
944
945config 8260_PCI9_IDMA3
946 bool "IDMA3"
947
948config 8260_PCI9_IDMA4
949 bool "IDMA4"
950
951endchoice
952
Jake Moilanenbb53bb32006-06-07 16:05:46 -0500953source "drivers/pci/pcie/Kconfig"
954
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000955source "drivers/pci/Kconfig"
956
957source "drivers/pcmcia/Kconfig"
958
959source "drivers/pci/hotplug/Kconfig"
960
961endmenu
962
963menu "Advanced setup"
964 depends on PPC32
965
966config ADVANCED_OPTIONS
967 bool "Prompt for advanced kernel configuration options"
968 help
969 This option will enable prompting for a variety of advanced kernel
970 configuration options. These options can cause the kernel to not
971 work if they are set incorrectly, but can be used to optimize certain
972 aspects of kernel memory management.
973
974 Unless you know what you are doing, say N here.
975
976comment "Default settings for advanced configuration options are used"
977 depends on !ADVANCED_OPTIONS
978
979config HIGHMEM_START_BOOL
980 bool "Set high memory pool address"
981 depends on ADVANCED_OPTIONS && HIGHMEM
982 help
983 This option allows you to set the base address of the kernel virtual
984 area used to map high memory pages. This can be useful in
985 optimizing the layout of kernel virtual memory.
986
987 Say N here unless you know what you are doing.
988
989config HIGHMEM_START
990 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
991 default "0xfe000000"
992
993config LOWMEM_SIZE_BOOL
994 bool "Set maximum low memory"
995 depends on ADVANCED_OPTIONS
996 help
997 This option allows you to set the maximum amount of memory which
998 will be used as "low memory", that is, memory which the kernel can
999 access directly, without having to set up a kernel virtual mapping.
1000 This can be useful in optimizing the layout of kernel virtual
1001 memory.
1002
1003 Say N here unless you know what you are doing.
1004
1005config LOWMEM_SIZE
1006 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1007 default "0x30000000"
1008
1009config KERNEL_START_BOOL
1010 bool "Set custom kernel base address"
1011 depends on ADVANCED_OPTIONS
1012 help
1013 This option allows you to set the kernel virtual address at which
1014 the kernel will map low memory (the kernel image will be linked at
1015 this address). This can be useful in optimizing the virtual memory
1016 layout of the system.
1017
1018 Say N here unless you know what you are doing.
1019
1020config KERNEL_START
1021 hex "Virtual address of kernel base" if KERNEL_START_BOOL
1022 default "0xc0000000"
1023
1024config TASK_SIZE_BOOL
1025 bool "Set custom user task size"
1026 depends on ADVANCED_OPTIONS
1027 help
1028 This option allows you to set the amount of virtual address space
1029 allocated to user tasks. This can be useful in optimizing the
1030 virtual memory layout of the system.
1031
1032 Say N here unless you know what you are doing.
1033
1034config TASK_SIZE
1035 hex "Size of user task space" if TASK_SIZE_BOOL
1036 default "0x80000000"
1037
1038config CONSISTENT_START_BOOL
1039 bool "Set custom consistent memory pool address"
1040 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1041 help
1042 This option allows you to set the base virtual address
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001043 of the consistent memory pool. This pool of virtual
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001044 memory is used to make consistent memory allocations.
1045
1046config CONSISTENT_START
1047 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1048 default "0xff100000" if NOT_COHERENT_CACHE
1049
1050config CONSISTENT_SIZE_BOOL
1051 bool "Set custom consistent memory pool size"
1052 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1053 help
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001054 This option allows you to set the size of the
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001055 consistent memory pool. This pool of virtual memory
1056 is used to make consistent memory allocations.
1057
1058config CONSISTENT_SIZE
1059 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1060 default "0x00200000" if NOT_COHERENT_CACHE
1061
1062config BOOT_LOAD_BOOL
1063 bool "Set the boot link/load address"
1064 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
1065 help
1066 This option allows you to set the initial load address of the zImage
1067 or zImage.initrd file. This can be useful if you are on a board
1068 which has a small amount of memory.
1069
1070 Say N here unless you know what you are doing.
1071
1072config BOOT_LOAD
1073 hex "Link/load address for booting" if BOOT_LOAD_BOOL
1074 default "0x00400000" if 40x || 8xx || 8260
1075 default "0x01000000" if 44x
1076 default "0x00800000"
1077
1078config PIN_TLB
1079 bool "Pinned Kernel TLBs (860 ONLY)"
1080 depends on ADVANCED_OPTIONS && 8xx
1081endmenu
1082
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001083if PPC64
1084config KERNEL_START
1085 hex
Stephen Rothwelleeb2d212005-09-30 17:24:15 +10001086 default "0xc000000000000000"
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001087endif
1088
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001089source "net/Kconfig"
1090
1091source "drivers/Kconfig"
1092
1093source "fs/Kconfig"
1094
1095# XXX source "arch/ppc/8xx_io/Kconfig"
1096
1097# XXX source "arch/ppc/8260_io/Kconfig"
1098
Li Yang98658532006-10-03 23:10:46 -05001099source "arch/powerpc/sysdev/qe_lib/Kconfig"
1100
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001101source "arch/powerpc/platforms/iseries/Kconfig"
1102
1103source "lib/Kconfig"
1104
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001105menu "Instrumentation Support"
1106 depends on EXPERIMENTAL
1107
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001108source "arch/powerpc/oprofile/Kconfig"
1109
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001110config KPROBES
1111 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -07001112 depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001113 help
1114 Kprobes allows you to trap at almost any kernel address and
1115 execute a callback function. register_kprobe() establishes
1116 a probepoint and specifies the callback. Kprobes is useful
1117 for kernel debugging, non-intrusive instrumentation and testing.
1118 If in doubt, say "N".
1119endmenu
1120
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001121source "arch/powerpc/Kconfig.debug"
1122
1123source "security/Kconfig"
1124
1125config KEYS_COMPAT
1126 bool
1127 depends on COMPAT && KEYS
1128 default y
1129
1130source "crypto/Kconfig"