Kconfig (f0cd9ae5d0df8668e76359a3e0e99856aa9c53b9) Kconfig (d4cfb11387ee29ba4626546c676fd25c7abbbbb2)
1source "arch/powerpc/platforms/Kconfig.cputype"
2
3config PPC32
4 bool
5 default y if !PPC64
6
7config 32BIT
8 bool

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

104 bool
105 default y
106
107config GENERIC_LOCKBREAK
108 bool
109 default y
110 depends on SMP && PREEMPT
111
1source "arch/powerpc/platforms/Kconfig.cputype"
2
3config PPC32
4 bool
5 default y if !PPC64
6
7config 32BIT
8 bool

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

104 bool
105 default y
106
107config GENERIC_LOCKBREAK
108 bool
109 default y
110 depends on SMP && PREEMPT
111
112config ARCH_HAS_ILOG2_U32
113 bool
114 default y
115
116config ARCH_HAS_ILOG2_U64
117 bool
118 default y if 64BIT
119
120config GENERIC_HWEIGHT
121 bool
122 default y
123
124config ARCH_HAS_DMA_SET_COHERENT_MASK
125 bool
126
127config PPC

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

158 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
159 select GENERIC_CMOS_UPDATE
160 select GENERIC_CPU_AUTOPROBE
161 select GENERIC_IRQ_SHOW
162 select GENERIC_IRQ_SHOW_LEVEL
163 select GENERIC_SMP_IDLE_THREAD
164 select GENERIC_STRNCPY_FROM_USER
165 select GENERIC_STRNLEN_USER
112config GENERIC_HWEIGHT
113 bool
114 default y
115
116config ARCH_HAS_DMA_SET_COHERENT_MASK
117 bool
118
119config PPC

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

150 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
151 select GENERIC_CMOS_UPDATE
152 select GENERIC_CPU_AUTOPROBE
153 select GENERIC_IRQ_SHOW
154 select GENERIC_IRQ_SHOW_LEVEL
155 select GENERIC_SMP_IDLE_THREAD
156 select GENERIC_STRNCPY_FROM_USER
157 select GENERIC_STRNLEN_USER
166 select GENERIC_TIME_VSYSCALL_OLD
158 select GENERIC_TIME_VSYSCALL
167 select HAVE_ARCH_AUDITSYSCALL
168 select HAVE_ARCH_JUMP_LABEL
169 select HAVE_ARCH_KGDB
170 select HAVE_ARCH_MMAP_RND_BITS
171 select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT
172 select HAVE_ARCH_SECCOMP_FILTER
173 select HAVE_ARCH_TRACEHOOK
174 select HAVE_CBPF_JIT if !PPC64

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

203 select HAVE_PERF_EVENTS
204 select HAVE_PERF_EVENTS_NMI if PPC64
205 select HAVE_PERF_REGS
206 select HAVE_PERF_USER_STACK_DUMP
207 select HAVE_RCU_TABLE_FREE if SMP
208 select HAVE_REGS_AND_STACK_ACCESS_API
209 select HAVE_SYSCALL_TRACEPOINTS
210 select HAVE_VIRT_CPU_ACCOUNTING
159 select HAVE_ARCH_AUDITSYSCALL
160 select HAVE_ARCH_JUMP_LABEL
161 select HAVE_ARCH_KGDB
162 select HAVE_ARCH_MMAP_RND_BITS
163 select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT
164 select HAVE_ARCH_SECCOMP_FILTER
165 select HAVE_ARCH_TRACEHOOK
166 select HAVE_CBPF_JIT if !PPC64

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

195 select HAVE_PERF_EVENTS
196 select HAVE_PERF_EVENTS_NMI if PPC64
197 select HAVE_PERF_REGS
198 select HAVE_PERF_USER_STACK_DUMP
199 select HAVE_RCU_TABLE_FREE if SMP
200 select HAVE_REGS_AND_STACK_ACCESS_API
201 select HAVE_SYSCALL_TRACEPOINTS
202 select HAVE_VIRT_CPU_ACCOUNTING
203 select HAVE_IRQ_TIME_ACCOUNTING
211 select IRQ_DOMAIN
212 select IRQ_FORCED_THREADING
213 select MODULES_USE_ELF_RELA
214 select NO_BOOTMEM
215 select OF
216 select OF_EARLY_FLATTREE
217 select OF_RESERVED_MEM
218 select OLD_SIGACTION if PPC32

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

