3 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4 select ARCH_WANT_OPTIONAL_GPIOLIB
5 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
6 select ARCH_WANT_FRAME_POINTERS
10 select CLONE_BACKWARDS
12 select GENERIC_CLOCKEVENTS
14 select GENERIC_IRQ_PROBE
15 select GENERIC_IRQ_SHOW
16 select GENERIC_SMP_IDLE_THREAD
17 select GENERIC_TIME_VSYSCALL
18 select HARDIRQS_SW_RESEND
19 select HAVE_ARCH_TRACEHOOK
20 select HAVE_DEBUG_BUGVERBOSE
21 select HAVE_DEBUG_KMEMLEAK
22 select HAVE_DMA_API_DEBUG
24 select HAVE_GENERIC_DMA_COHERENT
25 select HAVE_GENERIC_HARDIRQS
26 select HAVE_HW_BREAKPOINT if PERF_EVENTS
28 select HAVE_PERF_EVENTS
30 select MODULES_USE_ELF_RELA
33 select OF_EARLY_FLATTREE
34 select PERF_USE_VMALLOC
39 select SYSCTL_EXCEPTION_TRACE
41 ARM 64-bit (AArch64) Linux support.
46 config ARCH_PHYS_ADDR_T_64BIT
55 config STACKTRACE_SUPPORT
58 config LOCKDEP_SUPPORT
61 config TRACE_IRQFLAGS_SUPPORT
64 config GENERIC_LOCKBREAK
66 depends on SMP && PREEMPT
68 config RWSEM_GENERIC_SPINLOCK
71 config GENERIC_HWEIGHT
77 config GENERIC_CALIBRATE_DELAY
83 config ARCH_DMA_ADDR_T_64BIT
86 config NEED_DMA_MAP_STATE
89 config NEED_SG_DMA_LENGTH
100 source "kernel/Kconfig.freezer"
102 menu "Platform selection"
105 bool "ARMv8 software model (Versatile Express)"
106 select ARCH_REQUIRE_GPIOLIB
107 select COMMON_CLK_VERSATILE
108 select POWER_RESET_VEXPRESS
109 select VEXPRESS_CONFIG
111 This enables support for the ARMv8 software model (Versatile
123 menu "Kernel Features"
125 menu "ARM errata workarounds"
127 config ARM64_ERRATUM_845719
128 bool "Cortex-A53: 845719: a load might read incorrect data"
132 This option adds an alternative code sequence to work around ARM
133 erratum 845719 on Cortex-A53 parts up to r0p4.
135 When running a compat (AArch32) userspace on an affected Cortex-A53
136 part, a load at EL0 from a virtual address that matches the bottom 32
137 bits of the virtual address used by a recent load at (AArch64) EL1
138 might return incorrect data.
140 The workaround is to write the contextidr_el1 register on exception
141 return to a 32-bit task.
142 Please note that this does not necessarily enable the workaround,
143 as it depends on the alternative framework, which will only patch
144 the kernel if an affected CPU is detected.
151 config ARM64_64K_PAGES
152 bool "Enable 64KB pages support"
154 This feature enables 64KB pages support (4KB by default)
155 allowing only two levels of page tables and faster TLB
156 look-up. AArch32 emulation is not available when this feature
160 bool "Symmetric Multi-Processing"
161 select USE_GENERIC_SMP_HELPERS
163 This enables support for systems with more than one CPU. If
164 you say N here, the kernel will run on single and
165 multiprocessor machines, but will use only one CPU of a
166 multiprocessor machine. If you say Y here, the kernel will run
167 on many, but not all, single processor machines. On a single
168 processor machine, the kernel will run faster if you say N
171 If you don't know what to do here, say N.
174 int "Maximum number of CPUs (2-32)"
179 source kernel/Kconfig.preempt
185 config ARCH_HAS_HOLES_MEMORYMODEL
186 def_bool y if SPARSEMEM
188 config ARCH_SPARSEMEM_ENABLE
190 select SPARSEMEM_VMEMMAP_ENABLE
192 config ARCH_SPARSEMEM_DEFAULT
193 def_bool ARCH_SPARSEMEM_ENABLE
195 config ARCH_SELECT_MEMORY_MODEL
196 def_bool ARCH_SPARSEMEM_ENABLE
198 config HAVE_ARCH_PFN_VALID
199 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
201 config HW_PERF_EVENTS
202 bool "Enable hardware performance counter support for perf events"
203 depends on PERF_EVENTS
206 Enable hardware performance counter support for perf events. If
207 disabled, perf events will use software events only.
216 string "Default kernel command string"
219 Provide a set of default command-line options at build time by
220 entering them here. As a minimum, you should specify the the
221 root device (e.g. root=/dev/nfs).
224 bool "Always use the default kernel command string"
226 Always use the default kernel command string, even if the boot
227 loader passes other arguments to the kernel.
228 This is useful if you cannot or don't want to change the
229 command-line options your boot loader passes to the kernel.
233 menu "Userspace binary formats"
235 source "fs/Kconfig.binfmt"
238 bool "Kernel support for 32-bit EL0"
239 depends on !ARM64_64K_PAGES
240 select COMPAT_BINFMT_ELF
242 select OLD_SIGSUSPEND3
243 select COMPAT_OLD_SIGACTION
245 This option enables support for a 32-bit EL0 running under a 64-bit
246 kernel at EL1. AArch32-specific components such as system calls,
247 the user helper functions, VFP support and the ptrace interface are
248 handled appropriately by the kernel.
250 If you want to execute 32-bit userspace applications, say Y.
252 config SYSVIPC_COMPAT
254 depends on COMPAT && SYSVIPC
260 source "drivers/Kconfig"
264 source "arch/arm64/Kconfig.debug"
266 source "security/Kconfig"
268 source "crypto/Kconfig"