summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig19
1 files changed, 4 insertions, 15 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index a80669209155..e84943d24e5c 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -137,7 +137,7 @@ config PPC
137 select ARCH_HAS_PMEM_API if PPC64 137 select ARCH_HAS_PMEM_API if PPC64
138 select ARCH_HAS_PTE_SPECIAL 138 select ARCH_HAS_PTE_SPECIAL
139 select ARCH_HAS_MEMBARRIER_CALLBACKS 139 select ARCH_HAS_MEMBARRIER_CALLBACKS
140 select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE 140 select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC64
141 select ARCH_HAS_SG_CHAIN 141 select ARCH_HAS_SG_CHAIN
142 select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !RELOCATABLE && !HIBERNATION) 142 select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !RELOCATABLE && !HIBERNATION)
143 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 143 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
@@ -180,6 +180,8 @@ config PPC
180 select HAVE_ARCH_SECCOMP_FILTER 180 select HAVE_ARCH_SECCOMP_FILTER
181 select HAVE_ARCH_TRACEHOOK 181 select HAVE_ARCH_TRACEHOOK
182 select HAVE_CBPF_JIT if !PPC64 182 select HAVE_CBPF_JIT if !PPC64
183 select HAVE_STACKPROTECTOR if PPC64 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=r13)
184 select HAVE_STACKPROTECTOR if PPC32 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=r2)
183 select HAVE_CONTEXT_TRACKING if PPC64 185 select HAVE_CONTEXT_TRACKING if PPC64
184 select HAVE_DEBUG_KMEMLEAK 186 select HAVE_DEBUG_KMEMLEAK
185 select HAVE_DEBUG_STACKOVERFLOW 187 select HAVE_DEBUG_STACKOVERFLOW
@@ -188,6 +190,7 @@ config PPC
188 select HAVE_EBPF_JIT if PPC64 190 select HAVE_EBPF_JIT if PPC64
189 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !(CPU_LITTLE_ENDIAN && POWER7_CPU) 191 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !(CPU_LITTLE_ENDIAN && POWER7_CPU)
190 select HAVE_FTRACE_MCOUNT_RECORD 192 select HAVE_FTRACE_MCOUNT_RECORD
193 select HAVE_FUNCTION_ERROR_INJECTION
191 select HAVE_FUNCTION_GRAPH_TRACER 194 select HAVE_FUNCTION_GRAPH_TRACER
192 select HAVE_FUNCTION_TRACER 195 select HAVE_FUNCTION_TRACER
193 select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC 196 select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC
@@ -285,12 +288,10 @@ config ARCH_MAY_HAVE_PC_FDC
285 288
286config PPC_UDBG_16550 289config PPC_UDBG_16550
287 bool 290 bool
288 default n
289 291
290config GENERIC_TBSYNC 292config GENERIC_TBSYNC
291 bool 293 bool
292 default y if PPC32 && SMP 294 default y if PPC32 && SMP
293 default n
294 295
295config AUDIT_ARCH 296config AUDIT_ARCH
296 bool 297 bool
@@ -309,13 +310,11 @@ config EPAPR_BOOT
309 bool 310 bool
310 help 311 help
311 Used to allow a board to specify it wants an ePAPR compliant wrapper. 312 Used to allow a board to specify it wants an ePAPR compliant wrapper.
312 default n
313 313
314config DEFAULT_UIMAGE 314config DEFAULT_UIMAGE
315 bool 315 bool
316 help 316 help
317 Used to allow a board to specify it wants a uImage built by default 317 Used to allow a board to specify it wants a uImage built by default
318 default n
319 318
320config ARCH_HIBERNATION_POSSIBLE 319config ARCH_HIBERNATION_POSSIBLE
321 bool 320 bool
@@ -329,11 +328,9 @@ config ARCH_SUSPEND_POSSIBLE
329 328
330config PPC_DCR_NATIVE 329config PPC_DCR_NATIVE
331 bool 330 bool
332 default n
333 331
334config PPC_DCR_MMIO 332config PPC_DCR_MMIO
335 bool 333 bool
336 default n
337 334
338config PPC_DCR 335config PPC_DCR
339 bool 336 bool
@@ -344,7 +341,6 @@ config PPC_OF_PLATFORM_PCI
344 bool 341 bool
345 depends on PCI 342 depends on PCI
346 depends on PPC64 # not supported on 32 bits yet 343 depends on PPC64 # not supported on 32 bits yet
347 default n
348 344
349config ARCH_SUPPORTS_DEBUG_PAGEALLOC 345config ARCH_SUPPORTS_DEBUG_PAGEALLOC
350 depends on PPC32 || PPC_BOOK3S_64 346 depends on PPC32 || PPC_BOOK3S_64
@@ -447,14 +443,12 @@ config PPC_TRANSACTIONAL_MEM
447 depends on SMP 443 depends on SMP
448 select ALTIVEC 444 select ALTIVEC
449 select VSX 445 select VSX
450 default n
451 ---help--- 446 ---help---
452 Support user-mode Transactional Memory on POWERPC. 447 Support user-mode Transactional Memory on POWERPC.
453 448
454config LD_HEAD_STUB_CATCH 449config LD_HEAD_STUB_CATCH
455 bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT 450 bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT
456 depends on PPC64 451 depends on PPC64
457 default n
458 help 452 help
459 Very large kernels can cause linker branch stubs to be generated by 453 Very large kernels can cause linker branch stubs to be generated by
460 code in head_64.S, which moves the head text sections out of their 454 code in head_64.S, which moves the head text sections out of their
@@ -557,7 +551,6 @@ config RELOCATABLE
557config RELOCATABLE_TEST 551config RELOCATABLE_TEST
558 bool "Test relocatable kernel" 552 bool "Test relocatable kernel"
559 depends on (PPC64 && RELOCATABLE) 553 depends on (PPC64 && RELOCATABLE)
560 default n
561 help 554 help
562 This runs the relocatable kernel at the address it was initially 555 This runs the relocatable kernel at the address it was initially
563 loaded at, which tends to be non-zero and therefore test the 556 loaded at, which tends to be non-zero and therefore test the
@@ -769,7 +762,6 @@ config PPC_SUBPAGE_PROT
769 762
770config PPC_COPRO_BASE 763config PPC_COPRO_BASE
771 bool 764 bool
772 default n
773 765
774config SCHED_SMT 766config SCHED_SMT
775 bool "SMT (Hyperthreading) scheduler support" 767 bool "SMT (Hyperthreading) scheduler support"
@@ -892,7 +884,6 @@ config PPC_INDIRECT_PCI
892 bool 884 bool
893 depends on PCI 885 depends on PCI
894 default y if 40x || 44x 886 default y if 40x || 44x
895 default n
896 887
897config EISA 888config EISA
898 bool 889 bool
@@ -989,7 +980,6 @@ source "drivers/pcmcia/Kconfig"
989 980
990config HAS_RAPIDIO 981config HAS_RAPIDIO
991 bool 982 bool
992 default n
993 983
994config RAPIDIO 984config RAPIDIO
995 tristate "RapidIO support" 985 tristate "RapidIO support"
@@ -1012,7 +1002,6 @@ endmenu
1012 1002
1013config NONSTATIC_KERNEL 1003config NONSTATIC_KERNEL
1014 bool 1004 bool
1015 default n
1016 1005
1017menu "Advanced setup" 1006menu "Advanced setup"
1018 depends on PPC32 1007 depends on PPC32