blob: 3d26ba7ad76de606500dad0c9bd377267b970ee6 [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
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100226config PPC_OF_PLATFORM_PCI
227 bool
228 depends on PPC64 # not supported on 32 bits yet
229 default n
230
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000231config BOOKE
232 bool
233 depends on E200 || E500
234 default y
235
236config FSL_BOOKE
237 bool
238 depends on E200 || E500
239 default y
240
241config PTE_64BIT
242 bool
243 depends on 44x || E500
244 default y if 44x
245 default y if E500 && PHYS_64BIT
246
247config PHYS_64BIT
248 bool 'Large physical address support' if E500
249 depends on 44x || E500
250 default y if 44x
251 ---help---
252 This option enables kernel support for larger than 32-bit physical
253 addresses. This features is not be available on all e500 cores.
254
255 If in doubt, say N here.
256
257config ALTIVEC
258 bool "AltiVec Support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600259 depends on CLASSIC32 || POWER4
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000260 ---help---
261 This option enables kernel support for the Altivec extensions to the
262 PowerPC processor. The kernel currently supports saving and restoring
263 altivec registers, and turning on the 'altivec enable' bit so user
264 processes can execute altivec instructions.
265
266 This option is only usefully if you have a processor that supports
267 altivec (G4, otherwise known as 74xx series), but does not have
268 any affect on a non-altivec cpu (it does, however add code to the
269 kernel).
270
271 If in doubt, say Y here.
272
273config SPE
274 bool "SPE Support"
275 depends on E200 || E500
Becky Bruce63dafe52006-01-14 16:57:39 -0600276 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000277 ---help---
278 This option enables kernel support for the Signal Processing
279 Extensions (SPE) to the PowerPC processor. The kernel currently
280 supports saving and restoring SPE registers, and turning on the
281 'spe enable' bit so user processes can execute SPE instructions.
282
283 This option is only useful if you have a processor that supports
284 SPE (e500, otherwise known as 85xx series), but does not have any
285 effect on a non-spe cpu (it does, however add code to the kernel).
286
287 If in doubt, say Y here.
288
289config PPC_STD_MMU
290 bool
291 depends on 6xx || POWER3 || POWER4 || PPC64
292 default y
293
294config PPC_STD_MMU_32
295 def_bool y
296 depends on PPC_STD_MMU && PPC32
297
Paul Mackerrasc6622f62006-02-24 10:06:59 +1100298config VIRT_CPU_ACCOUNTING
299 bool "Deterministic task and CPU time accounting"
300 depends on PPC64
301 default y
302 help
303 Select this option to enable more accurate task and CPU time
304 accounting. This is done by reading a CPU counter on each
305 kernel entry and exit and on transitions within the kernel
306 between system, softirq and hardirq state, so there is a
307 small performance impact. This also enables accounting of
308 stolen time on logically-partitioned systems running on
309 IBM POWER5-based machines.
310
311 If in doubt, say Y here.
312
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000313config SMP
314 depends on PPC_STD_MMU
315 bool "Symmetric multi-processing support"
316 ---help---
317 This enables support for systems with more than one CPU. If you have
318 a system with only one CPU, say N. If you have a system with more
319 than one CPU, say Y. Note that the kernel does not currently
320 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
321 since they have inadequate hardware support for multiprocessor
322 operation.
323
324 If you say N here, the kernel will run on single and multiprocessor
325 machines, but will use only one CPU of a multiprocessor machine. If
326 you say Y here, the kernel will run on single-processor machines.
327 On a single-processor machine, the kernel will run faster if you say
328 N here.
329
330 If you don't know what to do here, say N.
331
332config NR_CPUS
Olaf Heringe8a167a2005-12-01 21:10:10 +0100333 int "Maximum number of CPUs (2-128)"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000334 range 2 128
335 depends on SMP
336 default "32" if PPC64
337 default "4"
338
339config NOT_COHERENT_CACHE
340 bool
341 depends on 4xx || 8xx || E200
342 default y
343endmenu
344
345source "init/Kconfig"
346
347menu "Platform support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600348 depends on PPC64 || CLASSIC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000349
350choice
351 prompt "Machine type"
352 default PPC_MULTIPLATFORM
353
354config PPC_MULTIPLATFORM
355 bool "Generic desktop/server/laptop"
356 help
357 Select this option if configuring for an IBM pSeries or
358 RS/6000 machine, an Apple machine, or a PReP, CHRP,
359 Maple or Cell-based machine.
360
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000361config EMBEDDED6xx
362 bool "Embedded 6xx/7xx/7xxx-based board"
Zang Roy-r61911c5d56332006-06-13 15:07:15 +0800363 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000364
365config APUS
366 bool "Amiga-APUS"
367 depends on PPC32 && BROKEN
368 help
369 Select APUS if configuring for a PowerUP Amiga.
370 More information is available at:
371 <http://linux-apus.sourceforge.net/>.
372endchoice
373
Li Yang98658532006-10-03 23:10:46 -0500374config QUICC_ENGINE
375 bool
376 depends on PPC_MPC836x || PPC_MPC832x
377 default y
378 help
379 The QUICC Engine (QE) is a new generation of communications
380 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
381 Selecting this option means that you wish to build a kernel
382 for a machine with a QE coprocessor.
383
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000384config PPC_PSERIES
385 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700386 bool "IBM pSeries & new (POWER5-based) iSeries"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000387 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000388 select PPC_I8259
Paul Mackerras033ef332005-10-26 17:05:24 +1000389 select PPC_RTAS
390 select RTAS_ERROR_LOGGING
Paul Mackerras13b8a272006-01-10 16:19:05 +1100391 select PPC_UDBG_16550
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000392 default y
393
Stephen Rothwella542dbd2006-09-25 13:49:58 +1000394config PPC_ISERIES
395 bool "IBM Legacy iSeries"
396 depends on PPC_MULTIPLATFORM && PPC64
397
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000398config PPC_CHRP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700399 bool "Common Hardware Reference Platform (CHRP) based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000400 depends on PPC_MULTIPLATFORM && PPC32
Zang Roy-r6191172335932006-08-25 14:16:30 +1000401 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000402 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000403 select PPC_INDIRECT_PCI
Paul Mackerras033ef332005-10-26 17:05:24 +1000404 select PPC_RTAS
Paul Mackerras830825d2005-10-26 17:16:38 +1000405 select PPC_MPC106
Paul Mackerras13b8a272006-01-10 16:19:05 +1100406 select PPC_UDBG_16550
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000407 default y
408
Nicolas DETc37858d2006-11-05 12:57:16 +0100409config PPC_EFIKA
410 bool "bPlan Efika 5k2. MPC5200B based computer"
411 depends on PPC_MULTIPLATFORM && PPC32
412 select PPC_RTAS
413 select RTAS_PROC
414 select PPC_MPC52xx
415 default y
416
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000417config PPC_PMAC
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700418 bool "Apple PowerMac based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000419 depends on PPC_MULTIPLATFORM
Zang Roy-r6191172335932006-08-25 14:16:30 +1000420 select MPIC
Paul Mackerras25635c72005-10-26 16:36:55 +1000421 select PPC_INDIRECT_PCI if PPC32
Paul Mackerrasb6a4ce52005-10-26 22:54:17 +1000422 select PPC_MPC106 if PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000423 default y
424
425config PPC_PMAC64
426 bool
427 depends on PPC_PMAC && POWER4
Zang Roy-r6191172335932006-08-25 14:16:30 +1000428 select MPIC
Paul Mackerras35499c02005-10-22 16:02:39 +1000429 select U3_DART
Benjamin Herrenschmidt1beb6a72005-12-14 13:10:10 +1100430 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100431 select GENERIC_TBSYNC
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000432 select PPC_970_NAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000433 default y
434
435config PPC_PREP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700436 bool "PowerPC Reference Platform (PReP) based machines"
Paul Mackerras5be396b2005-11-14 17:31:55 +1100437 depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
Zang Roy-r6191172335932006-08-25 14:16:30 +1000438 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000439 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000440 select PPC_INDIRECT_PCI
Paul Mackerras13b8a272006-01-10 16:19:05 +1100441 select PPC_UDBG_16550
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000442 default y
443
444config PPC_MAPLE
445 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700446 bool "Maple 970FX Evaluation Board"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000447 select MPIC
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000448 select U3_DART
449 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100450 select GENERIC_TBSYNC
Paul Mackerras13b8a272006-01-10 16:19:05 +1100451 select PPC_UDBG_16550
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000452 select PPC_970_NAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000453 default n
454 help
455 This option enables support for the Maple 970FX Evaluation Board.
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100456 For more information, refer to <http://www.970eval.com>
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000457
Olof Johansson1e768752006-09-06 14:42:08 -0500458config PPC_PASEMI
459 depends on PPC_MULTIPLATFORM && PPC64
460 bool "PA Semi SoC-based platforms"
461 default n
462 select MPIC
463 select PPC_UDBG_16550
464 select GENERIC_TBSYNC
465 help
466 This option enables support for PA Semi's PWRficient line
467 of SoC processors, including PA6T-1682M
468
Arnd Bergmannf3f66f52005-10-31 20:08:37 -0500469config PPC_CELL
Geoff Levandc01ea722006-06-19 20:33:28 +0200470 bool
471 default n
472
473config PPC_CELL_NATIVE
474 bool
475 select PPC_CELL
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100476 select PPC_DCR_MMIO
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100477 select PPC_OF_PLATFORM_PCI
Benjamin Herrenschmidt21fb5a12006-11-11 17:24:58 +1100478 select MPIC
Geoff Levandc01ea722006-06-19 20:33:28 +0200479 default n
480
481config PPC_IBM_CELL_BLADE
Andrew Mortonf127a2b2006-06-25 01:49:07 -0700482 bool "IBM Cell Blade"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000483 depends on PPC_MULTIPLATFORM && PPC64
Geoff Levandc01ea722006-06-19 20:33:28 +0200484 select PPC_CELL_NATIVE
Paul Mackerras033ef332005-10-26 17:05:24 +1000485 select PPC_RTAS
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500486 select MMIO_NVRAM
Paul Mackerras13b8a272006-01-10 16:19:05 +1100487 select PPC_UDBG_16550
Michael Ellerman94b60ec2006-06-23 18:20:22 +1000488 select UDBG_RTAS_CONSOLE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000489
Michael Ellermancc46bb92006-06-23 18:20:16 +1000490config UDBG_RTAS_CONSOLE
Michael Neuling9a2ded52006-08-16 23:12:14 -0500491 bool "RTAS based debug console"
492 depends on PPC_RTAS
Michael Ellermancc46bb92006-06-23 18:20:16 +1000493 default n
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000494
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000495config XICS
496 depends on PPC_PSERIES
497 bool
498 default y
499
500config U3_DART
501 bool
502 depends on PPC_MULTIPLATFORM && PPC64
503 default n
504
Paul Mackerras033ef332005-10-26 17:05:24 +1000505config PPC_RTAS
506 bool
507 default n
508
509config RTAS_ERROR_LOGGING
510 bool
511 depends on PPC_RTAS
512 default n
513
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100514config RTAS_PROC
515 bool "Proc interface to RTAS"
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500516 depends on PPC_RTAS
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100517 default y
518
519config RTAS_FLASH
520 tristate "Firmware flash interface"
521 depends on PPC64 && RTAS_PROC
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500522
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500523config MMIO_NVRAM
524 bool
525 default n
526
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000527config MPIC_BROKEN_U3
528 bool
529 depends on PPC_MAPLE
530 default y
531
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000532config IBMVIO
533 depends on PPC_PSERIES || PPC_ISERIES
534 bool
535 default y
536
Heiko J Schickd7a30102005-11-16 08:56:43 +0100537config IBMEBUS
538 depends on PPC_PSERIES
539 bool "Support for GX bus based adapters"
Heiko J Schickd7a30102005-11-16 08:56:43 +0100540 help
541 Bus device driver for GX bus based adapters.
542
Paul Mackerras830825d2005-10-26 17:16:38 +1000543config PPC_MPC106
544 bool
545 default n
546
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000547config PPC_970_NAP
548 bool
549 default n
550
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000551source "drivers/cpufreq/Kconfig"
552
553config CPU_FREQ_PMAC
554 bool "Support for Apple PowerBooks"
555 depends on CPU_FREQ && ADB_PMU && PPC32
556 select CPU_FREQ_TABLE
557 help
558 This adds support for frequency switching on Apple PowerBooks,
559 this currently includes some models of iBook & Titanium
560 PowerBook.
561
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100562config CPU_FREQ_PMAC64
563 bool "Support for some Apple G5s"
Benjamin Herrenschmidt7ed14c22006-07-06 15:09:19 +1000564 depends on CPU_FREQ && PPC64
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100565 select CPU_FREQ_TABLE
566 help
567 This adds support for frequency switching on Apple iMac G5,
568 and some of the more recent desktop G5 machines as well.
569
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000570config PPC601_SYNC_FIX
571 bool "Workarounds for PPC601 bugs"
572 depends on 6xx && (PPC_PREP || PPC_PMAC)
573 help
574 Some versions of the PPC601 (the first PowerPC chip) have bugs which
575 mean that extra synchronization instructions are required near
576 certain instructions, typically those that make major changes to the
577 CPU state. These extra instructions reduce performance slightly.
578 If you say N here, these extra instructions will not be included,
579 resulting in a kernel which will run faster but may not run at all
580 on some systems with the PPC601 chip.
581
582 If in doubt, say Y here.
583
584config TAU
Paul Mackerras9b781722006-03-27 19:15:26 +1100585 bool "On-chip CPU temperature sensor support"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000586 depends on 6xx
587 help
588 G3 and G4 processors have an on-chip temperature sensor called the
589 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
590 temperature within 2-4 degrees Celsius. This option shows the current
591 on-die temperature in /proc/cpuinfo if the cpu supports it.
592
593 Unfortunately, on some chip revisions, this sensor is very inaccurate
Paul Mackerras9b781722006-03-27 19:15:26 +1100594 and in many cases, does not work at all, so don't assume the cpu
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000595 temp is actually what /proc/cpuinfo says it is.
596
597config TAU_INT
598 bool "Interrupt driven TAU driver (DANGEROUS)"
599 depends on TAU
600 ---help---
601 The TAU supports an interrupt driven mode which causes an interrupt
602 whenever the temperature goes out of range. This is the fastest way
603 to get notified the temp has exceeded a range. With this option off,
604 a timer is used to re-check the temperature periodically.
605
606 However, on some cpus it appears that the TAU interrupt hardware
607 is buggy and can cause a situation which would lead unexplained hard
608 lockups.
609
610 Unless you are extending the TAU driver, or enjoy kernel/hardware
611 debugging, leave this option off.
612
613config TAU_AVERAGE
614 bool "Average high and low temp"
615 depends on TAU
616 ---help---
617 The TAU hardware can compare the temperature to an upper and lower
618 bound. The default behavior is to show both the upper and lower
619 bound in /proc/cpuinfo. If the range is large, the temperature is
620 either changing a lot, or the TAU hardware is broken (likely on some
621 G4's). If the range is small (around 4 degrees), the temperature is
622 relatively stable. If you say Y here, a single temperature value,
623 halfway between the upper and lower bounds, will be reported in
624 /proc/cpuinfo.
625
626 If in doubt, say N here.
Mark A. Greerc2201532006-06-28 14:13:20 -0700627
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000628endmenu
629
630source arch/powerpc/platforms/embedded6xx/Kconfig
631source arch/powerpc/platforms/4xx/Kconfig
Vitaly Borduged943c12006-10-02 22:41:50 +0400632source arch/powerpc/platforms/82xx/Kconfig
Kumar Gala08264cb2006-01-10 21:43:56 -0600633source arch/powerpc/platforms/83xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000634source arch/powerpc/platforms/85xx/Kconfig
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500635source arch/powerpc/platforms/86xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000636source arch/powerpc/platforms/8xx/Kconfig
Arnd Bergmann67207b92005-11-15 15:53:48 -0500637source arch/powerpc/platforms/cell/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000638
639menu "Kernel options"
640
641config HIGHMEM
642 bool "High memory support"
643 depends on PPC32
644
645source kernel/Kconfig.hz
646source kernel/Kconfig.preempt
647source "fs/Kconfig.binfmt"
648
649# We optimistically allocate largepages from the VM, so make the limit
650# large enough (16MB). This badly named config option is actually
651# max order + 1
652config FORCE_MAX_ZONEORDER
653 int
654 depends on PPC64
Mike Kravetz02864862005-11-07 13:48:59 -0800655 default "9" if PPC_64K_PAGES
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000656 default "13"
657
658config MATH_EMULATION
659 bool "Math emulation"
660 depends on 4xx || 8xx || E200 || E500
661 ---help---
662 Some PowerPC chips designed for embedded applications do not have
663 a floating-point unit and therefore do not implement the
664 floating-point instructions in the PowerPC instruction set. If you
665 say Y here, the kernel will include code to emulate a floating-point
666 unit, which will allow programs that use floating-point
667 instructions to run.
668
669config IOMMU_VMERGE
670 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
671 depends on EXPERIMENTAL && PPC64
672 default n
673 help
674 Cause IO segments sent to a device for DMA to be merged virtually
675 by the IOMMU when they happen to have been allocated contiguously.
676 This doesn't add pressure to the IOMMU allocator. However, some
677 drivers don't support getting large merged segments coming back
678 from *_map_sg(). Say Y if you know the drivers you are using are
679 properly handling this case.
680
681config HOTPLUG_CPU
682 bool "Support for enabling/disabling CPUs"
683 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
684 ---help---
685 Say Y here to be able to disable and re-enable individual
686 CPUs at runtime on SMP machines.
687
688 Say N if you are unsure.
689
Yasunori Gotocc576372006-06-29 02:24:27 -0700690config ARCH_ENABLE_MEMORY_HOTPLUG
691 def_bool y
692
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000693config KEXEC
694 bool "kexec system call (EXPERIMENTAL)"
695 depends on PPC_MULTIPLATFORM && EXPERIMENTAL
696 help
697 kexec is a system call that implements the ability to shutdown your
698 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400699 but it is independent of the system firmware. And like a reboot
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000700 you can start any kernel with it, not just Linux.
701
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400702 The name comes from the similarity to the exec system call.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000703
704 It is an ongoing process to be certain the hardware in a machine
705 is properly shutdown, so do not be surprised if this code does not
706 initially work for you. It may help to enable device hotplugging
707 support. As of this writing the exact hardware interface is
708 strongly in flux, so no good recommendation can be made.
709
Haren Mynenie8625d462006-01-14 13:48:25 -0800710config CRASH_DUMP
Michael Ellermancd9c99d2006-03-10 15:01:08 +1100711 bool "Build a kdump crash kernel (EXPERIMENTAL)"
Haren Mynenie8625d462006-01-14 13:48:25 -0800712 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
713 help
714 Build a kernel suitable for use as a kdump capture kernel.
715 The kernel will be linked at a different address than normal, and
716 so can only be used for Kdump.
717
718 Don't change this unless you know what you are doing.
719
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000720config EMBEDDEDBOOT
721 bool
722 depends on 8xx || 8260
723 default y
724
725config PC_KEYBOARD
726 bool "PC PS/2 style Keyboard"
727 depends on 4xx || CPM2
728
729config PPCBUG_NVRAM
730 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
731 default y if PPC_PREP
732
733config IRQ_ALL_CPUS
734 bool "Distribute interrupts on all CPUs by default"
735 depends on SMP && !MV64360
736 help
737 This option gives the kernel permission to distribute IRQs across
738 multiple CPUs. Saying N here will route all IRQs to the first
739 CPU. Generally saying Y is safe, although some problems have been
740 reported with SMP Power Macintoshes with this option enabled.
741
742source "arch/powerpc/platforms/pseries/Kconfig"
743
Andy Whitcroftffa27b62005-10-28 17:46:58 -0700744config NUMA
745 bool "NUMA support"
746 depends on PPC64
747 default y if SMP && PPC_PSERIES
748
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700749config NODES_SHIFT
750 int
751 default "4"
752 depends on NEED_MULTIPLE_NODES
753
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000754config ARCH_SELECT_MEMORY_MODEL
755 def_bool y
756 depends on PPC64
757
758config ARCH_FLATMEM_ENABLE
Andy Whitcroft9100b202005-11-29 19:20:55 +0000759 def_bool y
760 depends on (PPC64 && !NUMA) || PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000761
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000762config ARCH_SPARSEMEM_ENABLE
763 def_bool y
Andy Whitcroft9100b202005-11-29 19:20:55 +0000764 depends on PPC64
Anton Blanchard45fb6ce2005-11-11 14:22:35 +1100765
766config ARCH_SPARSEMEM_DEFAULT
767 def_bool y
Geoff Levand36b600f2006-11-02 21:08:45 -0800768 depends on (SMP && PPC_PSERIES) || PPC_CELL
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000769
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700770config ARCH_POPULATES_NODE_MAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000771 def_bool y
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700772
773source "mm/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000774
Mike Kravetz7e9191d2005-11-07 09:39:48 -0800775config ARCH_MEMORY_PROBE
776 def_bool y
777 depends on MEMORY_HOTPLUG
778
Andy Whitcroft75167952006-10-21 10:24:14 -0700779# Some NUMA nodes have memory ranges that span
780# other nodes. Even though a pfn is valid and
781# between a node's start and end pfns, it may not
782# reside on that node. See memmap_init_zone()
783# for details.
784config NODES_SPAN_OTHER_NODES
785 def_bool y
786 depends on NEED_MULTIPLE_NODES
787
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100788config PPC_64K_PAGES
789 bool "64k page size"
Benjamin Herrenschmidt863c84b2005-11-07 00:57:58 -0800790 depends on PPC64
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100791 help
792 This option changes the kernel logical page size to 64k. On machines
793 without processor support for 64k pages, the kernel will simulate
794 them by loading each individual 4k page on demand transparently,
795 while on hardware with such support, it will be used to map
796 normal application pages.
797
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000798config SCHED_SMT
799 bool "SMT (Hyperthreading) scheduler support"
800 depends on PPC64 && SMP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000801 help
802 SMT scheduler support improves the CPU scheduler's decision making
803 when dealing with POWER5 cpus at a cost of slightly increased
804 overhead in some places. If unsure say N here.
805
806config PROC_DEVICETREE
Paul Mackerras5f296752005-10-17 20:14:59 +1000807 bool "Support for device tree in /proc"
808 depends on PROC_FS
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000809 help
810 This option adds a device-tree directory under /proc which contains
811 an image of the device tree that the kernel copies from Open
Paul Mackerras5f296752005-10-17 20:14:59 +1000812 Firmware or other boot firmware. If unsure, say Y here.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000813
814source "arch/powerpc/platforms/prep/Kconfig"
815
816config CMDLINE_BOOL
817 bool "Default bootloader kernel arguments"
818 depends on !PPC_ISERIES
819
820config CMDLINE
821 string "Initial kernel command string"
822 depends on CMDLINE_BOOL
823 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
824 help
825 On some platforms, there is currently no way for the boot loader to
826 pass arguments to the kernel. For these platforms, you can supply
827 some command-line options at build time by entering them here. In
828 most cases you will need to specify the root device here.
829
830if !44x || BROKEN
831source kernel/power/Kconfig
832endif
833
834config SECCOMP
835 bool "Enable seccomp to safely compute untrusted bytecode"
836 depends on PROC_FS
837 default y
838 help
839 This kernel feature is useful for number crunching applications
840 that may need to compute untrusted bytecode during their
841 execution. By using pipes or other transports made available to
842 the process as file descriptors supporting the read/write
843 syscalls, it's possible to isolate those applications in
844 their own address space using seccomp. Once seccomp is
845 enabled via /proc/<pid>/seccomp, it cannot be disabled
846 and the task is only allowed to execute a few safe syscalls
847 defined by each seccomp mode.
848
849 If unsure, say Y. Only embedded should say N here.
850
851endmenu
852
853config ISA_DMA_API
854 bool
855 default y
856
857menu "Bus options"
858
859config ISA
860 bool "Support for ISA-bus hardware"
861 depends on PPC_PREP || PPC_CHRP
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000862 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000863 help
864 Find out whether you have ISA slots on your motherboard. ISA is the
865 name of a bus system, i.e. the way the CPU talks to the other stuff
866 inside your box. If you have an Apple machine, say N here; if you
867 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
868 you have an embedded board, consult your board documentation.
869
870config GENERIC_ISA_DMA
871 bool
872 depends on PPC64 || POWER4 || 6xx && !CPM2
873 default y
874
Zang Roy-r6191172335932006-08-25 14:16:30 +1000875config MPIC
876 bool
877 default n
878
879config MPIC_WEIRD
880 bool
881 default n
882
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000883config PPC_I8259
884 bool
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000885 default n
886
Paul Mackerras25635c72005-10-26 16:36:55 +1000887config PPC_INDIRECT_PCI
888 bool
889 depends on PCI
Becky Bruce63dafe52006-01-14 16:57:39 -0600890 default y if 40x || 44x
Paul Mackerras25635c72005-10-26 16:36:55 +1000891 default n
892
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000893config EISA
894 bool
895
896config SBUS
897 bool
898
Kumar Gala08264cb2006-01-10 21:43:56 -0600899config FSL_SOC
900 bool
901
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000902# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
903config MCA
904 bool
905
906config PCI
Jon Loeliger53158622006-08-09 10:37:28 -0500907 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
908 || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2
909 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
910 && !PPC_85xx && !PPC_86xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000911 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
912 default PCI_QSPAN if !4xx && !CPM2 && 8xx
913 help
914 Find out whether your system includes a PCI bus. PCI is the name of
915 a bus system, i.e. the way the CPU talks to the other stuff inside
916 your box. If you say Y here, the kernel will include drivers and
917 infrastructure code to support PCI bus devices.
918
919config PCI_DOMAINS
920 bool
921 default PCI
922
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000923config PCI_QSPAN
924 bool "QSpan PCI"
925 depends on !4xx && !CPM2 && 8xx
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000926 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000927 help
928 Say Y here if you have a system based on a Motorola 8xx-series
929 embedded processor with a QSPAN PCI interface, otherwise say N.
930
931config PCI_8260
932 bool
933 depends on PCI && 8260
Paul Mackerras25635c72005-10-26 16:36:55 +1000934 select PPC_INDIRECT_PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000935 default y
936
937config 8260_PCI9
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700938 bool "Enable workaround for MPC826x erratum PCI 9"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000939 depends on PCI_8260 && !ADS8272
940 default y
941
942choice
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700943 prompt "IDMA channel for PCI 9 workaround"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000944 depends on 8260_PCI9
945
946config 8260_PCI9_IDMA1
947 bool "IDMA1"
948
949config 8260_PCI9_IDMA2
950 bool "IDMA2"
951
952config 8260_PCI9_IDMA3
953 bool "IDMA3"
954
955config 8260_PCI9_IDMA4
956 bool "IDMA4"
957
958endchoice
959
Jake Moilanenbb53bb32006-06-07 16:05:46 -0500960source "drivers/pci/pcie/Kconfig"
961
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000962source "drivers/pci/Kconfig"
963
964source "drivers/pcmcia/Kconfig"
965
966source "drivers/pci/hotplug/Kconfig"
967
968endmenu
969
970menu "Advanced setup"
971 depends on PPC32
972
973config ADVANCED_OPTIONS
974 bool "Prompt for advanced kernel configuration options"
975 help
976 This option will enable prompting for a variety of advanced kernel
977 configuration options. These options can cause the kernel to not
978 work if they are set incorrectly, but can be used to optimize certain
979 aspects of kernel memory management.
980
981 Unless you know what you are doing, say N here.
982
983comment "Default settings for advanced configuration options are used"
984 depends on !ADVANCED_OPTIONS
985
986config HIGHMEM_START_BOOL
987 bool "Set high memory pool address"
988 depends on ADVANCED_OPTIONS && HIGHMEM
989 help
990 This option allows you to set the base address of the kernel virtual
991 area used to map high memory pages. This can be useful in
992 optimizing the layout of kernel virtual memory.
993
994 Say N here unless you know what you are doing.
995
996config HIGHMEM_START
997 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
998 default "0xfe000000"
999
1000config LOWMEM_SIZE_BOOL
1001 bool "Set maximum low memory"
1002 depends on ADVANCED_OPTIONS
1003 help
1004 This option allows you to set the maximum amount of memory which
1005 will be used as "low memory", that is, memory which the kernel can
1006 access directly, without having to set up a kernel virtual mapping.
1007 This can be useful in optimizing the layout of kernel virtual
1008 memory.
1009
1010 Say N here unless you know what you are doing.
1011
1012config LOWMEM_SIZE
1013 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1014 default "0x30000000"
1015
1016config KERNEL_START_BOOL
1017 bool "Set custom kernel base address"
1018 depends on ADVANCED_OPTIONS
1019 help
1020 This option allows you to set the kernel virtual address at which
1021 the kernel will map low memory (the kernel image will be linked at
1022 this address). This can be useful in optimizing the virtual memory
1023 layout of the system.
1024
1025 Say N here unless you know what you are doing.
1026
1027config KERNEL_START
1028 hex "Virtual address of kernel base" if KERNEL_START_BOOL
1029 default "0xc0000000"
1030
1031config TASK_SIZE_BOOL
1032 bool "Set custom user task size"
1033 depends on ADVANCED_OPTIONS
1034 help
1035 This option allows you to set the amount of virtual address space
1036 allocated to user tasks. This can be useful in optimizing the
1037 virtual memory layout of the system.
1038
1039 Say N here unless you know what you are doing.
1040
1041config TASK_SIZE
1042 hex "Size of user task space" if TASK_SIZE_BOOL
1043 default "0x80000000"
1044
1045config CONSISTENT_START_BOOL
1046 bool "Set custom consistent memory pool address"
1047 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1048 help
1049 This option allows you to set the base virtual address
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001050 of the consistent memory pool. This pool of virtual
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001051 memory is used to make consistent memory allocations.
1052
1053config CONSISTENT_START
1054 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1055 default "0xff100000" if NOT_COHERENT_CACHE
1056
1057config CONSISTENT_SIZE_BOOL
1058 bool "Set custom consistent memory pool size"
1059 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1060 help
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001061 This option allows you to set the size of the
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001062 consistent memory pool. This pool of virtual memory
1063 is used to make consistent memory allocations.
1064
1065config CONSISTENT_SIZE
1066 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1067 default "0x00200000" if NOT_COHERENT_CACHE
1068
1069config BOOT_LOAD_BOOL
1070 bool "Set the boot link/load address"
1071 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
1072 help
1073 This option allows you to set the initial load address of the zImage
1074 or zImage.initrd file. This can be useful if you are on a board
1075 which has a small amount of memory.
1076
1077 Say N here unless you know what you are doing.
1078
1079config BOOT_LOAD
1080 hex "Link/load address for booting" if BOOT_LOAD_BOOL
1081 default "0x00400000" if 40x || 8xx || 8260
1082 default "0x01000000" if 44x
1083 default "0x00800000"
1084
1085config PIN_TLB
1086 bool "Pinned Kernel TLBs (860 ONLY)"
1087 depends on ADVANCED_OPTIONS && 8xx
1088endmenu
1089
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001090if PPC64
1091config KERNEL_START
1092 hex
Stephen Rothwelleeb2d212005-09-30 17:24:15 +10001093 default "0xc000000000000000"
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001094endif
1095
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001096source "net/Kconfig"
1097
1098source "drivers/Kconfig"
1099
1100source "fs/Kconfig"
1101
1102# XXX source "arch/ppc/8xx_io/Kconfig"
1103
1104# XXX source "arch/ppc/8260_io/Kconfig"
1105
Li Yang98658532006-10-03 23:10:46 -05001106source "arch/powerpc/sysdev/qe_lib/Kconfig"
1107
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001108source "arch/powerpc/platforms/iseries/Kconfig"
1109
1110source "lib/Kconfig"
1111
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001112menu "Instrumentation Support"
1113 depends on EXPERIMENTAL
1114
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001115source "arch/powerpc/oprofile/Kconfig"
1116
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001117config KPROBES
1118 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -07001119 depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001120 help
1121 Kprobes allows you to trap at almost any kernel address and
1122 execute a callback function. register_kprobe() establishes
1123 a probepoint and specifies the callback. Kprobes is useful
1124 for kernel debugging, non-intrusive instrumentation and testing.
1125 If in doubt, say "N".
1126endmenu
1127
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001128source "arch/powerpc/Kconfig.debug"
1129
1130source "security/Kconfig"
1131
1132config KEYS_COMPAT
1133 bool
1134 depends on COMPAT && KEYS
1135 default y
1136
1137source "crypto/Kconfig"