blob: 26713da1b524b63027bb4e2cb381ac84d170d156 [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
Johannes Berg17e638b2007-03-19 11:53:53 +010014config PPC_PM_NEEDS_RTC_LIB
15 bool
16 select RTC_LIB
17 default y if PM
18
Paul Mackerras14cf11a2005-09-26 16:04:21 +100019config PPC32
20 bool
21 default y if !PPC64
22
23config 64BIT
24 bool
25 default y if PPC64
26
27config PPC_MERGE
28 def_bool y
29
30config MMU
31 bool
32 default y
33
Paul Mackerras14cf11a2005-09-26 16:04:21 +100034config GENERIC_HARDIRQS
35 bool
36 default y
37
Ingo Molnar0d7012a2006-06-29 02:24:43 -070038config IRQ_PER_CPU
39 bool
40 default y
41
Paul Mackerras14cf11a2005-09-26 16:04:21 +100042config RWSEM_GENERIC_SPINLOCK
43 bool
44
45config RWSEM_XCHGADD_ALGORITHM
46 bool
47 default y
48
David Howellsf0d1b0b2006-12-08 02:37:49 -080049config ARCH_HAS_ILOG2_U32
50 bool
David Howellsef55d532006-12-08 02:37:53 -080051 default y
David Howellsf0d1b0b2006-12-08 02:37:49 -080052
53config ARCH_HAS_ILOG2_U64
54 bool
David Howellsef55d532006-12-08 02:37:53 -080055 default y if 64BIT
David Howellsf0d1b0b2006-12-08 02:37:49 -080056
Akinobu Mitae779b2f2006-03-26 01:39:33 -080057config GENERIC_HWEIGHT
58 bool
59 default y
60
Paul Mackerras14cf11a2005-09-26 16:04:21 +100061config GENERIC_CALIBRATE_DELAY
62 bool
63 default y
64
Jon Mason0a9cb462006-05-19 15:35:32 -050065config GENERIC_FIND_NEXT_BIT
66 bool
67 default y
68
Paul Mackerras14cf11a2005-09-26 16:04:21 +100069config PPC
70 bool
71 default y
72
73config EARLY_PRINTK
74 bool
Benjamin Herrenschmidt51d30822005-11-23 17:57:25 +110075 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +100076
77config COMPAT
78 bool
79 default y if PPC64
80
81config SYSVIPC_COMPAT
82 bool
83 depends on COMPAT && SYSVIPC
84 default y
85
86# All PPC32s use generic nvram driver through ppc_md
87config GENERIC_NVRAM
88 bool
89 default y if PPC32
90
91config SCHED_NO_NO_OMIT_FRAME_POINTER
92 bool
93 default y
94
95config ARCH_MAY_HAVE_PC_FDC
96 bool
Stephen Rothwellbed59272007-03-04 17:04:44 +110097 default !PPC_PSERIES || PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +100098
Kumar Gala08264cb2006-01-10 21:43:56 -060099config PPC_OF
100 def_bool y
101
102config PPC_UDBG_16550
103 bool
104 default n
105
Kumar Gala08264cb2006-01-10 21:43:56 -0600106config GENERIC_TBSYNC
107 bool
108 default y if PPC32 && SMP
109 default n
110
Al Viroe65e1fc2006-09-12 03:04:40 -0400111config AUDIT_ARCH
112 bool
113 default y
114
Jeremy Fitzhardinge73c9cea2006-12-08 03:30:41 -0800115config GENERIC_BUG
116 bool
117 default y
118 depends on BUG
119
Kumar Galaf4fc4a52006-01-16 10:53:22 -0600120config DEFAULT_UIMAGE
121 bool
122 help
123 Used to allow a board to specify it wants a uImage built by default
124 default n
125
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000126menu "Processor support"
127choice
128 prompt "Processor Type"
129 depends on PPC32
130 default 6xx
131
Kumar Gala08264cb2006-01-10 21:43:56 -0600132config CLASSIC32
Grant Likely650f3282006-12-04 17:29:13 -0700133 bool "52xx/6xx/7xx/74xx"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000134 select PPC_FPU
Kumar Gala08264cb2006-01-10 21:43:56 -0600135 select 6xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000136 help
137 There are four families of PowerPC chips supported. The more common
138 types (601, 603, 604, 740, 750, 7400), the Motorola embedded
139 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
140 embedded versions (403 and 405) and the high end 64 bit Power
141 processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
Grant Likely650f3282006-12-04 17:29:13 -0700142
143 This option is the catch-all for 6xx types, including some of the
144 embedded versions. Unless there is see an option for the specific
145 chip family you are using, you want this option.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000146
Grant Likely650f3282006-12-04 17:29:13 -0700147 You do not want this if you are building a kernel for a 64 bit
148 IBM RS/6000 or an Apple G5, choose 6xx.
149
150 If unsure, select this option
151
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000152 Note that the kernel runs in 32-bit mode even on 64-bit chips.
153
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000154config PPC_82xx
155 bool "Freescale 82xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600156 select 6xx
157 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000158
159config PPC_83xx
160 bool "Freescale 83xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600161 select 6xx
162 select FSL_SOC
163 select 83xx
164 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000165
Becky Bruce63dafe52006-01-14 16:57:39 -0600166config PPC_85xx
167 bool "Freescale 85xx"
168 select E500
169 select FSL_SOC
170 select 85xx
171
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500172config PPC_86xx
173 bool "Freescale 86xx"
174 select 6xx
175 select FSL_SOC
Jon Loeliger3e4e97f2007-03-07 14:48:45 -0600176 select FSL_PCIE
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500177 select PPC_FPU
178 select ALTIVEC
179 help
180 The Freescale E600 SoCs have 74xx cores.
181
Vitaly Bordug5902ebc2007-01-24 22:41:06 +0300182config PPC_8xx
183 bool "Freescale 8xx"
184 select FSL_SOC
185 select 8xx
186
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000187config 40x
188 bool "AMCC 40x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100189 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000190
191config 44x
192 bool "AMCC 44x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100193 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000194
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000195config E200
196 bool "Freescale e200"
197
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000198endchoice
199
200config POWER4_ONLY
201 bool "Optimize for POWER4"
Paul Mackerras187a0062005-10-06 12:49:05 +1000202 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000203 default n
204 ---help---
205 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
206 The resulting binary will not work on POWER3 or RS64 processors
207 when compiled with binutils 2.15 or later.
208
209config POWER3
210 bool
Paul Mackerras187a0062005-10-06 12:49:05 +1000211 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000212 default y if !POWER4_ONLY
213
214config POWER4
Paul Mackerras187a0062005-10-06 12:49:05 +1000215 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000216 def_bool y
217
Kumar Gala08264cb2006-01-10 21:43:56 -0600218config 6xx
219 bool
220
221# this is temp to handle compat with arch=ppc
Vitaly Bordug5902ebc2007-01-24 22:41:06 +0300222config 8xx
223 bool
224
225# this is temp to handle compat with arch=ppc
Kumar Gala08264cb2006-01-10 21:43:56 -0600226config 83xx
227 bool
228
Becky Bruce63dafe52006-01-14 16:57:39 -0600229# this is temp to handle compat with arch=ppc
230config 85xx
231 bool
232
233config E500
234 bool
235
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000236config PPC_FPU
Paul Mackerras187a0062005-10-06 12:49:05 +1000237 bool
238 default y if PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000239
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100240config PPC_DCR_NATIVE
241 bool
242 default n
243
244config PPC_DCR_MMIO
245 bool
246 default n
247
248config PPC_DCR
249 bool
250 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
251 default y
252
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100253config PPC_OF_PLATFORM_PCI
254 bool
255 depends on PPC64 # not supported on 32 bits yet
256 default n
257
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000258config BOOKE
259 bool
260 depends on E200 || E500
261 default y
262
263config FSL_BOOKE
264 bool
265 depends on E200 || E500
266 default y
267
268config PTE_64BIT
269 bool
270 depends on 44x || E500
271 default y if 44x
272 default y if E500 && PHYS_64BIT
273
274config PHYS_64BIT
275 bool 'Large physical address support' if E500
276 depends on 44x || E500
Benjamin Herrenschmidt3d1ea8e2006-11-11 17:25:19 +1100277 select RESOURCES_64BIT
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000278 default y if 44x
279 ---help---
280 This option enables kernel support for larger than 32-bit physical
281 addresses. This features is not be available on all e500 cores.
282
283 If in doubt, say N here.
284
285config ALTIVEC
286 bool "AltiVec Support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600287 depends on CLASSIC32 || POWER4
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000288 ---help---
289 This option enables kernel support for the Altivec extensions to the
290 PowerPC processor. The kernel currently supports saving and restoring
291 altivec registers, and turning on the 'altivec enable' bit so user
292 processes can execute altivec instructions.
293
294 This option is only usefully if you have a processor that supports
295 altivec (G4, otherwise known as 74xx series), but does not have
296 any affect on a non-altivec cpu (it does, however add code to the
297 kernel).
298
299 If in doubt, say Y here.
300
301config SPE
302 bool "SPE Support"
303 depends on E200 || E500
Becky Bruce63dafe52006-01-14 16:57:39 -0600304 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000305 ---help---
306 This option enables kernel support for the Signal Processing
307 Extensions (SPE) to the PowerPC processor. The kernel currently
308 supports saving and restoring SPE registers, and turning on the
309 'spe enable' bit so user processes can execute SPE instructions.
310
311 This option is only useful if you have a processor that supports
312 SPE (e500, otherwise known as 85xx series), but does not have any
313 effect on a non-spe cpu (it does, however add code to the kernel).
314
315 If in doubt, say Y here.
316
317config PPC_STD_MMU
318 bool
319 depends on 6xx || POWER3 || POWER4 || PPC64
320 default y
321
322config PPC_STD_MMU_32
323 def_bool y
324 depends on PPC_STD_MMU && PPC32
325
Paul Mackerrasc6622f62006-02-24 10:06:59 +1100326config VIRT_CPU_ACCOUNTING
327 bool "Deterministic task and CPU time accounting"
328 depends on PPC64
329 default y
330 help
331 Select this option to enable more accurate task and CPU time
332 accounting. This is done by reading a CPU counter on each
333 kernel entry and exit and on transitions within the kernel
334 between system, softirq and hardirq state, so there is a
335 small performance impact. This also enables accounting of
336 stolen time on logically-partitioned systems running on
337 IBM POWER5-based machines.
338
339 If in doubt, say Y here.
340
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000341config SMP
342 depends on PPC_STD_MMU
343 bool "Symmetric multi-processing support"
344 ---help---
345 This enables support for systems with more than one CPU. If you have
346 a system with only one CPU, say N. If you have a system with more
347 than one CPU, say Y. Note that the kernel does not currently
348 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
349 since they have inadequate hardware support for multiprocessor
350 operation.
351
352 If you say N here, the kernel will run on single and multiprocessor
353 machines, but will use only one CPU of a multiprocessor machine. If
354 you say Y here, the kernel will run on single-processor machines.
355 On a single-processor machine, the kernel will run faster if you say
356 N here.
357
358 If you don't know what to do here, say N.
359
360config NR_CPUS
Olaf Heringe8a167a2005-12-01 21:10:10 +0100361 int "Maximum number of CPUs (2-128)"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000362 range 2 128
363 depends on SMP
364 default "32" if PPC64
365 default "4"
366
367config NOT_COHERENT_CACHE
368 bool
369 depends on 4xx || 8xx || E200
370 default y
371endmenu
372
373source "init/Kconfig"
374
Kumar Gala4330f5d2007-03-16 09:32:17 -0500375source "arch/powerpc/platforms/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000376
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000377menu "Kernel options"
378
379config HIGHMEM
380 bool "High memory support"
381 depends on PPC32
382
383source kernel/Kconfig.hz
384source kernel/Kconfig.preempt
385source "fs/Kconfig.binfmt"
386
387# We optimistically allocate largepages from the VM, so make the limit
388# large enough (16MB). This badly named config option is actually
389# max order + 1
390config FORCE_MAX_ZONEORDER
391 int
392 depends on PPC64
Mike Kravetz02864862005-11-07 13:48:59 -0800393 default "9" if PPC_64K_PAGES
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000394 default "13"
395
396config MATH_EMULATION
397 bool "Math emulation"
Kumar Gala4d527192007-01-26 00:23:34 -0600398 depends on 4xx || 8xx || E200 || PPC_MPC832x || E500
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000399 ---help---
400 Some PowerPC chips designed for embedded applications do not have
401 a floating-point unit and therefore do not implement the
402 floating-point instructions in the PowerPC instruction set. If you
403 say Y here, the kernel will include code to emulate a floating-point
404 unit, which will allow programs that use floating-point
405 instructions to run.
406
407config IOMMU_VMERGE
408 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
409 depends on EXPERIMENTAL && PPC64
410 default n
411 help
412 Cause IO segments sent to a device for DMA to be merged virtually
413 by the IOMMU when they happen to have been allocated contiguously.
414 This doesn't add pressure to the IOMMU allocator. However, some
415 drivers don't support getting large merged segments coming back
416 from *_map_sg(). Say Y if you know the drivers you are using are
417 properly handling this case.
418
419config HOTPLUG_CPU
420 bool "Support for enabling/disabling CPUs"
421 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
422 ---help---
423 Say Y here to be able to disable and re-enable individual
424 CPUs at runtime on SMP machines.
425
426 Say N if you are unsure.
427
Yasunori Gotocc576372006-06-29 02:24:27 -0700428config ARCH_ENABLE_MEMORY_HOTPLUG
429 def_bool y
430
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000431config KEXEC
432 bool "kexec system call (EXPERIMENTAL)"
433 depends on PPC_MULTIPLATFORM && EXPERIMENTAL
434 help
435 kexec is a system call that implements the ability to shutdown your
436 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400437 but it is independent of the system firmware. And like a reboot
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000438 you can start any kernel with it, not just Linux.
439
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400440 The name comes from the similarity to the exec system call.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000441
442 It is an ongoing process to be certain the hardware in a machine
443 is properly shutdown, so do not be surprised if this code does not
444 initially work for you. It may help to enable device hotplugging
445 support. As of this writing the exact hardware interface is
446 strongly in flux, so no good recommendation can be made.
447
Haren Mynenie8625d462006-01-14 13:48:25 -0800448config CRASH_DUMP
Michael Ellermancd9c99d2006-03-10 15:01:08 +1100449 bool "Build a kdump crash kernel (EXPERIMENTAL)"
Haren Mynenie8625d462006-01-14 13:48:25 -0800450 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
451 help
452 Build a kernel suitable for use as a kdump capture kernel.
453 The kernel will be linked at a different address than normal, and
454 so can only be used for Kdump.
455
456 Don't change this unless you know what you are doing.
457
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000458config PPCBUG_NVRAM
459 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
460 default y if PPC_PREP
461
462config IRQ_ALL_CPUS
463 bool "Distribute interrupts on all CPUs by default"
464 depends on SMP && !MV64360
465 help
466 This option gives the kernel permission to distribute IRQs across
467 multiple CPUs. Saying N here will route all IRQs to the first
468 CPU. Generally saying Y is safe, although some problems have been
469 reported with SMP Power Macintoshes with this option enabled.
470
Andy Whitcroftffa27b62005-10-28 17:46:58 -0700471config NUMA
472 bool "NUMA support"
473 depends on PPC64
474 default y if SMP && PPC_PSERIES
475
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700476config NODES_SHIFT
477 int
478 default "4"
479 depends on NEED_MULTIPLE_NODES
480
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000481config ARCH_SELECT_MEMORY_MODEL
482 def_bool y
483 depends on PPC64
484
485config ARCH_FLATMEM_ENABLE
Andy Whitcroft9100b202005-11-29 19:20:55 +0000486 def_bool y
487 depends on (PPC64 && !NUMA) || PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000488
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000489config ARCH_SPARSEMEM_ENABLE
490 def_bool y
Andy Whitcroft9100b202005-11-29 19:20:55 +0000491 depends on PPC64
Anton Blanchard45fb6ce2005-11-11 14:22:35 +1100492
493config ARCH_SPARSEMEM_DEFAULT
494 def_bool y
Benjamin Herrenschmidt78bde532007-02-13 11:46:06 +1100495 depends on (SMP && PPC_PSERIES) || PPC_PS3
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000496
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700497config ARCH_POPULATES_NODE_MAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000498 def_bool y
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700499
500source "mm/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000501
Mike Kravetz7e9191d2005-11-07 09:39:48 -0800502config ARCH_MEMORY_PROBE
503 def_bool y
504 depends on MEMORY_HOTPLUG
505
Andy Whitcroft75167952006-10-21 10:24:14 -0700506# Some NUMA nodes have memory ranges that span
507# other nodes. Even though a pfn is valid and
508# between a node's start and end pfns, it may not
509# reside on that node. See memmap_init_zone()
510# for details.
511config NODES_SPAN_OTHER_NODES
512 def_bool y
513 depends on NEED_MULTIPLE_NODES
514
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100515config PPC_64K_PAGES
516 bool "64k page size"
Benjamin Herrenschmidt863c84b2005-11-07 00:57:58 -0800517 depends on PPC64
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100518 help
519 This option changes the kernel logical page size to 64k. On machines
Kumar Gala98750262007-04-12 18:01:34 -0500520 without processor support for 64k pages, the kernel will simulate
521 them by loading each individual 4k page on demand transparently,
522 while on hardware with such support, it will be used to map
523 normal application pages.
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100524
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000525config SCHED_SMT
526 bool "SMT (Hyperthreading) scheduler support"
527 depends on PPC64 && SMP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000528 help
529 SMT scheduler support improves the CPU scheduler's decision making
530 when dealing with POWER5 cpus at a cost of slightly increased
531 overhead in some places. If unsure say N here.
532
533config PROC_DEVICETREE
Paul Mackerras5f296752005-10-17 20:14:59 +1000534 bool "Support for device tree in /proc"
535 depends on PROC_FS
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000536 help
537 This option adds a device-tree directory under /proc which contains
538 an image of the device tree that the kernel copies from Open
Paul Mackerras5f296752005-10-17 20:14:59 +1000539 Firmware or other boot firmware. If unsure, say Y here.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000540
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000541config CMDLINE_BOOL
542 bool "Default bootloader kernel arguments"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000543
544config CMDLINE
545 string "Initial kernel command string"
546 depends on CMDLINE_BOOL
547 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
548 help
549 On some platforms, there is currently no way for the boot loader to
550 pass arguments to the kernel. For these platforms, you can supply
551 some command-line options at build time by entering them here. In
552 most cases you will need to specify the root device here.
553
554if !44x || BROKEN
555source kernel/power/Kconfig
556endif
557
558config SECCOMP
559 bool "Enable seccomp to safely compute untrusted bytecode"
560 depends on PROC_FS
561 default y
562 help
563 This kernel feature is useful for number crunching applications
564 that may need to compute untrusted bytecode during their
565 execution. By using pipes or other transports made available to
566 the process as file descriptors supporting the read/write
567 syscalls, it's possible to isolate those applications in
568 their own address space using seccomp. Once seccomp is
569 enabled via /proc/<pid>/seccomp, it cannot be disabled
570 and the task is only allowed to execute a few safe syscalls
571 defined by each seccomp mode.
572
573 If unsure, say Y. Only embedded should say N here.
574
575endmenu
576
577config ISA_DMA_API
578 bool
579 default y
580
581menu "Bus options"
582
583config ISA
584 bool "Support for ISA-bus hardware"
585 depends on PPC_PREP || PPC_CHRP
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000586 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000587 help
588 Find out whether you have ISA slots on your motherboard. ISA is the
589 name of a bus system, i.e. the way the CPU talks to the other stuff
590 inside your box. If you have an Apple machine, say N here; if you
591 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
592 you have an embedded board, consult your board documentation.
593
Christoph Lameter5ac6da62007-02-10 01:43:14 -0800594config ZONE_DMA
595 bool
596 default y
597
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000598config GENERIC_ISA_DMA
599 bool
600 depends on PPC64 || POWER4 || 6xx && !CPM2
601 default y
602
Paul Mackerras25635c72005-10-26 16:36:55 +1000603config PPC_INDIRECT_PCI
604 bool
605 depends on PCI
Becky Bruce63dafe52006-01-14 16:57:39 -0600606 default y if 40x || 44x
Paul Mackerras25635c72005-10-26 16:36:55 +1000607 default n
608
Kumar Gala4a89f7f2007-04-12 15:41:26 -0500609config PPC_INDIRECT_PCI_BE
610 bool
611 depends PPC_INDIRECT_PCI
612 default n
613
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000614config EISA
615 bool
616
617config SBUS
618 bool
619
Kumar Gala08264cb2006-01-10 21:43:56 -0600620config FSL_SOC
621 bool
622
Jon Loeliger3e4e97f2007-03-07 14:48:45 -0600623config FSL_PCIE
624 bool
625 depends on PPC_86xx
626
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000627# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
628config MCA
629 bool
630
631config PCI
Jon Loeliger53158622006-08-09 10:37:28 -0500632 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
Stephen Rothwellbed59272007-03-04 17:04:44 +1100633 || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \
634 || MPC7448HPC2 || PPC_PS3
Jon Loeliger53158622006-08-09 10:37:28 -0500635 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
636 && !PPC_85xx && !PPC_86xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000637 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
638 default PCI_QSPAN if !4xx && !CPM2 && 8xx
639 help
640 Find out whether your system includes a PCI bus. PCI is the name of
641 a bus system, i.e. the way the CPU talks to the other stuff inside
642 your box. If you say Y here, the kernel will include drivers and
643 infrastructure code to support PCI bus devices.
644
645config PCI_DOMAINS
646 bool
647 default PCI
648
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000649config PCI_QSPAN
650 bool "QSpan PCI"
651 depends on !4xx && !CPM2 && 8xx
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000652 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000653 help
654 Say Y here if you have a system based on a Motorola 8xx-series
655 embedded processor with a QSPAN PCI interface, otherwise say N.
656
657config PCI_8260
658 bool
659 depends on PCI && 8260
Paul Mackerras25635c72005-10-26 16:36:55 +1000660 select PPC_INDIRECT_PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000661 default y
662
663config 8260_PCI9
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700664 bool "Enable workaround for MPC826x erratum PCI 9"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000665 depends on PCI_8260 && !ADS8272
666 default y
667
668choice
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700669 prompt "IDMA channel for PCI 9 workaround"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000670 depends on 8260_PCI9
671
672config 8260_PCI9_IDMA1
673 bool "IDMA1"
674
675config 8260_PCI9_IDMA2
676 bool "IDMA2"
677
678config 8260_PCI9_IDMA3
679 bool "IDMA3"
680
681config 8260_PCI9_IDMA4
682 bool "IDMA4"
683
684endchoice
685
Jake Moilanenbb53bb32006-06-07 16:05:46 -0500686source "drivers/pci/pcie/Kconfig"
687
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000688source "drivers/pci/Kconfig"
689
690source "drivers/pcmcia/Kconfig"
691
692source "drivers/pci/hotplug/Kconfig"
693
694endmenu
695
696menu "Advanced setup"
697 depends on PPC32
698
699config ADVANCED_OPTIONS
700 bool "Prompt for advanced kernel configuration options"
701 help
702 This option will enable prompting for a variety of advanced kernel
703 configuration options. These options can cause the kernel to not
704 work if they are set incorrectly, but can be used to optimize certain
705 aspects of kernel memory management.
706
707 Unless you know what you are doing, say N here.
708
709comment "Default settings for advanced configuration options are used"
710 depends on !ADVANCED_OPTIONS
711
712config HIGHMEM_START_BOOL
713 bool "Set high memory pool address"
714 depends on ADVANCED_OPTIONS && HIGHMEM
715 help
716 This option allows you to set the base address of the kernel virtual
717 area used to map high memory pages. This can be useful in
718 optimizing the layout of kernel virtual memory.
719
720 Say N here unless you know what you are doing.
721
722config HIGHMEM_START
723 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
724 default "0xfe000000"
725
726config LOWMEM_SIZE_BOOL
727 bool "Set maximum low memory"
728 depends on ADVANCED_OPTIONS
729 help
730 This option allows you to set the maximum amount of memory which
731 will be used as "low memory", that is, memory which the kernel can
732 access directly, without having to set up a kernel virtual mapping.
733 This can be useful in optimizing the layout of kernel virtual
734 memory.
735
736 Say N here unless you know what you are doing.
737
738config LOWMEM_SIZE
739 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
740 default "0x30000000"
741
742config KERNEL_START_BOOL
743 bool "Set custom kernel base address"
744 depends on ADVANCED_OPTIONS
745 help
746 This option allows you to set the kernel virtual address at which
747 the kernel will map low memory (the kernel image will be linked at
748 this address). This can be useful in optimizing the virtual memory
749 layout of the system.
750
751 Say N here unless you know what you are doing.
752
753config KERNEL_START
754 hex "Virtual address of kernel base" if KERNEL_START_BOOL
755 default "0xc0000000"
756
757config TASK_SIZE_BOOL
758 bool "Set custom user task size"
759 depends on ADVANCED_OPTIONS
760 help
761 This option allows you to set the amount of virtual address space
762 allocated to user tasks. This can be useful in optimizing the
763 virtual memory layout of the system.
764
765 Say N here unless you know what you are doing.
766
767config TASK_SIZE
768 hex "Size of user task space" if TASK_SIZE_BOOL
769 default "0x80000000"
770
771config CONSISTENT_START_BOOL
772 bool "Set custom consistent memory pool address"
773 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
774 help
775 This option allows you to set the base virtual address
Matt LaPlante4b3f6862006-10-03 22:21:02 +0200776 of the consistent memory pool. This pool of virtual
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000777 memory is used to make consistent memory allocations.
778
779config CONSISTENT_START
780 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
781 default "0xff100000" if NOT_COHERENT_CACHE
782
783config CONSISTENT_SIZE_BOOL
784 bool "Set custom consistent memory pool size"
785 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
786 help
Matt LaPlante4b3f6862006-10-03 22:21:02 +0200787 This option allows you to set the size of the
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000788 consistent memory pool. This pool of virtual memory
789 is used to make consistent memory allocations.
790
791config CONSISTENT_SIZE
792 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
793 default "0x00200000" if NOT_COHERENT_CACHE
794
795config BOOT_LOAD_BOOL
796 bool "Set the boot link/load address"
797 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
798 help
799 This option allows you to set the initial load address of the zImage
800 or zImage.initrd file. This can be useful if you are on a board
801 which has a small amount of memory.
802
803 Say N here unless you know what you are doing.
804
805config BOOT_LOAD
806 hex "Link/load address for booting" if BOOT_LOAD_BOOL
807 default "0x00400000" if 40x || 8xx || 8260
808 default "0x01000000" if 44x
809 default "0x00800000"
810
811config PIN_TLB
812 bool "Pinned Kernel TLBs (860 ONLY)"
813 depends on ADVANCED_OPTIONS && 8xx
814endmenu
815
Stephen Rothwellcabb5582005-09-30 16:16:52 +1000816if PPC64
817config KERNEL_START
818 hex
Stephen Rothwelleeb2d212005-09-30 17:24:15 +1000819 default "0xc000000000000000"
Stephen Rothwellcabb5582005-09-30 16:16:52 +1000820endif
821
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000822source "net/Kconfig"
823
824source "drivers/Kconfig"
825
826source "fs/Kconfig"
827
828# XXX source "arch/ppc/8xx_io/Kconfig"
829
830# XXX source "arch/ppc/8260_io/Kconfig"
831
Li Yang98658532006-10-03 23:10:46 -0500832source "arch/powerpc/sysdev/qe_lib/Kconfig"
833
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000834source "lib/Kconfig"
835
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800836menu "Instrumentation Support"
Kumar Gala98750262007-04-12 18:01:34 -0500837 depends on EXPERIMENTAL
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800838
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000839source "arch/powerpc/oprofile/Kconfig"
840
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800841config KPROBES
842 bool "Kprobes (EXPERIMENTAL)"
Kumar Gala82090032007-02-06 22:55:19 -0600843 depends on !BOOKE && !4xx && KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800844 help
845 Kprobes allows you to trap at almost any kernel address and
846 execute a callback function. register_kprobe() establishes
847 a probepoint and specifies the callback. Kprobes is useful
848 for kernel debugging, non-intrusive instrumentation and testing.
849 If in doubt, say "N".
850endmenu
851
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000852source "arch/powerpc/Kconfig.debug"
853
854source "security/Kconfig"
855
856config KEYS_COMPAT
857 bool
858 depends on COMPAT && KEYS
859 default y
860
861source "crypto/Kconfig"