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