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