Blame view
arch/powerpc/Kconfig
36.7 KB
b24413180 License cleanup: ... |
1 |
# SPDX-License-Identifier: GPL-2.0 |
a0ae9c7c0 [POWERPC] Split o... |
2 |
source "arch/powerpc/platforms/Kconfig.cputype" |
17e638bc2 [POWERPC] Generic... |
3 |
|
234a71a7d powerpc: Set CONF... |
4 5 6 |
config 32BIT bool default y if PPC32 |
14cf11af6 powerpc: Merge en... |
7 8 9 |
config 64BIT bool default y if PPC64 |
14cf11af6 powerpc: Merge en... |
10 11 12 |
config MMU bool default y |
9fea59bd7 powerpc/mm: Add s... |
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
config ARCH_MMAP_RND_BITS_MAX # On Book3S 64, the default virtual address space for 64-bit processes # is 2^47 (128TB). As a maximum, allow randomisation to consume up to # 32T of address space (2^45), which should ensure a reasonable gap # between bottom-up and top-down allocations for applications that # consume "normal" amounts of address space. Book3S 64 only supports 64K # and 4K page sizes. default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K) default 33 if PPC_BOOK3S_64 # 33 = 45 (32T) - 12 (4K) # # On all other 64-bit platforms (currently only Book3E), the virtual # address space is 2^46 (64TB). Allow randomisation to consume up to 16T # of address space (2^44). Only 4K page sizes are supported. default 32 if 64BIT # 32 = 44 (16T) - 12 (4K) # # For 32-bit, use the compat values, as they're the same. default ARCH_MMAP_RND_COMPAT_BITS_MAX config ARCH_MMAP_RND_BITS_MIN # Allow randomisation to consume up to 1GB of address space (2^30). default 14 if 64BIT && PPC_64K_PAGES # 14 = 30 (1GB) - 16 (64K) default 18 if 64BIT # 18 = 30 (1GB) - 12 (4K) # # For 32-bit, use the compat values, as they're the same. default ARCH_MMAP_RND_COMPAT_BITS_MIN config ARCH_MMAP_RND_COMPAT_BITS_MAX # Total virtual address space for 32-bit processes is 2^31 (2GB). # Allow randomisation to consume up to 512MB of address space (2^29). default 11 if PPC_256K_PAGES # 11 = 29 (512MB) - 18 (256K) default 13 if PPC_64K_PAGES # 13 = 29 (512MB) - 16 (64K) |
4f44e8aea powerpc/Kconfig: ... |
44 |
default 15 if PPC_16K_PAGES # 15 = 29 (512MB) - 14 (16K) |
9fea59bd7 powerpc/mm: Add s... |
45 46 47 48 49 50 51 52 53 |
default 17 # 17 = 29 (512MB) - 12 (4K) config ARCH_MMAP_RND_COMPAT_BITS_MIN # Total virtual address space for 32-bit processes is 2^31 (2GB). # Allow randomisation to consume up to 8MB of address space (2^23). default 5 if PPC_256K_PAGES # 5 = 23 (8MB) - 18 (256K) default 7 if PPC_64K_PAGES # 7 = 23 (8MB) - 16 (64K) default 9 if PPC_16K_PAGES # 9 = 23 (8MB) - 14 (16K) default 11 # 11 = 23 (8MB) - 12 (4K) |
c2a7e8180 powerpc64: conver... |
54 |
config HAVE_SETUP_PER_CPU_AREA |
e74e39620 percpu: use dynam... |
55 |
def_bool PPC64 |
c2a7e8180 powerpc64: conver... |
56 |
config NEED_PER_CPU_EMBED_FIRST_CHUNK |
eb553f169 powerpc/64/mm: im... |
57 58 59 60 |
def_bool y if PPC64 config NEED_PER_CPU_PAGE_FIRST_CHUNK def_bool y if PPC64 |
b32ef636a percpu: use a kco... |
61 |
|
551b81f26 powerpc: Make NR_... |
62 63 |
config NR_IRQS int "Number of virtual interrupt numbers" |
859aefc5a powerpc: Increase... |
64 |
range 32 32768 |
551b81f26 powerpc: Make NR_... |
65 66 67 68 69 70 |
default "512" help This defines the number of virtual interrupt numbers the kernel can manage. Virtual interrupt numbers are what you see in /proc/interrupts. If you configure your system to have too few, drivers will fail to load or worse - handle with care. |
ddd703ca0 powerpc: Add NMI ... |
71 72 |
config NMI_IPI bool |
2104180a5 powerpc/64s: impl... |
73 |
depends on SMP && (DEBUGGER || KEXEC_CORE || HARDLOCKUP_DETECTOR) |
ddd703ca0 powerpc: Add NMI ... |
74 |
default y |
75eb767e4 powerpc: Fix powe... |
75 76 77 78 79 80 81 82 83 84 |
config PPC_WATCHDOG bool depends on HARDLOCKUP_DETECTOR depends on HAVE_HARDLOCKUP_DETECTOR_ARCH default y help This is a placeholder when the powerpc hardlockup detector watchdog is selected (arch/powerpc/kernel/watchdog.c). It is seleted via the generic lockup detector menu which is why we have no standalone config option for it here. |
fd3e0bbc6 [POWERPC] Stacktr... |
85 86 87 |
config STACKTRACE_SUPPORT bool default y |
945feb174 [POWERPC] irqtrac... |
88 89 |
config TRACE_IRQFLAGS_SUPPORT bool |
945feb174 [POWERPC] irqtrac... |
90 91 92 93 94 |
default y config LOCKDEP_SUPPORT bool default y |
95c354fe9 spinlock: lockbre... |
95 96 97 |
config GENERIC_LOCKBREAK bool default y |
fdc5569ea sched/rt, powerpc... |
98 |
depends on SMP && PREEMPTION |
95c354fe9 spinlock: lockbre... |
99 |
|
e779b2f95 [PATCH] bitops: p... |
100 101 102 |
config GENERIC_HWEIGHT bool default y |
14cf11af6 powerpc: Merge en... |
103 104 105 |
config PPC bool default y |
a7d2475af powerpc: Sort the... |
106 107 108 |
# # Please keep this list sorted alphabetically. # |
942fa985e 32-bit userspace ... |
109 |
select ARCH_32BIT_OFF_T if PPC32 |
6bf752dac powerpc: implemen... |
110 |
select ARCH_HAS_DEBUG_VIRTUAL |
a7d2475af powerpc: Sort the... |
111 |
select ARCH_HAS_DEVMEM_IS_ALLOWED |
a7d2475af powerpc: Sort the... |
112 |
select ARCH_HAS_ELF_RANDOMIZE |
6974f0c45 include/linux/str... |
113 |
select ARCH_HAS_FORTIFY_SOURCE |
a7d2475af powerpc: Sort the... |
114 |
select ARCH_HAS_GCOV_PROFILE_ALL |
fb0b0a73b powerpc: Enable kcov |
115 |
select ARCH_HAS_KCOV |
cbd34da7d mm: move the powe... |
116 |
select ARCH_HAS_HUGEPD if HUGETLB_PAGE |
9ffc1d19f mm/memremap_pages... |
117 |
select ARCH_HAS_MEMREMAP_COMPAT_ALIGN |
420af1554 powerpc/mmiowb: H... |
118 |
select ARCH_HAS_MMIOWB if PPC64 |
ea8c64ace dma-mapping: move... |
119 |
select ARCH_HAS_PHYS_TO_DMA |
461cef2a6 powerpc/32: activ... |
120 |
select ARCH_HAS_PMEM_API |
d195b1d1d powerpc/bpf: Enab... |
121 |
select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE |
175967318 mm: introduce ARC... |
122 |
select ARCH_HAS_PTE_DEVMAP if PPC_BOOK3S_64 |
3010a5ea6 mm: introduce ARC... |
123 |
select ARCH_HAS_PTE_SPECIAL |
3ccfebedd powerpc, membarri... |
124 |
select ARCH_HAS_MEMBARRIER_CALLBACKS |
2384b36f9 powerpc: Select A... |
125 |
select ARCH_HAS_MEMBARRIER_SYNC_CORE |
b4645ffc4 powerpc/64: don't... |
126 |
select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC_BOOK3S_64 |
8659a0e0e powerpc/64s: Disa... |
127 |
select ARCH_HAS_STRICT_KERNEL_RWX if (PPC32 && !HIBERNATION) |
a7d2475af powerpc: Sort the... |
128 |
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST |
461cef2a6 powerpc/32: activ... |
129 |
select ARCH_HAS_UACCESS_FLUSHCACHE |
ec6347bb4 x86, powerpc: Ren... |
130 |
select ARCH_HAS_COPY_MC if PPC64 |
a7d2475af powerpc: Sort the... |
131 132 |
select ARCH_HAS_UBSAN_SANITIZE_ALL select ARCH_HAVE_NMI_SAFE_CMPXCHG |
350e88bad mm: memblock: mak... |
133 |
select ARCH_KEEP_MEMBLOCK |
b7e7c37b6 powerpc: select A... |
134 |
select ARCH_MIGHT_HAVE_PC_PARPORT |
c74e6d3de Input: i8042 - se... |
135 |
select ARCH_MIGHT_HAVE_PC_SERIO |
4ec591e51 powerpc: restore ... |
136 |
select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX |
a7d2475af powerpc: Sort the... |
137 |
select ARCH_SUPPORTS_ATOMIC_RMW |
a7d2475af powerpc: Sort the... |
138 139 |
select ARCH_USE_BUILTIN_BSWAP select ARCH_USE_CMPXCHG_LOCKREF if PPC64 |
aa65ff6b1 powerpc/64s: Impl... |
140 141 |
select ARCH_USE_QUEUED_RWLOCKS if PPC_QUEUED_SPINLOCKS select ARCH_USE_QUEUED_SPINLOCKS if PPC_QUEUED_SPINLOCKS |
a7d2475af powerpc: Sort the... |
142 |
select ARCH_WANT_IPC_PARSE_VERSION |
66acd4608 powerpc: select A... |
143 |
select ARCH_WANT_IRQS_OFF_ACTIVATE_MM |
59612b24f kbuild: Hoist '--... |
144 |
select ARCH_WANT_LD_ORPHAN_WARN |
77e584968 rcu: Make arch se... |
145 |
select ARCH_WEAK_RELEASE_ACQUIRE |
d812c0e1f powerpc: Make sur... |
146 |
select BINFMT_ELF |
109167063 scripts/sorttable... |
147 |
select BUILDTIME_TABLE_SORT |
a7d2475af powerpc: Sort the... |
148 149 |
select CLONE_BACKWARDS select DCACHE_WORD_ACCESS if PPC64 && CPU_LITTLE_ENDIAN |
2f9237d4f dma-mapping: make... |
150 |
select DMA_OPS if PPC64 |
f1565c24b powerpc: use the ... |
151 |
select DMA_OPS_BYPASS if PPC64 |
0c0c52306 powerpc: Only sup... |
152 |
select DYNAMIC_FTRACE if FUNCTION_TRACER |
a7d2475af powerpc: Sort the... |
153 154 155 156 157 158 159 |
select EDAC_ATOMIC_SCRUB select EDAC_SUPPORT select GENERIC_ATOMIC64 if PPC32 select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS_BROADCAST if SMP select GENERIC_CMOS_UPDATE select GENERIC_CPU_AUTOPROBE |
179ab1cbf powerpc/64: Add C... |
160 |
select GENERIC_CPU_VULNERABILITIES if PPC_BARRIER_NOSPEC |
265c3491c powerpc: Add supp... |
161 |
select GENERIC_EARLY_IOREMAP |
a7d2475af powerpc: Sort the... |
162 163 |
select GENERIC_IRQ_SHOW select GENERIC_IRQ_SHOW_LEVEL |
eb01d42a7 PCI: consolidate ... |
164 |
select GENERIC_PCI_IOMAP if PCI |
a7d2475af powerpc: Sort the... |
165 166 167 |
select GENERIC_SMP_IDLE_THREAD select GENERIC_STRNCPY_FROM_USER select GENERIC_STRNLEN_USER |
d4cfb1138 powerpc: Convert ... |
168 |
select GENERIC_TIME_VSYSCALL |
a7d2475af powerpc: Sort the... |
169 |
select HAVE_ARCH_AUDITSYSCALL |
d909f9109 powerpc/64s/radix... |
170 |
select HAVE_ARCH_HUGE_VMAP if PPC_BOOK3S_64 && PPC_RADIX_MMU |
a7d2475af powerpc: Sort the... |
171 |
select HAVE_ARCH_JUMP_LABEL |
888468ce7 powerpc/32: Disab... |
172 173 |
select HAVE_ARCH_KASAN if PPC32 && PPC_PAGE_SHIFT <= 14 select HAVE_ARCH_KASAN_VMALLOC if PPC32 && PPC_PAGE_SHIFT <= 14 |
a7d2475af powerpc: Sort the... |
174 |
select HAVE_ARCH_KGDB |
9fea59bd7 powerpc/mm: Add s... |
175 176 |
select HAVE_ARCH_MMAP_RND_BITS select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT |
20e07af71 powerpc: Adopt nv... |
177 |
select HAVE_ARCH_NVRAM_OPS |
a7d2475af powerpc: Sort the... |
178 179 |
select HAVE_ARCH_SECCOMP_FILTER select HAVE_ARCH_TRACEHOOK |
2ff2b7ec6 kbuild: add CONFI... |
180 |
select HAVE_ASM_MODVERSIONS |
f079bb3c5 powerpc/ftrace: E... |
181 |
select HAVE_C_RECORDMCOUNT |
a7d2475af powerpc: Sort the... |
182 |
select HAVE_CBPF_JIT if !PPC64 |
bf6cbd0c8 powerpc: Fix stac... |
183 184 |
select HAVE_STACKPROTECTOR if PPC64 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=r13) select HAVE_STACKPROTECTOR if PPC32 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=r2) |
a7d2475af powerpc: Sort the... |
185 |
select HAVE_CONTEXT_TRACKING if PPC64 |
490f561b7 context-tracking:... |
186 |
select HAVE_TIF_NOHZ if PPC64 |
a7d2475af powerpc: Sort the... |
187 188 |
select HAVE_DEBUG_KMEMLEAK select HAVE_DEBUG_STACKOVERFLOW |
2b79d6962 powerpc: enable d... |
189 |
select HAVE_DYNAMIC_FTRACE |
a7d2475af powerpc: Sort the... |
190 191 192 |
select HAVE_DYNAMIC_FTRACE_WITH_REGS if MPROFILE_KERNEL select HAVE_EBPF_JIT if PPC64 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !(CPU_LITTLE_ENDIAN && POWER7_CPU) |
67a929e09 mm: rename CONFIG... |
193 |
select HAVE_FAST_GUP |
a7d2475af powerpc: Sort the... |
194 |
select HAVE_FTRACE_MCOUNT_RECORD |
7cd01b08d powerpc: Add supp... |
195 |
select HAVE_FUNCTION_ERROR_INJECTION |
60ce8f726 powerpc32, ftrace... |
196 |
select HAVE_FUNCTION_GRAPH_TRACER |
a7d2475af powerpc: Sort the... |
197 |
select HAVE_FUNCTION_TRACER |
8034c2fb1 gcc-plugins: move... |
198 |
select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC |
a7d2475af powerpc: Sort the... |
199 |
select HAVE_HW_BREAKPOINT if PERF_EVENTS && (PPC_BOOK3S || PPC_8xx) |
ec7748b59 ide: introduce HA... |
200 |
select HAVE_IDE |
a1f242ff4 powerpc ioremap_prot |
201 |
select HAVE_IOREMAP_PROT |
a7d2475af powerpc: Sort the... |
202 203 |
select HAVE_IRQ_EXIT_ON_IRQ_STACK select HAVE_KERNEL_GZIP |
1cc9a21b0 powerpc/boot: Add... |
204 |
select HAVE_KERNEL_LZMA if DEFAULT_UIMAGE |
264bffad4 powerpc/boot: Add... |
205 |
select HAVE_KERNEL_LZO if DEFAULT_UIMAGE |
423bfc69d powerpc: Enable k... |
206 |
select HAVE_KERNEL_XZ if PPC_BOOK3S || 44x |
3f550096d Add HAVE_KPROBES |
207 |
select HAVE_KPROBES |
ead514d5f powerpc/kprobes: ... |
208 |
select HAVE_KPROBES_ON_FTRACE |
9edddaa20 Kprobes: indicate... |
209 |
select HAVE_KRETPROBES |
4c1d9bb0b powerpc: Allow LD... |
210 |
select HAVE_LD_DEAD_CODE_DATA_ELIMINATION |
a7d2475af powerpc: Sort the... |
211 |
select HAVE_LIVEPATCH if HAVE_DYNAMIC_FTRACE_WITH_REGS |
a7d2475af powerpc: Sort the... |
212 |
select HAVE_MOD_ARCH_SPECIFIC |
2104180a5 powerpc/64s: impl... |
213 214 |
select HAVE_NMI if PERF_EVENTS || (PPC64 && PPC_BOOK3S) select HAVE_HARDLOCKUP_DETECTOR_ARCH if (PPC64 && PPC_BOOK3S) |
4e491d14f ftrace: support f... |
215 |
select HAVE_OPROFILE |
a7d2475af powerpc: Sort the... |
216 |
select HAVE_OPTPROBES if PPC64 |
cdd6c482c perf: Do the big ... |
217 |
select HAVE_PERF_EVENTS |
a7d2475af powerpc: Sort the... |
218 |
select HAVE_PERF_EVENTS_NMI if PPC64 |
92e5aae45 kernel/watchdog: ... |
219 |
select HAVE_HARDLOCKUP_DETECTOR_PERF if PERF_EVENTS && HAVE_PERF_EVENTS_NMI && !HAVE_HARDLOCKUP_DETECTOR_ARCH |
ed4a4ef85 powerpc/perf: Add... |
220 |
select HAVE_PERF_REGS |
17ed7c384 powerpc: Add HAVE... |
221 |
select HAVE_PERF_USER_STACK_DUMP |
ff2e6d725 asm-generic/tlb: ... |
222 |
select MMU_GATHER_RCU_TABLE_FREE |
3af4bd033 asm-generic/tlb: ... |
223 |
select MMU_GATHER_PAGE_SIZE |
359e4284a powerpc: Add kpro... |
224 |
select HAVE_REGS_AND_STACK_ACCESS_API |
a50d3250d powerpc/64s: Make... |
225 |
select HAVE_RELIABLE_STACKTRACE if PPC_BOOK3S_64 && CPU_LITTLE_ENDIAN |
a7d2475af powerpc: Sort the... |
226 227 |
select HAVE_SYSCALL_TRACEPOINTS select HAVE_VIRT_CPU_ACCOUNTING |
518470fe9 powerpc: Add HAVE... |
228 |
select HAVE_IRQ_TIME_ACCOUNTING |
8a417c48f powerpc: Add supp... |
229 |
select HAVE_RSEQ |
a4ce5a48d iommu-helper: mov... |
230 |
select IOMMU_HELPER if PPC64 |
cc79ca691 irq_domain: Move ... |
231 |
select IRQ_DOMAIN |
e8d2c4735 powerpc: Allow ir... |
232 |
select IRQ_FORCED_THREADING |
786d35d45 Make most arch as... |
233 |
select MODULES_USE_ELF_RELA |
06832fc00 powerpc: Do not r... |
234 |
select NEED_DMA_MAP_STATE if PPC64 || NOT_COHERENT_CACHE |
86596f0a2 scatterlist: move... |
235 |
select NEED_SG_DMA_LENGTH |
a7d2475af powerpc: Sort the... |
236 |
select OF |
dabf6b36b of: Add OF_DMA_DE... |
237 |
select OF_DMA_DEFAULT_COHERENT if !NOT_COHERENT_CACHE |
a7d2475af powerpc: Sort the... |
238 |
select OF_EARLY_FLATTREE |
a7d2475af powerpc: Sort the... |
239 240 |
select OLD_SIGACTION if PPC32 select OLD_SIGSUSPEND |
2eac9c2df PCI: consolidate ... |
241 |
select PCI_DOMAINS if PCI |
981aa1d36 PCI: MSI: Fix Kco... |
242 |
select PCI_MSI_ARCH_FALLBACKS if PCI_MSI |
20f1b79d3 PCI: consolidate ... |
243 |
select PCI_SYSCALL if PCI |
a278e7ea6 powerpc: Fix comp... |
244 |
select PPC_DAWR if PPC64 |
6e8cef384 powerpc: always e... |
245 |
select RTC_LIB |
a7d2475af powerpc: Sort the... |
246 247 |
select SPARSE_IRQ select SYSCTL_EXCEPTION_TRACE |
ed1cd6deb powerpc: Activate... |
248 |
select THREAD_INFO_IN_TASK |
a7d2475af powerpc: Sort the... |
249 250 251 252 |
select VIRT_TO_BUS if !PPC64 # # Please keep this list sorted alphabetically. # |
14cf11af6 powerpc: Merge en... |
253 |
|
179ab1cbf powerpc/64: Add C... |
254 |
config PPC_BARRIER_NOSPEC |
4f44e8aea powerpc/Kconfig: ... |
255 256 257 |
bool default y depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E |
179ab1cbf powerpc/64: Add C... |
258 |
|
14cf11af6 powerpc: Merge en... |
259 260 |
config EARLY_PRINTK bool |
51d3082fe [PATCH] powerpc: ... |
261 |
default y |
14cf11af6 powerpc: Merge en... |
262 |
|
b71d47c14 powerpc: Clean up... |
263 264 265 |
config PANIC_TIMEOUT int default 180 |
14cf11af6 powerpc: Merge en... |
266 |
config COMPAT |
6e944aed8 powerpc/64: Make ... |
267 268 269 |
bool "Enable support for 32bit binaries" depends on PPC64 default y if !CPU_LITTLE_ENDIAN |
01e31dbab [POWERPC] Switch ... |
270 |
select COMPAT_BINFMT_ELF |
48b25c43e [PATCH v3] ipc: p... |
271 |
select ARCH_WANT_OLD_COMPAT_IPC |
09a4d5d01 powerpc: switch t... |
272 |
select COMPAT_OLD_SIGACTION |
14cf11af6 powerpc: Merge en... |
273 274 275 276 277 |
config SYSVIPC_COMPAT bool depends on COMPAT && SYSVIPC default y |
ae1e9130b sched: rename SCH... |
278 |
config SCHED_OMIT_FRAME_POINTER |
14cf11af6 powerpc: Merge en... |
279 280 281 282 283 |
bool default y config ARCH_MAY_HAVE_PC_FDC bool |
3484a31fc powerpc: Fix buil... |
284 |
default PCI |
14cf11af6 powerpc: Merge en... |
285 |
|
08264cbc9 [PATCH] powerpc: ... |
286 287 |
config PPC_UDBG_16550 bool |
08264cbc9 [PATCH] powerpc: ... |
288 |
|
08264cbc9 [PATCH] powerpc: ... |
289 290 291 |
config GENERIC_TBSYNC bool default y if PPC32 && SMP |
08264cbc9 [PATCH] powerpc: ... |
292 |
|
e65e1fc2d [PATCH] syscall c... |
293 294 295 |
config AUDIT_ARCH bool default y |
73c9ceab4 [POWERPC] Generic... |
296 297 298 299 |
config GENERIC_BUG bool default y depends on BUG |
b30288785 [POWERPC] apm_emu... |
300 |
config SYS_SUPPORTS_APM_EMULATION |
58da10bb3 [POWERPC] Fix Kco... |
301 |
default y if PMAC_APM_EMU |
b30288785 [POWERPC] apm_emu... |
302 |
bool |
6c5b59b91 powerpc/boot: Add... |
303 304 305 306 |
config EPAPR_BOOT bool help Used to allow a board to specify it wants an ePAPR compliant wrapper. |
6c5b59b91 powerpc/boot: Add... |
307 |
|
f4fc4a5b7 [PATCH] powerpc: ... |
308 309 310 311 |
config DEFAULT_UIMAGE bool help Used to allow a board to specify it wants a uImage built by default |
f4fc4a5b7 [PATCH] powerpc: ... |
312 |
|
801e4062f Hibernation: Clea... |
313 314 |
config ARCH_HIBERNATION_POSSIBLE bool |
543b9fd35 [POWERPC] powerma... |
315 |
default y |
f4cb57007 Suspend: Clean up... |
316 317 |
config ARCH_SUSPEND_POSSIBLE def_bool y |
4ffd6952a powerpc/85xx/86xx... |
318 |
depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \ |
be899f197 powerpc/pm: Fix s... |
319 |
FSL_SOC_BOOKE || PPC_86xx || PPC_PSERIES \ |
d0832a750 powerpc/85xx: add... |
320 |
|| 44x || 40x |
f4cb57007 Suspend: Clean up... |
321 |
|
9ca12ac04 kernel/cpu: Allow... |
322 323 324 |
config ARCH_SUSPEND_NONZERO_CPU def_bool y depends on PPC_POWERNV || PPC_PSERIES |
4c75a6f44 [POWERPC] Generic... |
325 326 |
config PPC_DCR_NATIVE bool |
4c75a6f44 [POWERPC] Generic... |
327 328 329 |
config PPC_DCR_MMIO bool |
4c75a6f44 [POWERPC] Generic... |
330 331 332 333 334 |
config PPC_DCR bool depends on PPC_DCR_NATIVE || PPC_DCR_MMIO default y |
4c9d2800b [POWERPC] Generic... |
335 336 |
config PPC_OF_PLATFORM_PCI bool |
373a6da16 [POWERPC] Make no... |
337 |
depends on PCI |
4c9d2800b [POWERPC] Generic... |
338 |
depends on PPC64 # not supported on 32 bits yet |
4c9d2800b [POWERPC] Generic... |
339 |
|
6a11f75b6 generic debug pag... |
340 |
config ARCH_SUPPORTS_DEBUG_PAGEALLOC |
4e0037470 powerpc/64s: Repl... |
341 |
depends on PPC32 || PPC_BOOK3S_64 |
6a11f75b6 generic debug pag... |
342 |
def_bool y |
8b7b80b9e powerpc: Uprobes ... |
343 344 |
config ARCH_SUPPORTS_UPROBES def_bool y |
172ae2e7f powerpc/booke: In... |
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
config PPC_ADV_DEBUG_REGS bool depends on 40x || BOOKE default y config PPC_ADV_DEBUG_IACS int depends on PPC_ADV_DEBUG_REGS default 4 if 44x default 2 config PPC_ADV_DEBUG_DACS int depends on PPC_ADV_DEBUG_REGS default 2 config PPC_ADV_DEBUG_DVCS int depends on PPC_ADV_DEBUG_REGS default 2 if 44x default 0 config PPC_ADV_DEBUG_DAC_RANGE bool depends on PPC_ADV_DEBUG_REGS && 44x default y |
a278e7ea6 powerpc: Fix comp... |
371 372 |
config PPC_DAWR bool |
25078dc1f powerpc: use mm z... |
373 |
config ZONE_DMA |
1c98025c6 powerpc: Dynamic ... |
374 |
bool |
25078dc1f powerpc: use mm z... |
375 |
default y if PPC_BOOK3E_64 |
1c98025c6 powerpc: Dynamic ... |
376 |
|
06ef42a16 powerpc: expose n... |
377 378 379 |
config PGTABLE_LEVELS int default 2 if !PPC64 |
06ef42a16 powerpc: expose n... |
380 |
default 4 |
a2d2e1ec0 [POWERPC] 4xx: PL... |
381 |
source "arch/powerpc/sysdev/Kconfig" |
4330f5da9 [POWERPC] Created... |
382 |
source "arch/powerpc/platforms/Kconfig" |
14cf11af6 powerpc: Merge en... |
383 |
|
14cf11af6 powerpc: Merge en... |
384 385 386 387 388 |
menu "Kernel options" config HIGHMEM bool "High memory support" depends on PPC32 |
8636a1f96 treewide: surroun... |
389 |
source "kernel/Kconfig.hz" |
14cf11af6 powerpc: Merge en... |
390 |
|
ba72cb8cb Fix boot problem ... |
391 392 |
config HUGETLB_PAGE_SIZE_VARIABLE bool |
c5710cd20 powerpc/mm: clean... |
393 |
depends on HUGETLB_PAGE && PPC_BOOK3S_64 |
ba72cb8cb Fix boot problem ... |
394 |
default y |
14cf11af6 powerpc: Merge en... |
395 396 |
config MATH_EMULATION bool "Math emulation" |
968159c00 powerpc/8xx: Gett... |
397 |
depends on 4xx || PPC_8xx || PPC_MPC832x || BOOKE |
4f44e8aea powerpc/Kconfig: ... |
398 |
help |
14cf11af6 powerpc: Merge en... |
399 400 401 402 403 404 |
Some PowerPC chips designed for embedded applications do not have a floating-point unit and therefore do not implement the floating-point instructions in the PowerPC instruction set. If you say Y here, the kernel will include code to emulate a floating-point unit, which will allow programs that use floating-point instructions to run. |
4e63f8edf powerpc/math-emu:... |
405 406 407 |
This is also useful to emulate missing (optional) instructions such as fsqrt on cores that do have an FPU but do not implement them (such as Freescale BookE). |
e05c0e81b powerpc: split Sh... |
408 409 410 411 412 413 414 |
choice prompt "Math emulation options" default MATH_EMULATION_FULL depends on MATH_EMULATION config MATH_EMULATION_FULL bool "Emulate all the floating point instructions" |
4f44e8aea powerpc/Kconfig: ... |
415 |
help |
e05c0e81b powerpc: split Sh... |
416 417 418 419 420 421 |
Select this option will enable the kernel to support to emulate all the floating point instructions. If your SoC doesn't have a FPU, you should select this. config MATH_EMULATION_HW_UNIMPLEMENTED bool "Just emulate the FPU unimplemented instructions" |
4f44e8aea powerpc/Kconfig: ... |
422 |
help |
e05c0e81b powerpc: split Sh... |
423 424 425 426 |
Select this if you know there does have a hardware FPU on your SoC, but some floating point instructions are not implemented by that. endchoice |
3d72bbc40 powerpc: Add conf... |
427 |
config PPC_TRANSACTIONAL_MEM |
4f44e8aea powerpc/Kconfig: ... |
428 429 430 431 432 433 434 |
bool "Transactional Memory support for POWERPC" depends on PPC_BOOK3S_64 depends on SMP select ALTIVEC select VSX help Support user-mode Transactional Memory on POWERPC. |
3d72bbc40 powerpc: Add conf... |
435 |
|
013a53f2d powerpc: Ultravis... |
436 437 438 |
config PPC_UV bool "Ultravisor support" depends on KVM_BOOK3S_HV_POSSIBLE |
a2db55dda powerpc: Ultravis... |
439 |
depends on DEVICE_PRIVATE |
013a53f2d powerpc: Ultravis... |
440 441 442 443 444 445 446 447 |
default n help This option paravirtualizes the kernel to run in POWER platforms that supports the Protected Execution Facility (PEF). On such platforms, the ultravisor firmware runs at a privilege level above the hypervisor. If unsure, say "N". |
951eedebc powerpc/64: Handl... |
448 449 450 |
config LD_HEAD_STUB_CATCH bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT depends on PPC64 |
951eedebc powerpc/64: Handl... |
451 452 453 454 455 456 |
help Very large kernels can cause linker branch stubs to be generated by code in head_64.S, which moves the head text sections out of their specified location. This option can work around the problem. If unsure, say "N". |
8c50b72a3 powerpc/ftrace: A... |
457 |
config MPROFILE_KERNEL |
57b3ed941 powerpc/64: Have ... |
458 |
depends on PPC64 && CPU_LITTLE_ENDIAN && FUNCTION_TRACER |
abba75979 powerpc/kbuild: m... |
459 |
def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -I$(srctree)/include -D__KERNEL__) |
8c50b72a3 powerpc/ftrace: A... |
460 |
|
14cf11af6 powerpc: Merge en... |
461 462 |
config HOTPLUG_CPU bool "Support for enabling/disabling CPUs" |
40b313608 Finally eradicate... |
463 |
depends on SMP && (PPC_PSERIES || \ |
76be4414b powerpc: indent t... |
464 |
PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE) |
4f44e8aea powerpc/Kconfig: ... |
465 |
help |
14cf11af6 powerpc: Merge en... |
466 467 468 469 |
Say Y here to be able to disable and re-enable individual CPUs at runtime on SMP machines. Say N if you are unsure. |
aa65ff6b1 powerpc/64s: Impl... |
470 471 472 473 474 475 476 477 478 479 480 481 |
config PPC_QUEUED_SPINLOCKS bool "Queued spinlocks" depends on SMP help Say Y here to use queued spinlocks which give better scalability and fairness on large SMP and NUMA systems without harming single threaded performance. This option is currently experimental, the code is more complex and less tested so it defaults to "N" for the moment. If unsure, say "N". |
12633e803 sysfs/cpu: Add pr... |
482 483 484 |
config ARCH_CPU_PROBE_RELEASE def_bool y depends on HOTPLUG_CPU |
cc57637b0 [PATCH] solve con... |
485 486 |
config ARCH_ENABLE_MEMORY_HOTPLUG def_bool y |
1482471d1 [POWERPC] Enable ... |
487 488 |
config ARCH_ENABLE_MEMORY_HOTREMOVE def_bool y |
f2296a3d2 powerpc/powernv: ... |
489 490 491 492 493 |
config PPC64_SUPPORTS_MEMORY_FAILURE bool "Add support for memory hwpoison" depends on PPC_BOOK3S_64 default "y" if PPC_POWERNV select ARCH_SUPPORTS_MEMORY_FAILURE |
14cf11af6 powerpc: Merge en... |
494 |
config KEXEC |
642e56ff5 arch/powerpc: rem... |
495 |
bool "kexec system call" |
96eea6426 powerpc/book3e-64... |
496 |
depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP)) || PPC_BOOK3E |
2965faa5e kexec: split kexe... |
497 |
select KEXEC_CORE |
14cf11af6 powerpc: Merge en... |
498 499 500 |
help kexec is a system call that implements the ability to shutdown your current kernel, and to start another kernel. It is like a reboot |
1f1332f72 [PATCH] KConfig: ... |
501 |
but it is independent of the system firmware. And like a reboot |
14cf11af6 powerpc: Merge en... |
502 |
you can start any kernel with it, not just Linux. |
1f1332f72 [PATCH] KConfig: ... |
503 |
The name comes from the similarity to the exec system call. |
14cf11af6 powerpc: Merge en... |
504 505 506 |
It is an ongoing process to be certain the hardware in a machine is properly shutdown, so do not be surprised if this code does not |
bf2206957 Kconfig: Remove h... |
507 508 509 |
initially work for you. As of this writing the exact hardware interface is strongly in flux, so no good recommendation can be made. |
14cf11af6 powerpc: Merge en... |
510 |
|
80f60e509 powerpc/kexec: En... |
511 512 513 |
config KEXEC_FILE bool "kexec file based system call" select KEXEC_CORE |
467d27824 powerpc: ima: get... |
514 |
select HAVE_IMA_KEXEC |
80f60e509 powerpc/kexec: En... |
515 |
select BUILD_BIN2C |
175fca3bf kexec: add KEXEC_ELF |
516 |
select KEXEC_ELF |
80f60e509 powerpc/kexec: En... |
517 518 519 520 521 522 523 524 |
depends on PPC64 depends on CRYPTO=y depends on CRYPTO_SHA256=y help This is a new version of the kexec system call. This call is file based and takes in file descriptors as system call arguments for kernel and initramfs as opposed to a list of segments as is the case for the older kexec call. |
b799a09f6 kexec_file: make ... |
525 526 |
config ARCH_HAS_KEXEC_PURGATORY def_bool KEXEC_FILE |
4c91bd6ee powerpc: Merge th... |
527 528 |
config RELOCATABLE bool "Build a relocatable kernel" |
084a275e4 powerpc/64: Allow... |
529 |
depends on PPC64 || (FLATMEM && (44x || FSL_BOOKE)) |
4c91bd6ee powerpc: Merge th... |
530 |
select NONSTATIC_KERNEL |
71810db27 modversions: trea... |
531 |
select MODULE_REL_CRCS if MODVERSIONS |
4c91bd6ee powerpc: Merge th... |
532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 |
help This builds a kernel image that is capable of running at the location the kernel is loaded at. For ppc32, there is no any alignment restrictions, and this feature is a superset of DYNAMIC_MEMSTART and hence overrides it. For ppc64, we should use 16k-aligned base address. The kernel is linked as a position-independent executable (PIE) and contains dynamic relocations which are processed early in the bootup process. One use is for the kexec on panic case where the recovery kernel must live at a different physical address than the primary kernel. Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address it has been loaded at and the compile time physical addresses CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START setting can still be useful to bootwrappers that need to know the load address of the kernel (eg. u-boot/mkimage). |
2b0e86cc5 powerpc/fsl_booke... |
550 551 552 553 554 555 556 557 558 559 |
config RANDOMIZE_BASE bool "Randomize the address of the kernel image" depends on (FSL_BOOKE && FLATMEM && PPC32) depends on RELOCATABLE help Randomizes the virtual address at which the kernel image is loaded, as a security feature that deters exploit attempts relying on knowledge of the location of kernel internals. If unsure, say Y. |
70839d207 powerpc/64: Add a... |
560 561 562 |
config RELOCATABLE_TEST bool "Test relocatable kernel" depends on (PPC64 && RELOCATABLE) |
70839d207 powerpc/64: Add a... |
563 564 565 566 |
help This runs the relocatable kernel at the address it was initially loaded at, which tends to be non-zero and therefore test the relocation code. |
e8625d463 [PATCH] powerpc: ... |
567 |
config CRASH_DUMP |
22bd0177b powerpc/fadump: r... |
568 |
bool "Build a dump capture kernel" |
be34fff07 powerpc/kconfig: ... |
569 |
depends on PPC64 || PPC_BOOK3S_32 || FSL_BOOKE || (44x && !SMP) |
084a275e4 powerpc/64: Allow... |
570 |
select RELOCATABLE if PPC64 || 44x || FSL_BOOKE |
e8625d463 [PATCH] powerpc: ... |
571 |
help |
22bd0177b powerpc/fadump: r... |
572 |
Build a kernel suitable for use as a dump capture kernel. |
54622f10a powerpc: Support ... |
573 574 |
The same kernel binary can be used as production kernel and dump capture kernel. |
e8625d463 [PATCH] powerpc: ... |
575 |
|
eb39c8803 fadump: Reserve t... |
576 577 |
config FA_DUMP bool "Firmware-assisted dump" |
41df59287 powerpc/fadump: a... |
578 |
depends on PPC64 && (PPC_RTAS || PPC_POWERNV) |
22bd0177b powerpc/fadump: r... |
579 580 |
select CRASH_CORE select CRASH_DUMP |
242f271c0 [POWERPC] pseries... |
581 |
help |
eb39c8803 fadump: Reserve t... |
582 583 |
A robust mechanism to get reliable kernel crash dump with assistance from firmware. This approach does not use kexec, |
22bd0177b powerpc/fadump: r... |
584 |
instead firmware assists in booting the capture kernel |
eb39c8803 fadump: Reserve t... |
585 586 587 |
while preserving memory contents. Firmware-assisted dump is meant to be a kdump replacement offering robustness and speed not possible without system firmware assistance. |
242f271c0 [POWERPC] pseries... |
588 |
|
41df59287 powerpc/fadump: a... |
589 590 |
If unsure, say "y". Only special kernels like petitboot may need to say "N" here. |
242f271c0 [POWERPC] pseries... |
591 |
|
bec53196a powerpc/fadump: a... |
592 593 594 595 596 597 598 599 |
config PRESERVE_FA_DUMP bool "Preserve Firmware-assisted dump" depends on PPC64 && PPC_POWERNV && !FA_DUMP help On a kernel with FA_DUMP disabled, this option helps to preserve crash data from a previously crash'ed kernel. Useful when the next memory preserving kernel boot would process this crash data. Petitboot kernel is the typical usecase for this option. |
6f713d181 powerpc/opalcore:... |
600 601 602 603 604 605 606 607 |
config OPAL_CORE bool "Export OPAL memory as /sys/firmware/opal/core" depends on PPC64 && PPC_POWERNV help This option uses the MPIPL support in firmware to provide an ELF core of OPAL memory after a crash. The ELF core is exported as /sys/firmware/opal/core file which is helpful in debugging OPAL crashes using GDB. |
242f271c0 [POWERPC] pseries... |
608 |
|
14cf11af6 powerpc: Merge en... |
609 610 |
config IRQ_ALL_CPUS bool "Distribute interrupts on all CPUs by default" |
6cf09b9d1 powerpc: remove d... |
611 |
depends on SMP |
14cf11af6 powerpc: Merge en... |
612 613 614 615 616 |
help This option gives the kernel permission to distribute IRQs across multiple CPUs. Saying N here will route all IRQs to the first CPU. Generally saying Y is safe, although some problems have been reported with SMP Power Macintoshes with this option enabled. |
ffa27b6bc [PATCH] ppc64 mem... |
617 618 619 620 |
config NUMA bool "NUMA support" depends on PPC64 default y if SMP && PPC_PSERIES |
c80d79d74 [PATCH] Configura... |
621 622 |
config NODES_SHIFT int |
ea55bf291 powerpc: Increase... |
623 |
default "8" if PPC64 |
c80d79d74 [PATCH] Configura... |
624 625 |
default "4" depends on NEED_MULTIPLE_NODES |
8c2722611 powerpc/numa: Ena... |
626 627 628 |
config USE_PERCPU_NUMA_NODE_ID def_bool y depends on NUMA |
64bb80d87 powerpc/numa: Ena... |
629 630 631 |
config HAVE_MEMORYLESS_NODES def_bool y depends on NUMA |
14cf11af6 powerpc: Merge en... |
632 633 634 635 636 |
config ARCH_SELECT_MEMORY_MODEL def_bool y depends on PPC64 config ARCH_FLATMEM_ENABLE |
9100b205f [PATCH] powerpc32... |
637 638 |
def_bool y depends on (PPC64 && !NUMA) || PPC32 |
14cf11af6 powerpc: Merge en... |
639 |
|
45fb6cea0 [PATCH] ppc64: Co... |
640 |
config ARCH_SPARSEMEM_ENABLE |
14cf11af6 powerpc: Merge en... |
641 |
def_bool y |
9100b205f [PATCH] powerpc32... |
642 |
depends on PPC64 |
d29eff7bc ppc64: SPARSEMEM_... |
643 |
select SPARSEMEM_VMEMMAP_ENABLE |
14cf11af6 powerpc: Merge en... |
644 |
|
45fb6cea0 [PATCH] ppc64: Co... |
645 |
config ARCH_SPARSEMEM_DEFAULT |
14cf11af6 powerpc: Merge en... |
646 |
def_bool y |
7b3912f42 powerpc: Make spa... |
647 |
depends on PPC_BOOK3S_64 |
14cf11af6 powerpc: Merge en... |
648 |
|
5a1eb5c44 powerpc: Cleanup ... |
649 |
config SYS_SUPPORTS_HUGETLBFS |
41151e77a powerpc: Hugetlb ... |
650 |
bool |
5a1eb5c44 powerpc: Cleanup ... |
651 |
|
f6853eb56 powerpc/64: Defin... |
652 653 654 655 656 657 |
config ILLEGAL_POINTER_VALUE hex # This is roughly half way between the top of user space and the bottom # of kernel space, which seems about as good as we can get. default 0x5deadbeef0000000 if PPC64 default 0 |
7e9191daf [PATCH] Memory Ad... |
658 659 660 |
config ARCH_MEMORY_PROBE def_bool y depends on MEMORY_HOTPLUG |
e12401222 powerpc/44x: Supp... |
661 662 663 664 665 666 667 668 669 670 671 |
config STDBINUTILS bool "Using standard binutils settings" depends on 44x default y help Turning this option off allows you to select 256KB PAGE_SIZE on 44x. Note, that kernel will be able to run only those applications, which had been compiled using binutils later than 2.17.50.0.3 with '-zmax-page-size' set to 256K (the default is 64K). Or, if using the older binutils, you can patch them with a trivial patch, which changes the ELF_MAXPAGESIZE definition from 0x10000 to 0x40000. |
ca9153a3a powerpc/44x: Supp... |
672 673 674 |
choice prompt "Page size" default PPC_4K_PAGES |
3c726f8de [PATCH] ppc64: su... |
675 |
help |
ca9153a3a powerpc/44x: Supp... |
676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 |
Select the kernel logical page size. Increasing the page size will reduce software overhead at each page boundary, allow hardware prefetch mechanisms to be more effective, and allow larger dma transfers increasing IO efficiency and reducing overhead. However the utilization of memory will increase. For example, each cached file will using a multiple of the page size to hold its contents and the difference between the end of file and the end of page is wasted. Some dedicated systems, such as software raid serving with accelerated calculations, have shown significant increases. If you configure a 64 bit kernel for 64k pages but the processor does not support them, then the kernel will simulate them with 4k pages, loading them on demand, but with the reduced software overhead and larger internal fragmentation. For the 32 bit kernel, a large page option will not be offered unless it is supported by the configured processor. If unsure, choose 4K_PAGES. config PPC_4K_PAGES bool "4k page size" |
19f97c983 powerpc/book3s_32... |
699 |
select HAVE_ARCH_SOFT_DIRTY if PPC_BOOK3S_64 |
ca9153a3a powerpc/44x: Supp... |
700 701 |
config PPC_16K_PAGES |
55f8b5b82 powerpc/mm: Simpl... |
702 |
bool "16k page size" |
55c8fc3f4 powerpc/8xx: rein... |
703 |
depends on 44x || PPC_8xx |
ca9153a3a powerpc/44x: Supp... |
704 705 |
config PPC_64K_PAGES |
55f8b5b82 powerpc/mm: Simpl... |
706 |
bool "64k page size" |
bba436309 powerpc: Make PPC... |
707 |
depends on 44x || PPC_BOOK3S_64 |
19f97c983 powerpc/book3s_32... |
708 |
select HAVE_ARCH_SOFT_DIRTY if PPC_BOOK3S_64 |
ca9153a3a powerpc/44x: Supp... |
709 |
|
e12401222 powerpc/44x: Supp... |
710 |
config PPC_256K_PAGES |
55f8b5b82 powerpc/mm: Simpl... |
711 712 |
bool "256k page size" depends on 44x && !STDBINUTILS |
e12401222 powerpc/44x: Supp... |
713 714 715 716 717 718 719 720 721 |
help Make the page size 256k. As the ELF standard only requires alignment to support page sizes up to 64k, you will need to compile all of your user space applications with a non-standard binutils settings (see the STDBINUTILS description for details). Say N unless you know what you are doing. |
ca9153a3a powerpc/44x: Supp... |
722 |
endchoice |
3c726f8de [PATCH] ppc64: su... |
723 |
|
555f4fdb9 powerpc/kconfig: ... |
724 725 726 727 728 729 |
config PPC_PAGE_SHIFT int default 18 if PPC_256K_PAGES default 16 if PPC_64K_PAGES default 14 if PPC_16K_PAGES default 12 |
476134070 powerpc: Move THR... |
730 731 732 733 734 |
config THREAD_SHIFT int "Thread shift" if EXPERT range 13 15 default "15" if PPC_256K_PAGES default "14" if PPC64 |
edbadaf06 powerpc/kasan: Fi... |
735 |
default "14" if KASAN |
476134070 powerpc: Move THR... |
736 737 738 739 |
default "13" help Used to define the stack size. The default is almost always what you want. Only change this if you know what you are doing. |
0f4a9041c powerpc/kconfig: ... |
740 |
config DATA_SHIFT_BOOL |
da1adea07 powerpc/8xx: Allo... |
741 |
bool "Set custom data alignment" |
0f4a9041c powerpc/kconfig: ... |
742 |
depends on ADVANCED_OPTIONS |
fcdafd10a powerpc/8xx: Allo... |
743 744 745 |
depends on STRICT_KERNEL_RWX || DEBUG_PAGEALLOC depends on PPC_BOOK3S_32 || (PPC_8xx && !PIN_TLB_DATA && \ (!PIN_TLB_TEXT || !STRICT_KERNEL_RWX)) |
0f4a9041c powerpc/kconfig: ... |
746 747 748 749 750 751 |
help This option allows you to set the kernel data alignment. When RAM is mapped by blocks, the alignment needs to fit the size and number of possible blocks. The default should be OK for most configs. Say N here unless you know what you are doing. |
166d97d96 powerpc/kconfig: ... |
752 753 |
config DATA_SHIFT |
0f4a9041c powerpc/kconfig: ... |
754 |
int "Data shift" if DATA_SHIFT_BOOL |
166d97d96 powerpc/kconfig: ... |
755 |
default 24 if STRICT_KERNEL_RWX && PPC64 |
fcdafd10a powerpc/8xx: Allo... |
756 757 |
range 17 28 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC) && PPC_BOOK3S_32 range 19 23 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC) && PPC_8xx |
63b2bc619 powerpc/mm/32s: U... |
758 |
default 22 if STRICT_KERNEL_RWX && PPC_BOOK3S_32 |
2b279c034 powerpc/32s: Allo... |
759 |
default 18 if DEBUG_PAGEALLOC && PPC_BOOK3S_32 |
8f54a6f74 powerpc/kconfig: ... |
760 |
default 23 if STRICT_KERNEL_RWX && PPC_8xx |
fcdafd10a powerpc/8xx: Allo... |
761 762 |
default 23 if DEBUG_PAGEALLOC && PPC_8xx && PIN_TLB_DATA default 19 if DEBUG_PAGEALLOC && PPC_8xx |
166d97d96 powerpc/kconfig: ... |
763 |
default PPC_PAGE_SHIFT |
0f4a9041c powerpc/kconfig: ... |
764 765 766 |
help On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO. Smaller is the alignment, greater is the number of necessary DBATs. |
166d97d96 powerpc/kconfig: ... |
767 |
|
8f54a6f74 powerpc/kconfig: ... |
768 769 |
On 8xx, large pages (512kb or 8M) are used to map kernel linear memory. Aligning to 8M reduces TLB misses as only 8M pages are used |
da1adea07 powerpc/8xx: Allo... |
770 771 |
in that case. If PIN_TLB is selected, it must be aligned to 8M as 8M pages will be pinned. |
8f54a6f74 powerpc/kconfig: ... |
772 |
|
53bcddb91 [POWERPC] Fix MAX... |
773 774 |
config FORCE_MAX_ZONEORDER int "Maximum zone order" |
a7ee53958 powerpc/Kconfig: ... |
775 |
range 8 9 if PPC64 && PPC_64K_PAGES |
066c4b87e powerpc/mm: Fix d... |
776 |
default "9" if PPC64 && PPC_64K_PAGES |
d5a1e42cb powerpc/mm: Updat... |
777 |
range 13 13 if PPC64 && !PPC_64K_PAGES |
066c4b87e powerpc/mm: Fix d... |
778 779 780 781 782 783 784 |
default "13" if PPC64 && !PPC_64K_PAGES range 9 64 if PPC32 && PPC_16K_PAGES default "9" if PPC32 && PPC_16K_PAGES range 7 64 if PPC32 && PPC_64K_PAGES default "7" if PPC32 && PPC_64K_PAGES range 5 64 if PPC32 && PPC_256K_PAGES default "5" if PPC32 && PPC_256K_PAGES |
ebe40c5c4 powerpc: Enforce ... |
785 |
range 11 64 |
53bcddb91 [POWERPC] Fix MAX... |
786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 |
default "11" help The kernel memory allocator divides physically contiguous memory blocks into "zones", where each zone is a power of two number of pages. This option selects the largest power of two that the kernel keeps in the memory allocator. If you need to allocate very large blocks of physically contiguous memory, then you may need to increase this value. This config option is actually maximum order plus one. For example, a value of 11 means that the largest free memory block is 2^10 pages. The page size is not necessarily 4KB. For example, on 64-bit systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep this in mind when choosing a value for this option. |
fa28237cf [POWERPC] Provide... |
801 |
config PPC_SUBPAGE_PROT |
63396ada8 powerpc/64s/hash:... |
802 803 |
bool "Support setting protections for 4k subpages (subpage_prot syscall)" default n |
4e0037470 powerpc/64s: Repl... |
804 |
depends on PPC_BOOK3S_64 && PPC_64K_PAGES |
fa28237cf [POWERPC] Provide... |
805 |
help |
63396ada8 powerpc/64s/hash:... |
806 |
This option adds support for system call to allow user programs |
fa28237cf [POWERPC] Provide... |
807 808 |
to set access permissions (read/write, readonly, or no access) on the 4k subpages of each 64k page. |
63396ada8 powerpc/64s/hash:... |
809 |
If unsure, say N here. |
9b725a90a powerpc/64s: Disa... |
810 811 812 813 814 815 816 817 818 819 820 |
config PPC_PROT_SAO_LPAR bool "Support PROT_SAO mappings in LPARs" depends on PPC_BOOK3S_64 help This option adds support for PROT_SAO mappings from userspace inside LPARs on supported CPUs. This may cause issues when performing guest migration from a CPU that supports SAO to one that does not. If unsure, say N here. |
e83d01697 powerpc/cell: Mov... |
821 822 |
config PPC_COPRO_BASE bool |
e83d01697 powerpc/cell: Mov... |
823 |
|
14cf11af6 powerpc: Merge en... |
824 825 826 |
config SCHED_SMT bool "SMT (Hyperthreading) scheduler support" depends on PPC64 && SMP |
14cf11af6 powerpc: Merge en... |
827 828 829 830 |
help SMT scheduler support improves the CPU scheduler's decision making when dealing with POWER5 cpus at a cost of slightly increased overhead in some places. If unsure say N here. |
b92a66a65 powerpc: Add deno... |
831 832 833 |
config PPC_DENORMALISATION bool "PowerPC denormalisation exception handling" depends on PPC_BOOK3S_64 |
4e90a2a73 powerpc: On POWER... |
834 |
default "y" if PPC_POWERNV |
4f44e8aea powerpc/Kconfig: ... |
835 |
help |
b92a66a65 powerpc: Add deno... |
836 837 |
Add support for handling denormalisation of single precision values. Useful for bare metal only. If unsure say Y here. |
14cf11af6 powerpc: Merge en... |
838 |
config CMDLINE |
f134a7cef powerpc: Remove i... |
839 |
string "Initial kernel command string" |
cbe46bd4f powerpc: remove C... |
840 |
default "" |
14cf11af6 powerpc: Merge en... |
841 842 843 844 845 |
help On some platforms, there is currently no way for the boot loader to pass arguments to the kernel. For these platforms, you can supply some command-line options at build time by entering them here. In most cases you will need to specify the root device here. |
d79fbb3a3 powerpc: Support ... |
846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 |
choice prompt "Kernel command line type" if CMDLINE != "" default CMDLINE_FROM_BOOTLOADER config CMDLINE_FROM_BOOTLOADER bool "Use bootloader kernel arguments if available" help Uses the command-line options passed by the boot loader. If the boot loader doesn't provide any, the default kernel command string provided in CMDLINE will be used. config CMDLINE_EXTEND bool "Extend bootloader kernel arguments" help The command-line arguments provided by the boot loader will be appended to the default kernel command string. |
eb3b80f67 powerpc: Add "for... |
862 863 |
config CMDLINE_FORCE bool "Always use the default kernel command string" |
eb3b80f67 powerpc: Add "for... |
864 865 866 867 868 |
help Always use the default kernel command string, even if the boot loader passes other arguments to the kernel. This is useful if you cannot or don't want to change the command-line options your boot loader passes to the kernel. |
d79fbb3a3 powerpc: Support ... |
869 |
endchoice |
c356aa456 powerpc/bootwrapp... |
870 871 872 873 874 875 876 877 878 879 880 881 |
config EXTRA_TARGETS string "Additional default image types" help List additional targets to be built by the bootwrapper here (separated by spaces). This is useful for targets that depend of device tree files in the .dts directory. Targets in this list will be build as part of the default build target, or when the user does a 'make zImage' or a 'make zImage.initrd'. If unsure, leave blank |
b28f50811 Suspend: Add conf... |
882 883 884 |
config ARCH_WANTS_FREEZER_CONTROL def_bool y depends on ADB_PMU |
8636a1f96 treewide: surroun... |
885 |
source "kernel/power/Kconfig" |
14cf11af6 powerpc: Merge en... |
886 |
|
92e3da3cf powerpc: initial ... |
887 888 889 890 891 892 893 894 895 896 |
config PPC_MEM_KEYS prompt "PowerPC Memory Protection Keys" def_bool y depends on PPC_BOOK3S_64 select ARCH_USES_HIGH_VMA_FLAGS select ARCH_HAS_PKEYS help Memory Protection Keys provides a mechanism for enforcing page-based protections, but without requiring modification of the page tables when an application changes protection domains. |
1eecbcdca docs: move protec... |
897 |
For details, see Documentation/core-api/protection-keys.rst |
92e3da3cf powerpc: initial ... |
898 899 |
If unsure, say y. |
1a8916ee3 powerpc: Detect t... |
900 901 902 |
config PPC_SECURE_BOOT prompt "Enable secure boot support" bool |
5c5e46dad powerpc: PPC_SECU... |
903 |
depends on PPC_POWERNV || PPC_PSERIES |
4238fad36 powerpc/ima: Add ... |
904 |
depends on IMA_ARCH_POLICY |
9e2b4be37 ima: add a new CO... |
905 |
imply IMA_SECURE_AND_OR_TRUSTED_BOOT |
1a8916ee3 powerpc: Detect t... |
906 907 908 909 910 |
help Systems with firmware secure boot enabled need to define security policies to extend secure boot to the OS. This config allows a user to enable OS secure boot on systems that have firmware support for it. If in doubt say N. |
bd5d9c743 powerpc: expose s... |
911 912 913 914 915 916 917 918 919 920 |
config PPC_SECVAR_SYSFS bool "Enable sysfs interface for POWER secure variables" default y depends on PPC_SECURE_BOOT depends on SYSFS help POWER secure variables are managed and controlled by firmware. These variables are exposed to userspace via sysfs to enable read/write operations on these variables. Say Y if you have secure boot enabled and want to expose variables to userspace. |
bd59380c5 powerpc/rtas: Res... |
921 922 923 924 925 926 927 928 929 930 931 932 |
config PPC_RTAS_FILTER bool "Enable filtering of RTAS syscalls" default y depends on PPC_RTAS help The RTAS syscall API has security issues that could be used to compromise system integrity. This option enforces restrictions on the RTAS calls and arguments passed by userspace programs to mitigate these issues. Say Y unless you know what you are doing and the filter is causing problems for you. |
14cf11af6 powerpc: Merge en... |
933 934 935 936 |
endmenu config ISA_DMA_API bool |
3d066d77c powerpc: remove C... |
937 |
default PCI |
14cf11af6 powerpc: Merge en... |
938 939 940 941 942 |
menu "Bus options" config ISA bool "Support for ISA-bus hardware" |
933ee7119 powerpc: remove P... |
943 |
depends on PPC_CHRP |
f9bd170a8 powerpc: Merge i8... |
944 |
select PPC_I8259 |
14cf11af6 powerpc: Merge en... |
945 946 947 948 |
help Find out whether you have ISA slots on your motherboard. ISA is the name of a bus system, i.e. the way the CPU talks to the other stuff inside your box. If you have an Apple machine, say N here; if you |
933ee7119 powerpc: remove P... |
949 950 |
have an IBM RS/6000 or pSeries machine, say Y. If you have an embedded board, consult your board documentation. |
14cf11af6 powerpc: Merge en... |
951 952 953 |
config GENERIC_ISA_DMA bool |
1927445a7 powerpc: Fix GENE... |
954 |
depends on ISA_DMA_API |
14cf11af6 powerpc: Merge en... |
955 |
default y |
25635c71e ppc: Use the indi... |
956 957 958 |
config PPC_INDIRECT_PCI bool depends on PCI |
63dafe572 [PATCH] powerpc: ... |
959 |
default y if 40x || 44x |
25635c71e ppc: Use the indi... |
960 |
|
14cf11af6 powerpc: Merge en... |
961 962 |
config SBUS bool |
08264cbc9 [PATCH] powerpc: ... |
963 964 |
config FSL_SOC bool |
55c44991e [POWERPC] Create ... |
965 |
config FSL_PCI |
4f44e8aea powerpc/Kconfig: ... |
966 |
bool |
11ddce154 dma-mapping, powe... |
967 |
select ARCH_HAS_DMA_SET_MASK |
55c44991e [POWERPC] Create ... |
968 |
select PPC_INDIRECT_PCI |
d0839118f powerpc/fsl: Ensu... |
969 |
select PCI_QUIRKS |
55c44991e [POWERPC] Create ... |
970 |
|
4ffd6952a powerpc/85xx/86xx... |
971 972 |
config FSL_PMC bool |
4ffd6952a powerpc/85xx/86xx... |
973 974 975 |
help Freescale MPC85xx/MPC86xx power management controller support (suspend/resume). For MPC83xx see platforms/83xx/suspend.c |
d164f6d4f powerpc/4xx: Add ... |
976 977 978 979 980 981 982 983 |
config PPC4xx_CPM bool default y depends on SUSPEND && (44x || 40x) help PPC4xx Clock Power Management (CPM) support (suspend/resume). It also enables support for two different idle states (idle-wait and idle-doze). |
2a7069190 [POWERPC] 4xx: Ad... |
984 985 |
config 4xx_SOC bool |
acaa7aa30 [POWERPC] fsl_lbc... |
986 |
config FSL_LBC |
3ab8f2a2e P4080/eLBC: Make ... |
987 |
bool "Freescale Local Bus support" |
acaa7aa30 [POWERPC] fsl_lbc... |
988 |
help |
3ab8f2a2e P4080/eLBC: Make ... |
989 990 991 |
Enables reporting of errors from the Freescale local bus controller. Also contains some common code used by drivers for specific local bus peripherals. |
acaa7aa30 [POWERPC] fsl_lbc... |
992 |
|
83ff9dcf3 powerpc/sysdev: i... |
993 994 995 996 997 |
config FSL_GTM bool depends on PPC_83xx || QUICC_ENGINE || CPM2 help Freescale General-purpose Timers support |
14cf11af6 powerpc: Merge en... |
998 999 1000 |
config PCI_8260 bool depends on PCI && 8260 |
25635c71e ppc: Use the indi... |
1001 |
select PPC_INDIRECT_PCI |
14cf11af6 powerpc: Merge en... |
1002 |
default y |
388b78adc rapidio: modify c... |
1003 1004 |
config FSL_RIO bool "Freescale Embedded SRIO Controller support" |
1753d50c9 rapidio: consolid... |
1005 |
depends on RAPIDIO = y && HAVE_RAPIDIO |
388b78adc rapidio: modify c... |
1006 |
default "n" |
4f44e8aea powerpc/Kconfig: ... |
1007 |
help |
388b78adc rapidio: modify c... |
1008 1009 |
Include support for RapidIO controller on Freescale embedded processors (MPC8548, MPC8641, etc). |
14cf11af6 powerpc: Merge en... |
1010 |
endmenu |
0f890c8d2 powerpc: Rename m... |
1011 1012 |
config NONSTATIC_KERNEL bool |
0f890c8d2 powerpc: Rename m... |
1013 |
|
14cf11af6 powerpc: Merge en... |
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
menu "Advanced setup" depends on PPC32 config ADVANCED_OPTIONS bool "Prompt for advanced kernel configuration options" help This option will enable prompting for a variety of advanced kernel configuration options. These options can cause the kernel to not work if they are set incorrectly, but can be used to optimize certain aspects of kernel memory management. Unless you know what you are doing, say N here. comment "Default settings for advanced configuration options are used" depends on !ADVANCED_OPTIONS |
14cf11af6 powerpc: Merge en... |
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
config LOWMEM_SIZE_BOOL bool "Set maximum low memory" depends on ADVANCED_OPTIONS help This option allows you to set the maximum amount of memory which will be used as "low memory", that is, memory which the kernel can access directly, without having to set up a kernel virtual mapping. This can be useful in optimizing the layout of kernel virtual memory. Say N here unless you know what you are doing. config LOWMEM_SIZE hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL default "0x30000000" |
96051465f powerpc/fsl-booke... |
1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 |
config LOWMEM_CAM_NUM_BOOL bool "Set number of CAMs to use to map low memory" depends on ADVANCED_OPTIONS && FSL_BOOKE help This option allows you to set the maximum number of CAM slots that will be used to map low memory. There are a limited number of slots available and even more limited number that will fit in the L1 MMU. However, using more entries will allow mapping more low memory. This can be useful in optimizing the layout of kernel virtual memory. Say N here unless you know what you are doing. config LOWMEM_CAM_NUM |
9b71dbd3c powerpc: Make LOW... |
1057 |
depends on FSL_BOOKE |
96051465f powerpc/fsl-booke... |
1058 1059 |
int "Number of CAMs to use to map low memory" if LOWMEM_CAM_NUM_BOOL default 3 |
0f890c8d2 powerpc: Rename m... |
1060 |
config DYNAMIC_MEMSTART |
642e56ff5 arch/powerpc: rem... |
1061 1062 |
bool "Enable page aligned dynamic load address for kernel" depends on ADVANCED_OPTIONS && FLATMEM && (FSL_BOOKE || 44x) |
0f890c8d2 powerpc: Rename m... |
1063 1064 1065 |
select NONSTATIC_KERNEL help This option enables the kernel to be loaded at any page aligned |
4f44e8aea powerpc/Kconfig: ... |
1066 |
physical address. The kernel creates a mapping from KERNELBASE to |
0f890c8d2 powerpc: Rename m... |
1067 1068 1069 1070 1071 1072 |
the address where the kernel is loaded. The page size here implies the TLB page size of the mapping for kernel on the particular platform. Please refer to the init code for finding the TLB page size. DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE kernel image, where the only restriction is the page aligned kernel |
4f44e8aea powerpc/Kconfig: ... |
1073 |
load address. When this option is enabled, the compile time physical |
0f890c8d2 powerpc: Rename m... |
1074 |
address CONFIG_PHYSICAL_START is ignored. |
9c5f7d39a powerpc: Process ... |
1075 |
This option is overridden by CONFIG_RELOCATABLE |
37dd2badc [POWERPC] 85xx: A... |
1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 |
config PAGE_OFFSET_BOOL bool "Set custom page offset address" depends on ADVANCED_OPTIONS help This option allows you to set the kernel virtual address at which the kernel will map low memory. This can be useful in optimizing the virtual memory layout of the system. Say N here unless you know what you are doing. config PAGE_OFFSET hex "Virtual address of memory base" if PAGE_OFFSET_BOOL default "0xc0000000" |
14cf11af6 powerpc: Merge en... |
1089 1090 1091 1092 1093 |
config KERNEL_START_BOOL bool "Set custom kernel base address" depends on ADVANCED_OPTIONS help This option allows you to set the kernel virtual address at which |
37dd2badc [POWERPC] 85xx: A... |
1094 1095 1096 |
the kernel will be loaded. Normally this should match PAGE_OFFSET however there are times (like kdump) that one might not want them to be the same. |
14cf11af6 powerpc: Merge en... |
1097 1098 1099 1100 1101 |
Say N here unless you know what you are doing. config KERNEL_START hex "Virtual address of kernel base" if KERNEL_START_BOOL |
37dd2badc [POWERPC] 85xx: A... |
1102 |
default PAGE_OFFSET if PAGE_OFFSET_BOOL |
0f890c8d2 powerpc: Rename m... |
1103 |
default "0xc2000000" if CRASH_DUMP && !NONSTATIC_KERNEL |
14cf11af6 powerpc: Merge en... |
1104 |
default "0xc0000000" |
37dd2badc [POWERPC] 85xx: A... |
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 |
config PHYSICAL_START_BOOL bool "Set physical address where the kernel is loaded" depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE help This gives the physical address where the kernel is loaded. Say N here unless you know what you are doing. config PHYSICAL_START hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL |
26598f285 powerpc/kconfig: ... |
1115 |
default "0x02000000" if PPC_BOOK3S && CRASH_DUMP && !NONSTATIC_KERNEL |
37dd2badc [POWERPC] 85xx: A... |
1116 1117 1118 1119 |
default "0x00000000" config PHYSICAL_ALIGN hex |
c8f3570b7 powerpc/fsl-booke... |
1120 |
default "0x04000000" if FSL_BOOKE |
37dd2badc [POWERPC] 85xx: A... |
1121 1122 1123 1124 |
help This value puts the alignment restrictions on physical address where kernel is loaded and run from. Kernel is compiled for an address which meets above alignment restriction. |
14cf11af6 powerpc: Merge en... |
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
config TASK_SIZE_BOOL bool "Set custom user task size" depends on ADVANCED_OPTIONS help This option allows you to set the amount of virtual address space allocated to user tasks. This can be useful in optimizing the virtual memory layout of the system. Say N here unless you know what you are doing. config TASK_SIZE hex "Size of user task space" if TASK_SIZE_BOOL |
933ee7119 powerpc: remove P... |
1137 |
default "0x80000000" if PPC_8xx |
6ca055322 powerpc/32s: Use ... |
1138 |
default "0xb0000000" if PPC_BOOK3S_32 && STRICT_KERNEL_RWX |
4d9e55103 [POWERPC] Adjust ... |
1139 |
default "0xc0000000" |
14cf11af6 powerpc: Merge en... |
1140 |
endmenu |
cabb55871 powerpc: make iSe... |
1141 |
if PPC64 |
bdbc29c19 powerpc: Work aro... |
1142 |
# This value must have zeroes in the bottom 60 bits otherwise lots will break |
37dd2badc [POWERPC] 85xx: A... |
1143 1144 1145 |
config PAGE_OFFSET hex default "0xc000000000000000" |
cabb55871 powerpc: make iSe... |
1146 1147 |
config KERNEL_START hex |
eeb2d2180 powerpc: make iSe... |
1148 |
default "0xc000000000000000" |
37dd2badc [POWERPC] 85xx: A... |
1149 1150 |
config PHYSICAL_START hex |
37dd2badc [POWERPC] 85xx: A... |
1151 |
default "0x00000000" |
cabb55871 powerpc: make iSe... |
1152 |
endif |
a4da0d50b powerpc: Implemen... |
1153 1154 |
config ARCH_RANDOM def_bool n |
1088a2099 [POWERPC] rheap: ... |
1155 1156 |
config PPC_LIB_RHEAP bool |
bbf45ba57 KVM: ppc: PowerPC... |
1157 |
source "arch/powerpc/kvm/Kconfig" |
85baa0954 powerpc/livepatch... |
1158 1159 |
source "kernel/livepatch/Kconfig" |