Kconfig (efdcd41b4e41560375bb34ad8b095bcaa1c3a93f) Kconfig (28794d34ecb6815a3fa0a4256027c9b081a17c5f)
1# 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
7source "arch/powerpc/platforms/Kconfig.cputype"
8

--- 97 unchanged lines hidden (view full) ---

106 def_bool PPC64
107
108config PPC
109 bool
110 default y
111 select HAVE_FTRACE_MCOUNT_RECORD
112 select HAVE_DYNAMIC_FTRACE
113 select HAVE_FUNCTION_TRACER
1# 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
7source "arch/powerpc/platforms/Kconfig.cputype"
8

--- 97 unchanged lines hidden (view full) ---

106 def_bool PPC64
107
108config PPC
109 bool
110 default y
111 select HAVE_FTRACE_MCOUNT_RECORD
112 select HAVE_DYNAMIC_FTRACE
113 select HAVE_FUNCTION_TRACER
114 select HAVE_FUNCTION_GRAPH_TRACER
114 select ARCH_WANT_OPTIONAL_GPIOLIB
115 select HAVE_IDE
116 select HAVE_IOREMAP_PROT
117 select HAVE_EFFICIENT_UNALIGNED_ACCESS
118 select HAVE_KPROBES
119 select HAVE_ARCH_KGDB
120 select HAVE_KRETPROBES
121 select HAVE_ARCH_TRACEHOOK

--- 185 unchanged lines hidden (view full) ---

307config ARCH_HAS_WALK_MEMORY
308 def_bool y
309
310config ARCH_ENABLE_MEMORY_HOTREMOVE
311 def_bool y
312
313config KEXEC
314 bool "kexec system call (EXPERIMENTAL)"
115 select ARCH_WANT_OPTIONAL_GPIOLIB
116 select HAVE_IDE
117 select HAVE_IOREMAP_PROT
118 select HAVE_EFFICIENT_UNALIGNED_ACCESS
119 select HAVE_KPROBES
120 select HAVE_ARCH_KGDB
121 select HAVE_KRETPROBES
122 select HAVE_ARCH_TRACEHOOK

--- 185 unchanged lines hidden (view full) ---

308config ARCH_HAS_WALK_MEMORY
309 def_bool y
310
311config ARCH_ENABLE_MEMORY_HOTREMOVE
312 def_bool y
313
314config KEXEC
315 bool "kexec system call (EXPERIMENTAL)"
315 depends on (PPC_PRPMC2800 || PPC_MULTIPLATFORM) && EXPERIMENTAL
316 depends on BOOK3S && EXPERIMENTAL
316 help
317 kexec is a system call that implements the ability to shutdown your
318 current kernel, and to start another kernel. It is like a reboot
319 but it is independent of the system firmware. And like a reboot
320 you can start any kernel with it, not just Linux.
321
322 The name comes from the similarity to the exec system call.
323

--- 80 unchanged lines hidden (view full) ---

404 def_bool y
405 depends on NEED_MULTIPLE_NODES
406
407config PPC_HAS_HASH_64K
408 bool
409 depends on PPC64
410 default n
411
317 help
318 kexec is a system call that implements the ability to shutdown your
319 current kernel, and to start another kernel. It is like a reboot
320 but it is independent of the system firmware. And like a reboot
321 you can start any kernel with it, not just Linux.
322
323 The name comes from the similarity to the exec system call.
324

--- 80 unchanged lines hidden (view full) ---

405 def_bool y
406 depends on NEED_MULTIPLE_NODES
407
408config PPC_HAS_HASH_64K
409 bool
410 depends on PPC64
411 default n
412
413config STDBINUTILS
414 bool "Using standard binutils settings"
415 depends on 44x
416 default y
417 help
418 Turning this option off allows you to select 256KB PAGE_SIZE on 44x.
419 Note, that kernel will be able to run only those applications,
420 which had been compiled using binutils later than 2.17.50.0.3 with
421 '-zmax-page-size' set to 256K (the default is 64K). Or, if using
422 the older binutils, you can patch them with a trivial patch, which
423 changes the ELF_MAXPAGESIZE definition from 0x10000 to 0x40000.
424
412choice
413 prompt "Page size"
414 default PPC_4K_PAGES
415 help
416 Select the kernel logical page size. Increasing the page size
417 will reduce software overhead at each page boundary, allow
418 hardware prefetch mechanisms to be more effective, and allow
419 larger dma transfers increasing IO efficiency and reducing

--- 19 unchanged lines hidden (view full) ---

