3 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4 select ARCH_HAS_SG_CHAIN
5 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
6 select ARCH_USE_CMPXCHG_LOCKREF
7 select ARCH_SUPPORTS_ATOMIC_RMW
8 select ARCH_WANT_OPTIONAL_GPIOLIB
9 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
10 select ARCH_WANT_FRAME_POINTERS
14 select AUDIT_ARCH_COMPAT_GENERIC
16 select BUILDTIME_EXTABLE_SORT
17 select CLONE_BACKWARDS
19 select CPU_PM if (SUSPEND || CPU_IDLE)
20 select DCACHE_WORD_ACCESS
21 select GENERIC_CLOCKEVENTS
22 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
23 select GENERIC_CPU_AUTOPROBE
24 select GENERIC_EARLY_IOREMAP
26 select GENERIC_IRQ_PROBE
27 select GENERIC_IRQ_SHOW
28 select GENERIC_SCHED_CLOCK
29 select GENERIC_SMP_IDLE_THREAD
30 select GENERIC_STRNCPY_FROM_USER
31 select GENERIC_STRNLEN_USER
32 select GENERIC_TIME_VSYSCALL
33 select HARDIRQS_SW_RESEND
34 select HAVE_ARCH_AUDITSYSCALL
35 select HAVE_ARCH_JUMP_LABEL
37 select HAVE_ARCH_TRACEHOOK
39 select HAVE_C_RECORDMCOUNT
40 select HAVE_CC_STACKPROTECTOR
41 select HAVE_DEBUG_BUGVERBOSE
42 select HAVE_DEBUG_KMEMLEAK
43 select HAVE_DMA_API_DEBUG
45 select HAVE_DMA_CONTIGUOUS
46 select HAVE_DYNAMIC_FTRACE
47 select HAVE_EFFICIENT_UNALIGNED_ACCESS
48 select HAVE_FTRACE_MCOUNT_RECORD
49 select HAVE_FUNCTION_TRACER
50 select HAVE_FUNCTION_GRAPH_TRACER
51 select HAVE_GENERIC_DMA_COHERENT
52 select HAVE_HW_BREAKPOINT if PERF_EVENTS
54 select HAVE_PATA_PLATFORM
55 select HAVE_PERF_EVENTS
57 select HAVE_PERF_USER_STACK_DUMP
58 select HAVE_SYSCALL_TRACEPOINTS
60 select MODULES_USE_ELF_RELA
63 select OF_EARLY_FLATTREE
64 select OF_RESERVED_MEM
65 select PERF_USE_VMALLOC
70 select SYSCTL_EXCEPTION_TRACE
71 select HAVE_CONTEXT_TRACKING
73 ARM 64-bit (AArch64) Linux support.
78 config ARCH_PHYS_ADDR_T_64BIT
87 config STACKTRACE_SUPPORT
90 config LOCKDEP_SUPPORT
93 config TRACE_IRQFLAGS_SUPPORT
96 config RWSEM_XCHGADD_ALGORITHM
99 config GENERIC_HWEIGHT
105 config GENERIC_CALIBRATE_DELAY
111 config ARCH_DMA_ADDR_T_64BIT
114 config NEED_DMA_MAP_STATE
117 config NEED_SG_DMA_LENGTH
126 config KERNEL_MODE_NEON
129 config FIX_EARLYCON_MEM
132 source "init/Kconfig"
134 source "kernel/Kconfig.freezer"
136 menu "Platform selection"
139 bool "Cavium Inc. Thunder SoC Family"
141 This enables support for Cavium's Thunder Family of SoCs.
144 bool "ARMv8 software model (Versatile Express)"
145 select ARCH_REQUIRE_GPIOLIB
146 select COMMON_CLK_VERSATILE
147 select POWER_RESET_VEXPRESS
148 select VEXPRESS_CONFIG
150 This enables support for the ARMv8 software model (Versatile
154 bool "AppliedMicro X-Gene SOC Family"
156 This enables support for AppliedMicro X-Gene SOC Family
167 menu "Kernel Features"
171 default ARM64_4K_PAGES
173 Page size (translation granule) configuration.
175 config ARM64_4K_PAGES
178 This feature enables 4KB pages support.
180 config ARM64_64K_PAGES
183 This feature enables 64KB pages support (4KB by default)
184 allowing only two levels of page tables and faster TLB
185 look-up. AArch32 emulation is not available when this feature
191 prompt "Virtual address space size"
192 default ARM64_VA_BITS_39 if ARM64_4K_PAGES
193 default ARM64_VA_BITS_42 if ARM64_64K_PAGES
195 Allows choosing one of multiple possible virtual address
196 space sizes. The level of translation table is determined by
197 a combination of page size and virtual address space size.
199 config ARM64_VA_BITS_39
201 depends on ARM64_4K_PAGES
203 config ARM64_VA_BITS_42
205 depends on ARM64_64K_PAGES
207 config ARM64_VA_BITS_48
215 default 39 if ARM64_VA_BITS_39
216 default 42 if ARM64_VA_BITS_42
217 default 48 if ARM64_VA_BITS_48
219 config ARM64_PGTABLE_LEVELS
221 default 2 if ARM64_64K_PAGES && ARM64_VA_BITS_42
222 default 3 if ARM64_64K_PAGES && ARM64_VA_BITS_48
223 default 3 if ARM64_4K_PAGES && ARM64_VA_BITS_39
224 default 4 if ARM64_4K_PAGES && ARM64_VA_BITS_48
226 config CPU_BIG_ENDIAN
227 bool "Build big-endian kernel"
229 Say Y if you plan on running a kernel in big-endian mode.
232 bool "Symmetric Multi-Processing"
234 This enables support for systems with more than one CPU. If
235 you say N here, the kernel will run on single and
236 multiprocessor machines, but will use only one CPU of a
237 multiprocessor machine. If you say Y here, the kernel will run
238 on many, but not all, single processor machines. On a single
239 processor machine, the kernel will run faster if you say N
242 If you don't know what to do here, say N.
245 bool "Multi-core scheduler support"
248 Multi-core scheduler support improves the CPU scheduler's decision
249 making when dealing with multi-core CPU chips at a cost of slightly
250 increased overhead in some places. If unsure say N here.
253 bool "SMT scheduler support"
256 Improves the CPU scheduler's decision making when dealing with
257 MultiThreading at a cost of slightly increased overhead in some
258 places. If unsure say N here.
261 int "Maximum number of CPUs (2-64)"
264 # These have to remain sorted largest to smallest
268 bool "Support for hot-pluggable CPUs"
271 Say Y here to experiment with turning CPUs off and on. CPUs
272 can be controlled through /sys/devices/system/cpu.
274 source kernel/Kconfig.preempt
280 config ARCH_HAS_HOLES_MEMORYMODEL
281 def_bool y if SPARSEMEM
283 config ARCH_SPARSEMEM_ENABLE
285 select SPARSEMEM_VMEMMAP_ENABLE
287 config ARCH_SPARSEMEM_DEFAULT
288 def_bool ARCH_SPARSEMEM_ENABLE
290 config ARCH_SELECT_MEMORY_MODEL
291 def_bool ARCH_SPARSEMEM_ENABLE
293 config HAVE_ARCH_PFN_VALID
294 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
296 config HW_PERF_EVENTS
297 bool "Enable hardware performance counter support for perf events"
298 depends on PERF_EVENTS
301 Enable hardware performance counter support for perf events. If
302 disabled, perf events will use software events only.
304 config SYS_SUPPORTS_HUGETLBFS
307 config ARCH_WANT_GENERAL_HUGETLB
310 config ARCH_WANT_HUGE_PMD_SHARE
311 def_bool y if !ARM64_64K_PAGES
313 config HAVE_ARCH_TRANSPARENT_HUGEPAGE
316 config ARCH_HAS_CACHE_LINE_SIZE
326 bool "Xen guest support on ARM64 (EXPERIMENTAL)"
327 depends on ARM64 && OF
330 Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
332 config FORCE_MAX_ZONEORDER
334 default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
342 string "Default kernel command string"
345 Provide a set of default command-line options at build time by
346 entering them here. As a minimum, you should specify the the
347 root device (e.g. root=/dev/nfs).
350 bool "Always use the default kernel command string"
352 Always use the default kernel command string, even if the boot
353 loader passes other arguments to the kernel.
354 This is useful if you cannot or don't want to change the
355 command-line options your boot loader passes to the kernel.
361 bool "UEFI runtime support"
362 depends on OF && !CPU_BIG_ENDIAN
365 select EFI_PARAMS_FROM_FDT
366 select EFI_RUNTIME_WRAPPERS
371 This option provides support for runtime services provided
372 by UEFI firmware (such as non-volatile variables, realtime
373 clock, and platform reset). A UEFI stub is also provided to
374 allow the kernel to be booted as an EFI application. This
375 is only useful on systems that have UEFI firmware.
379 menu "Userspace binary formats"
381 source "fs/Kconfig.binfmt"
384 bool "Kernel support for 32-bit EL0"
385 depends on !ARM64_64K_PAGES
386 select COMPAT_BINFMT_ELF
388 select OLD_SIGSUSPEND3
389 select COMPAT_OLD_SIGACTION
391 This option enables support for a 32-bit EL0 running under a 64-bit
392 kernel at EL1. AArch32-specific components such as system calls,
393 the user helper functions, VFP support and the ptrace interface are
394 handled appropriately by the kernel.
396 If you want to execute 32-bit userspace applications, say Y.
398 config SYSVIPC_COMPAT
400 depends on COMPAT && SYSVIPC
404 menu "Power management options"
406 source "kernel/power/Kconfig"
408 config ARCH_SUSPEND_POSSIBLE
411 config ARM64_CPU_SUSPEND
416 menu "CPU Power Management"
418 source "drivers/cpuidle/Kconfig"
420 source "drivers/cpufreq/Kconfig"
426 source "drivers/Kconfig"
428 source "drivers/firmware/Kconfig"
432 source "arch/arm64/kvm/Kconfig"
434 source "arch/arm64/Kconfig.debug"
436 source "security/Kconfig"
438 source "crypto/Kconfig"
440 source "arch/arm64/crypto/Kconfig"