~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/powerpc/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/powerpc/Kconfig (Version linux-6.12-rc7) and /arch/m68k/Kconfig (Version linux-6.8.12)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 source "arch/powerpc/platforms/Kconfig.cputype !!   2 config M68K
  3                                                << 
  4 config CC_HAS_ELFV2                            << 
  5         def_bool PPC64 && $(cc-option, -mabi=e << 
  6                                                << 
  7 config CC_HAS_PREFIXED                         << 
  8         def_bool PPC64 && $(cc-option, -mcpu=p << 
  9                                                << 
 10 config CC_HAS_PCREL                            << 
 11         # Clang has a bug (https://github.com/ << 
 12         # where pcrel code is not generated if << 
 13         # -mno-vsx options are also given. Wit << 
 14         # instructions are generated from regu << 
 15         # do pcrel yet.                        << 
 16         def_bool PPC64 && CC_IS_GCC && $(cc-op << 
 17                                                << 
 18 config 32BIT                                   << 
 19         bool                                   << 
 20         default y if PPC32                     << 
 21                                                << 
 22 config 64BIT                                   << 
 23         bool                                   << 
 24         default y if PPC64                     << 
 25                                                << 
 26 config LIVEPATCH_64                            << 
 27         def_bool PPC64                         << 
 28         depends on LIVEPATCH                   << 
 29                                                << 
 30 config MMU                                     << 
 31         bool                                   << 
 32         default y                              << 
 33                                                << 
 34 config ARCH_MMAP_RND_BITS_MAX                  << 
 35         # On Book3S 64, the default virtual ad << 
 36         # is 2^47 (128TB). As a maximum, allow << 
 37         # 32T of address space (2^45), which s << 
 38         # between bottom-up and top-down alloc << 
 39         # consume "normal" amounts of address  << 
 40         # and 4K page sizes.                   << 
 41         default 29 if PPC_BOOK3S_64 && PPC_64K << 
 42         default 33 if PPC_BOOK3S_64            << 
 43         #                                      << 
 44         # On all other 64-bit platforms (curre << 
 45         # address space is 2^46 (64TB). Allow  << 
 46         # of address space (2^44). Only 4K pag << 
 47         default 32 if 64BIT     # 32 = 44 (16T << 
 48         #                                      << 
 49         # For 32-bit, use the compat values, a << 
 50         default ARCH_MMAP_RND_COMPAT_BITS_MAX  << 
 51                                                << 
 52 config ARCH_MMAP_RND_BITS_MIN                  << 
 53         # Allow randomisation to consume up to << 
 54         default 14 if 64BIT && PPC_64K_PAGES   << 
 55         default 18 if 64BIT                    << 
 56         #                                      << 
 57         # For 32-bit, use the compat values, a << 
 58         default ARCH_MMAP_RND_COMPAT_BITS_MIN  << 
 59                                                << 
 60 config ARCH_MMAP_RND_COMPAT_BITS_MAX           << 
 61         # Total virtual address space for 32-b << 
 62         # Allow randomisation to consume up to << 
 63         default 11 if PPC_256K_PAGES    # 11 = << 
 64         default 13 if PPC_64K_PAGES     # 13 = << 
 65         default 15 if PPC_16K_PAGES     # 15 = << 
 66         default 17                      # 17 = << 
 67                                                << 
 68 config ARCH_MMAP_RND_COMPAT_BITS_MIN           << 
 69         # Total virtual address space for 32-b << 
 70         # Allow randomisation to consume up to << 
 71         default 5 if PPC_256K_PAGES     #  5 = << 
 72         default 7 if PPC_64K_PAGES      #  7 = << 
 73         default 9 if PPC_16K_PAGES      #  9 = << 
 74         default 11                      # 11 = << 
 75                                                << 
 76 config NR_IRQS                                 << 
 77         int "Number of virtual interrupt numbe << 
 78         range 32 1048576                       << 
 79         default "512"                          << 
 80         help                                   << 
 81           This defines the number of virtual i << 
 82           can manage. Virtual interrupt number << 
 83           /proc/interrupts. If you configure y << 
 84           drivers will fail to load or worse - << 
 85                                                << 
 86 config NMI_IPI                                 << 
 87         bool                                   << 
 88         depends on SMP && (DEBUGGER || KEXEC_C << 
 89         default y                              << 
 90                                                << 
 91 config PPC_WATCHDOG                            << 
 92         bool                                   << 
 93         depends on HARDLOCKUP_DETECTOR_ARCH    << 
 94         default y                              << 
 95         help                                   << 
 96           This is a placeholder when the power << 
 97           watchdog is selected (arch/powerpc/k << 
 98           selected via the generic lockup dete << 
 99           have no standalone config option for << 
100                                                << 
101 config STACKTRACE_SUPPORT                      << 
102         bool                                   << 
103         default y                              << 
104                                                << 
105 config LOCKDEP_SUPPORT                         << 
106         bool                                   << 
107         default y                              << 
108                                                << 
109 config GENERIC_LOCKBREAK                       << 
110         bool                                   << 
111         default y                              << 
112         depends on SMP && PREEMPTION && !PPC_Q << 
113                                                << 
114 config GENERIC_HWEIGHT                         << 
115         bool                                   << 
116         default y                              << 
117                                                << 
118 config PPC                                     << 
119         bool                                        3         bool
120         default y                                   4         default y
121         #                                      !!   5         select ARCH_32BIT_OFF_T
122         # Please keep this list sorted alphabe !!   6         select ARCH_HAS_BINFMT_FLAT
123         #                                      !!   7         select ARCH_HAS_CPU_FINALIZE_INIT if MMU
124         select ARCH_32BIT_OFF_T if PPC32       << 
125         select ARCH_DISABLE_KASAN_INLINE       << 
126         select ARCH_DMA_DEFAULT_COHERENT       << 
127         select ARCH_ENABLE_MEMORY_HOTPLUG      << 
128         select ARCH_ENABLE_MEMORY_HOTREMOVE    << 
129         select ARCH_HAS_COPY_MC                << 
130         select ARCH_HAS_CURRENT_STACK_POINTER       8         select ARCH_HAS_CURRENT_STACK_POINTER
131         select ARCH_HAS_DEBUG_VIRTUAL          !!   9         select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE
132         select ARCH_HAS_DEBUG_VM_PGTABLE       !!  10         select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA
133         select ARCH_HAS_DEBUG_WX               !!  11         select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
134         select ARCH_HAS_DEVMEM_IS_ALLOWED      !!  12         select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
135         select ARCH_HAS_DMA_MAP_DIRECT         !!  13         select ARCH_NO_PREEMPT if !COLDFIRE
136         select ARCH_HAS_DMA_OPS                !!  14         select ARCH_USE_MEMTEST if MMU_MOTOROLA
137         select ARCH_HAS_FORTIFY_SOURCE         << 
138         select ARCH_HAS_GCOV_PROFILE_ALL       << 
139         select ARCH_HAS_KCOV                   << 
140         select ARCH_HAS_KERNEL_FPU_SUPPORT     << 
141         select ARCH_HAS_MEMBARRIER_CALLBACKS   << 
142         select ARCH_HAS_MEMBARRIER_SYNC_CORE   << 
143         select ARCH_HAS_MEMREMAP_COMPAT_ALIGN  << 
144         select ARCH_HAS_MMIOWB                 << 
145         select ARCH_HAS_NON_OVERLAPPING_ADDRES << 
146         select ARCH_HAS_PHYS_TO_DMA            << 
147         select ARCH_HAS_PMEM_API               << 
148         select ARCH_HAS_PTE_DEVMAP             << 
149         select ARCH_HAS_PTE_SPECIAL            << 
150         select ARCH_HAS_SCALED_CPUTIME         << 
151         select ARCH_HAS_SET_MEMORY             << 
152         select ARCH_HAS_STRICT_KERNEL_RWX      << 
153         select ARCH_HAS_STRICT_KERNEL_RWX      << 
154         select ARCH_HAS_STRICT_MODULE_RWX      << 
155         select ARCH_HAS_SYSCALL_WRAPPER        << 
156         select ARCH_HAS_TICK_BROADCAST         << 
157         select ARCH_HAS_UACCESS_FLUSHCACHE     << 
158         select ARCH_HAS_UBSAN                  << 
159         select ARCH_HAVE_NMI_SAFE_CMPXCHG      << 
160         select ARCH_HAVE_EXTRA_ELF_NOTES       << 
161         select ARCH_KEEP_MEMBLOCK              << 
162         select ARCH_MHP_MEMMAP_ON_MEMORY_ENABL << 
163         select ARCH_MIGHT_HAVE_PC_PARPORT      << 
164         select ARCH_MIGHT_HAVE_PC_SERIO        << 
165         select ARCH_OPTIONAL_KERNEL_RWX        << 
166         select ARCH_OPTIONAL_KERNEL_RWX_DEFAUL << 
167         select ARCH_SPLIT_ARG64                << 
168         select ARCH_STACKWALK                  << 
169         select ARCH_SUPPORTS_ATOMIC_RMW        << 
170         select ARCH_SUPPORTS_DEBUG_PAGEALLOC   << 
171         select ARCH_USE_BUILTIN_BSWAP          << 
172         select ARCH_USE_CMPXCHG_LOCKREF        << 
173         select ARCH_USE_MEMTEST                << 
174         select ARCH_USE_QUEUED_RWLOCKS         << 
175         select ARCH_WANT_DEFAULT_BPF_JIT       << 
176         select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_ << 
177         select ARCH_WANT_IPC_PARSE_VERSION         15         select ARCH_WANT_IPC_PARSE_VERSION
178         select ARCH_WANT_IRQS_OFF_ACTIVATE_MM  !!  16         select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
179         select ARCH_WANT_LD_ORPHAN_WARN        !!  17         select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE
180         select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP  !!  18         select GENERIC_ATOMIC64
181         select ARCH_WANTS_MODULES_DATA_IN_VMAL !!  19         select GENERIC_CPU_DEVICES
182         select ARCH_WEAK_RELEASE_ACQUIRE       !!  20         select GENERIC_IOMAP
183         select BINFMT_ELF                      << 
184         select BUILDTIME_TABLE_SORT            << 
185         select CLONE_BACKWARDS                 << 
186         select CPUMASK_OFFSTACK                << 
187         select DCACHE_WORD_ACCESS              << 
188         select DMA_OPS_BYPASS                  << 
189         select DYNAMIC_FTRACE                  << 
190         select EDAC_ATOMIC_SCRUB               << 
191         select EDAC_SUPPORT                    << 
192         select FTRACE_MCOUNT_USE_PATCHABLE_FUN << 
193         select FUNCTION_ALIGNMENT_4B           << 
194         select GENERIC_ATOMIC64                << 
195         select GENERIC_CLOCKEVENTS_BROADCAST   << 
196         select GENERIC_CMOS_UPDATE             << 
197         select GENERIC_CPU_AUTOPROBE           << 
198         select GENERIC_CPU_VULNERABILITIES     << 
199         select GENERIC_EARLY_IOREMAP           << 
200         select GENERIC_GETTIMEOFDAY            << 
201         select GENERIC_IDLE_POLL_SETUP         << 
202         select GENERIC_IOREMAP                 << 
203         select GENERIC_IRQ_SHOW                    21         select GENERIC_IRQ_SHOW
204         select GENERIC_IRQ_SHOW_LEVEL          !!  22         select GENERIC_LIB_ASHLDI3
205         select GENERIC_PCI_IOMAP               !!  23         select GENERIC_LIB_ASHRDI3
206         select GENERIC_PTDUMP                  !!  24         select GENERIC_LIB_LSHRDI3
207         select GENERIC_SMP_IDLE_THREAD         !!  25         select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
208         select GENERIC_TIME_VSYSCALL           !!  26         select HAVE_ARCH_SECCOMP
209         select GENERIC_VDSO_TIME_NS            << 
210         select HAS_IOPORT                      << 
211         select HAVE_ARCH_AUDITSYSCALL          << 
212         select HAVE_ARCH_HUGE_VMALLOC          << 
213         select HAVE_ARCH_HUGE_VMAP             << 
214         select HAVE_ARCH_JUMP_LABEL            << 
215         select HAVE_ARCH_JUMP_LABEL_RELATIVE   << 
216         select HAVE_ARCH_KASAN                 << 
217         select HAVE_ARCH_KASAN                 << 
218         select HAVE_ARCH_KASAN                 << 
219         select HAVE_ARCH_KASAN_VMALLOC         << 
220         select HAVE_ARCH_KCSAN                 << 
221         select HAVE_ARCH_KFENCE                << 
222         select HAVE_ARCH_RANDOMIZE_KSTACK_OFFS << 
223         select HAVE_ARCH_WITHIN_STACK_FRAMES   << 
224         select HAVE_ARCH_KGDB                  << 
225         select HAVE_ARCH_MMAP_RND_BITS         << 
226         select HAVE_ARCH_MMAP_RND_COMPAT_BITS  << 
227         select HAVE_ARCH_NVRAM_OPS             << 
228         select HAVE_ARCH_SECCOMP_FILTER            27         select HAVE_ARCH_SECCOMP_FILTER
229         select HAVE_ARCH_TRACEHOOK             << 
230         select HAVE_ASM_MODVERSIONS                28         select HAVE_ASM_MODVERSIONS
231         select HAVE_CONTEXT_TRACKING_USER      !!  29         select HAVE_DEBUG_BUGVERBOSE
232         select HAVE_C_RECORDMCOUNT             !!  30         select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
233         select HAVE_DEBUG_KMEMLEAK             << 
234         select HAVE_DEBUG_STACKOVERFLOW        << 
235         select HAVE_DYNAMIC_FTRACE             << 
236         select HAVE_DYNAMIC_FTRACE_WITH_ARGS   << 
237         select HAVE_DYNAMIC_FTRACE_WITH_REGS   << 
238         select HAVE_EBPF_JIT                   << 
239         select HAVE_EFFICIENT_UNALIGNED_ACCESS << 
240         select HAVE_GUP_FAST                   << 
241         select HAVE_FTRACE_MCOUNT_RECORD       << 
242         select HAVE_FUNCTION_ARG_ACCESS_API    << 
243         select HAVE_FUNCTION_DESCRIPTORS       << 
244         select HAVE_FUNCTION_ERROR_INJECTION   << 
245         select HAVE_FUNCTION_GRAPH_TRACER      << 
246         select HAVE_FUNCTION_TRACER            << 
247         select HAVE_GCC_PLUGINS                << 
248         select HAVE_GENERIC_VDSO               << 
249         select HAVE_HARDLOCKUP_DETECTOR_ARCH   << 
250         select HAVE_HARDLOCKUP_DETECTOR_PERF   << 
251         select HAVE_HW_BREAKPOINT              << 
252         select HAVE_IOREMAP_PROT               << 
253         select HAVE_IRQ_TIME_ACCOUNTING        << 
254         select HAVE_KERNEL_GZIP                << 
255         select HAVE_KERNEL_LZMA                << 
256         select HAVE_KERNEL_LZO                 << 
257         select HAVE_KERNEL_XZ                  << 
258         select HAVE_KPROBES                    << 
259         select HAVE_KPROBES_ON_FTRACE          << 
260         select HAVE_KRETPROBES                 << 
261         select HAVE_LD_DEAD_CODE_DATA_ELIMINAT << 
262         select HAVE_LIVEPATCH                  << 
263         select HAVE_MOD_ARCH_SPECIFIC              31         select HAVE_MOD_ARCH_SPECIFIC
264         select HAVE_NMI                        !!  32         select HAVE_UID16
265         select HAVE_OPTPROBES                  !!  33         select MMU_GATHER_NO_RANGE if MMU
266         select HAVE_OBJTOOL                    !!  34         select MODULES_USE_ELF_REL
267         select HAVE_OBJTOOL_MCOUNT             << 
268         select HAVE_PERF_EVENTS                << 
269         select HAVE_PERF_EVENTS_NMI            << 
270         select HAVE_PERF_REGS                  << 
271         select HAVE_PERF_USER_STACK_DUMP       << 
272         select HAVE_RETHOOK                    << 
273         select HAVE_REGS_AND_STACK_ACCESS_API  << 
274         select HAVE_RELIABLE_STACKTRACE        << 
275         select HAVE_RSEQ                       << 
276         select HAVE_SETUP_PER_CPU_AREA         << 
277         select HAVE_SOFTIRQ_ON_OWN_STACK       << 
278         select HAVE_STACKPROTECTOR             << 
279         select HAVE_STACKPROTECTOR             << 
280         select HAVE_STATIC_CALL                << 
281         select HAVE_SYSCALL_TRACEPOINTS        << 
282         select HAVE_VIRT_CPU_ACCOUNTING        << 
283         select HAVE_VIRT_CPU_ACCOUNTING_GEN    << 
284         select HOTPLUG_SMT                     << 
285         select SMT_NUM_THREADS_DYNAMIC         << 
286         select HUGETLB_PAGE_SIZE_VARIABLE      << 
287         select IOMMU_HELPER                    << 
288         select IRQ_DOMAIN                      << 
289         select IRQ_FORCED_THREADING            << 
290         select KASAN_VMALLOC                   << 
291         select LOCK_MM_AND_FIND_VMA            << 
292         select MMU_GATHER_PAGE_SIZE            << 
293         select MMU_GATHER_RCU_TABLE_FREE       << 
294         select MMU_GATHER_MERGE_VMAS           << 
295         select MMU_LAZY_TLB_SHOOTDOWN          << 
296         select MODULES_USE_ELF_RELA                35         select MODULES_USE_ELF_RELA
297         select NEED_DMA_MAP_STATE              !!  36         select NO_DMA if !MMU && !COLDFIRE
298         select NEED_PER_CPU_EMBED_FIRST_CHUNK  !!  37         select OLD_SIGACTION
299         select NEED_PER_CPU_PAGE_FIRST_CHUNK   !!  38         select OLD_SIGSUSPEND3
300         select NEED_SG_DMA_LENGTH              !!  39         select UACCESS_MEMCPY if !MMU
301         select OF                              !!  40         select ZONE_DMA
302         select OF_EARLY_FLATTREE               << 
303         select OLD_SIGACTION                   << 
304         select OLD_SIGSUSPEND                  << 
305         select PCI_DOMAINS                     << 
306         select PCI_MSI_ARCH_FALLBACKS          << 
307         select PCI_SYSCALL                     << 
308         select PPC_DAWR                        << 
309         select RTC_LIB                         << 
310         select SPARSE_IRQ                      << 
311         select STRICT_KERNEL_RWX if STRICT_MOD << 
312         select SYSCTL_EXCEPTION_TRACE          << 
313         select THREAD_INFO_IN_TASK             << 
314         select TRACE_IRQFLAGS_SUPPORT          << 
315         select VDSO_GETRANDOM                  << 
316         #                                      << 
317         # Please keep this list sorted alphabe << 
318         #                                      << 
319                                                << 
320 config PPC_BARRIER_NOSPEC                      << 
321         bool                                   << 
322         default y                              << 
323         depends on PPC_BOOK3S_64 || PPC_E500   << 
324                                                << 
325 config PPC_HAS_LBARX_LHARX                     << 
326         bool                                   << 
327                                                << 
328 config EARLY_PRINTK                            << 
329         bool                                   << 
330         default y                              << 
331                                                << 
332 config PANIC_TIMEOUT                           << 
333         int                                    << 
334         default 180                            << 
335                                                    41 
336 config COMPAT                                  !!  42 config CPU_BIG_ENDIAN
337         bool "Enable support for 32bit binarie << 
338         depends on PPC64                       << 
339         default y if !CPU_LITTLE_ENDIAN        << 
340         select ARCH_WANT_OLD_COMPAT_IPC        << 
341         select COMPAT_OLD_SIGACTION            << 
342                                                << 
343 config SCHED_OMIT_FRAME_POINTER                << 
344         bool                                   << 
345         default y                              << 
346                                                << 
347 config ARCH_MAY_HAVE_PC_FDC                    << 
348         bool                                   << 
349         default PCI                            << 
350                                                << 
351 config PPC_UDBG_16550                          << 
352         bool                                   << 
353                                                << 
354 config GENERIC_TBSYNC                          << 
355         bool                                   << 
356         default y if PPC32 && SMP              << 
357                                                << 
358 config AUDIT_ARCH                              << 
359         bool                                   << 
360         default y                              << 
361                                                << 
362 config GENERIC_BUG                             << 
363         bool                                   << 
364         default y                              << 
365         depends on BUG                         << 
366                                                << 
367 config GENERIC_BUG_RELATIVE_POINTERS           << 
368         def_bool y                                 43         def_bool y
369         depends on GENERIC_BUG                 << 
370                                                << 
371 config SYS_SUPPORTS_APM_EMULATION              << 
372         default y if PMAC_APM_EMU              << 
373         bool                                   << 
374                                                    44 
375 config EPAPR_BOOT                              !!  45 config ARCH_HAS_ILOG2_U32
376         bool                                       46         bool
377         help                                   << 
378           Used to allow a board to specify it  << 
379                                                    47 
380 config DEFAULT_UIMAGE                          !!  48 config ARCH_HAS_ILOG2_U64
381         bool                                       49         bool
382         help                                   << 
383           Used to allow a board to specify it  << 
384                                                    50 
385 config ARCH_HIBERNATION_POSSIBLE               !!  51 config GENERIC_HWEIGHT
386         bool                                       52         bool
387         default y                                  53         default y
388                                                    54 
389 config ARCH_SUSPEND_POSSIBLE                   !!  55 config GENERIC_CALIBRATE_DELAY
390         def_bool y                             << 
391         depends on ADB_PMU || PPC_EFIKA || PPC << 
392                    (PPC_85xx && !PPC_E500MC) | << 
393                    || 44x                      << 
394                                                << 
395 config ARCH_SUSPEND_NONZERO_CPU                << 
396         def_bool y                             << 
397         depends on PPC_POWERNV || PPC_PSERIES  << 
398                                                << 
399 config ARCH_HAS_ADD_PAGES                      << 
400         def_bool y                             << 
401         depends on ARCH_ENABLE_MEMORY_HOTPLUG  << 
402                                                << 
403 config PPC_DCR_NATIVE                          << 
404         bool                                   << 
405                                                << 
406 config PPC_DCR_MMIO                            << 
407         bool                                   << 
408                                                << 
409 config PPC_DCR                                 << 
410         bool                                       56         bool
411         depends on PPC_DCR_NATIVE || PPC_DCR_M << 
412         default y                              << 
413                                                << 
414 config PPC_PCI_OF_BUS_MAP                      << 
415         bool "Use pci_to_OF_bus_map (deprecate << 
416         depends on PPC32                       << 
417         depends on PPC_PMAC || PPC_CHRP        << 
418         help                                   << 
419           This option uses pci_to_OF_bus_map t << 
420           restricts the system to only having  << 
421           the "pci-OF-bus-map" property to be  << 
422                                                << 
423           If unsure, say "N".                  << 
424                                                << 
425 config PPC_PCI_BUS_NUM_DOMAIN_DEPENDENT        << 
426         depends on PPC32                       << 
427         depends on !PPC_PCI_OF_BUS_MAP         << 
428         bool "Assign PCI bus numbers from zero << 
429         default y                                  57         default y
430         help                                   << 
431           By default on PPC32 were PCI bus num << 
432           So system could have only 256 PCI bu << 
433           PCI domains. When this option is ena << 
434           PCI domain dependent and each PCI co << 
435           256 PCI buses, like it is on other L << 
436                                                    58 
437 config PPC_OF_PLATFORM_PCI                     !!  59 config GENERIC_CSUM
438         bool                                       60         bool
439         depends on PCI                         << 
440         depends on PPC64 # not supported on 32 << 
441                                                << 
442 config ARCH_SUPPORTS_UPROBES                   << 
443         def_bool y                             << 
444                                                    61 
445 config PPC_ADV_DEBUG_REGS                      !!  62 config TIME_LOW_RES
446         bool                                       63         bool
447         depends on BOOKE                       << 
448         default y                                  64         default y
449                                                    65 
450 config PPC_ADV_DEBUG_IACS                      !!  66 config NO_IOPORT_MAP
451         int                                    << 
452         depends on PPC_ADV_DEBUG_REGS          << 
453         default 4 if 44x                       << 
454         default 2                              << 
455                                                << 
456 config PPC_ADV_DEBUG_DACS                      << 
457         int                                    << 
458         depends on PPC_ADV_DEBUG_REGS          << 
459         default 2                              << 
460                                                << 
461 config PPC_ADV_DEBUG_DVCS                      << 
462         int                                    << 
463         depends on PPC_ADV_DEBUG_REGS          << 
464         default 2 if 44x                       << 
465         default 0                              << 
466                                                << 
467 config PPC_ADV_DEBUG_DAC_RANGE                 << 
468         bool                                   << 
469         depends on PPC_ADV_DEBUG_REGS && 44x   << 
470         default y                              << 
471                                                << 
472 config PPC_DAWR                                << 
473         bool                                   << 
474                                                << 
475 config PGTABLE_LEVELS                          << 
476         int                                    << 
477         default 2 if !PPC64                    << 
478         default 4                              << 
479                                                << 
480 source "arch/powerpc/sysdev/Kconfig"           << 
481 source "arch/powerpc/platforms/Kconfig"        << 
482                                                << 
483 menu "Kernel options"                          << 
484                                                << 
485 config HIGHMEM                                 << 
486         bool "High memory support"             << 
487         depends on PPC32                       << 
488         select KMAP_LOCAL                      << 
489                                                << 
490 source "kernel/Kconfig.hz"                     << 
491                                                << 
492 config MATH_EMULATION                          << 
493         bool "Math emulation"                  << 
494         depends on 44x || PPC_8xx || PPC_MPC83 << 
495         select PPC_FPU_REGS                    << 
496         help                                   << 
497           Some PowerPC chips designed for embe << 
498           a floating-point unit and therefore  << 
499           floating-point instructions in the P << 
500           say Y here, the kernel will include  << 
501           unit, which will allow programs that << 
502           instructions to run.                 << 
503                                                << 
504           This is also useful to emulate missi << 
505           such as fsqrt on cores that do have  << 
506           them (such as Freescale BookE).      << 
507                                                << 
508 choice                                         << 
509         prompt "Math emulation options"        << 
510         default MATH_EMULATION_FULL            << 
511         depends on MATH_EMULATION              << 
512                                                << 
513 config MATH_EMULATION_FULL                     << 
514         bool "Emulate all the floating point i << 
515         help                                   << 
516           Select this option will enable the k << 
517           all the floating point instructions. << 
518           a FPU, you should select this.       << 
519                                                << 
520 config MATH_EMULATION_HW_UNIMPLEMENTED         << 
521         bool "Just emulate the FPU unimplement << 
522         help                                   << 
523           Select this if you know there does h << 
524           SoC, but some floating point instruc << 
525                                                << 
526 endchoice                                      << 
527                                                << 
528 config PPC_TRANSACTIONAL_MEM                   << 
529         bool "Transactional Memory support for << 
530         depends on PPC_BOOK3S_64               << 
531         depends on SMP                         << 
532         select ALTIVEC                         << 
533         select VSX                             << 
534         help                                   << 
535           Support user-mode Transactional Memo << 
536                                                << 
537 config PPC_UV                                  << 
538         bool "Ultravisor support"              << 
539         depends on KVM_BOOK3S_HV_POSSIBLE      << 
540         depends on DEVICE_PRIVATE              << 
541         default n                              << 
542         help                                   << 
543           This option paravirtualizes the kern << 
544           supports the Protected Execution Fac << 
545           the ultravisor firmware runs at a pr << 
546           hypervisor.                          << 
547                                                << 
548           If unsure, say "N".                  << 
549                                                << 
550 config LD_HEAD_STUB_CATCH                      << 
551         bool "Reserve 256 bytes to cope with l << 
552         depends on PPC64                       << 
553         help                                   << 
554           Very large kernels can cause linker  << 
555           code in head_64.S, which moves the h << 
556           specified location. This option can  << 
557                                                << 
558           If unsure, say "N".                  << 
559                                                << 
560 config MPROFILE_KERNEL                         << 
561         depends on PPC64_ELF_ABI_V2 && FUNCTIO << 
562         def_bool $(success,$(srctree)/arch/pow << 
563         def_bool $(success,$(srctree)/arch/pow << 
564                                                << 
565 config ARCH_USING_PATCHABLE_FUNCTION_ENTRY     << 
566         depends on FUNCTION_TRACER && (PPC32 | << 
567         depends on $(cc-option,-fpatchable-fun << 
568         def_bool y if PPC32                    << 
569         def_bool $(success,$(srctree)/arch/pow << 
570         def_bool $(success,$(srctree)/arch/pow << 
571                                                << 
572 config HOTPLUG_CPU                             << 
573         bool "Support for enabling/disabling C << 
574         depends on SMP && (PPC_PSERIES || \    << 
575                 PPC_PMAC || PPC_POWERNV || FSL << 
576         help                                   << 
577           Say Y here to be able to disable and << 
578           CPUs at runtime on SMP machines.     << 
579                                                << 
580           Say N if you are unsure.             << 
581                                                << 
582 config INTERRUPT_SANITIZE_REGISTERS            << 
583         bool "Clear gprs on interrupt arrival" << 
584         depends on PPC64 && ARCH_HAS_SYSCALL_W << 
585         default PPC_BOOK3E_64 || PPC_PSERIES | << 
586         help                                   << 
587           Reduce the influence of user registe << 
588           syscalls through clearing user state << 
589           the exception.                       << 
590                                                << 
591 config PPC_QUEUED_SPINLOCKS                    << 
592         bool "Queued spinlocks" if EXPERT      << 
593         depends on SMP                         << 
594         default PPC_BOOK3S_64                  << 
595         help                                   << 
596           Say Y here to use queued spinlocks w << 
597           fairness on large SMP and NUMA syste << 
598           performance.                         << 
599                                                << 
600 config ARCH_CPU_PROBE_RELEASE                  << 
601         def_bool y                             << 
602         depends on HOTPLUG_CPU                 << 
603                                                << 
604 config PPC64_SUPPORTS_MEMORY_FAILURE           << 
605         bool "Add support for memory hwpoison" << 
606         depends on PPC_BOOK3S_64               << 
607         default "y" if PPC_POWERNV             << 
608         select ARCH_SUPPORTS_MEMORY_FAILURE    << 
609                                                << 
610 config ARCH_SUPPORTS_KEXEC                     << 
611         def_bool PPC_BOOK3S || PPC_E500 || (44 << 
612                                                << 
613 config ARCH_SUPPORTS_KEXEC_FILE                << 
614         def_bool PPC64                         << 
615                                                << 
616 config ARCH_SUPPORTS_KEXEC_PURGATORY           << 
617         def_bool y                             << 
618                                                << 
619 config ARCH_SELECTS_KEXEC_FILE                 << 
620         def_bool y                             << 
621         depends on KEXEC_FILE                  << 
622         select KEXEC_ELF                       << 
623         select HAVE_IMA_KEXEC if IMA           << 
624                                                << 
625 config PPC64_BIG_ENDIAN_ELF_ABI_V2             << 
626         # Option is available to BFD, but LLD  << 
627         # always true there.                   << 
628         prompt "Build big-endian kernel using  << 
629         def_bool y                             << 
630         depends on PPC64 && CPU_BIG_ENDIAN     << 
631         depends on CC_HAS_ELFV2                << 
632         help                                   << 
633           This builds the kernel image using t << 
634           V2 ABI Specification", which has a r << 
635           function calls. This internal kernel << 
636           userspace compatibility.             << 
637                                                << 
638           The V2 ABI is standard for 64-bit li << 
639           it is less well tested by kernel and << 
640           build userspace this way, and it can << 
641                                                << 
642 config RELOCATABLE                             << 
643         bool "Build a relocatable kernel"      << 
644         depends on PPC64 || (FLATMEM && (44x | << 
645         select NONSTATIC_KERNEL                << 
646         help                                   << 
647           This builds a kernel image that is c << 
648           location the kernel is loaded at. Fo << 
649           alignment restrictions, and this fea << 
650           DYNAMIC_MEMSTART and hence overrides << 
651           16k-aligned base address. The kernel << 
652           position-independent executable (PIE << 
653           which are processed early in the boo << 
654                                                << 
655           One use is for the kexec on panic ca << 
656           must live at a different physical ad << 
657           kernel.                              << 
658                                                << 
659           Note: If CONFIG_RELOCATABLE=y, then  << 
660           it has been loaded at and the compil << 
661           CONFIG_PHYSICAL_START is ignored.  H << 
662           setting can still be useful to bootw << 
663           load address of the kernel (eg. u-bo << 
664                                                << 
665 config RANDOMIZE_BASE                          << 
666         bool "Randomize the address of the ker << 
667         depends on PPC_85xx && FLATMEM         << 
668         depends on RELOCATABLE                 << 
669         help                                   << 
670           Randomizes the virtual address at wh << 
671           loaded, as a security feature that d << 
672           relying on knowledge of the location << 
673                                                << 
674           If unsure, say Y.                    << 
675                                                << 
676 config RELOCATABLE_TEST                        << 
677         bool "Test relocatable kernel"         << 
678         depends on (PPC64 && RELOCATABLE)      << 
679         help                                   << 
680           This runs the relocatable kernel at  << 
681           loaded at, which tends to be non-zer << 
682           relocation code.                     << 
683                                                << 
684 config ARCH_SUPPORTS_CRASH_DUMP                << 
685         def_bool PPC64 || PPC_BOOK3S_32 || PPC << 
686                                                << 
687 config ARCH_SELECTS_CRASH_DUMP                 << 
688         def_bool y                             << 
689         depends on CRASH_DUMP                  << 
690         select RELOCATABLE if PPC64 || 44x ||  << 
691                                                << 
692 config ARCH_SUPPORTS_CRASH_HOTPLUG             << 
693         def_bool y                                 67         def_bool y
694         depends on PPC64                       << 
695                                                << 
696 config FA_DUMP                                 << 
697         bool "Firmware-assisted dump"          << 
698         depends on CRASH_DUMP && PPC64 && (PPC << 
699         help                                   << 
700           A robust mechanism to get reliable k << 
701           assistance from firmware. This appro << 
702           instead firmware assists in booting  << 
703           while preserving memory contents. Fi << 
704           is meant to be a kdump replacement o << 
705           speed not possible without system fi << 
706                                                << 
707           If unsure, say "y". Only special ker << 
708           need to say "N" here.                << 
709                                                << 
710 config PRESERVE_FA_DUMP                        << 
711         bool "Preserve Firmware-assisted dump" << 
712         depends on PPC64 && PPC_POWERNV && !FA << 
713         help                                   << 
714           On a kernel with FA_DUMP disabled, t << 
715           crash data from a previously crash'e << 
716           memory preserving kernel boot would  << 
717           Petitboot kernel is the typical usec << 
718                                                << 
719 config OPAL_CORE                               << 
720         bool "Export OPAL memory as /sys/firmw << 
721         depends on PPC64 && PPC_POWERNV        << 
722         help                                   << 
723           This option uses the MPIPL support i << 
724           ELF core of OPAL memory after a cras << 
725           as /sys/firmware/opal/core file whic << 
726           OPAL crashes using GDB.              << 
727                                                << 
728 config IRQ_ALL_CPUS                            << 
729         bool "Distribute interrupts on all CPU << 
730         depends on SMP                         << 
731         help                                   << 
732           This option gives the kernel permiss << 
733           multiple CPUs.  Saying N here will r << 
734           CPU.  Generally saying Y is safe, al << 
735           reported with SMP Power Macintoshes  << 
736                                                << 
737 config NUMA                                    << 
738         bool "NUMA Memory Allocation and Sched << 
739         depends on PPC64 && SMP                << 
740         default y if PPC_PSERIES || PPC_POWERN << 
741         select USE_PERCPU_NUMA_NODE_ID         << 
742         help                                   << 
743           Enable NUMA (Non-Uniform Memory Acce << 
744                                                << 
745           The kernel will try to allocate memo << 
746           local memory controller of the CPU a << 
747           NUMA awareness to the kernel.        << 
748                                                    68 
749 config NODES_SHIFT                             !!  69 config HZ
750         int                                        70         int
751         default "8" if PPC64                   !!  71         default 1000 if CLEOPATRA
752         default "4"                            !!  72         default 100
753         depends on NUMA                        << 
754                                                << 
755 config HAVE_MEMORYLESS_NODES                   << 
756         def_bool y                             << 
757         depends on NUMA                        << 
758                                                << 
759 config ARCH_SELECT_MEMORY_MODEL                << 
760         def_bool y                             << 
761         depends on PPC64                       << 
762                                                << 
763 config ARCH_FLATMEM_ENABLE                     << 
764         def_bool y                             << 
765         depends on (PPC64 && !NUMA) || PPC32   << 
766                                                << 
767 config ARCH_SPARSEMEM_ENABLE                   << 
768         def_bool y                             << 
769         depends on PPC64                       << 
770         select SPARSEMEM_VMEMMAP_ENABLE        << 
771                                                << 
772 config ARCH_SPARSEMEM_DEFAULT                  << 
773         def_bool y                             << 
774         depends on PPC_BOOK3S_64               << 
775                                                << 
776 config ILLEGAL_POINTER_VALUE                   << 
777         hex                                    << 
778         # This is roughly half way between the << 
779         # of kernel space, which seems about a << 
780         default 0x5deadbeef0000000 if PPC64    << 
781         default 0                              << 
782                                                << 
783 config ARCH_MEMORY_PROBE                       << 
784         def_bool y                             << 
785         depends on MEMORY_HOTPLUG              << 
786                                                << 
787 choice                                         << 
788         prompt "Page size"                     << 
789         default PPC_64K_PAGES if PPC_BOOK3S_64 << 
790         default PPC_4K_PAGES                   << 
791         help                                   << 
792           Select the kernel logical page size. << 
793           will reduce software overhead at eac << 
794           hardware prefetch mechanisms to be m << 
795           larger dma transfers increasing IO e << 
796           overhead. However the utilization of << 
797           For example, each cached file will u << 
798           page size to hold its contents and t << 
799           end of file and the end of page is w << 
800                                                << 
801           Some dedicated systems, such as soft << 
802           accelerated calculations, have shown << 
803                                                << 
804           If you configure a 64 bit kernel for << 
805           processor does not support them, the << 
806           them with 4k pages, loading them on  << 
807           reduced software overhead and larger << 
808           For the 32 bit kernel, a large page  << 
809           unless it is supported by the config << 
810                                                << 
811           If unsure, choose 4K_PAGES.          << 
812                                                << 
813 config PPC_4K_PAGES                            << 
814         bool "4k page size"                    << 
815         select HAVE_ARCH_SOFT_DIRTY if PPC_BOO << 
816         select HAVE_PAGE_SIZE_4KB              << 
817                                                << 
818 config PPC_16K_PAGES                           << 
819         bool "16k page size"                   << 
820         depends on 44x || PPC_8xx              << 
821         select HAVE_PAGE_SIZE_16KB             << 
822                                                << 
823 config PPC_64K_PAGES                           << 
824         bool "64k page size"                   << 
825         depends on 44x || PPC_BOOK3S_64        << 
826         select HAVE_ARCH_SOFT_DIRTY if PPC_BOO << 
827         select HAVE_PAGE_SIZE_64KB             << 
828                                                << 
829 config PPC_256K_PAGES                          << 
830         bool "256k page size (Requires non-sta << 
831         depends on 44x && !PPC_47x             << 
832         select HAVE_PAGE_SIZE_256KB            << 
833         help                                   << 
834           Make the page size 256k.             << 
835                                                << 
836           The kernel will only be able to run  << 
837           compiled with '-zmax-page-size' set  << 
838           binutils later than 2.17.50.0.3, or  << 
839           definition from 0x10000 to 0x40000 i << 
840                                                << 
841 endchoice                                      << 
842                                                << 
843 config THREAD_SHIFT                            << 
844         int "Thread shift" if EXPERT           << 
845         range 13 15                            << 
846         default "15" if PPC_256K_PAGES         << 
847         default "15" if PPC_PSERIES || PPC_POW << 
848         default "14" if PPC64                  << 
849         default "13"                           << 
850         help                                   << 
851           Used to define the stack size. The d << 
852           want. Only change this if you know w << 
853                                                << 
854 config DATA_SHIFT_BOOL                         << 
855         bool "Set custom data alignment"       << 
856         depends on ADVANCED_OPTIONS            << 
857         depends on STRICT_KERNEL_RWX || DEBUG_ << 
858         depends on (PPC_8xx && !PIN_TLB_DATA & << 
859                    PPC_BOOK3S_32 || PPC_85xx   << 
860         help                                   << 
861           This option allows you to set the ke << 
862           RAM is mapped by blocks, the alignme << 
863           number of possible blocks. The defau << 
864                                                << 
865           Say N here unless you know what you  << 
866                                                << 
867 config DATA_SHIFT                              << 
868         int "Data shift" if DATA_SHIFT_BOOL    << 
869         default 24 if STRICT_KERNEL_RWX && PPC << 
870         range 17 28 if (STRICT_KERNEL_RWX || D << 
871         range 19 23 if (STRICT_KERNEL_RWX || D << 
872         range 20 24 if (STRICT_KERNEL_RWX || D << 
873         default 22 if STRICT_KERNEL_RWX && PPC << 
874         default 18 if (DEBUG_PAGEALLOC || KFEN << 
875         default 23 if (STRICT_KERNEL_RWX || DE << 
876                       (PIN_TLB_DATA || PIN_TLB << 
877         default 19 if (STRICT_KERNEL_RWX || DE << 
878         default 24 if STRICT_KERNEL_RWX && PPC << 
879         default PAGE_SHIFT                     << 
880         help                                   << 
881           On Book3S 32 (603+), DBATs are used  << 
882           Smaller is the alignment, greater is << 
883                                                << 
884           On 8xx, large pages (512kb or 8M) ar << 
885           memory. Aligning to 8M reduces TLB m << 
886           in that case. If PIN_TLB is selected << 
887           8M pages will be pinned.             << 
888                                                << 
889 config ARCH_FORCE_MAX_ORDER                    << 
890         int "Order of maximal physically conti << 
891         range 7 8 if PPC64 && PPC_64K_PAGES    << 
892         default "8" if PPC64 && PPC_64K_PAGES  << 
893         range 12 12 if PPC64 && !PPC_64K_PAGES << 
894         default "12" if PPC64 && !PPC_64K_PAGE << 
895         range 8 10 if PPC32 && PPC_16K_PAGES   << 
896         default "8" if PPC32 && PPC_16K_PAGES  << 
897         range 6 10 if PPC32 && PPC_64K_PAGES   << 
898         default "6" if PPC32 && PPC_64K_PAGES  << 
899         range 4 10 if PPC32 && PPC_256K_PAGES  << 
900         default "4" if PPC32 && PPC_256K_PAGES << 
901         range 10 12                            << 
902         default "10"                           << 
903         help                                   << 
904           The kernel page allocator limits the << 
905           contiguous allocations. The limit is << 
906           defines the maximal power of two of  << 
907           allocated as a single contiguous blo << 
908           overriding the default setting when  << 
909           large blocks of physically contiguou << 
910                                                << 
911           The page size is not necessarily 4KB << 
912           systems, 64KB pages can be enabled v << 
913           this in mind when choosing a value f << 
914                                                << 
915           Don't change if unsure.              << 
916                                                << 
917 config PPC_SUBPAGE_PROT                        << 
918         bool "Support setting protections for  << 
919         default n                              << 
920         depends on PPC_64S_HASH_MMU && PPC_64K << 
921         help                                   << 
922           This option adds support for system  << 
923           to set access permissions (read/writ << 
924           on the 4k subpages of each 64k page. << 
925                                                << 
926           If unsure, say N here.               << 
927                                                << 
928 config PPC_PROT_SAO_LPAR                       << 
929         bool "Support PROT_SAO mappings in LPA << 
930         depends on PPC_BOOK3S_64               << 
931         help                                   << 
932           This option adds support for PROT_SA << 
933           inside LPARs on supported CPUs.      << 
934                                                << 
935           This may cause issues when performin << 
936           a CPU that supports SAO to one that  << 
937                                                    73 
938           If unsure, say N here.               !!  74 config PGTABLE_LEVELS
939                                                !!  75         default 2 if SUN3 || COLDFIRE
940 config PPC_COPRO_BASE                          !!  76         default 3
941         bool                                   << 
942                                                << 
943 config SCHED_SMT                               << 
944         bool "SMT (Hyperthreading) scheduler s << 
945         depends on PPC64 && SMP                << 
946         help                                   << 
947           SMT scheduler support improves the C << 
948           when dealing with POWER5 cpus at a c << 
949           overhead in some places. If unsure s << 
950                                                << 
951 config PPC_DENORMALISATION                     << 
952         bool "PowerPC denormalisation exceptio << 
953         depends on PPC_BOOK3S_64               << 
954         default "y" if PPC_POWERNV             << 
955         help                                   << 
956           Add support for handling denormalisa << 
957           values.  Useful for bare metal only. << 
958                                                << 
959 config CMDLINE                                 << 
960         string "Initial kernel command string" << 
961         default ""                             << 
962         help                                   << 
963           On some platforms, there is currentl << 
964           pass arguments to the kernel. For th << 
965           some command-line options at build t << 
966           most cases you will need to specify  << 
967                                                << 
968 choice                                         << 
969         prompt "Kernel command line type"      << 
970         depends on CMDLINE != ""               << 
971         default CMDLINE_FROM_BOOTLOADER        << 
972                                                << 
973 config CMDLINE_FROM_BOOTLOADER                 << 
974         bool "Use bootloader kernel arguments  << 
975         help                                   << 
976           Uses the command-line options passed << 
977           the boot loader doesn't provide any, << 
978           string provided in CMDLINE will be u << 
979                                                << 
980 config CMDLINE_EXTEND                          << 
981         bool "Extend bootloader kernel argumen << 
982         help                                   << 
983           The command-line arguments provided  << 
984           appended to the default kernel comma << 
985                                                << 
986 config CMDLINE_FORCE                           << 
987         bool "Always use the default kernel co << 
988         help                                   << 
989           Always use the default kernel comman << 
990           loader passes other arguments to the << 
991           This is useful if you cannot or don' << 
992           command-line options your boot loade << 
993                                                << 
994 endchoice                                      << 
995                                                << 
996 config EXTRA_TARGETS                           << 
997         string "Additional default image types << 
998         help                                   << 
999           List additional targets to be built  << 
1000           by spaces).  This is useful for tar << 
1001           files in the .dts directory.        << 
1002                                               << 
1003           Targets in this list will be build  << 
1004           target, or when the user does a 'ma << 
1005           'make zImage.initrd'.               << 
1006                                               << 
1007           If unsure, leave blank              << 
1008                                               << 
1009 config ARCH_WANTS_FREEZER_CONTROL             << 
1010         def_bool y                            << 
1011         depends on ADB_PMU                    << 
1012                                               << 
1013 source "kernel/power/Kconfig"                 << 
1014                                               << 
1015 config PPC_MEM_KEYS                           << 
1016         prompt "PowerPC Memory Protection Key << 
1017         def_bool y                            << 
1018         depends on PPC_BOOK3S_64              << 
1019         depends on PPC_64S_HASH_MMU           << 
1020         select ARCH_USES_HIGH_VMA_FLAGS       << 
1021         select ARCH_HAS_PKEYS                 << 
1022         help                                  << 
1023           Memory Protection Keys provides a m << 
1024           page-based protections, but without << 
1025           page tables when an application cha << 
1026                                               << 
1027           For details, see Documentation/core << 
1028                                               << 
1029           If unsure, say y.                   << 
1030                                               << 
1031 config ARCH_PKEY_BITS                         << 
1032         int                                   << 
1033         default 5                             << 
1034                                               << 
1035 config PPC_SECURE_BOOT                        << 
1036         prompt "Enable secure boot support"   << 
1037         bool                                  << 
1038         depends on PPC_POWERNV || PPC_PSERIES << 
1039         depends on IMA_ARCH_POLICY            << 
1040         imply IMA_SECURE_AND_OR_TRUSTED_BOOT  << 
1041         select PSERIES_PLPKS if PPC_PSERIES   << 
1042         help                                  << 
1043           Systems with firmware secure boot e << 
1044           policies to extend secure boot to t << 
1045           to enable OS secure boot on systems << 
1046           it. If in doubt say N.              << 
1047                                                   77 
1048 config PPC_SECVAR_SYSFS                       !!  78 config MMU
1049         bool "Enable sysfs interface for POWE !!  79         bool "MMU-based Paged Memory Management Support"
1050         default y                                 80         default y
1051         depends on PPC_SECURE_BOOT            << 
1052         depends on SYSFS                      << 
1053         help                                      81         help
1054           POWER secure variables are managed  !!  82           Select if you want MMU-based virtualised addressing space
1055           These variables are exposed to user !!  83           support by paged memory management. If unsure, say 'Y'.
1056           read/write operations on these vari << 
1057           secure boot enabled and want to exp << 
1058                                                   84 
1059 endmenu                                       !!  85 config MMU_MOTOROLA
1060                                               << 
1061 config ISA_DMA_API                            << 
1062         bool                                      86         bool
1063         default PCI                           << 
1064                                               << 
1065 menu "Bus options"                            << 
1066                                               << 
1067 config ISA                                    << 
1068         bool "Support for ISA-bus hardware"   << 
1069         depends on PPC_CHRP                   << 
1070         select PPC_I8259                      << 
1071         help                                  << 
1072           Find out whether you have ISA slots << 
1073           name of a bus system, i.e. the way  << 
1074           inside your box.  If you have an Ap << 
1075           have an IBM RS/6000 or pSeries mach << 
1076           embedded board, consult your board  << 
1077                                               << 
1078 config GENERIC_ISA_DMA                        << 
1079         bool                                  << 
1080         depends on ISA_DMA_API                << 
1081         default y                             << 
1082                                                   87 
1083 config PPC_INDIRECT_PCI                       !!  88 config MMU_COLDFIRE
1084         bool                                      89         bool
1085         depends on PCI                        << 
1086         default y if 44x                      << 
1087                                                   90 
1088 config SBUS                                   !!  91 config MMU_SUN3
1089         bool                                      92         bool
                                                   >>  93         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
1090                                                   94 
1091 config FSL_SOC                                !!  95 config ARCH_SUPPORTS_KEXEC
1092         bool                                  !!  96         def_bool M68KCLASSIC && MMU
1093                                               << 
1094 config FSL_PCI                                << 
1095         bool                                  << 
1096         select ARCH_HAS_DMA_SET_MASK          << 
1097         select PPC_INDIRECT_PCI               << 
1098         select PCI_QUIRKS                     << 
1099                                                   97 
1100 config FSL_PMC                                !!  98 config BOOTINFO_PROC
1101         bool                                  !!  99         bool "Export bootinfo in procfs"
1102         default y                             !! 100         depends on KEXEC && M68KCLASSIC
1103         depends on SUSPEND && (PPC_85xx || PP << 
1104         help                                     101         help
1105           Freescale MPC85xx/MPC86xx power man !! 102           Say Y to export the bootinfo used to boot the kernel in a
1106           (suspend/resume). For MPC83xx see p !! 103           "bootinfo" file in procfs.  This is useful with kexec.
1107                                                  104 
1108 config PPC4xx_CPM                             !! 105 menu "Platform setup"
1109         bool                                  << 
1110         default y                             << 
1111         depends on SUSPEND && 44x             << 
1112         help                                  << 
1113           PPC4xx Clock Power Management (CPM) << 
1114           It also enables support for two dif << 
1115           and idle-doze).                     << 
1116                                                  106 
1117 config FSL_LBC                                !! 107 source "arch/m68k/Kconfig.cpu"
1118         bool "Freescale Local Bus support"    << 
1119         help                                  << 
1120           Enables reporting of errors from th << 
1121           controller.  Also contains some com << 
1122           drivers for specific local bus peri << 
1123                                                  108 
1124 config FSL_GTM                                !! 109 source "arch/m68k/Kconfig.machine"
1125         bool                                  << 
1126         depends on PPC_83xx || QUICC_ENGINE | << 
1127         help                                  << 
1128           Freescale General-purpose Timers su << 
1129                                                  110 
1130 config FSL_RIO                                !! 111 source "arch/m68k/Kconfig.bus"
1131         bool "Freescale Embedded SRIO Control << 
1132         depends on RAPIDIO = y && HAVE_RAPIDI << 
1133         default "n"                           << 
1134         help                                  << 
1135           Include support for RapidIO control << 
1136           processors (MPC8548, MPC8641, etc). << 
1137                                                  112 
1138 endmenu                                          113 endmenu
1139                                                  114 
1140 config NONSTATIC_KERNEL                       !! 115 menu "Kernel Features"
1141         bool                                  << 
1142                                               << 
1143 menu "Advanced setup"                         << 
1144         depends on PPC32                      << 
1145                                                  116 
1146 config ADVANCED_OPTIONS                       !! 117 endmenu
1147         bool "Prompt for advanced kernel conf << 
1148         help                                  << 
1149           This option will enable prompting f << 
1150           configuration options.  These optio << 
1151           work if they are set incorrectly, b << 
1152           aspects of kernel memory management << 
1153                                               << 
1154           Unless you know what you are doing, << 
1155                                               << 
1156 comment "Default settings for advanced config << 
1157         depends on !ADVANCED_OPTIONS          << 
1158                                               << 
1159 config LOWMEM_SIZE_BOOL                       << 
1160         bool "Set maximum low memory"         << 
1161         depends on ADVANCED_OPTIONS           << 
1162         help                                  << 
1163           This option allows you to set the m << 
1164           will be used as "low memory", that  << 
1165           access directly, without having to  << 
1166           This can be useful in optimizing th << 
1167           memory.                             << 
1168                                               << 
1169           Say N here unless you know what you << 
1170                                               << 
1171 config LOWMEM_SIZE                            << 
1172         hex "Maximum low memory size (in byte << 
1173         default "0x30000000"                  << 
1174                                               << 
1175 config LOWMEM_CAM_NUM_BOOL                    << 
1176         bool "Set number of CAMs to use to ma << 
1177         depends on ADVANCED_OPTIONS && PPC_85 << 
1178         help                                  << 
1179           This option allows you to set the m << 
1180           will be used to map low memory.  Th << 
1181           available and even more limited num << 
1182           However, using more entries will al << 
1183           can be useful in optimizing the lay << 
1184                                               << 
1185           Say N here unless you know what you << 
1186                                               << 
1187 config LOWMEM_CAM_NUM                         << 
1188         depends on PPC_85xx                   << 
1189         int "Number of CAMs to use to map low << 
1190         default 3 if !STRICT_KERNEL_RWX       << 
1191         default 9 if DATA_SHIFT >= 24         << 
1192         default 12 if DATA_SHIFT >= 22        << 
1193         default 15                            << 
1194                                               << 
1195 config DYNAMIC_MEMSTART                       << 
1196         bool "Enable page aligned dynamic loa << 
1197         depends on ADVANCED_OPTIONS && FLATME << 
1198         select NONSTATIC_KERNEL               << 
1199         help                                  << 
1200           This option enables the kernel to b << 
1201           physical address. The kernel create << 
1202           the address where the kernel is loa << 
1203           the TLB page size of the mapping fo << 
1204           Please refer to the init code for f << 
1205                                               << 
1206           DYNAMIC_MEMSTART is an easy way of  << 
1207           kernel image, where the only restri << 
1208           load address. When this option is e << 
1209           address CONFIG_PHYSICAL_START is ig << 
1210                                               << 
1211           This option is overridden by CONFIG << 
1212                                               << 
1213 config PAGE_OFFSET_BOOL                       << 
1214         bool "Set custom page offset address" << 
1215         depends on ADVANCED_OPTIONS           << 
1216         help                                  << 
1217           This option allows you to set the k << 
1218           the kernel will map low memory.  Th << 
1219           the virtual memory layout of the sy << 
1220                                               << 
1221           Say N here unless you know what you << 
1222                                               << 
1223 config PAGE_OFFSET                            << 
1224         hex "Virtual address of memory base"  << 
1225         default "0xc0000000"                  << 
1226                                               << 
1227 config KERNEL_START_BOOL                      << 
1228         bool "Set custom kernel base address" << 
1229         depends on ADVANCED_OPTIONS           << 
1230         help                                  << 
1231           This option allows you to set the k << 
1232           the kernel will be loaded.  Normall << 
1233           however there are times (like kdump << 
1234           to be the same.                     << 
1235                                               << 
1236           Say N here unless you know what you << 
1237                                               << 
1238 config KERNEL_START                           << 
1239         hex "Virtual address of kernel base"  << 
1240         default PAGE_OFFSET if PAGE_OFFSET_BO << 
1241         default "0xc2000000" if CRASH_DUMP && << 
1242         default "0xc0000000"                  << 
1243                                               << 
1244 config PHYSICAL_START_BOOL                    << 
1245         bool "Set physical address where the  << 
1246         depends on ADVANCED_OPTIONS && FLATME << 
1247         help                                  << 
1248           This gives the physical address whe << 
1249                                                  118 
1250           Say N here unless you know what you !! 119 if !MMU
                                                   >> 120 menu "Power management options"
1251                                                  121 
1252 config PHYSICAL_START                         !! 122 config PM
1253         hex "Physical address where the kerne !! 123         bool "Power Management support"
1254         default "0x02000000" if PPC_BOOK3S && << 
1255         default "0x00000000"                  << 
1256                                               << 
1257 config PHYSICAL_ALIGN                         << 
1258         hex                                   << 
1259         default "0x04000000" if PPC_85xx      << 
1260         help                                  << 
1261           This value puts the alignment restr << 
1262           where kernel is loaded and run from << 
1263           address which meets above alignment << 
1264                                               << 
1265 config TASK_SIZE_BOOL                         << 
1266         bool "Set custom user task size"      << 
1267         depends on ADVANCED_OPTIONS           << 
1268         help                                     124         help
1269           This option allows you to set the a !! 125           Support processor power management modes
1270           allocated to user tasks.  This can  << 
1271           virtual memory layout of the system << 
1272                                               << 
1273           Say N here unless you know what you << 
1274                                               << 
1275 config TASK_SIZE                              << 
1276         hex "Size of user task space" if TASK << 
1277         default "0x80000000" if PPC_8xx       << 
1278         default "0xb0000000" if PPC_BOOK3S_32 << 
1279         default "0xc0000000"                  << 
1280                                               << 
1281 config MODULES_SIZE_BOOL                      << 
1282         bool "Set custom size for modules/exe << 
1283         depends on EXECMEM && ADVANCED_OPTION << 
1284         help                                  << 
1285           This option allows you to set the s << 
1286           space dedicated for modules/execmem << 
1287           For the time being it is only for 8 << 
1288           platform share it with vmalloc spac << 
1289                                               << 
1290           Say N here unless you know what you << 
1291                                               << 
1292 config MODULES_SIZE                           << 
1293         int "Size of modules/execmem area (In << 
1294         range 1 256 if EXECMEM                << 
1295         default 64 if EXECMEM && PPC_BOOK3S_3 << 
1296         default 32 if EXECMEM && PPC_8xx      << 
1297         default 0                             << 
1298                                                  126 
1299 endmenu                                          127 endmenu
1300                                               << 
1301 if PPC64                                      << 
1302 # This value must have zeroes in the bottom 6 << 
1303 config PAGE_OFFSET                            << 
1304         hex                                   << 
1305         default "0xc000000000000000"          << 
1306 config KERNEL_START                           << 
1307         hex                                   << 
1308         default "0xc000000000000000"          << 
1309 config PHYSICAL_START                         << 
1310         hex                                   << 
1311         default "0x00000000"                  << 
1312 endif                                            128 endif
1313                                                  129 
1314 config PPC_LIB_RHEAP                          !! 130 source "arch/m68k/Kconfig.devices"
1315         bool                                  << 
1316                                               << 
1317 source "arch/powerpc/kvm/Kconfig"             << 
1318                                               << 
1319 source "kernel/livepatch/Kconfig"             << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php