Commit | Line | Data |
---|---|---|
8c2c3df3 CM |
1 | config ARM64 |
2 | def_bool y | |
3 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | |
4 | select GENERIC_CLOCKEVENTS | |
5 | select GENERIC_HARDIRQS_NO_DEPRECATED | |
6 | select GENERIC_IOMAP | |
7 | select GENERIC_IRQ_PROBE | |
8 | select GENERIC_IRQ_SHOW | |
c34501d2 | 9 | select GENERIC_KERNEL_THREAD |
8c2c3df3 CM |
10 | select GENERIC_SMP_IDLE_THREAD |
11 | select GENERIC_TIME_VSYSCALL | |
12 | select HARDIRQS_SW_RESEND | |
13 | select HAVE_ARCH_TRACEHOOK | |
9b2a60c4 | 14 | select HAVE_DEBUG_BUGVERBOSE |
b69ec42b | 15 | select HAVE_DEBUG_KMEMLEAK |
8c2c3df3 CM |
16 | select HAVE_DMA_API_DEBUG |
17 | select HAVE_DMA_ATTRS | |
18 | select HAVE_GENERIC_DMA_COHERENT | |
19 | select HAVE_GENERIC_HARDIRQS | |
20 | select HAVE_HW_BREAKPOINT if PERF_EVENTS | |
21 | select HAVE_IRQ_WORK | |
22 | select HAVE_MEMBLOCK | |
23 | select HAVE_PERF_EVENTS | |
24 | select HAVE_SPARSE_IRQ | |
25 | select IRQ_DOMAIN | |
26 | select NO_BOOTMEM | |
27 | select OF | |
28 | select OF_EARLY_FLATTREE | |
29 | select PERF_USE_VMALLOC | |
30 | select RTC_LIB | |
31 | select SPARSE_IRQ | |
7ac57a89 | 32 | select SYSCTL_EXCEPTION_TRACE |
8c2c3df3 CM |
33 | help |
34 | ARM 64-bit (AArch64) Linux support. | |
35 | ||
36 | config 64BIT | |
37 | def_bool y | |
38 | ||
39 | config ARCH_PHYS_ADDR_T_64BIT | |
40 | def_bool y | |
41 | ||
42 | config MMU | |
43 | def_bool y | |
44 | ||
45 | config NO_IOPORT | |
46 | def_bool y | |
47 | ||
48 | config STACKTRACE_SUPPORT | |
49 | def_bool y | |
50 | ||
51 | config LOCKDEP_SUPPORT | |
52 | def_bool y | |
53 | ||
54 | config TRACE_IRQFLAGS_SUPPORT | |
55 | def_bool y | |
56 | ||
57 | config GENERIC_LOCKBREAK | |
58 | def_bool y | |
59 | depends on SMP && PREEMPT | |
60 | ||
61 | config RWSEM_GENERIC_SPINLOCK | |
62 | def_bool y | |
63 | ||
64 | config GENERIC_HWEIGHT | |
65 | def_bool y | |
66 | ||
67 | config GENERIC_CSUM | |
68 | def_bool y | |
69 | ||
70 | config GENERIC_CALIBRATE_DELAY | |
71 | def_bool y | |
72 | ||
73 | config ZONE_DMA32 | |
74 | def_bool y | |
75 | ||
76 | config ARCH_DMA_ADDR_T_64BIT | |
77 | def_bool y | |
78 | ||
79 | config NEED_DMA_MAP_STATE | |
80 | def_bool y | |
81 | ||
82 | config NEED_SG_DMA_LENGTH | |
83 | def_bool y | |
84 | ||
85 | config SWIOTLB | |
86 | def_bool y | |
87 | ||
88 | config IOMMU_HELPER | |
89 | def_bool SWIOTLB | |
90 | ||
91 | source "init/Kconfig" | |
92 | ||
93 | source "kernel/Kconfig.freezer" | |
94 | ||
95 | menu "System Type" | |
96 | ||
97 | endmenu | |
98 | ||
99 | menu "Bus support" | |
100 | ||
101 | config ARM_AMBA | |
102 | bool | |
103 | ||
104 | endmenu | |
105 | ||
106 | menu "Kernel Features" | |
107 | ||
108 | source "kernel/time/Kconfig" | |
109 | ||
110 | config ARM64_64K_PAGES | |
111 | bool "Enable 64KB pages support" | |
112 | help | |
113 | This feature enables 64KB pages support (4KB by default) | |
114 | allowing only two levels of page tables and faster TLB | |
115 | look-up. AArch32 emulation is not available when this feature | |
116 | is enabled. | |
117 | ||
118 | config SMP | |
119 | bool "Symmetric Multi-Processing" | |
120 | select USE_GENERIC_SMP_HELPERS | |
121 | help | |
122 | This enables support for systems with more than one CPU. If | |
123 | you say N here, the kernel will run on single and | |
124 | multiprocessor machines, but will use only one CPU of a | |
125 | multiprocessor machine. If you say Y here, the kernel will run | |
126 | on many, but not all, single processor machines. On a single | |
127 | processor machine, the kernel will run faster if you say N | |
128 | here. | |
129 | ||
130 | If you don't know what to do here, say N. | |
131 | ||
132 | config NR_CPUS | |
133 | int "Maximum number of CPUs (2-32)" | |
134 | range 2 32 | |
135 | depends on SMP | |
136 | default "4" | |
137 | ||
138 | source kernel/Kconfig.preempt | |
139 | ||
140 | config HZ | |
141 | int | |
142 | default 100 | |
143 | ||
144 | config ARCH_HAS_HOLES_MEMORYMODEL | |
145 | def_bool y if SPARSEMEM | |
146 | ||
147 | config ARCH_SPARSEMEM_ENABLE | |
148 | def_bool y | |
149 | select SPARSEMEM_VMEMMAP_ENABLE | |
150 | ||
151 | config ARCH_SPARSEMEM_DEFAULT | |
152 | def_bool ARCH_SPARSEMEM_ENABLE | |
153 | ||
154 | config ARCH_SELECT_MEMORY_MODEL | |
155 | def_bool ARCH_SPARSEMEM_ENABLE | |
156 | ||
157 | config HAVE_ARCH_PFN_VALID | |
158 | def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM | |
159 | ||
160 | config HW_PERF_EVENTS | |
161 | bool "Enable hardware performance counter support for perf events" | |
162 | depends on PERF_EVENTS | |
163 | default y | |
164 | help | |
165 | Enable hardware performance counter support for perf events. If | |
166 | disabled, perf events will use software events only. | |
167 | ||
168 | source "mm/Kconfig" | |
169 | ||
170 | endmenu | |
171 | ||
172 | menu "Boot options" | |
173 | ||
174 | config CMDLINE | |
175 | string "Default kernel command string" | |
176 | default "" | |
177 | help | |
178 | Provide a set of default command-line options at build time by | |
179 | entering them here. As a minimum, you should specify the the | |
180 | root device (e.g. root=/dev/nfs). | |
181 | ||
182 | config CMDLINE_FORCE | |
183 | bool "Always use the default kernel command string" | |
184 | help | |
185 | Always use the default kernel command string, even if the boot | |
186 | loader passes other arguments to the kernel. | |
187 | This is useful if you cannot or don't want to change the | |
188 | command-line options your boot loader passes to the kernel. | |
189 | ||
190 | endmenu | |
191 | ||
192 | menu "Userspace binary formats" | |
193 | ||
194 | source "fs/Kconfig.binfmt" | |
195 | ||
196 | config COMPAT | |
197 | bool "Kernel support for 32-bit EL0" | |
198 | depends on !ARM64_64K_PAGES | |
199 | select COMPAT_BINFMT_ELF | |
af1839eb | 200 | select HAVE_UID16 |
8c2c3df3 CM |
201 | help |
202 | This option enables support for a 32-bit EL0 running under a 64-bit | |
203 | kernel at EL1. AArch32-specific components such as system calls, | |
204 | the user helper functions, VFP support and the ptrace interface are | |
205 | handled appropriately by the kernel. | |
206 | ||
207 | If you want to execute 32-bit userspace applications, say Y. | |
208 | ||
209 | config SYSVIPC_COMPAT | |
210 | def_bool y | |
211 | depends on COMPAT && SYSVIPC | |
212 | ||
213 | endmenu | |
214 | ||
215 | source "net/Kconfig" | |
216 | ||
217 | source "drivers/Kconfig" | |
218 | ||
219 | source "fs/Kconfig" | |
220 | ||
221 | source "arch/arm64/Kconfig.debug" | |
222 | ||
223 | source "security/Kconfig" | |
224 | ||
225 | source "crypto/Kconfig" | |
226 | ||
227 | source "lib/Kconfig" |