439
440config PPC_16K_PAGES
441 bool "16k page size" if 44x
442
443config PPC_64K_PAGES
444 bool "64k page size" if 44x || PPC_STD_MMU_64
445 select PPC_HAS_HASH_64K if PPC_STD_MMU_64
446
425choice
426 prompt "Page size"
427 default PPC_4K_PAGES
428 help
429 Select the kernel logical page size. Increasing the page size
430 will reduce software overhead at each page boundary, allow
431 hardware prefetch mechanisms to be more effective, and allow
432 larger dma transfers increasing IO efficiency and reducing

--- 19 unchanged lines hidden (view full) ---

452
453config PPC_16K_PAGES
454 bool "16k page size" if 44x
455
456config PPC_64K_PAGES
457 bool "64k page size" if 44x || PPC_STD_MMU_64
458 select PPC_HAS_HASH_64K if PPC_STD_MMU_64
459
460config PPC_256K_PAGES
461 bool "256k page size" if 44x
462 depends on !STDBINUTILS && (!SHMEM || BROKEN)
463 help
464 Make the page size 256k.
465
466 As the ELF standard only requires alignment to support page
467 sizes up to 64k, you will need to compile all of your user
468 space applications with a non-standard binutils settings
469 (see the STDBINUTILS description for details).
470
471 Say N unless you know what you are doing.
472
447endchoice
448
449config FORCE_MAX_ZONEORDER
450 int "Maximum zone order"
451 range 9 64 if PPC_STD_MMU_64 && PPC_64K_PAGES
452 default "9" if PPC_STD_MMU_64 && PPC_64K_PAGES
453 range 13 64 if PPC_STD_MMU_64 && !PPC_64K_PAGES
454 default "13" if PPC_STD_MMU_64 && !PPC_64K_PAGES
455 range 9 64 if PPC_STD_MMU_32 && PPC_16K_PAGES
456 default "9" if PPC_STD_MMU_32 && PPC_16K_PAGES
457 range 7 64 if PPC_STD_MMU_32 && PPC_64K_PAGES
458 default "7" if PPC_STD_MMU_32 && PPC_64K_PAGES
473endchoice
474
475config FORCE_MAX_ZONEORDER
476 int "Maximum zone order"
477 range 9 64 if PPC_STD_MMU_64 && PPC_64K_PAGES
478 default "9" if PPC_STD_MMU_64 && PPC_64K_PAGES
479 range 13 64 if PPC_STD_MMU_64 && !PPC_64K_PAGES
480 default "13" if PPC_STD_MMU_64 && !PPC_64K_PAGES
481 range 9 64 if PPC_STD_MMU_32 && PPC_16K_PAGES
482 default "9" if PPC_STD_MMU_32 && PPC_16K_PAGES
483 range 7 64 if PPC_STD_MMU_32 && PPC_64K_PAGES
484 default "7" if PPC_STD_MMU_32 && PPC_64K_PAGES
485 range 5 64 if PPC_STD_MMU_32 && PPC_256K_PAGES
486 default "5" if PPC_STD_MMU_32 && PPC_256K_PAGES
459 range 11 64
460 default "11"
461 help
462 The kernel memory allocator divides physically contiguous memory
463 blocks into "zones", where each zone is a power of two number of
464 pages. This option selects the largest power of two that the kernel
465 keeps in the memory allocator. If you need to allocate very large
466 blocks of physically contiguous memory, then you may need to

--- 122 unchanged lines hidden (view full) ---

589 bool
590
591config FSL_SOC
592 bool
593
594config FSL_PCI
595 bool
596 select PPC_INDIRECT_PCI
487 range 11 64
488 default "11"
489 help
490 The kernel memory allocator divides physically contiguous memory
491 blocks into "zones", where each zone is a power of two number of
492 pages. This option selects the largest power of two that the kernel
493 keeps in the memory allocator. If you need to allocate very large
494 blocks of physically contiguous memory, then you may need to

--- 122 unchanged lines hidden (view full) ---

617 bool
618
619config FSL_SOC
620 bool
621
622config FSL_PCI
623 bool
624 select PPC_INDIRECT_PCI
625 select PCI_QUIRKS
597
598config 4xx_SOC
599 bool
600
601config FSL_LBC
602 bool
603 help
604 Freescale Localbus support

--- 120 unchanged lines hidden (view full) ---

725 memory.
726
727 Say N here unless you know what you are doing.
728
729config LOWMEM_SIZE
730 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
731 default "0x30000000"
732
626
627config 4xx_SOC
628 bool
629
630config FSL_LBC
631 bool
632 help
633 Freescale Localbus support

