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