~ [ 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 (Architecture ppc) and /arch/sparc/Kconfig (Architecture sparc)


  1 # SPDX-License-Identifier: GPL-2.0             !!   1 # SPDX-License-Identifier: GPL-2.0-only
  2 source "arch/powerpc/platforms/Kconfig.cputype << 
  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                                        2 config 64BIT
 23         bool                                   !!   3         bool "64-bit kernel" if "$(ARCH)" = "sparc"
 24         default y if PPC64                     !!   4         default "$(ARCH)" = "sparc64"
 25                                                !!   5         help
 26 config LIVEPATCH_64                            !!   6           SPARC is a family of RISC microprocessors designed and marketed by
 27         def_bool PPC64                         !!   7           Sun Microsystems, incorporated.  They are very widely found in Sun
 28         depends on LIVEPATCH                   !!   8           workstations and clones.
 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                                                     9 
114 config GENERIC_HWEIGHT                         !!  10           Say yes to build a 64-bit kernel - formerly known as sparc64
115         bool                                   !!  11           Say no to build a 32-bit kernel - formerly known as sparc
116         default y                              << 
117                                                    12 
118 config PPC                                     !!  13 config SPARC
119         bool                                       14         bool
120         default y                                  15         default y
121         #                                      !!  16         select ARCH_HAS_CPU_CACHE_ALIASING
122         # Please keep this list sorted alphabe !!  17         select ARCH_HAS_DMA_OPS
123         #                                      !!  18         select ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI
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  << 
131         select ARCH_HAS_DEBUG_VIRTUAL          << 
132         select ARCH_HAS_DEBUG_VM_PGTABLE       << 
133         select ARCH_HAS_DEBUG_WX               << 
134         select ARCH_HAS_DEVMEM_IS_ALLOWED      << 
135         select ARCH_HAS_DMA_MAP_DIRECT         << 
136         select ARCH_HAS_DMA_OPS                << 
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            19         select ARCH_MIGHT_HAVE_PC_SERIO
165         select ARCH_OPTIONAL_KERNEL_RWX        !!  20         select OF
166         select ARCH_OPTIONAL_KERNEL_RWX_DEFAUL !!  21         select OF_PROMTREE
167         select ARCH_SPLIT_ARG64                !!  22         select HAVE_ASM_MODVERSIONS
168         select ARCH_STACKWALK                  !!  23         select HAVE_ARCH_KGDB if !SMP || SPARC64
169         select ARCH_SUPPORTS_ATOMIC_RMW        !!  24         select HAVE_ARCH_TRACEHOOK
170         select ARCH_SUPPORTS_DEBUG_PAGEALLOC   !!  25         select HAVE_ARCH_SECCOMP if SPARC64
171         select ARCH_USE_BUILTIN_BSWAP          !!  26         select HAVE_EXIT_THREAD
172         select ARCH_USE_CMPXCHG_LOCKREF        !!  27         select HAVE_PCI
173         select ARCH_USE_MEMTEST                !!  28         select SYSCTL_EXCEPTION_TRACE
174         select ARCH_USE_QUEUED_RWLOCKS         !!  29         select RTC_CLASS
175         select ARCH_WANT_DEFAULT_BPF_JIT       !!  30         select RTC_DRV_M48T59
176         select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_ !!  31         select RTC_SYSTOHC
177         select ARCH_WANT_IPC_PARSE_VERSION     !!  32         select HAVE_ARCH_JUMP_LABEL if SPARC64
178         select ARCH_WANT_IRQS_OFF_ACTIVATE_MM  << 
179         select ARCH_WANT_LD_ORPHAN_WARN        << 
180         select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP  << 
181         select ARCH_WANTS_MODULES_DATA_IN_VMAL << 
182         select ARCH_WEAK_RELEASE_ACQUIRE       << 
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                    33         select GENERIC_IRQ_SHOW
204         select GENERIC_IRQ_SHOW_LEVEL          !!  34         select ARCH_WANT_IPC_PARSE_VERSION
205         select GENERIC_PCI_IOMAP               !!  35         select GENERIC_PCI_IOMAP
206         select GENERIC_PTDUMP                  !!  36         select HAS_IOPORT
                                                   >>  37         select HAVE_HARDLOCKUP_DETECTOR_SPARC64 if SPARC64
                                                   >>  38         select HAVE_CBPF_JIT if SPARC32
                                                   >>  39         select HAVE_EBPF_JIT if SPARC64
                                                   >>  40         select HAVE_DEBUG_BUGVERBOSE
207         select GENERIC_SMP_IDLE_THREAD             41         select GENERIC_SMP_IDLE_THREAD
208         select GENERIC_TIME_VSYSCALL           << 
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        << 
229         select HAVE_ARCH_TRACEHOOK             << 
230         select HAVE_ASM_MODVERSIONS            << 
231         select HAVE_CONTEXT_TRACKING_USER      << 
232         select HAVE_C_RECORDMCOUNT             << 
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          << 
264         select HAVE_NMI                        << 
265         select HAVE_OPTPROBES                  << 
266         select HAVE_OBJTOOL                    << 
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                42         select MODULES_USE_ELF_RELA
297         select NEED_DMA_MAP_STATE              !!  43         select PCI_SYSCALL if PCI
298         select NEED_PER_CPU_EMBED_FIRST_CHUNK  !!  44         select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
299         select NEED_PER_CPU_PAGE_FIRST_CHUNK   !!  45         select ODD_RT_SIGACTION
300         select NEED_SG_DMA_LENGTH              << 
301         select OF                              << 
302         select OF_EARLY_FLATTREE               << 
303         select OLD_SIGACTION                   << 
304         select OLD_SIGSUSPEND                      46         select OLD_SIGSUSPEND
305         select PCI_DOMAINS                     !!  47         select CPU_NO_EFFICIENT_FFS
306         select PCI_MSI_ARCH_FALLBACKS          !!  48         select LOCKDEP_SMALL if LOCKDEP
307         select PCI_SYSCALL                     !!  49         select NEED_DMA_MAP_STATE
308         select PPC_DAWR                        !!  50         select NEED_SG_DMA_LENGTH
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              51         select TRACE_IRQFLAGS_SUPPORT
315         select VDSO_GETRANDOM                  << 
316         #                                      << 
317         # Please keep this list sorted alphabe << 
318         #                                      << 
319                                                    52 
320 config PPC_BARRIER_NOSPEC                      !!  53 config SPARC32
321         bool                                   !!  54         def_bool !64BIT
322         default y                              !!  55         select ARCH_32BIT_OFF_T
323         depends on PPC_BOOK3S_64 || PPC_E500   !!  56         select ARCH_HAS_CPU_FINALIZE_INIT if !SMP
324                                                !!  57         select ARCH_HAS_SYNC_DMA_FOR_CPU
325 config PPC_HAS_LBARX_LHARX                     !!  58         select CLZ_TAB
326         bool                                   !!  59         select DMA_DIRECT_REMAP
327                                                !!  60         select GENERIC_ATOMIC64
328 config EARLY_PRINTK                            !!  61         select GENERIC_LIB_CMPDI2
329         bool                                   !!  62         select GENERIC_LIB_UCMPDI2
330         default y                              !!  63         select HAVE_UID16
                                                   >>  64         select HAVE_PAGE_SIZE_4KB
                                                   >>  65         select LOCK_MM_AND_FIND_VMA
                                                   >>  66         select OLD_SIGACTION
                                                   >>  67         select ZONE_DMA
331                                                    68 
332 config PANIC_TIMEOUT                           !!  69 config SPARC64
333         int                                    !!  70         def_bool 64BIT
334         default 180                            !!  71         select ALTERNATE_USER_ADDRESS_SPACE
                                                   >>  72         select HAVE_FUNCTION_TRACER
                                                   >>  73         select HAVE_FUNCTION_GRAPH_TRACER
                                                   >>  74         select HAVE_KRETPROBES
                                                   >>  75         select HAVE_KPROBES
                                                   >>  76         select MMU_GATHER_RCU_TABLE_FREE if SMP
                                                   >>  77         select MMU_GATHER_MERGE_VMAS
                                                   >>  78         select MMU_GATHER_NO_FLUSH_CACHE
                                                   >>  79         select HAVE_ARCH_TRANSPARENT_HUGEPAGE
                                                   >>  80         select HAVE_DYNAMIC_FTRACE
                                                   >>  81         select HAVE_FTRACE_MCOUNT_RECORD
                                                   >>  82         select HAVE_PAGE_SIZE_8KB
                                                   >>  83         select HAVE_SYSCALL_TRACEPOINTS
                                                   >>  84         select HAVE_CONTEXT_TRACKING_USER
                                                   >>  85         select HAVE_TIF_NOHZ
                                                   >>  86         select HAVE_DEBUG_KMEMLEAK
                                                   >>  87         select IOMMU_HELPER
                                                   >>  88         select SPARSE_IRQ
                                                   >>  89         select RTC_DRV_CMOS
                                                   >>  90         select RTC_DRV_BQ4802
                                                   >>  91         select RTC_DRV_SUN4V
                                                   >>  92         select RTC_DRV_STARFIRE
                                                   >>  93         select HAVE_PERF_EVENTS
                                                   >>  94         select PERF_USE_VMALLOC
                                                   >>  95         select ARCH_HAVE_NMI_SAFE_CMPXCHG
                                                   >>  96         select HAVE_C_RECORDMCOUNT
                                                   >>  97         select HAVE_ARCH_AUDITSYSCALL
                                                   >>  98         select ARCH_SUPPORTS_ATOMIC_RMW
                                                   >>  99         select ARCH_SUPPORTS_DEBUG_PAGEALLOC
                                                   >> 100         select HAVE_NMI
                                                   >> 101         select HAVE_REGS_AND_STACK_ACCESS_API
                                                   >> 102         select ARCH_USE_QUEUED_RWLOCKS
                                                   >> 103         select ARCH_USE_QUEUED_SPINLOCKS
                                                   >> 104         select GENERIC_TIME_VSYSCALL
                                                   >> 105         select ARCH_CLOCKSOURCE_DATA
                                                   >> 106         select ARCH_HAS_PTE_SPECIAL
                                                   >> 107         select PCI_DOMAINS if PCI
                                                   >> 108         select ARCH_HAS_GIGANTIC_PAGE
                                                   >> 109         select HAVE_SOFTIRQ_ON_OWN_STACK
                                                   >> 110         select HAVE_SETUP_PER_CPU_AREA
                                                   >> 111         select NEED_PER_CPU_EMBED_FIRST_CHUNK
                                                   >> 112         select NEED_PER_CPU_PAGE_FIRST_CHUNK
335                                                   113 
336 config COMPAT                                  !! 114 config ARCH_PROC_KCORE_TEXT
337         bool "Enable support for 32bit binarie !! 115         def_bool y
338         depends on PPC64                       << 
339         default y if !CPU_LITTLE_ENDIAN        << 
340         select ARCH_WANT_OLD_COMPAT_IPC        << 
341         select COMPAT_OLD_SIGACTION            << 
342                                                   116 
343 config SCHED_OMIT_FRAME_POINTER                !! 117 config CPU_BIG_ENDIAN
344         bool                                   !! 118         def_bool y
345         default y                              << 
346                                                   119 
347 config ARCH_MAY_HAVE_PC_FDC                    !! 120 config STACKTRACE_SUPPORT
348         bool                                      121         bool
349         default PCI                            !! 122         default y if SPARC64
350                                                   123 
351 config PPC_UDBG_16550                          !! 124 config LOCKDEP_SUPPORT
352         bool                                      125         bool
                                                   >> 126         default y if SPARC64
353                                                   127 
354 config GENERIC_TBSYNC                          !! 128 config ARCH_HIBERNATION_POSSIBLE
355         bool                                   !! 129         def_bool y if SPARC64
356         default y if PPC32 && SMP              << 
357                                                   130 
358 config AUDIT_ARCH                                 131 config AUDIT_ARCH
359         bool                                      132         bool
360         default y                                 133         default y
361                                                   134 
362 config GENERIC_BUG                             !! 135 config MMU
363         bool                                      136         bool
364         default y                                 137         default y
365         depends on BUG                         << 
366                                                   138 
367 config GENERIC_BUG_RELATIVE_POINTERS           !! 139 config HIGHMEM
368         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                                                << 
375 config EPAPR_BOOT                              << 
376         bool                                      140         bool
377         help                                   !! 141         default y if SPARC32
378           Used to allow a board to specify it  !! 142         select KMAP_LOCAL
379                                                   143 
380 config DEFAULT_UIMAGE                          !! 144 config PGTABLE_LEVELS
381         bool                                   !! 145         default 4 if 64BIT
382         help                                   !! 146         default 3
383           Used to allow a board to specify it  << 
384                                                   147 
385 config ARCH_HIBERNATION_POSSIBLE               !! 148 config ARCH_SUPPORTS_UPROBES
386         bool                                   !! 149         def_bool y if SPARC64
387         default y                              << 
388                                                   150 
389 config ARCH_SUSPEND_POSSIBLE                   !! 151 menu "Processor type and features"
390         def_bool y                             << 
391         depends on ADB_PMU || PPC_EFIKA || PPC << 
392                    (PPC_85xx && !PPC_E500MC) | << 
393                    || 44x                      << 
394                                                   152 
395 config ARCH_SUSPEND_NONZERO_CPU                !! 153 config SMP
396         def_bool y                             !! 154         bool "Symmetric multi-processing support"
397         depends on PPC_POWERNV || PPC_PSERIES  !! 155         help
                                                   >> 156           This enables support for systems with more than one CPU. If you have
                                                   >> 157           a system with only one CPU, say N. If you have a system with more
                                                   >> 158           than one CPU, say Y.
398                                                   159 
399 config ARCH_HAS_ADD_PAGES                      !! 160           If you say N here, the kernel will run on uni- and multiprocessor
400         def_bool y                             !! 161           machines, but will use only one CPU of a multiprocessor machine. If
401         depends on ARCH_ENABLE_MEMORY_HOTPLUG  !! 162           you say Y here, the kernel will run on many, but not all,
                                                   >> 163           uniprocessor machines. On a uniprocessor machine, the kernel
                                                   >> 164           will run faster if you say N here.
402                                                   165 
403 config PPC_DCR_NATIVE                          !! 166           People using multiprocessor machines who say Y here should also say
404         bool                                   !! 167           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
                                                   >> 168           Management" code will be disabled if you say Y here.
405                                                   169 
406 config PPC_DCR_MMIO                            !! 170           See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
407         bool                                   !! 171           available at <https://www.tldp.org/docs.html#howto>.
408                                                   172 
409 config PPC_DCR                                 !! 173           If you don't know what to do here, say N.
410         bool                                   << 
411         depends on PPC_DCR_NATIVE || PPC_DCR_M << 
412         default y                              << 
413                                                   174 
414 config PPC_PCI_OF_BUS_MAP                      !! 175 config NR_CPUS
415         bool "Use pci_to_OF_bus_map (deprecate !! 176         int "Maximum number of CPUs"
416         depends on PPC32                       !! 177         depends on SMP
417         depends on PPC_PMAC || PPC_CHRP        !! 178         range 2 32 if SPARC32
418         help                                   !! 179         range 2 4096 if SPARC64
419           This option uses pci_to_OF_bus_map t !! 180         default 32 if SPARC32
420           restricts the system to only having  !! 181         default 4096 if SPARC64
421           the "pci-OF-bus-map" property to be  << 
422                                                   182 
423           If unsure, say "N".                  !! 183 source "kernel/Kconfig.hz"
424                                                   184 
425 config PPC_PCI_BUS_NUM_DOMAIN_DEPENDENT        !! 185 config GENERIC_HWEIGHT
426         depends on PPC32                       !! 186         bool
427         depends on !PPC_PCI_OF_BUS_MAP         << 
428         bool "Assign PCI bus numbers from zero << 
429         default y                                 187         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                                                   188 
437 config PPC_OF_PLATFORM_PCI                     !! 189 config GENERIC_CALIBRATE_DELAY
438         bool                                      190         bool
439         depends on PCI                         !! 191         default y
440         depends on PPC64 # not supported on 32 << 
441                                                << 
442 config ARCH_SUPPORTS_UPROBES                   << 
443         def_bool y                             << 
444                                                   192 
445 config PPC_ADV_DEBUG_REGS                      !! 193 config ARCH_MAY_HAVE_PC_FDC
446         bool                                      194         bool
447         depends on BOOKE                       << 
448         default y                                 195         default y
449                                                   196 
450 config PPC_ADV_DEBUG_IACS                      !! 197 config EMULATED_CMPXCHG
451         int                                    !! 198         bool
452         depends on PPC_ADV_DEBUG_REGS          !! 199         default y if SPARC32
453         default 4 if 44x                       !! 200         help
454         default 2                              !! 201           Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
455                                                !! 202           is emulated, and therefore it is not completely atomic.
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                                                   203 
467 config PPC_ADV_DEBUG_DAC_RANGE                 !! 204 # Makefile helpers
                                                   >> 205 config SPARC32_SMP
468         bool                                      206         bool
469         depends on PPC_ADV_DEBUG_REGS && 44x   << 
470         default y                                 207         default y
                                                   >> 208         depends on SPARC32 && SMP
471                                                   209 
472 config PPC_DAWR                                !! 210 config SPARC64_SMP
473         bool                                      211         bool
                                                   >> 212         default y
                                                   >> 213         depends on SPARC64 && SMP
474                                                   214 
475 config PGTABLE_LEVELS                          !! 215 config EARLYFB
476         int                                    !! 216         bool "Support for early boot text console"
477         default 2 if !PPC64                    !! 217         default y
478         default 4                              !! 218         depends on SPARC64
479                                                !! 219         select FONT_SUN8x16
480 source "arch/powerpc/sysdev/Kconfig"           !! 220         select FONT_SUPPORT
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                                      221         help
535           Support user-mode Transactional Memo !! 222           Say Y here to enable a faster early framebuffer boot console.
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                                                   223 
572 config HOTPLUG_CPU                                224 config HOTPLUG_CPU
573         bool "Support for enabling/disabling C !! 225         bool "Support for hot-pluggable CPUs"
574         depends on SMP && (PPC_PSERIES || \    !! 226         depends on SPARC64 && SMP
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                                      227         help
596           Say Y here to use queued spinlocks w !! 228           Say Y here to experiment with turning CPUs off and on.  CPUs
597           fairness on large SMP and NUMA syste !! 229           can be controlled through /sys/devices/system/cpu/cpu#.
598           performance.                         !! 230           Say N if you want to disable CPU hotplug.
599                                                << 
600 config ARCH_CPU_PROBE_RELEASE                  << 
601         def_bool y                             << 
602         depends on HOTPLUG_CPU                 << 
603                                                   231 
604 config PPC64_SUPPORTS_MEMORY_FAILURE           !! 232 if SPARC64
605         bool "Add support for memory hwpoison" !! 233 source "drivers/cpufreq/Kconfig"
606         depends on PPC_BOOK3S_64               !! 234 endif
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                                                   235 
619 config ARCH_SELECTS_KEXEC_FILE                 !! 236 config US3_MC
620         def_bool y                             !! 237         tristate "UltraSPARC-III Memory Controller driver"
621         depends on KEXEC_FILE                  !! 238         depends on SPARC64
622         select KEXEC_ELF                       !! 239         default y
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                                      240         help
633           This builds the kernel image using t !! 241           This adds a driver for the UltraSPARC-III memory controller.
634           V2 ABI Specification", which has a r !! 242           Loading this driver allows exact mnemonic strings to be
635           function calls. This internal kernel !! 243           printed in the event of a memory error, so that the faulty DIMM
636           userspace compatibility.             !! 244           on the motherboard can be matched to the error.
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                             << 
694         depends on PPC64                       << 
695                                                   245 
696 config FA_DUMP                                 !! 246           If in doubt, say Y, as this information can be very useful.
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                                                   247 
728 config IRQ_ALL_CPUS                            !! 248 # Global things across all Sun machines.
729         bool "Distribute interrupts on all CPU !! 249 config GENERIC_LOCKBREAK
730         depends on SMP                         !! 250         bool
731         help                                   !! 251         default y
732           This option gives the kernel permiss !! 252         depends on SPARC64 && SMP && PREEMPTION
733           multiple CPUs.  Saying N here will r << 
734           CPU.  Generally saying Y is safe, al << 
735           reported with SMP Power Macintoshes  << 
736                                                   253 
737 config NUMA                                       254 config NUMA
738         bool "NUMA Memory Allocation and Sched !! 255         bool "NUMA support"
739         depends on PPC64 && SMP                !! 256         depends on SPARC64 && 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                                                   257 
749 config NODES_SHIFT                                258 config NODES_SHIFT
750         int                                    !! 259         int "Maximum NUMA Nodes (as a power of 2)"
751         default "8" if PPC64                   !! 260         range 4 5 if SPARC64
752         default "4"                            !! 261         default "5"
753         depends on NUMA                           262         depends on NUMA
754                                                !! 263         help
755 config HAVE_MEMORYLESS_NODES                   !! 264           Specify the maximum number of NUMA Nodes available on the target
756         def_bool y                             !! 265           system.  Increases memory reserved to accommodate various tables.
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                                                   266 
767 config ARCH_SPARSEMEM_ENABLE                      267 config ARCH_SPARSEMEM_ENABLE
768         def_bool y                             !! 268         def_bool y if SPARC64
769         depends on PPC64                       << 
770         select SPARSEMEM_VMEMMAP_ENABLE           269         select SPARSEMEM_VMEMMAP_ENABLE
771                                                   270 
772 config ARCH_SPARSEMEM_DEFAULT                     271 config ARCH_SPARSEMEM_DEFAULT
773         def_bool y                             !! 272         def_bool y if SPARC64
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                                                   273 
889 config ARCH_FORCE_MAX_ORDER                       274 config ARCH_FORCE_MAX_ORDER
890         int "Order of maximal physically conti    275         int "Order of maximal physically contiguous allocations"
891         range 7 8 if PPC64 && PPC_64K_PAGES    !! 276         default "12"
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                                      277         help
904           The kernel page allocator limits the    278           The kernel page allocator limits the size of maximal physically
905           contiguous allocations. The limit is    279           contiguous allocations. The limit is called MAX_PAGE_ORDER and it
906           defines the maximal power of two of     280           defines the maximal power of two of number of pages that can be
907           allocated as a single contiguous blo    281           allocated as a single contiguous block. This option allows
908           overriding the default setting when     282           overriding the default setting when ability to allocate very
909           large blocks of physically contiguou    283           large blocks of physically contiguous memory is required.
910                                                   284 
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.                 285           Don't change if unsure.
916                                                   286 
917 config PPC_SUBPAGE_PROT                        !! 287 if SPARC64 || COMPILE_TEST
918         bool "Support setting protections for  !! 288 source "kernel/power/Kconfig"
919         default n                              !! 289 endif
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                                                << 
938           If unsure, say N here.               << 
939                                                << 
940 config PPC_COPRO_BASE                          << 
941         bool                                   << 
942                                                   290 
943 config SCHED_SMT                                  291 config SCHED_SMT
944         bool "SMT (Hyperthreading) scheduler s    292         bool "SMT (Hyperthreading) scheduler support"
945         depends on PPC64 && SMP                !! 293         depends on SPARC64 && SMP
                                                   >> 294         default y
946         help                                      295         help
947           SMT scheduler support improves the C    296           SMT scheduler support improves the CPU scheduler's decision making
948           when dealing with POWER5 cpus at a c !! 297           when dealing with SPARC cpus at a cost of slightly increased overhead
949           overhead in some places. If unsure s !! 298           in some places. If unsure say N here.
950                                                   299 
951 config PPC_DENORMALISATION                     !! 300 config SCHED_MC
952         bool "PowerPC denormalisation exceptio !! 301         bool "Multi-core scheduler support"
953         depends on PPC_BOOK3S_64               !! 302         depends on SPARC64 && SMP
954         default "y" if PPC_POWERNV             !! 303         default y
955         help                                      304         help
956           Add support for handling denormalisa !! 305           Multi-core scheduler support improves the CPU scheduler's decision
957           values.  Useful for bare metal only. !! 306           making when dealing with multi-core CPU chips at a cost of slightly
                                                   >> 307           increased overhead in some places. If unsure say N here.
                                                   >> 308 
                                                   >> 309 config CMDLINE_BOOL
                                                   >> 310         bool "Default bootloader kernel arguments"
                                                   >> 311         depends on SPARC64
958                                                   312 
959 config CMDLINE                                    313 config CMDLINE
960         string "Initial kernel command string"    314         string "Initial kernel command string"
961         default ""                             !! 315         depends on CMDLINE_BOOL
                                                   >> 316         default "console=ttyS0,9600 root=/dev/sda1"
962         help                                      317         help
963           On some platforms, there is currentl !! 318           Say Y here if you want to be able to pass default arguments to
964           pass arguments to the kernel. For th !! 319           the kernel. This will be overridden by the bootloader, if you
965           some command-line options at build t !! 320           use one (such as SILO). This is most useful if you want to boot
966           most cases you will need to specify  !! 321           a kernel from TFTP, and want default options to be available
967                                                !! 322           with having them passed on the command line.
968 choice                                         << 
969         prompt "Kernel command line type"      << 
970         depends on CMDLINE != ""               << 
971         default CMDLINE_FROM_BOOTLOADER        << 
972                                                   323 
973 config CMDLINE_FROM_BOOTLOADER                 !! 324           NOTE: This option WILL override the PROM bootargs setting!
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                                                  325 
1003           Targets in this list will be build  !! 326 config SUN_PM
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                                               << 
1048 config PPC_SECVAR_SYSFS                       << 
1049         bool "Enable sysfs interface for POWE << 
1050         default y                             << 
1051         depends on PPC_SECURE_BOOT            << 
1052         depends on SYSFS                      << 
1053         help                                  << 
1054           POWER secure variables are managed  << 
1055           These variables are exposed to user << 
1056           read/write operations on these vari << 
1057           secure boot enabled and want to exp << 
1058                                               << 
1059 endmenu                                       << 
1060                                               << 
1061 config ISA_DMA_API                            << 
1062         bool                                     327         bool
1063         default PCI                           !! 328         default y if SPARC32
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                                     329         help
1072           Find out whether you have ISA slots !! 330           Enable power management and CPU standby features on supported
1073           name of a bus system, i.e. the way  !! 331           SPARC platforms.
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                                                  332 
1078 config GENERIC_ISA_DMA                        !! 333 config SPARC_LED
1079         bool                                  !! 334         tristate "Sun4m LED driver"
1080         depends on ISA_DMA_API                !! 335         depends on SPARC32
1081         default y                             << 
1082                                               << 
1083 config PPC_INDIRECT_PCI                       << 
1084         bool                                  << 
1085         depends on PCI                        << 
1086         default y if 44x                      << 
1087                                               << 
1088 config SBUS                                   << 
1089         bool                                  << 
1090                                               << 
1091 config FSL_SOC                                << 
1092         bool                                  << 
1093                                               << 
1094 config FSL_PCI                                << 
1095         bool                                  << 
1096         select ARCH_HAS_DMA_SET_MASK          << 
1097         select PPC_INDIRECT_PCI               << 
1098         select PCI_QUIRKS                     << 
1099                                               << 
1100 config FSL_PMC                                << 
1101         bool                                  << 
1102         default y                             << 
1103         depends on SUSPEND && (PPC_85xx || PP << 
1104         help                                     336         help
1105           Freescale MPC85xx/MPC86xx power man !! 337           This driver toggles the front-panel LED on sun4m systems
1106           (suspend/resume). For MPC83xx see p !! 338           in a user-specifiable manner.  Its state can be probed
                                                   >> 339           by reading /proc/led and its blinking mode can be changed
                                                   >> 340           via writes to /proc/led
1107                                                  341 
1108 config PPC4xx_CPM                             !! 342 config SERIAL_CONSOLE
1109         bool                                     343         bool
                                                   >> 344         depends on SPARC32
1110         default y                                345         default y
1111         depends on SUSPEND && 44x             << 
1112         help                                     346         help
1113           PPC4xx Clock Power Management (CPM) !! 347           If you say Y here, it will be possible to use a serial port as the
1114           It also enables support for two dif !! 348           system console (the system console is the device which receives all
1115           and idle-doze).                     !! 349           kernel messages and warnings and which allows logins in single user
                                                   >> 350           mode). This could be useful if some terminal or printer is connected
                                                   >> 351           to that serial port.
1116                                                  352 
1117 config FSL_LBC                                !! 353           Even if you say Y here, the currently visible virtual console
1118         bool "Freescale Local Bus support"    !! 354           (/dev/tty0) will still be used as the system console by default, but
1119         help                                  !! 355           you can alter that using a kernel command line option such as
1120           Enables reporting of errors from th !! 356           "console=ttyS1". (Try "man bootparam" or see the documentation of
1121           controller.  Also contains some com !! 357           your boot loader (silo) about how to pass options to the kernel at
1122           drivers for specific local bus peri !! 358           boot time.)
1123                                                  359 
1124 config FSL_GTM                                !! 360           If you don't have a graphics card installed and you say Y here, the
1125         bool                                  !! 361           kernel will automatically use the first serial line, /dev/ttyS0, as
1126         depends on PPC_83xx || QUICC_ENGINE | !! 362           system console.
1127         help                                  << 
1128           Freescale General-purpose Timers su << 
1129                                               << 
1130 config FSL_RIO                                << 
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                                               << 
1138 endmenu                                       << 
1139                                               << 
1140 config NONSTATIC_KERNEL                       << 
1141         bool                                  << 
1142                                                  363 
1143 menu "Advanced setup"                         !! 364           If unsure, say N.
1144         depends on PPC32                      << 
1145                                                  365 
1146 config ADVANCED_OPTIONS                       !! 366 config SPARC_LEON
1147         bool "Prompt for advanced kernel conf !! 367         bool "Sparc Leon processor family"
                                                   >> 368         depends on SPARC32
                                                   >> 369         select USB_EHCI_BIG_ENDIAN_MMIO
                                                   >> 370         select USB_EHCI_BIG_ENDIAN_DESC
                                                   >> 371         select USB_UHCI_BIG_ENDIAN_MMIO
                                                   >> 372         select USB_UHCI_BIG_ENDIAN_DESC
1148         help                                     373         help
1149           This option will enable prompting f !! 374           If you say Y here if you are running on a SPARC-LEON processor.
1150           configuration options.  These optio !! 375           The LEON processor is a synthesizable VHDL model of the
1151           work if they are set incorrectly, b !! 376           SPARC-v8 standard. LEON is  part of the GRLIB collection of
1152           aspects of kernel memory management !! 377           IP cores that are distributed under GPL. GRLIB can be downloaded
                                                   >> 378           from www.gaisler.com. You can download a sparc-linux cross-compilation
                                                   >> 379           toolchain at www.gaisler.com.
1153                                                  380 
1154           Unless you know what you are doing, !! 381 if SPARC_LEON
                                                   >> 382 menu "U-Boot options"
1155                                                  383 
1156 comment "Default settings for advanced config !! 384 config UBOOT_LOAD_ADDR
1157         depends on !ADVANCED_OPTIONS          !! 385         hex "uImage Load Address"
1158                                               !! 386         default 0x40004000
1159 config LOWMEM_SIZE_BOOL                       << 
1160         bool "Set maximum low memory"         << 
1161         depends on ADVANCED_OPTIONS           << 
1162         help                                     387         help
1163           This option allows you to set the m !! 388          U-Boot kernel load address, the address in physical address space
1164           will be used as "low memory", that  !! 389          where u-boot will place the Linux kernel before booting it.
1165           access directly, without having to  !! 390          This address is normally the base address of main memory + 0x4000.
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                                                  391 
1175 config LOWMEM_CAM_NUM_BOOL                    !! 392 config UBOOT_FLASH_ADDR
1176         bool "Set number of CAMs to use to ma !! 393         hex "uImage.o Load Address"
1177         depends on ADVANCED_OPTIONS && PPC_85 !! 394         default 0x00080000
1178         help                                     395         help
1179           This option allows you to set the m !! 396          Optional setting only affecting the uImage.o ELF-image used to
1180           will be used to map low memory.  Th !! 397          download the uImage file to the target using a ELF-loader other than
1181           available and even more limited num !! 398          U-Boot. It may for example be used to download an uImage to FLASH with
1182           However, using more entries will al !! 399          the GRMON utility before even starting u-boot.
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                                                  400 
1195 config DYNAMIC_MEMSTART                       !! 401 config UBOOT_ENTRY_ADDR
1196         bool "Enable page aligned dynamic loa !! 402         hex "uImage Entry Address"
1197         depends on ADVANCED_OPTIONS && FLATME !! 403         default 0xf0004000
1198         select NONSTATIC_KERNEL               << 
1199         help                                     404         help
1200           This option enables the kernel to b !! 405          Do not change this unless you know what you're doing. This is
1201           physical address. The kernel create !! 406          hardcoded by the SPARC32 and LEON port.
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                                                  407 
1206           DYNAMIC_MEMSTART is an easy way of  !! 408          This is the virtual address u-boot jumps to when booting the Linux
1207           kernel image, where the only restri !! 409          Kernel.
1208           load address. When this option is e << 
1209           address CONFIG_PHYSICAL_START is ig << 
1210                                                  410 
1211           This option is overridden by CONFIG !! 411 endmenu
                                                   >> 412 endif
1212                                                  413 
1213 config PAGE_OFFSET_BOOL                       !! 414 endmenu
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                                                  415 
1221           Say N here unless you know what you !! 416 menu "Bus options (PCI etc.)"
                                                   >> 417 config SBUS
                                                   >> 418         bool
                                                   >> 419         default y
1222                                                  420 
1223 config PAGE_OFFSET                            !! 421 config SBUSCHAR
1224         hex "Virtual address of memory base"  !! 422         bool
1225         default "0xc0000000"                  !! 423         default y
1226                                                  424 
1227 config KERNEL_START_BOOL                      !! 425 config SUN_LDOMS
1228         bool "Set custom kernel base address" !! 426         bool "Sun Logical Domains support"
1229         depends on ADVANCED_OPTIONS           !! 427         depends on SPARC64
1230         help                                     428         help
1231           This option allows you to set the k !! 429           Say Y here is you want to support virtual devices via
1232           the kernel will be loaded.  Normall !! 430           Logical Domains.
1233           however there are times (like kdump << 
1234           to be the same.                     << 
1235                                                  431 
1236           Say N here unless you know what you !! 432 config PCIC_PCI
                                                   >> 433         bool
                                                   >> 434         depends on PCI && SPARC32 && !SPARC_LEON
                                                   >> 435         default y
1237                                                  436 
1238 config KERNEL_START                           !! 437 config LEON_PCI
1239         hex "Virtual address of kernel base"  !! 438         bool
1240         default PAGE_OFFSET if PAGE_OFFSET_BO !! 439         depends on PCI && SPARC_LEON
1241         default "0xc2000000" if CRASH_DUMP && !! 440         default y
1242         default "0xc0000000"                  << 
1243                                                  441 
1244 config PHYSICAL_START_BOOL                    !! 442 config SPARC_GRPCI1
1245         bool "Set physical address where the  !! 443         bool "GRPCI Host Bridge Support"
1246         depends on ADVANCED_OPTIONS && FLATME !! 444         depends on LEON_PCI
                                                   >> 445         default y
1247         help                                     446         help
1248           This gives the physical address whe !! 447           Say Y here to include the GRPCI Host Bridge Driver. The GRPCI
1249                                               !! 448           PCI host controller is typically found in GRLIB SPARC32/LEON
1250           Say N here unless you know what you !! 449           systems. The driver has one property (all_pci_errors) controlled
1251                                               !! 450           from the bootloader that makes the GRPCI to generate interrupts
1252 config PHYSICAL_START                         !! 451           on detected PCI Parity and System errors.
1253         hex "Physical address where the kerne << 
1254         default "0x02000000" if PPC_BOOK3S && << 
1255         default "0x00000000"                  << 
1256                                                  452 
1257 config PHYSICAL_ALIGN                         !! 453 config SPARC_GRPCI2
1258         hex                                   !! 454         bool "GRPCI2 Host Bridge Support"
1259         default "0x04000000" if PPC_85xx      !! 455         depends on LEON_PCI
                                                   >> 456         default y
1260         help                                     457         help
1261           This value puts the alignment restr !! 458           Say Y here to include the GRPCI2 Host Bridge Driver.
1262           where kernel is loaded and run from << 
1263           address which meets above alignment << 
1264                                                  459 
1265 config TASK_SIZE_BOOL                         !! 460 config SUN_OPENPROMFS
1266         bool "Set custom user task size"      !! 461         tristate "Openprom tree appears in /proc/openprom"
1267         depends on ADVANCED_OPTIONS           << 
1268         help                                     462         help
1269           This option allows you to set the a !! 463           If you say Y, the OpenPROM device tree will be available as a
1270           allocated to user tasks.  This can  !! 464           virtual file system, which you can mount to /proc/openprom by "mount
1271           virtual memory layout of the system !! 465           -t openpromfs none /proc/openprom".
1272                                                  466 
1273           Say N here unless you know what you !! 467           To compile the /proc/openprom support as a module, choose M here: the
                                                   >> 468           module will be called openpromfs.
1274                                                  469 
1275 config TASK_SIZE                              !! 470           Only choose N if you know in advance that you will not need to modify
1276         hex "Size of user task space" if TASK !! 471           OpenPROM settings on the running system.
1277         default "0x80000000" if PPC_8xx       << 
1278         default "0xb0000000" if PPC_BOOK3S_32 << 
1279         default "0xc0000000"                  << 
1280                                                  472 
1281 config MODULES_SIZE_BOOL                      !! 473 # Makefile helpers
1282         bool "Set custom size for modules/exe !! 474 config SPARC64_PCI
1283         depends on EXECMEM && ADVANCED_OPTION !! 475         bool
1284         help                                  !! 476         default y
1285           This option allows you to set the s !! 477         depends on SPARC64 && PCI
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                                                  478 
1292 config MODULES_SIZE                           !! 479 config SPARC64_PCI_MSI
1293         int "Size of modules/execmem area (In !! 480         bool
1294         range 1 256 if EXECMEM                !! 481         default y
1295         default 64 if EXECMEM && PPC_BOOK3S_3 !! 482         depends on SPARC64_PCI && PCI_MSI
1296         default 32 if EXECMEM && PPC_8xx      << 
1297         default 0                             << 
1298                                                  483 
1299 endmenu                                          484 endmenu
1300                                                  485 
1301 if PPC64                                      !! 486 config COMPAT
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                                         << 
1313                                               << 
1314 config PPC_LIB_RHEAP                          << 
1315         bool                                     487         bool
                                                   >> 488         depends on SPARC64
                                                   >> 489         default y
                                                   >> 490         select HAVE_UID16
                                                   >> 491         select ARCH_WANT_OLD_COMPAT_IPC
                                                   >> 492         select COMPAT_OLD_SIGACTION
1316                                                  493 
1317 source "arch/powerpc/kvm/Kconfig"             !! 494 source "drivers/sbus/char/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