[PATCH] LOG2: Implement a general integer log2 facility in the kernel
[deliverable/linux.git] / arch / powerpc / Kconfig
1 # For a description of the syntax of this configuration file,
2 # see Documentation/kbuild/kconfig-language.txt.
3 #
4
5 mainmenu "Linux/PowerPC Kernel Configuration"
6
7 config 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
14 config PPC32
15 bool
16 default y if !PPC64
17
18 config 64BIT
19 bool
20 default y if PPC64
21
22 config PPC_MERGE
23 def_bool y
24
25 config MMU
26 bool
27 default y
28
29 config GENERIC_HARDIRQS
30 bool
31 default y
32
33 config IRQ_PER_CPU
34 bool
35 default y
36
37 config RWSEM_GENERIC_SPINLOCK
38 bool
39
40 config RWSEM_XCHGADD_ALGORITHM
41 bool
42 default y
43
44 config ARCH_HAS_ILOG2_U32
45 bool
46 default n
47
48 config ARCH_HAS_ILOG2_U64
49 bool
50 default n
51
52 config GENERIC_HWEIGHT
53 bool
54 default y
55
56 config GENERIC_CALIBRATE_DELAY
57 bool
58 default y
59
60 config GENERIC_FIND_NEXT_BIT
61 bool
62 default y
63
64 config PPC
65 bool
66 default y
67
68 config EARLY_PRINTK
69 bool
70 default y
71
72 config COMPAT
73 bool
74 default y if PPC64
75
76 config SYSVIPC_COMPAT
77 bool
78 depends on COMPAT && SYSVIPC
79 default y
80
81 # All PPC32s use generic nvram driver through ppc_md
82 config GENERIC_NVRAM
83 bool
84 default y if PPC32
85
86 config SCHED_NO_NO_OMIT_FRAME_POINTER
87 bool
88 default y
89
90 config ARCH_MAY_HAVE_PC_FDC
91 bool
92 default y
93
94 config PPC_OF
95 def_bool y
96
97 config PPC_UDBG_16550
98 bool
99 default n
100
101 config GENERIC_TBSYNC
102 bool
103 default y if PPC32 && SMP
104 default n
105
106 config AUDIT_ARCH
107 bool
108 default y
109
110 config DEFAULT_UIMAGE
111 bool
112 help
113 Used to allow a board to specify it wants a uImage built by default
114 default n
115
116 menu "Processor support"
117 choice
118 prompt "Processor Type"
119 depends on PPC32
120 default 6xx
121
122 config CLASSIC32
123 bool "52xx/6xx/7xx/74xx"
124 select PPC_FPU
125 select 6xx
126 help
127 There are four families of PowerPC chips supported. The more common
128 types (601, 603, 604, 740, 750, 7400), the Motorola embedded
129 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
130 embedded versions (403 and 405) and the high end 64 bit Power
131 processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
132
133 This option is the catch-all for 6xx types, including some of the
134 embedded versions. Unless there is see an option for the specific
135 chip family you are using, you want this option.
136
137 You do not want this if you are building a kernel for a 64 bit
138 IBM RS/6000 or an Apple G5, choose 6xx.
139
140 If unsure, select this option
141
142 Note that the kernel runs in 32-bit mode even on 64-bit chips.
143
144 config PPC_82xx
145 bool "Freescale 82xx"
146 select 6xx
147 select PPC_FPU
148
149 config PPC_83xx
150 bool "Freescale 83xx"
151 select 6xx
152 select FSL_SOC
153 select 83xx
154 select PPC_FPU
155
156 config PPC_85xx
157 bool "Freescale 85xx"
158 select E500
159 select FSL_SOC
160 select 85xx
161
162 config PPC_86xx
163 bool "Freescale 86xx"
164 select 6xx
165 select FSL_SOC
166 select PPC_FPU
167 select ALTIVEC
168 help
169 The Freescale E600 SoCs have 74xx cores.
170
171 config 40x
172 bool "AMCC 40x"
173 select PPC_DCR_NATIVE
174
175 config 44x
176 bool "AMCC 44x"
177 select PPC_DCR_NATIVE
178
179 config 8xx
180 bool "Freescale 8xx"
181
182 config E200
183 bool "Freescale e200"
184
185 endchoice
186
187 config POWER4_ONLY
188 bool "Optimize for POWER4"
189 depends on PPC64
190 default n
191 ---help---
192 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
193 The resulting binary will not work on POWER3 or RS64 processors
194 when compiled with binutils 2.15 or later.
195
196 config POWER3
197 bool
198 depends on PPC64
199 default y if !POWER4_ONLY
200
201 config POWER4
202 depends on PPC64
203 def_bool y
204
205 config 6xx
206 bool
207
208 # this is temp to handle compat with arch=ppc
209 config 83xx
210 bool
211
212 # this is temp to handle compat with arch=ppc
213 config 85xx
214 bool
215
216 config E500
217 bool
218
219 config PPC_FPU
220 bool
221 default y if PPC64
222
223 config PPC_DCR_NATIVE
224 bool
225 default n
226
227 config PPC_DCR_MMIO
228 bool
229 default n
230
231 config PPC_DCR
232 bool
233 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
234 default y
235
236 config PPC_OF_PLATFORM_PCI
237 bool
238 depends on PPC64 # not supported on 32 bits yet
239 default n
240
241 config BOOKE
242 bool
243 depends on E200 || E500
244 default y
245
246 config FSL_BOOKE
247 bool
248 depends on E200 || E500
249 default y
250
251 config PTE_64BIT
252 bool
253 depends on 44x || E500
254 default y if 44x
255 default y if E500 && PHYS_64BIT
256
257 config PHYS_64BIT
258 bool 'Large physical address support' if E500
259 depends on 44x || E500
260 select RESOURCES_64BIT
261 default y if 44x
262 ---help---
263 This option enables kernel support for larger than 32-bit physical
264 addresses. This features is not be available on all e500 cores.
265
266 If in doubt, say N here.
267
268 config ALTIVEC
269 bool "AltiVec Support"
270 depends on CLASSIC32 || POWER4
271 ---help---
272 This option enables kernel support for the Altivec extensions to the
273 PowerPC processor. The kernel currently supports saving and restoring
274 altivec registers, and turning on the 'altivec enable' bit so user
275 processes can execute altivec instructions.
276
277 This option is only usefully if you have a processor that supports
278 altivec (G4, otherwise known as 74xx series), but does not have
279 any affect on a non-altivec cpu (it does, however add code to the
280 kernel).
281
282 If in doubt, say Y here.
283
284 config SPE
285 bool "SPE Support"
286 depends on E200 || E500
287 default y
288 ---help---
289 This option enables kernel support for the Signal Processing
290 Extensions (SPE) to the PowerPC processor. The kernel currently
291 supports saving and restoring SPE registers, and turning on the
292 'spe enable' bit so user processes can execute SPE instructions.
293
294 This option is only useful if you have a processor that supports
295 SPE (e500, otherwise known as 85xx series), but does not have any
296 effect on a non-spe cpu (it does, however add code to the kernel).
297
298 If in doubt, say Y here.
299
300 config PPC_STD_MMU
301 bool
302 depends on 6xx || POWER3 || POWER4 || PPC64
303 default y
304
305 config PPC_STD_MMU_32
306 def_bool y
307 depends on PPC_STD_MMU && PPC32
308
309 config VIRT_CPU_ACCOUNTING
310 bool "Deterministic task and CPU time accounting"
311 depends on PPC64
312 default y
313 help
314 Select this option to enable more accurate task and CPU time
315 accounting. This is done by reading a CPU counter on each
316 kernel entry and exit and on transitions within the kernel
317 between system, softirq and hardirq state, so there is a
318 small performance impact. This also enables accounting of
319 stolen time on logically-partitioned systems running on
320 IBM POWER5-based machines.
321
322 If in doubt, say Y here.
323
324 config SMP
325 depends on PPC_STD_MMU
326 bool "Symmetric multi-processing support"
327 ---help---
328 This enables support for systems with more than one CPU. If you have
329 a system with only one CPU, say N. If you have a system with more
330 than one CPU, say Y. Note that the kernel does not currently
331 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
332 since they have inadequate hardware support for multiprocessor
333 operation.
334
335 If you say N here, the kernel will run on single and multiprocessor
336 machines, but will use only one CPU of a multiprocessor machine. If
337 you say Y here, the kernel will run on single-processor machines.
338 On a single-processor machine, the kernel will run faster if you say
339 N here.
340
341 If you don't know what to do here, say N.
342
343 config NR_CPUS
344 int "Maximum number of CPUs (2-128)"
345 range 2 128
346 depends on SMP
347 default "32" if PPC64
348 default "4"
349
350 config NOT_COHERENT_CACHE
351 bool
352 depends on 4xx || 8xx || E200
353 default y
354 endmenu
355
356 source "init/Kconfig"
357
358 menu "Platform support"
359 depends on PPC64 || CLASSIC32
360
361 choice
362 prompt "Machine type"
363 default PPC_MULTIPLATFORM
364
365 config PPC_MULTIPLATFORM
366 bool "Generic desktop/server/laptop"
367 help
368 Select this option if configuring for an IBM pSeries or
369 RS/6000 machine, an Apple machine, or a PReP, CHRP,
370 Maple or Cell-based machine.
371
372 config EMBEDDED6xx
373 bool "Embedded 6xx/7xx/7xxx-based board"
374 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
375
376 config APUS
377 bool "Amiga-APUS"
378 depends on PPC32 && BROKEN
379 help
380 Select APUS if configuring for a PowerUP Amiga.
381 More information is available at:
382 <http://linux-apus.sourceforge.net/>.
383 endchoice
384
385 config QUICC_ENGINE
386 bool
387 depends on PPC_MPC836x || PPC_MPC832x
388 default y
389 help
390 The QUICC Engine (QE) is a new generation of communications
391 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
392 Selecting this option means that you wish to build a kernel
393 for a machine with a QE coprocessor.
394
395 config PPC_PSERIES
396 depends on PPC_MULTIPLATFORM && PPC64
397 bool "IBM pSeries & new (POWER5-based) iSeries"
398 select MPIC
399 select PPC_I8259
400 select PPC_RTAS
401 select RTAS_ERROR_LOGGING
402 select PPC_UDBG_16550
403 select PPC_NATIVE
404 default y
405
406 config PPC_ISERIES
407 bool "IBM Legacy iSeries"
408 depends on PPC_MULTIPLATFORM && PPC64
409 select PPC_INDIRECT_IO
410
411 config PPC_CHRP
412 bool "Common Hardware Reference Platform (CHRP) based machines"
413 depends on PPC_MULTIPLATFORM && PPC32
414 select MPIC
415 select PPC_I8259
416 select PPC_INDIRECT_PCI
417 select PPC_RTAS
418 select PPC_MPC106
419 select PPC_UDBG_16550
420 select PPC_NATIVE
421 default y
422
423 config PPC_MPC52xx
424 bool
425 default n
426
427 config PPC_EFIKA
428 bool "bPlan Efika 5k2. MPC5200B based computer"
429 depends on PPC_MULTIPLATFORM && PPC32
430 select PPC_RTAS
431 select RTAS_PROC
432 select PPC_MPC52xx
433 select PPC_NATIVE
434 default y
435
436 config PPC_LITE5200
437 bool "Freescale Lite5200 Eval Board"
438 depends on PPC_MULTIPLATFORM && PPC32
439 select PPC_MPC52xx
440 default n
441
442 config PPC_PMAC
443 bool "Apple PowerMac based machines"
444 depends on PPC_MULTIPLATFORM
445 select MPIC
446 select PPC_INDIRECT_PCI if PPC32
447 select PPC_MPC106 if PPC32
448 select PPC_NATIVE
449 default y
450
451 config PPC_PMAC64
452 bool
453 depends on PPC_PMAC && POWER4
454 select MPIC
455 select U3_DART
456 select MPIC_BROKEN_U3
457 select GENERIC_TBSYNC
458 select PPC_970_NAP
459 default y
460
461 config PPC_PREP
462 bool "PowerPC Reference Platform (PReP) based machines"
463 depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
464 select MPIC
465 select PPC_I8259
466 select PPC_INDIRECT_PCI
467 select PPC_UDBG_16550
468 select PPC_NATIVE
469 default y
470
471 config PPC_MAPLE
472 depends on PPC_MULTIPLATFORM && PPC64
473 bool "Maple 970FX Evaluation Board"
474 select MPIC
475 select U3_DART
476 select MPIC_BROKEN_U3
477 select GENERIC_TBSYNC
478 select PPC_UDBG_16550
479 select PPC_970_NAP
480 select PPC_NATIVE
481 default n
482 help
483 This option enables support for the Maple 970FX Evaluation Board.
484 For more information, refer to <http://www.970eval.com>
485
486 config PPC_PASEMI
487 depends on PPC_MULTIPLATFORM && PPC64
488 bool "PA Semi SoC-based platforms"
489 default n
490 select MPIC
491 select PPC_UDBG_16550
492 select GENERIC_TBSYNC
493 select PPC_NATIVE
494 help
495 This option enables support for PA Semi's PWRficient line
496 of SoC processors, including PA6T-1682M
497
498 config PPC_CELL
499 bool
500 default n
501
502 config PPC_CELL_NATIVE
503 bool
504 select PPC_CELL
505 select PPC_DCR_MMIO
506 select PPC_OF_PLATFORM_PCI
507 select PPC_INDIRECT_IO
508 select PPC_NATIVE
509 select MPIC
510 default n
511
512 config PPC_IBM_CELL_BLADE
513 bool "IBM Cell Blade"
514 depends on PPC_MULTIPLATFORM && PPC64
515 select PPC_CELL_NATIVE
516 select PPC_RTAS
517 select MMIO_NVRAM
518 select PPC_UDBG_16550
519 select UDBG_RTAS_CONSOLE
520
521 config PPC_PS3
522 bool "Sony PS3"
523 depends on PPC_MULTIPLATFORM && PPC64
524 select PPC_CELL
525 help
526 This option enables support for the Sony PS3 game console
527 and other platforms using the PS3 hypervisor.
528
529 config PPC_NATIVE
530 bool
531 depends on PPC_MULTIPLATFORM
532 help
533 Support for running natively on the hardware, i.e. without
534 a hypervisor. This option is not user-selectable but should
535 be selected by all platforms that need it.
536
537 config UDBG_RTAS_CONSOLE
538 bool "RTAS based debug console"
539 depends on PPC_RTAS
540 default n
541
542 config XICS
543 depends on PPC_PSERIES
544 bool
545 default y
546
547 config U3_DART
548 bool
549 depends on PPC_MULTIPLATFORM && PPC64
550 default n
551
552 config PPC_RTAS
553 bool
554 default n
555
556 config RTAS_ERROR_LOGGING
557 bool
558 depends on PPC_RTAS
559 default n
560
561 config RTAS_PROC
562 bool "Proc interface to RTAS"
563 depends on PPC_RTAS
564 default y
565
566 config RTAS_FLASH
567 tristate "Firmware flash interface"
568 depends on PPC64 && RTAS_PROC
569
570 config MMIO_NVRAM
571 bool
572 default n
573
574 config MPIC_BROKEN_U3
575 bool
576 depends on PPC_MAPLE
577 default y
578
579 config IBMVIO
580 depends on PPC_PSERIES || PPC_ISERIES
581 bool
582 default y
583
584 config IBMEBUS
585 depends on PPC_PSERIES
586 bool "Support for GX bus based adapters"
587 help
588 Bus device driver for GX bus based adapters.
589
590 config PPC_MPC106
591 bool
592 default n
593
594 config PPC_970_NAP
595 bool
596 default n
597
598 config PPC_INDIRECT_IO
599 bool
600 select GENERIC_IOMAP
601 default n
602
603 config GENERIC_IOMAP
604 bool
605 default n
606
607 source "drivers/cpufreq/Kconfig"
608
609 config CPU_FREQ_PMAC
610 bool "Support for Apple PowerBooks"
611 depends on CPU_FREQ && ADB_PMU && PPC32
612 select CPU_FREQ_TABLE
613 help
614 This adds support for frequency switching on Apple PowerBooks,
615 this currently includes some models of iBook & Titanium
616 PowerBook.
617
618 config CPU_FREQ_PMAC64
619 bool "Support for some Apple G5s"
620 depends on CPU_FREQ && PPC64
621 select CPU_FREQ_TABLE
622 help
623 This adds support for frequency switching on Apple iMac G5,
624 and some of the more recent desktop G5 machines as well.
625
626 config PPC601_SYNC_FIX
627 bool "Workarounds for PPC601 bugs"
628 depends on 6xx && (PPC_PREP || PPC_PMAC)
629 help
630 Some versions of the PPC601 (the first PowerPC chip) have bugs which
631 mean that extra synchronization instructions are required near
632 certain instructions, typically those that make major changes to the
633 CPU state. These extra instructions reduce performance slightly.
634 If you say N here, these extra instructions will not be included,
635 resulting in a kernel which will run faster but may not run at all
636 on some systems with the PPC601 chip.
637
638 If in doubt, say Y here.
639
640 config TAU
641 bool "On-chip CPU temperature sensor support"
642 depends on 6xx
643 help
644 G3 and G4 processors have an on-chip temperature sensor called the
645 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
646 temperature within 2-4 degrees Celsius. This option shows the current
647 on-die temperature in /proc/cpuinfo if the cpu supports it.
648
649 Unfortunately, on some chip revisions, this sensor is very inaccurate
650 and in many cases, does not work at all, so don't assume the cpu
651 temp is actually what /proc/cpuinfo says it is.
652
653 config TAU_INT
654 bool "Interrupt driven TAU driver (DANGEROUS)"
655 depends on TAU
656 ---help---
657 The TAU supports an interrupt driven mode which causes an interrupt
658 whenever the temperature goes out of range. This is the fastest way
659 to get notified the temp has exceeded a range. With this option off,
660 a timer is used to re-check the temperature periodically.
661
662 However, on some cpus it appears that the TAU interrupt hardware
663 is buggy and can cause a situation which would lead unexplained hard
664 lockups.
665
666 Unless you are extending the TAU driver, or enjoy kernel/hardware
667 debugging, leave this option off.
668
669 config TAU_AVERAGE
670 bool "Average high and low temp"
671 depends on TAU
672 ---help---
673 The TAU hardware can compare the temperature to an upper and lower
674 bound. The default behavior is to show both the upper and lower
675 bound in /proc/cpuinfo. If the range is large, the temperature is
676 either changing a lot, or the TAU hardware is broken (likely on some
677 G4's). If the range is small (around 4 degrees), the temperature is
678 relatively stable. If you say Y here, a single temperature value,
679 halfway between the upper and lower bounds, will be reported in
680 /proc/cpuinfo.
681
682 If in doubt, say N here.
683
684 endmenu
685
686 source arch/powerpc/platforms/embedded6xx/Kconfig
687 source arch/powerpc/platforms/4xx/Kconfig
688 source arch/powerpc/platforms/82xx/Kconfig
689 source arch/powerpc/platforms/83xx/Kconfig
690 source arch/powerpc/platforms/85xx/Kconfig
691 source arch/powerpc/platforms/86xx/Kconfig
692 source arch/powerpc/platforms/8xx/Kconfig
693 source arch/powerpc/platforms/cell/Kconfig
694 source arch/powerpc/platforms/ps3/Kconfig
695
696 menu "Kernel options"
697
698 config HIGHMEM
699 bool "High memory support"
700 depends on PPC32
701
702 source kernel/Kconfig.hz
703 source kernel/Kconfig.preempt
704 source "fs/Kconfig.binfmt"
705
706 # We optimistically allocate largepages from the VM, so make the limit
707 # large enough (16MB). This badly named config option is actually
708 # max order + 1
709 config FORCE_MAX_ZONEORDER
710 int
711 depends on PPC64
712 default "9" if PPC_64K_PAGES
713 default "13"
714
715 config MATH_EMULATION
716 bool "Math emulation"
717 depends on 4xx || 8xx || E200 || E500
718 ---help---
719 Some PowerPC chips designed for embedded applications do not have
720 a floating-point unit and therefore do not implement the
721 floating-point instructions in the PowerPC instruction set. If you
722 say Y here, the kernel will include code to emulate a floating-point
723 unit, which will allow programs that use floating-point
724 instructions to run.
725
726 config IOMMU_VMERGE
727 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
728 depends on EXPERIMENTAL && PPC64
729 default n
730 help
731 Cause IO segments sent to a device for DMA to be merged virtually
732 by the IOMMU when they happen to have been allocated contiguously.
733 This doesn't add pressure to the IOMMU allocator. However, some
734 drivers don't support getting large merged segments coming back
735 from *_map_sg(). Say Y if you know the drivers you are using are
736 properly handling this case.
737
738 config HOTPLUG_CPU
739 bool "Support for enabling/disabling CPUs"
740 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
741 ---help---
742 Say Y here to be able to disable and re-enable individual
743 CPUs at runtime on SMP machines.
744
745 Say N if you are unsure.
746
747 config ARCH_ENABLE_MEMORY_HOTPLUG
748 def_bool y
749
750 config KEXEC
751 bool "kexec system call (EXPERIMENTAL)"
752 depends on PPC_MULTIPLATFORM && EXPERIMENTAL
753 help
754 kexec is a system call that implements the ability to shutdown your
755 current kernel, and to start another kernel. It is like a reboot
756 but it is independent of the system firmware. And like a reboot
757 you can start any kernel with it, not just Linux.
758
759 The name comes from the similarity to the exec system call.
760
761 It is an ongoing process to be certain the hardware in a machine
762 is properly shutdown, so do not be surprised if this code does not
763 initially work for you. It may help to enable device hotplugging
764 support. As of this writing the exact hardware interface is
765 strongly in flux, so no good recommendation can be made.
766
767 config CRASH_DUMP
768 bool "Build a kdump crash kernel (EXPERIMENTAL)"
769 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
770 help
771 Build a kernel suitable for use as a kdump capture kernel.
772 The kernel will be linked at a different address than normal, and
773 so can only be used for Kdump.
774
775 Don't change this unless you know what you are doing.
776
777 config EMBEDDEDBOOT
778 bool
779 depends on 8xx || 8260
780 default y
781
782 config PC_KEYBOARD
783 bool "PC PS/2 style Keyboard"
784 depends on 4xx || CPM2
785
786 config PPCBUG_NVRAM
787 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
788 default y if PPC_PREP
789
790 config IRQ_ALL_CPUS
791 bool "Distribute interrupts on all CPUs by default"
792 depends on SMP && !MV64360
793 help
794 This option gives the kernel permission to distribute IRQs across
795 multiple CPUs. Saying N here will route all IRQs to the first
796 CPU. Generally saying Y is safe, although some problems have been
797 reported with SMP Power Macintoshes with this option enabled.
798
799 source "arch/powerpc/platforms/pseries/Kconfig"
800
801 config NUMA
802 bool "NUMA support"
803 depends on PPC64
804 default y if SMP && PPC_PSERIES
805
806 config NODES_SHIFT
807 int
808 default "4"
809 depends on NEED_MULTIPLE_NODES
810
811 config ARCH_SELECT_MEMORY_MODEL
812 def_bool y
813 depends on PPC64
814
815 config ARCH_FLATMEM_ENABLE
816 def_bool y
817 depends on (PPC64 && !NUMA) || PPC32
818
819 config ARCH_SPARSEMEM_ENABLE
820 def_bool y
821 depends on PPC64
822
823 config ARCH_SPARSEMEM_DEFAULT
824 def_bool y
825 depends on (SMP && PPC_PSERIES) || PPC_CELL
826
827 config ARCH_POPULATES_NODE_MAP
828 def_bool y
829
830 source "mm/Kconfig"
831
832 config ARCH_MEMORY_PROBE
833 def_bool y
834 depends on MEMORY_HOTPLUG
835
836 # Some NUMA nodes have memory ranges that span
837 # other nodes. Even though a pfn is valid and
838 # between a node's start and end pfns, it may not
839 # reside on that node. See memmap_init_zone()
840 # for details.
841 config NODES_SPAN_OTHER_NODES
842 def_bool y
843 depends on NEED_MULTIPLE_NODES
844
845 config PPC_64K_PAGES
846 bool "64k page size"
847 depends on PPC64
848 help
849 This option changes the kernel logical page size to 64k. On machines
850 without processor support for 64k pages, the kernel will simulate
851 them by loading each individual 4k page on demand transparently,
852 while on hardware with such support, it will be used to map
853 normal application pages.
854
855 config SCHED_SMT
856 bool "SMT (Hyperthreading) scheduler support"
857 depends on PPC64 && SMP
858 help
859 SMT scheduler support improves the CPU scheduler's decision making
860 when dealing with POWER5 cpus at a cost of slightly increased
861 overhead in some places. If unsure say N here.
862
863 config PROC_DEVICETREE
864 bool "Support for device tree in /proc"
865 depends on PROC_FS
866 help
867 This option adds a device-tree directory under /proc which contains
868 an image of the device tree that the kernel copies from Open
869 Firmware or other boot firmware. If unsure, say Y here.
870
871 source "arch/powerpc/platforms/prep/Kconfig"
872
873 config CMDLINE_BOOL
874 bool "Default bootloader kernel arguments"
875
876 config CMDLINE
877 string "Initial kernel command string"
878 depends on CMDLINE_BOOL
879 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
880 help
881 On some platforms, there is currently no way for the boot loader to
882 pass arguments to the kernel. For these platforms, you can supply
883 some command-line options at build time by entering them here. In
884 most cases you will need to specify the root device here.
885
886 if !44x || BROKEN
887 source kernel/power/Kconfig
888 endif
889
890 config SECCOMP
891 bool "Enable seccomp to safely compute untrusted bytecode"
892 depends on PROC_FS
893 default y
894 help
895 This kernel feature is useful for number crunching applications
896 that may need to compute untrusted bytecode during their
897 execution. By using pipes or other transports made available to
898 the process as file descriptors supporting the read/write
899 syscalls, it's possible to isolate those applications in
900 their own address space using seccomp. Once seccomp is
901 enabled via /proc/<pid>/seccomp, it cannot be disabled
902 and the task is only allowed to execute a few safe syscalls
903 defined by each seccomp mode.
904
905 If unsure, say Y. Only embedded should say N here.
906
907 endmenu
908
909 config ISA_DMA_API
910 bool
911 default y
912
913 menu "Bus options"
914
915 config ISA
916 bool "Support for ISA-bus hardware"
917 depends on PPC_PREP || PPC_CHRP
918 select PPC_I8259
919 help
920 Find out whether you have ISA slots on your motherboard. ISA is the
921 name of a bus system, i.e. the way the CPU talks to the other stuff
922 inside your box. If you have an Apple machine, say N here; if you
923 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
924 you have an embedded board, consult your board documentation.
925
926 config GENERIC_ISA_DMA
927 bool
928 depends on PPC64 || POWER4 || 6xx && !CPM2
929 default y
930
931 config MPIC
932 bool
933 default n
934
935 config MPIC_WEIRD
936 bool
937 default n
938
939 config PPC_I8259
940 bool
941 default n
942
943 config PPC_INDIRECT_PCI
944 bool
945 depends on PCI
946 default y if 40x || 44x
947 default n
948
949 config EISA
950 bool
951
952 config SBUS
953 bool
954
955 config FSL_SOC
956 bool
957
958 # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
959 config MCA
960 bool
961
962 config PCI
963 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
964 || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3
965 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
966 && !PPC_85xx && !PPC_86xx
967 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
968 default PCI_QSPAN if !4xx && !CPM2 && 8xx
969 help
970 Find out whether your system includes a PCI bus. PCI is the name of
971 a bus system, i.e. the way the CPU talks to the other stuff inside
972 your box. If you say Y here, the kernel will include drivers and
973 infrastructure code to support PCI bus devices.
974
975 config PCI_DOMAINS
976 bool
977 default PCI
978
979 config PCI_QSPAN
980 bool "QSpan PCI"
981 depends on !4xx && !CPM2 && 8xx
982 select PPC_I8259
983 help
984 Say Y here if you have a system based on a Motorola 8xx-series
985 embedded processor with a QSPAN PCI interface, otherwise say N.
986
987 config PCI_8260
988 bool
989 depends on PCI && 8260
990 select PPC_INDIRECT_PCI
991 default y
992
993 config 8260_PCI9
994 bool "Enable workaround for MPC826x erratum PCI 9"
995 depends on PCI_8260 && !ADS8272
996 default y
997
998 choice
999 prompt "IDMA channel for PCI 9 workaround"
1000 depends on 8260_PCI9
1001
1002 config 8260_PCI9_IDMA1
1003 bool "IDMA1"
1004
1005 config 8260_PCI9_IDMA2
1006 bool "IDMA2"
1007
1008 config 8260_PCI9_IDMA3
1009 bool "IDMA3"
1010
1011 config 8260_PCI9_IDMA4
1012 bool "IDMA4"
1013
1014 endchoice
1015
1016 source "drivers/pci/pcie/Kconfig"
1017
1018 source "drivers/pci/Kconfig"
1019
1020 source "drivers/pcmcia/Kconfig"
1021
1022 source "drivers/pci/hotplug/Kconfig"
1023
1024 endmenu
1025
1026 menu "Advanced setup"
1027 depends on PPC32
1028
1029 config ADVANCED_OPTIONS
1030 bool "Prompt for advanced kernel configuration options"
1031 help
1032 This option will enable prompting for a variety of advanced kernel
1033 configuration options. These options can cause the kernel to not
1034 work if they are set incorrectly, but can be used to optimize certain
1035 aspects of kernel memory management.
1036
1037 Unless you know what you are doing, say N here.
1038
1039 comment "Default settings for advanced configuration options are used"
1040 depends on !ADVANCED_OPTIONS
1041
1042 config HIGHMEM_START_BOOL
1043 bool "Set high memory pool address"
1044 depends on ADVANCED_OPTIONS && HIGHMEM
1045 help
1046 This option allows you to set the base address of the kernel virtual
1047 area used to map high memory pages. This can be useful in
1048 optimizing the layout of kernel virtual memory.
1049
1050 Say N here unless you know what you are doing.
1051
1052 config HIGHMEM_START
1053 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
1054 default "0xfe000000"
1055
1056 config LOWMEM_SIZE_BOOL
1057 bool "Set maximum low memory"
1058 depends on ADVANCED_OPTIONS
1059 help
1060 This option allows you to set the maximum amount of memory which
1061 will be used as "low memory", that is, memory which the kernel can
1062 access directly, without having to set up a kernel virtual mapping.
1063 This can be useful in optimizing the layout of kernel virtual
1064 memory.
1065
1066 Say N here unless you know what you are doing.
1067
1068 config LOWMEM_SIZE
1069 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1070 default "0x30000000"
1071
1072 config KERNEL_START_BOOL
1073 bool "Set custom kernel base address"
1074 depends on ADVANCED_OPTIONS
1075 help
1076 This option allows you to set the kernel virtual address at which
1077 the kernel will map low memory (the kernel image will be linked at
1078 this address). This can be useful in optimizing the virtual memory
1079 layout of the system.
1080
1081 Say N here unless you know what you are doing.
1082
1083 config KERNEL_START
1084 hex "Virtual address of kernel base" if KERNEL_START_BOOL
1085 default "0xc0000000"
1086
1087 config TASK_SIZE_BOOL
1088 bool "Set custom user task size"
1089 depends on ADVANCED_OPTIONS
1090 help
1091 This option allows you to set the amount of virtual address space
1092 allocated to user tasks. This can be useful in optimizing the
1093 virtual memory layout of the system.
1094
1095 Say N here unless you know what you are doing.
1096
1097 config TASK_SIZE
1098 hex "Size of user task space" if TASK_SIZE_BOOL
1099 default "0x80000000"
1100
1101 config CONSISTENT_START_BOOL
1102 bool "Set custom consistent memory pool address"
1103 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1104 help
1105 This option allows you to set the base virtual address
1106 of the consistent memory pool. This pool of virtual
1107 memory is used to make consistent memory allocations.
1108
1109 config CONSISTENT_START
1110 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1111 default "0xff100000" if NOT_COHERENT_CACHE
1112
1113 config CONSISTENT_SIZE_BOOL
1114 bool "Set custom consistent memory pool size"
1115 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1116 help
1117 This option allows you to set the size of the
1118 consistent memory pool. This pool of virtual memory
1119 is used to make consistent memory allocations.
1120
1121 config CONSISTENT_SIZE
1122 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1123 default "0x00200000" if NOT_COHERENT_CACHE
1124
1125 config BOOT_LOAD_BOOL
1126 bool "Set the boot link/load address"
1127 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
1128 help
1129 This option allows you to set the initial load address of the zImage
1130 or zImage.initrd file. This can be useful if you are on a board
1131 which has a small amount of memory.
1132
1133 Say N here unless you know what you are doing.
1134
1135 config BOOT_LOAD
1136 hex "Link/load address for booting" if BOOT_LOAD_BOOL
1137 default "0x00400000" if 40x || 8xx || 8260
1138 default "0x01000000" if 44x
1139 default "0x00800000"
1140
1141 config PIN_TLB
1142 bool "Pinned Kernel TLBs (860 ONLY)"
1143 depends on ADVANCED_OPTIONS && 8xx
1144 endmenu
1145
1146 if PPC64
1147 config KERNEL_START
1148 hex
1149 default "0xc000000000000000"
1150 endif
1151
1152 source "net/Kconfig"
1153
1154 source "drivers/Kconfig"
1155
1156 source "fs/Kconfig"
1157
1158 # XXX source "arch/ppc/8xx_io/Kconfig"
1159
1160 # XXX source "arch/ppc/8260_io/Kconfig"
1161
1162 source "arch/powerpc/sysdev/qe_lib/Kconfig"
1163
1164 source "arch/powerpc/platforms/iseries/Kconfig"
1165
1166 source "lib/Kconfig"
1167
1168 menu "Instrumentation Support"
1169 depends on EXPERIMENTAL
1170
1171 source "arch/powerpc/oprofile/Kconfig"
1172
1173 config KPROBES
1174 bool "Kprobes (EXPERIMENTAL)"
1175 depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES
1176 help
1177 Kprobes allows you to trap at almost any kernel address and
1178 execute a callback function. register_kprobe() establishes
1179 a probepoint and specifies the callback. Kprobes is useful
1180 for kernel debugging, non-intrusive instrumentation and testing.
1181 If in doubt, say "N".
1182 endmenu
1183
1184 source "arch/powerpc/Kconfig.debug"
1185
1186 source "security/Kconfig"
1187
1188 config KEYS_COMPAT
1189 bool
1190 depends on COMPAT && KEYS
1191 default y
1192
1193 source "crypto/Kconfig"
This page took 0.063794 seconds and 5 git commands to generate.