3 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
5 select ARCH_USE_CMPXCHG_LOCKREF
6 select ARCH_SUPPORTS_ATOMIC_RMW
7 select ARCH_WANT_OPTIONAL_GPIOLIB
8 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
9 select ARCH_WANT_FRAME_POINTERS
13 select AUDIT_ARCH_COMPAT_GENERIC
15 select BUILDTIME_EXTABLE_SORT
16 select CLONE_BACKWARDS
18 select CPU_PM if (SUSPEND || CPU_IDLE)
19 select DCACHE_WORD_ACCESS
20 select GENERIC_CLOCKEVENTS
21 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
22 select GENERIC_CPU_AUTOPROBE
23 select GENERIC_EARLY_IOREMAP
25 select GENERIC_IRQ_PROBE
26 select GENERIC_IRQ_SHOW
27 select GENERIC_SCHED_CLOCK
28 select GENERIC_SMP_IDLE_THREAD
29 select GENERIC_STRNCPY_FROM_USER
30 select GENERIC_STRNLEN_USER
31 select GENERIC_TIME_VSYSCALL
32 select HARDIRQS_SW_RESEND
33 select HAVE_ARCH_AUDITSYSCALL
34 select HAVE_ARCH_JUMP_LABEL
36 select HAVE_ARCH_TRACEHOOK
37 select HAVE_C_RECORDMCOUNT
38 select HAVE_CC_STACKPROTECTOR
39 select HAVE_DEBUG_BUGVERBOSE
40 select HAVE_DEBUG_KMEMLEAK
41 select HAVE_DMA_API_DEBUG
43 select HAVE_DMA_CONTIGUOUS
44 select HAVE_DYNAMIC_FTRACE
45 select HAVE_EFFICIENT_UNALIGNED_ACCESS
46 select HAVE_FTRACE_MCOUNT_RECORD
47 select HAVE_FUNCTION_TRACER
48 select HAVE_FUNCTION_GRAPH_TRACER
49 select HAVE_GENERIC_DMA_COHERENT
50 select HAVE_HW_BREAKPOINT if PERF_EVENTS
52 select HAVE_PATA_PLATFORM
53 select HAVE_PERF_EVENTS
55 select HAVE_PERF_USER_STACK_DUMP
56 select HAVE_SYSCALL_TRACEPOINTS
58 select MODULES_USE_ELF_RELA
61 select OF_EARLY_FLATTREE
62 select OF_RESERVED_MEM
63 select PERF_USE_VMALLOC
68 select SYSCTL_EXCEPTION_TRACE
69 select HAVE_CONTEXT_TRACKING
71 ARM 64-bit (AArch64) Linux support.
76 config ARCH_PHYS_ADDR_T_64BIT
85 config STACKTRACE_SUPPORT
88 config LOCKDEP_SUPPORT
91 config TRACE_IRQFLAGS_SUPPORT
94 config RWSEM_XCHGADD_ALGORITHM
97 config GENERIC_HWEIGHT
103 config GENERIC_CALIBRATE_DELAY
109 config ARCH_DMA_ADDR_T_64BIT
112 config NEED_DMA_MAP_STATE
115 config NEED_SG_DMA_LENGTH
124 config KERNEL_MODE_NEON
127 config FIX_EARLYCON_MEM
130 source "init/Kconfig"
132 source "kernel/Kconfig.freezer"
134 menu "Platform selection"
137 bool "ARMv8 software model (Versatile Express)"
138 select ARCH_REQUIRE_GPIOLIB
139 select COMMON_CLK_VERSATILE
140 select POWER_RESET_VEXPRESS
141 select VEXPRESS_CONFIG
143 This enables support for the ARMv8 software model (Versatile
147 bool "AppliedMicro X-Gene SOC Family"
149 This enables support for AppliedMicro X-Gene SOC Family
160 menu "Kernel Features"
164 default ARM64_4K_PAGES
166 Page size (translation granule) configuration.
168 config ARM64_4K_PAGES
171 This feature enables 4KB pages support.
173 config ARM64_64K_PAGES
176 This feature enables 64KB pages support (4KB by default)
177 allowing only two levels of page tables and faster TLB
178 look-up. AArch32 emulation is not available when this feature
184 prompt "Virtual address space size"
185 default ARM64_VA_BITS_39 if ARM64_4K_PAGES
186 default ARM64_VA_BITS_42 if ARM64_64K_PAGES
188 Allows choosing one of multiple possible virtual address
189 space sizes. The level of translation table is determined by
190 a combination of page size and virtual address space size.
192 config ARM64_VA_BITS_39
194 depends on ARM64_4K_PAGES
196 config ARM64_VA_BITS_42
198 depends on ARM64_64K_PAGES
200 config ARM64_VA_BITS_48
208 default 39 if ARM64_VA_BITS_39
209 default 42 if ARM64_VA_BITS_42
210 default 48 if ARM64_VA_BITS_48
212 config ARM64_PGTABLE_LEVELS
214 default 2 if ARM64_64K_PAGES && ARM64_VA_BITS_42
215 default 3 if ARM64_64K_PAGES && ARM64_VA_BITS_48
216 default 3 if ARM64_4K_PAGES && ARM64_VA_BITS_39
217 default 4 if ARM64_4K_PAGES && ARM64_VA_BITS_48
219 config CPU_BIG_ENDIAN
220 bool "Build big-endian kernel"
222 Say Y if you plan on running a kernel in big-endian mode.
225 bool "Symmetric Multi-Processing"
227 This enables support for systems with more than one CPU. If
228 you say N here, the kernel will run on single and
229 multiprocessor machines, but will use only one CPU of a
230 multiprocessor machine. If you say Y here, the kernel will run
231 on many, but not all, single processor machines. On a single
232 processor machine, the kernel will run faster if you say N
235 If you don't know what to do here, say N.
238 bool "Multi-core scheduler support"
241 Multi-core scheduler support improves the CPU scheduler's decision
242 making when dealing with multi-core CPU chips at a cost of slightly
243 increased overhead in some places. If unsure say N here.
246 bool "SMT scheduler support"
249 Improves the CPU scheduler's decision making when dealing with
250 MultiThreading at a cost of slightly increased overhead in some
251 places. If unsure say N here.
254 int "Maximum number of CPUs (2-32)"
257 # These have to remain sorted largest to smallest
261 bool "Support for hot-pluggable CPUs"
264 Say Y here to experiment with turning CPUs off and on. CPUs
265 can be controlled through /sys/devices/system/cpu.
267 source kernel/Kconfig.preempt
273 config ARCH_HAS_HOLES_MEMORYMODEL
274 def_bool y if SPARSEMEM
276 config ARCH_SPARSEMEM_ENABLE
278 select SPARSEMEM_VMEMMAP_ENABLE
280 config ARCH_SPARSEMEM_DEFAULT
281 def_bool ARCH_SPARSEMEM_ENABLE
283 config ARCH_SELECT_MEMORY_MODEL
284 def_bool ARCH_SPARSEMEM_ENABLE
286 config HAVE_ARCH_PFN_VALID
287 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
289 config HW_PERF_EVENTS
290 bool "Enable hardware performance counter support for perf events"
291 depends on PERF_EVENTS
294 Enable hardware performance counter support for perf events. If
295 disabled, perf events will use software events only.
297 config SYS_SUPPORTS_HUGETLBFS
300 config ARCH_WANT_GENERAL_HUGETLB
303 config ARCH_WANT_HUGE_PMD_SHARE
304 def_bool y if !ARM64_64K_PAGES
306 config HAVE_ARCH_TRANSPARENT_HUGEPAGE
309 config ARCH_HAS_CACHE_LINE_SIZE
319 bool "Xen guest support on ARM64 (EXPERIMENTAL)"
320 depends on ARM64 && OF
323 Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
325 config FORCE_MAX_ZONEORDER
327 default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
335 string "Default kernel command string"
338 Provide a set of default command-line options at build time by
339 entering them here. As a minimum, you should specify the the
340 root device (e.g. root=/dev/nfs).
343 bool "Always use the default kernel command string"
345 Always use the default kernel command string, even if the boot
346 loader passes other arguments to the kernel.
347 This is useful if you cannot or don't want to change the
348 command-line options your boot loader passes to the kernel.
354 bool "UEFI runtime support"
355 depends on OF && !CPU_BIG_ENDIAN
358 select EFI_PARAMS_FROM_FDT
359 select EFI_RUNTIME_WRAPPERS
364 This option provides support for runtime services provided
365 by UEFI firmware (such as non-volatile variables, realtime
366 clock, and platform reset). A UEFI stub is also provided to
367 allow the kernel to be booted as an EFI application. This
368 is only useful on systems that have UEFI firmware.
372 menu "Userspace binary formats"
374 source "fs/Kconfig.binfmt"
377 bool "Kernel support for 32-bit EL0"
378 depends on !ARM64_64K_PAGES
379 select COMPAT_BINFMT_ELF
381 select OLD_SIGSUSPEND3
382 select COMPAT_OLD_SIGACTION
384 This option enables support for a 32-bit EL0 running under a 64-bit
385 kernel at EL1. AArch32-specific components such as system calls,
386 the user helper functions, VFP support and the ptrace interface are
387 handled appropriately by the kernel.
389 If you want to execute 32-bit userspace applications, say Y.
391 config SYSVIPC_COMPAT
393 depends on COMPAT && SYSVIPC
397 menu "Power management options"
399 source "kernel/power/Kconfig"
401 config ARCH_SUSPEND_POSSIBLE
404 config ARM64_CPU_SUSPEND
409 menu "CPU Power Management"
411 source "drivers/cpuidle/Kconfig"
413 source "drivers/cpufreq/Kconfig"
419 source "drivers/Kconfig"
421 source "drivers/firmware/Kconfig"
425 source "arch/arm64/kvm/Kconfig"
427 source "arch/arm64/Kconfig.debug"
429 source "security/Kconfig"
431 source "crypto/Kconfig"
433 source "arch/arm64/crypto/Kconfig"