--- 120 unchanged lines hidden (view full) ---

754 memory.
755
756 Say N here unless you know what you are doing.
757
758config LOWMEM_SIZE
759 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
760 default "0x30000000"
761
762config LOWMEM_CAM_NUM_BOOL
763 bool "Set number of CAMs to use to map low memory"
764 depends on ADVANCED_OPTIONS && FSL_BOOKE
765 help
766 This option allows you to set the maximum number of CAM slots that
767 will be used to map low memory. There are a limited number of slots
768 available and even more limited number that will fit in the L1 MMU.
769 However, using more entries will allow mapping more low memory. This
770 can be useful in optimizing the layout of kernel virtual memory.
771
772 Say N here unless you know what you are doing.
773
774config LOWMEM_CAM_NUM
775 int "Number of CAMs to use to map low memory" if LOWMEM_CAM_NUM_BOOL
776 default 3
777
733config RELOCATABLE
734 bool "Build a relocatable kernel (EXPERIMENTAL)"
735 depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
736 help
737 This builds a kernel image that is capable of running at the
738 location the kernel is loaded at (some alignment restrictions may
739 exist).
740

--- 48 unchanged lines hidden (view full) ---

789
790config PHYSICAL_START
791 hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
792 default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
793 default "0x00000000"
794
795config PHYSICAL_ALIGN
796 hex
778config RELOCATABLE
779 bool "Build a relocatable kernel (EXPERIMENTAL)"
780 depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
781 help
782 This builds a kernel image that is capable of running at the
783 location the kernel is loaded at (some alignment restrictions may
784 exist).
785

--- 48 unchanged lines hidden (view full) ---

834
835config PHYSICAL_START
836 hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
837 default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
838 default "0x00000000"
839
840config PHYSICAL_ALIGN
841 hex
797 default "0x10000000" if FSL_BOOKE
842 default "0x04000000" if FSL_BOOKE
798 help
799 This value puts the alignment restrictions on physical address
800 where kernel is loaded and run from. Kernel is compiled for an
801 address which meets above alignment restriction.
802
803config TASK_SIZE_BOOL
804 bool "Set custom user task size"
805 depends on ADVANCED_OPTIONS

--- 4 unchanged lines hidden (view full) ---

810
811 Say N here unless you know what you are doing.
812
813config TASK_SIZE
814 hex "Size of user task space" if TASK_SIZE_BOOL
815 default "0x80000000" if PPC_PREP || PPC_8xx
816 default "0xc0000000"
817
843 help
844 This value puts the alignment restrictions on physical address
845 where kernel is loaded and run from. Kernel is compiled for an
846 address which meets above alignment restriction.
847
848config TASK_SIZE_BOOL
849 bool "Set custom user task size"
850 depends on ADVANCED_OPTIONS

--- 4 unchanged lines hidden (view full) ---

855
856 Say N here unless you know what you are doing.
857
858config TASK_SIZE
859 hex "Size of user task space" if TASK_SIZE_BOOL
860 default "0x80000000" if PPC_PREP || PPC_8xx
861 default "0xc0000000"
862
818config CONSISTENT_START_BOOL
819 bool "Set custom consistent memory pool address"
820 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
821 help
822 This option allows you to set the base virtual address
823 of the consistent memory pool. This pool of virtual
824 memory is used to make consistent memory allocations.
825
826config CONSISTENT_START
827 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
828 default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx)
829 default "0xff100000" if NOT_COHERENT_CACHE
830
831config CONSISTENT_SIZE_BOOL
832 bool "Set custom consistent memory pool size"
833 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
834 help
835 This option allows you to set the size of the
836 consistent memory pool. This pool of virtual memory
837 is used to make consistent memory allocations.
838
839config CONSISTENT_SIZE
840 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
841 default "0x00200000" if NOT_COHERENT_CACHE
842
843config PIN_TLB
844 bool "Pinned Kernel TLBs (860 ONLY)"
845 depends on ADVANCED_OPTIONS && 8xx
846endmenu
847
848if PPC64
849config RELOCATABLE
850 bool "Build a relocatable kernel"

--- 52 unchanged lines hidden ---
863config PIN_TLB
864 bool "Pinned Kernel TLBs (860 ONLY)"
865 depends on ADVANCED_OPTIONS && 8xx
866endmenu
867
868if PPC64
869config RELOCATABLE
870 bool "Build a relocatable kernel"

--- 52 unchanged lines hidden ---