aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig82
1 files changed, 57 insertions, 25 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 1189d8d6170d..4bb2e9310a56 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -49,6 +49,19 @@ config IRQ_PER_CPU
49 bool 49 bool
50 default y 50 default y
51 51
52config STACKTRACE_SUPPORT
53 bool
54 default y
55
56config TRACE_IRQFLAGS_SUPPORT
57 bool
58 depends on PPC64
59 default y
60
61config LOCKDEP_SUPPORT
62 bool
63 default y
64
52config RWSEM_GENERIC_SPINLOCK 65config RWSEM_GENERIC_SPINLOCK
53 bool 66 bool
54 67
@@ -81,6 +94,11 @@ config GENERIC_FIND_NEXT_BIT
81 bool 94 bool
82 default y 95 default y
83 96
97config GENERIC_GPIO
98 bool
99 help
100 Generic GPIO API support
101
84config ARCH_NO_VIRT_TO_BUS 102config ARCH_NO_VIRT_TO_BUS
85 def_bool PPC64 103 def_bool PPC64
86 104
@@ -91,6 +109,7 @@ config PPC
91 select HAVE_OPROFILE 109 select HAVE_OPROFILE
92 select HAVE_KPROBES 110 select HAVE_KPROBES
93 select HAVE_KRETPROBES 111 select HAVE_KRETPROBES
112 select HAVE_LMB
94 113
95config EARLY_PRINTK 114config EARLY_PRINTK
96 bool 115 bool
@@ -210,15 +229,6 @@ source kernel/Kconfig.hz
210source kernel/Kconfig.preempt 229source kernel/Kconfig.preempt
211source "fs/Kconfig.binfmt" 230source "fs/Kconfig.binfmt"
212 231
213# We optimistically allocate largepages from the VM, so make the limit
214# large enough (16MB). This badly named config option is actually
215# max order + 1
216config FORCE_MAX_ZONEORDER
217 int
218 depends on PPC64
219 default "9" if PPC_64K_PAGES
220 default "13"
221
222config HUGETLB_PAGE_SIZE_VARIABLE 232config HUGETLB_PAGE_SIZE_VARIABLE
223 bool 233 bool
224 depends on HUGETLB_PAGE 234 depends on HUGETLB_PAGE
@@ -307,6 +317,16 @@ config CRASH_DUMP
307 317
308 Don't change this unless you know what you are doing. 318 Don't change this unless you know what you are doing.
309 319
320config PHYP_DUMP
321 bool "Hypervisor-assisted dump (EXPERIMENTAL)"
322 depends on PPC_PSERIES && EXPERIMENTAL
323 help
324 Hypervisor-assisted dump is meant to be a kdump replacement
325 offering robustness and speed not possible without system
326 hypervisor assistence.
327
328 If unsure, say "N"
329
310config PPCBUG_NVRAM 330config PPCBUG_NVRAM
311 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC 331 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
312 default y if PPC_PREP 332 default y if PPC_PREP
@@ -381,6 +401,26 @@ config PPC_64K_PAGES
381 while on hardware with such support, it will be used to map 401 while on hardware with such support, it will be used to map
382 normal application pages. 402 normal application pages.
383 403
404config FORCE_MAX_ZONEORDER
405 int "Maximum zone order"
406 default "9" if PPC_64K_PAGES
407 default "13" if PPC64 && !PPC_64K_PAGES
408 default "11"
409 help
410 The kernel memory allocator divides physically contiguous memory
411 blocks into "zones", where each zone is a power of two number of
412 pages. This option selects the largest power of two that the kernel
413 keeps in the memory allocator. If you need to allocate very large
414 blocks of physically contiguous memory, then you may need to
415 increase this value.
416
417 This config option is actually maximum order plus one. For example,
418 a value of 11 means that the largest free memory block is 2^10 pages.
419
420 The page size is not necessarily 4KB. For example, on 64-bit
421 systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep
422 this in mind when choosing a value for this option.
423
384config PPC_SUBPAGE_PROT 424config PPC_SUBPAGE_PROT
385 bool "Support setting protections for 4k subpages" 425 bool "Support setting protections for 4k subpages"
386 depends on PPC_64K_PAGES 426 depends on PPC_64K_PAGES
@@ -490,6 +530,14 @@ config FSL_PCI
490 bool 530 bool
491 select PPC_INDIRECT_PCI 531 select PPC_INDIRECT_PCI
492 532
533config 4xx_SOC
534 bool
535
536config FSL_LBC
537 bool
538 help
539 Freescale Localbus support
540
493# Yes MCA RS/6000s exist but Linux-PPC does not currently support any 541# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
494config MCA 542config MCA
495 bool 543 bool
@@ -663,22 +711,6 @@ config CONSISTENT_SIZE
663 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL 711 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
664 default "0x00200000" if NOT_COHERENT_CACHE 712 default "0x00200000" if NOT_COHERENT_CACHE
665 713
666config BOOT_LOAD_BOOL
667 bool "Set the boot link/load address"
668 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
669 help
670 This option allows you to set the initial load address of the zImage
671 or zImage.initrd file. This can be useful if you are on a board
672 which has a small amount of memory.
673
674 Say N here unless you know what you are doing.
675
676config BOOT_LOAD
677 hex "Link/load address for booting" if BOOT_LOAD_BOOL
678 default "0x00400000" if 40x || 8xx || 8260
679 default "0x01000000" if 44x
680 default "0x00800000"
681
682config PIN_TLB 714config PIN_TLB
683 bool "Pinned Kernel TLBs (860 ONLY)" 715 bool "Pinned Kernel TLBs (860 ONLY)"
684 depends on ADVANCED_OPTIONS && 8xx 716 depends on ADVANCED_OPTIONS && 8xx