375
376source "kernel/Kconfig.freezer"
377
378source "arch/powerpc/sysdev/Kconfig"
379source "arch/powerpc/platforms/Kconfig"
380
381menu "Kernel options"
382
204 select IRQ_DOMAIN
205 select IRQ_FORCED_THREADING
206 select MODULES_USE_ELF_RELA
207 select NO_BOOTMEM
208 select OF
209 select OF_EARLY_FLATTREE
210 select OF_RESERVED_MEM
211 select OLD_SIGACTION if PPC32

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

368
369source "kernel/Kconfig.freezer"
370
371source "arch/powerpc/sysdev/Kconfig"
372source "arch/powerpc/platforms/Kconfig"
373
374menu "Kernel options"
375
376config PPC_DT_CPU_FTRS
377 bool "Device-tree based CPU feature discovery & setup"
378 depends on PPC_BOOK3S_64
379 default n
380 help
381 This enables code to use a new device tree binding for describing CPU
382 compatibility and features. Saying Y here will attempt to use the new
383 binding if the firmware provides it. Currently only the skiboot
384 firmware provides this binding.
385 If you're not sure say Y.
386
387config PPC_CPUFEATURES_ENABLE_UNKNOWN
388 bool "cpufeatures pass through unknown features to guest/userspace"
389 depends on PPC_DT_CPU_FTRS
390 default y
391
383config HIGHMEM
384 bool "High memory support"
385 depends on PPC32
386
387source kernel/Kconfig.hz
388source kernel/Kconfig.preempt
389source "fs/Kconfig.binfmt"
390

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

433 depends on PPC_BOOK3S_64
434 depends on SMP
435 select ALTIVEC
436 select VSX
437 default n
438 ---help---
439 Support user-mode Transactional Memory on POWERPC.
440
392config HIGHMEM
393 bool "High memory support"
394 depends on PPC32
395
396source kernel/Kconfig.hz
397source kernel/Kconfig.preempt
398source "fs/Kconfig.binfmt"
399

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

442 depends on PPC_BOOK3S_64
443 depends on SMP
444 select ALTIVEC
445 select VSX
446 default n
447 ---help---
448 Support user-mode Transactional Memory on POWERPC.
449
450config LD_HEAD_STUB_CATCH
451 bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT
452 depends on PPC64
453 default n
454 help
455 Very large kernels can cause linker branch stubs to be generated by
456 code in head_64.S, which moves the head text sections out of their
457 specified location. This option can work around the problem.
458
459 If unsure, say "N".
460
441config DISABLE_MPROFILE_KERNEL
442 bool "Disable use of mprofile-kernel for kernel tracing"
443 depends on PPC64 && CPU_LITTLE_ENDIAN
444 default y
445 help
446 Selecting this options disables use of the mprofile-kernel ABI for
447 kernel tracing. That will cause options such as live patching
448 (CONFIG_LIVEPATCH) which depend on CONFIG_DYNAMIC_FTRACE_WITH_REGS to

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

1194source "fs/Kconfig"
1195
1196source "lib/Kconfig"
1197
1198source "arch/powerpc/Kconfig.debug"
1199
1200source "security/Kconfig"
1201
461config DISABLE_MPROFILE_KERNEL
462 bool "Disable use of mprofile-kernel for kernel tracing"
463 depends on PPC64 && CPU_LITTLE_ENDIAN
464 default y
465 help
466 Selecting this options disables use of the mprofile-kernel ABI for
467 kernel tracing. That will cause options such as live patching
468 (CONFIG_LIVEPATCH) which depend on CONFIG_DYNAMIC_FTRACE_WITH_REGS to

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

1214source "fs/Kconfig"
1215
1216source "lib/Kconfig"
1217
1218source "arch/powerpc/Kconfig.debug"
1219
1220source "security/Kconfig"
1221
1222config KEYS_COMPAT
1223 bool
1224 depends on COMPAT && KEYS
1225 default y
1226
1202source "crypto/Kconfig"
1203
1204config PPC_LIB_RHEAP
1205 bool
1206
1207source "arch/powerpc/kvm/Kconfig"
1208
1209source "kernel/livepatch/Kconfig"
1227source "crypto/Kconfig"
1228
1229config PPC_LIB_RHEAP
1230 bool
1231
1232source "arch/powerpc/kvm/Kconfig"
1233
1234source "kernel/livepatch/Kconfig"