Commit | Line | Data |
---|---|---|
8c2c3df3 CM |
1 | config ARM64 |
2 | def_bool y | |
3 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | |
5686b06c | 4 | select ARCH_USE_CMPXCHG_LOCKREF |
1f85008e | 5 | select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST |
9170100e | 6 | select ARCH_WANT_OPTIONAL_GPIOLIB |
6212a512 | 7 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION |
b6f35981 | 8 | select ARCH_WANT_FRAME_POINTERS |
25c92a37 | 9 | select ARM_AMBA |
1aee5d7a | 10 | select ARM_ARCH_TIMER |
c4188edc | 11 | select ARM_GIC |
adace895 | 12 | select BUILDTIME_EXTABLE_SORT |
db2789b5 | 13 | select CLONE_BACKWARDS |
7ca2ef33 | 14 | select COMMON_CLK |
166936ba | 15 | select CPU_PM if (SUSPEND || CPU_IDLE) |
7bc13fd3 | 16 | select DCACHE_WORD_ACCESS |
8c2c3df3 | 17 | select GENERIC_CLOCKEVENTS |
1f85008e | 18 | select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
8c2c3df3 CM |
19 | select GENERIC_IOMAP |
20 | select GENERIC_IRQ_PROBE | |
21 | select GENERIC_IRQ_SHOW | |
65cd4f6c | 22 | select GENERIC_SCHED_CLOCK |
8c2c3df3 | 23 | select GENERIC_SMP_IDLE_THREAD |
12a0ef7b WD |
24 | select GENERIC_STRNCPY_FROM_USER |
25 | select GENERIC_STRNLEN_USER | |
8c2c3df3 CM |
26 | select GENERIC_TIME_VSYSCALL |
27 | select HARDIRQS_SW_RESEND | |
9732cafd | 28 | select HAVE_ARCH_JUMP_LABEL |
8c2c3df3 | 29 | select HAVE_ARCH_TRACEHOOK |
9b2a60c4 | 30 | select HAVE_DEBUG_BUGVERBOSE |
b69ec42b | 31 | select HAVE_DEBUG_KMEMLEAK |
8c2c3df3 CM |
32 | select HAVE_DMA_API_DEBUG |
33 | select HAVE_DMA_ATTRS | |
6ac2104d | 34 | select HAVE_DMA_CONTIGUOUS |
50afc33a | 35 | select HAVE_EFFICIENT_UNALIGNED_ACCESS |
8c2c3df3 | 36 | select HAVE_GENERIC_DMA_COHERENT |
8c2c3df3 | 37 | select HAVE_HW_BREAKPOINT if PERF_EVENTS |
8c2c3df3 CM |
38 | select HAVE_MEMBLOCK |
39 | select HAVE_PERF_EVENTS | |
8c2c3df3 | 40 | select IRQ_DOMAIN |
fea2acaa | 41 | select MODULES_USE_ELF_RELA |
8c2c3df3 CM |
42 | select NO_BOOTMEM |
43 | select OF | |
44 | select OF_EARLY_FLATTREE | |
45 | select PERF_USE_VMALLOC | |
aa1e8ec1 CM |
46 | select POWER_RESET |
47 | select POWER_SUPPLY | |
8c2c3df3 CM |
48 | select RTC_LIB |
49 | select SPARSE_IRQ | |
7ac57a89 | 50 | select SYSCTL_EXCEPTION_TRACE |
8c2c3df3 CM |
51 | help |
52 | ARM 64-bit (AArch64) Linux support. | |
53 | ||
54 | config 64BIT | |
55 | def_bool y | |
56 | ||
57 | config ARCH_PHYS_ADDR_T_64BIT | |
58 | def_bool y | |
59 | ||
60 | config MMU | |
61 | def_bool y | |
62 | ||
63 | config NO_IOPORT | |
64 | def_bool y | |
65 | ||
66 | config STACKTRACE_SUPPORT | |
67 | def_bool y | |
68 | ||
69 | config LOCKDEP_SUPPORT | |
70 | def_bool y | |
71 | ||
72 | config TRACE_IRQFLAGS_SUPPORT | |
73 | def_bool y | |
74 | ||
8c2c3df3 CM |
75 | config RWSEM_GENERIC_SPINLOCK |
76 | def_bool y | |
77 | ||
78 | config GENERIC_HWEIGHT | |
79 | def_bool y | |
80 | ||
81 | config GENERIC_CSUM | |
82 | def_bool y | |
83 | ||
84 | config GENERIC_CALIBRATE_DELAY | |
85 | def_bool y | |
86 | ||
87 | config ZONE_DMA32 | |
88 | def_bool y | |
89 | ||
90 | config ARCH_DMA_ADDR_T_64BIT | |
91 | def_bool y | |
92 | ||
93 | config NEED_DMA_MAP_STATE | |
94 | def_bool y | |
95 | ||
96 | config NEED_SG_DMA_LENGTH | |
97 | def_bool y | |
98 | ||
99 | config SWIOTLB | |
100 | def_bool y | |
101 | ||
102 | config IOMMU_HELPER | |
103 | def_bool SWIOTLB | |
104 | ||
4cfb3613 AB |
105 | config KERNEL_MODE_NEON |
106 | def_bool y | |
107 | ||
8c2c3df3 CM |
108 | source "init/Kconfig" |
109 | ||
110 | source "kernel/Kconfig.freezer" | |
111 | ||
1ae90e79 CM |
112 | menu "Platform selection" |
113 | ||
114 | config ARCH_VEXPRESS | |
115 | bool "ARMv8 software model (Versatile Express)" | |
116 | select ARCH_REQUIRE_GPIOLIB | |
117 | select COMMON_CLK_VERSATILE | |
aa1e8ec1 | 118 | select POWER_RESET_VEXPRESS |
1ae90e79 CM |
119 | select VEXPRESS_CONFIG |
120 | help | |
121 | This enables support for the ARMv8 software model (Versatile | |
122 | Express). | |
8c2c3df3 | 123 | |
15942853 VK |
124 | config ARCH_XGENE |
125 | bool "AppliedMicro X-Gene SOC Family" | |
126 | help | |
127 | This enables support for AppliedMicro X-Gene SOC Family | |
128 | ||
8c2c3df3 CM |
129 | endmenu |
130 | ||
131 | menu "Bus support" | |
132 | ||
133 | config ARM_AMBA | |
134 | bool | |
135 | ||
136 | endmenu | |
137 | ||
138 | menu "Kernel Features" | |
139 | ||
8c2c3df3 CM |
140 | config ARM64_64K_PAGES |
141 | bool "Enable 64KB pages support" | |
142 | help | |
143 | This feature enables 64KB pages support (4KB by default) | |
144 | allowing only two levels of page tables and faster TLB | |
145 | look-up. AArch32 emulation is not available when this feature | |
146 | is enabled. | |
147 | ||
a872013d WD |
148 | config CPU_BIG_ENDIAN |
149 | bool "Build big-endian kernel" | |
150 | help | |
151 | Say Y if you plan on running a kernel in big-endian mode. | |
152 | ||
8c2c3df3 CM |
153 | config SMP |
154 | bool "Symmetric Multi-Processing" | |
8c2c3df3 CM |
155 | help |
156 | This enables support for systems with more than one CPU. If | |
157 | you say N here, the kernel will run on single and | |
158 | multiprocessor machines, but will use only one CPU of a | |
159 | multiprocessor machine. If you say Y here, the kernel will run | |
160 | on many, but not all, single processor machines. On a single | |
161 | processor machine, the kernel will run faster if you say N | |
162 | here. | |
163 | ||
164 | If you don't know what to do here, say N. | |
165 | ||
166 | config NR_CPUS | |
167 | int "Maximum number of CPUs (2-32)" | |
168 | range 2 32 | |
169 | depends on SMP | |
15942853 | 170 | # These have to remain sorted largest to smallest |
62aceb8f | 171 | default "8" |
8c2c3df3 | 172 | |
9327e2c6 MR |
173 | config HOTPLUG_CPU |
174 | bool "Support for hot-pluggable CPUs" | |
175 | depends on SMP | |
176 | help | |
177 | Say Y here to experiment with turning CPUs off and on. CPUs | |
178 | can be controlled through /sys/devices/system/cpu. | |
179 | ||
8c2c3df3 CM |
180 | source kernel/Kconfig.preempt |
181 | ||
182 | config HZ | |
183 | int | |
184 | default 100 | |
185 | ||
186 | config ARCH_HAS_HOLES_MEMORYMODEL | |
187 | def_bool y if SPARSEMEM | |
188 | ||
189 | config ARCH_SPARSEMEM_ENABLE | |
190 | def_bool y | |
191 | select SPARSEMEM_VMEMMAP_ENABLE | |
192 | ||
193 | config ARCH_SPARSEMEM_DEFAULT | |
194 | def_bool ARCH_SPARSEMEM_ENABLE | |
195 | ||
196 | config ARCH_SELECT_MEMORY_MODEL | |
197 | def_bool ARCH_SPARSEMEM_ENABLE | |
198 | ||
199 | config HAVE_ARCH_PFN_VALID | |
200 | def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM | |
201 | ||
202 | config HW_PERF_EVENTS | |
203 | bool "Enable hardware performance counter support for perf events" | |
204 | depends on PERF_EVENTS | |
205 | default y | |
206 | help | |
207 | Enable hardware performance counter support for perf events. If | |
208 | disabled, perf events will use software events only. | |
209 | ||
084bd298 SC |
210 | config SYS_SUPPORTS_HUGETLBFS |
211 | def_bool y | |
212 | ||
213 | config ARCH_WANT_GENERAL_HUGETLB | |
214 | def_bool y | |
215 | ||
216 | config ARCH_WANT_HUGE_PMD_SHARE | |
217 | def_bool y if !ARM64_64K_PAGES | |
218 | ||
af074848 SC |
219 | config HAVE_ARCH_TRANSPARENT_HUGEPAGE |
220 | def_bool y | |
221 | ||
8c2c3df3 CM |
222 | source "mm/Kconfig" |
223 | ||
aa42aa13 SS |
224 | config XEN_DOM0 |
225 | def_bool y | |
226 | depends on XEN | |
227 | ||
228 | config XEN | |
229 | bool "Xen guest support on ARM64 (EXPERIMENTAL)" | |
230 | depends on ARM64 && OF | |
83862ccf | 231 | select SWIOTLB_XEN |
aa42aa13 SS |
232 | help |
233 | Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64. | |
234 | ||
d03bb145 SC |
235 | config FORCE_MAX_ZONEORDER |
236 | int | |
237 | default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE) | |
238 | default "11" | |
239 | ||
8c2c3df3 CM |
240 | endmenu |
241 | ||
242 | menu "Boot options" | |
243 | ||
244 | config CMDLINE | |
245 | string "Default kernel command string" | |
246 | default "" | |
247 | help | |
248 | Provide a set of default command-line options at build time by | |
249 | entering them here. As a minimum, you should specify the the | |
250 | root device (e.g. root=/dev/nfs). | |
251 | ||
252 | config CMDLINE_FORCE | |
253 | bool "Always use the default kernel command string" | |
254 | help | |
255 | Always use the default kernel command string, even if the boot | |
256 | loader passes other arguments to the kernel. | |
257 | This is useful if you cannot or don't want to change the | |
258 | command-line options your boot loader passes to the kernel. | |
259 | ||
260 | endmenu | |
261 | ||
262 | menu "Userspace binary formats" | |
263 | ||
264 | source "fs/Kconfig.binfmt" | |
265 | ||
266 | config COMPAT | |
267 | bool "Kernel support for 32-bit EL0" | |
268 | depends on !ARM64_64K_PAGES | |
269 | select COMPAT_BINFMT_ELF | |
af1839eb | 270 | select HAVE_UID16 |
84b9e9b4 | 271 | select OLD_SIGSUSPEND3 |
51682036 | 272 | select COMPAT_OLD_SIGACTION |
8c2c3df3 CM |
273 | help |
274 | This option enables support for a 32-bit EL0 running under a 64-bit | |
275 | kernel at EL1. AArch32-specific components such as system calls, | |
276 | the user helper functions, VFP support and the ptrace interface are | |
277 | handled appropriately by the kernel. | |
278 | ||
279 | If you want to execute 32-bit userspace applications, say Y. | |
280 | ||
281 | config SYSVIPC_COMPAT | |
282 | def_bool y | |
283 | depends on COMPAT && SYSVIPC | |
284 | ||
285 | endmenu | |
286 | ||
166936ba LP |
287 | menu "Power management options" |
288 | ||
289 | source "kernel/power/Kconfig" | |
290 | ||
291 | config ARCH_SUSPEND_POSSIBLE | |
292 | def_bool y | |
293 | ||
294 | config ARM64_CPU_SUSPEND | |
295 | def_bool PM_SLEEP | |
296 | ||
297 | endmenu | |
298 | ||
1307220d LP |
299 | menu "CPU Power Management" |
300 | ||
301 | source "drivers/cpuidle/Kconfig" | |
302 | ||
303 | endmenu | |
304 | ||
8c2c3df3 CM |
305 | source "net/Kconfig" |
306 | ||
307 | source "drivers/Kconfig" | |
308 | ||
309 | source "fs/Kconfig" | |
310 | ||
c3eb5b14 MZ |
311 | source "arch/arm64/kvm/Kconfig" |
312 | ||
8c2c3df3 CM |
313 | source "arch/arm64/Kconfig.debug" |
314 | ||
315 | source "security/Kconfig" | |
316 | ||
317 | source "crypto/Kconfig" | |
318 | ||
319 | source "lib/Kconfig" |