arm64: Bug fix in stack alignment exception
[linux-2.6-block.git] / arch / arm64 / Kconfig
CommitLineData
8c2c3df3
CM
1config 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
3be1a5c4 19 select GENERIC_CPU_AUTOPROBE
bf4b558e 20 select GENERIC_EARLY_IOREMAP
8c2c3df3
CM
21 select GENERIC_IOMAP
22 select GENERIC_IRQ_PROBE
23 select GENERIC_IRQ_SHOW
65cd4f6c 24 select GENERIC_SCHED_CLOCK
8c2c3df3 25 select GENERIC_SMP_IDLE_THREAD
12a0ef7b
WD
26 select GENERIC_STRNCPY_FROM_USER
27 select GENERIC_STRNLEN_USER
8c2c3df3
CM
28 select GENERIC_TIME_VSYSCALL
29 select HARDIRQS_SW_RESEND
9732cafd 30 select HAVE_ARCH_JUMP_LABEL
9529247d 31 select HAVE_ARCH_KGDB
8c2c3df3 32 select HAVE_ARCH_TRACEHOOK
af64d2aa 33 select HAVE_C_RECORDMCOUNT
9b2a60c4 34 select HAVE_DEBUG_BUGVERBOSE
b69ec42b 35 select HAVE_DEBUG_KMEMLEAK
8c2c3df3
CM
36 select HAVE_DMA_API_DEBUG
37 select HAVE_DMA_ATTRS
6ac2104d 38 select HAVE_DMA_CONTIGUOUS
bd7d38db 39 select HAVE_DYNAMIC_FTRACE
50afc33a 40 select HAVE_EFFICIENT_UNALIGNED_ACCESS
af64d2aa 41 select HAVE_FTRACE_MCOUNT_RECORD
819e50e2
AT
42 select HAVE_FUNCTION_TRACER
43 select HAVE_FUNCTION_GRAPH_TRACER
8c2c3df3 44 select HAVE_GENERIC_DMA_COHERENT
8c2c3df3 45 select HAVE_HW_BREAKPOINT if PERF_EVENTS
8c2c3df3 46 select HAVE_MEMBLOCK
55834a77 47 select HAVE_PATA_PLATFORM
8c2c3df3 48 select HAVE_PERF_EVENTS
2ee0d7fd
JP
49 select HAVE_PERF_REGS
50 select HAVE_PERF_USER_STACK_DUMP
055b1212 51 select HAVE_SYSCALL_TRACEPOINTS
8c2c3df3 52 select IRQ_DOMAIN
fea2acaa 53 select MODULES_USE_ELF_RELA
8c2c3df3
CM
54 select NO_BOOTMEM
55 select OF
56 select OF_EARLY_FLATTREE
9bf14b7c 57 select OF_RESERVED_MEM
8c2c3df3 58 select PERF_USE_VMALLOC
aa1e8ec1
CM
59 select POWER_RESET
60 select POWER_SUPPLY
8c2c3df3
CM
61 select RTC_LIB
62 select SPARSE_IRQ
7ac57a89 63 select SYSCTL_EXCEPTION_TRACE
8c2c3df3
CM
64 help
65 ARM 64-bit (AArch64) Linux support.
66
67config 64BIT
68 def_bool y
69
70config ARCH_PHYS_ADDR_T_64BIT
71 def_bool y
72
73config MMU
74 def_bool y
75
ce816fa8 76config NO_IOPORT_MAP
8c2c3df3
CM
77 def_bool y
78
79config STACKTRACE_SUPPORT
80 def_bool y
81
82config LOCKDEP_SUPPORT
83 def_bool y
84
85config TRACE_IRQFLAGS_SUPPORT
86 def_bool y
87
c209f799 88config RWSEM_XCHGADD_ALGORITHM
8c2c3df3
CM
89 def_bool y
90
91config GENERIC_HWEIGHT
92 def_bool y
93
94config GENERIC_CSUM
95 def_bool y
96
97config GENERIC_CALIBRATE_DELAY
98 def_bool y
99
19e7640d 100config ZONE_DMA
8c2c3df3
CM
101 def_bool y
102
103config ARCH_DMA_ADDR_T_64BIT
104 def_bool y
105
106config NEED_DMA_MAP_STATE
107 def_bool y
108
109config NEED_SG_DMA_LENGTH
110 def_bool y
111
112config SWIOTLB
113 def_bool y
114
115config IOMMU_HELPER
116 def_bool SWIOTLB
117
4cfb3613
AB
118config KERNEL_MODE_NEON
119 def_bool y
120
92cc15fc
RH
121config FIX_EARLYCON_MEM
122 def_bool y
123
8c2c3df3
CM
124source "init/Kconfig"
125
126source "kernel/Kconfig.freezer"
127
1ae90e79
CM
128menu "Platform selection"
129
130config ARCH_VEXPRESS
131 bool "ARMv8 software model (Versatile Express)"
132 select ARCH_REQUIRE_GPIOLIB
133 select COMMON_CLK_VERSATILE
aa1e8ec1 134 select POWER_RESET_VEXPRESS
1ae90e79
CM
135 select VEXPRESS_CONFIG
136 help
137 This enables support for the ARMv8 software model (Versatile
138 Express).
8c2c3df3 139
15942853
VK
140config ARCH_XGENE
141 bool "AppliedMicro X-Gene SOC Family"
142 help
143 This enables support for AppliedMicro X-Gene SOC Family
144
8c2c3df3
CM
145endmenu
146
147menu "Bus support"
148
149config ARM_AMBA
150 bool
151
152endmenu
153
154menu "Kernel Features"
155
8c2c3df3
CM
156config ARM64_64K_PAGES
157 bool "Enable 64KB pages support"
158 help
159 This feature enables 64KB pages support (4KB by default)
160 allowing only two levels of page tables and faster TLB
161 look-up. AArch32 emulation is not available when this feature
162 is enabled.
163
a872013d
WD
164config CPU_BIG_ENDIAN
165 bool "Build big-endian kernel"
166 help
167 Say Y if you plan on running a kernel in big-endian mode.
168
8c2c3df3
CM
169config SMP
170 bool "Symmetric Multi-Processing"
8c2c3df3
CM
171 help
172 This enables support for systems with more than one CPU. If
173 you say N here, the kernel will run on single and
174 multiprocessor machines, but will use only one CPU of a
175 multiprocessor machine. If you say Y here, the kernel will run
176 on many, but not all, single processor machines. On a single
177 processor machine, the kernel will run faster if you say N
178 here.
179
180 If you don't know what to do here, say N.
181
f6e763b9
MB
182config SCHED_MC
183 bool "Multi-core scheduler support"
184 depends on SMP
185 help
186 Multi-core scheduler support improves the CPU scheduler's decision
187 making when dealing with multi-core CPU chips at a cost of slightly
188 increased overhead in some places. If unsure say N here.
189
190config SCHED_SMT
191 bool "SMT scheduler support"
192 depends on SMP
193 help
194 Improves the CPU scheduler's decision making when dealing with
195 MultiThreading at a cost of slightly increased overhead in some
196 places. If unsure say N here.
197
8c2c3df3
CM
198config NR_CPUS
199 int "Maximum number of CPUs (2-32)"
200 range 2 32
201 depends on SMP
15942853 202 # These have to remain sorted largest to smallest
62aceb8f 203 default "8"
8c2c3df3 204
9327e2c6
MR
205config HOTPLUG_CPU
206 bool "Support for hot-pluggable CPUs"
207 depends on SMP
208 help
209 Say Y here to experiment with turning CPUs off and on. CPUs
210 can be controlled through /sys/devices/system/cpu.
211
8c2c3df3
CM
212source kernel/Kconfig.preempt
213
214config HZ
215 int
216 default 100
217
218config ARCH_HAS_HOLES_MEMORYMODEL
219 def_bool y if SPARSEMEM
220
221config ARCH_SPARSEMEM_ENABLE
222 def_bool y
223 select SPARSEMEM_VMEMMAP_ENABLE
224
225config ARCH_SPARSEMEM_DEFAULT
226 def_bool ARCH_SPARSEMEM_ENABLE
227
228config ARCH_SELECT_MEMORY_MODEL
229 def_bool ARCH_SPARSEMEM_ENABLE
230
231config HAVE_ARCH_PFN_VALID
232 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
233
234config HW_PERF_EVENTS
235 bool "Enable hardware performance counter support for perf events"
236 depends on PERF_EVENTS
237 default y
238 help
239 Enable hardware performance counter support for perf events. If
240 disabled, perf events will use software events only.
241
084bd298
SC
242config SYS_SUPPORTS_HUGETLBFS
243 def_bool y
244
245config ARCH_WANT_GENERAL_HUGETLB
246 def_bool y
247
248config ARCH_WANT_HUGE_PMD_SHARE
249 def_bool y if !ARM64_64K_PAGES
250
af074848
SC
251config HAVE_ARCH_TRANSPARENT_HUGEPAGE
252 def_bool y
253
a41dc0e8
CM
254config ARCH_HAS_CACHE_LINE_SIZE
255 def_bool y
256
8c2c3df3
CM
257source "mm/Kconfig"
258
aa42aa13
SS
259config XEN_DOM0
260 def_bool y
261 depends on XEN
262
263config XEN
264 bool "Xen guest support on ARM64 (EXPERIMENTAL)"
265 depends on ARM64 && OF
83862ccf 266 select SWIOTLB_XEN
aa42aa13
SS
267 help
268 Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
269
d03bb145
SC
270config FORCE_MAX_ZONEORDER
271 int
272 default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
273 default "11"
274
8c2c3df3
CM
275endmenu
276
277menu "Boot options"
278
279config CMDLINE
280 string "Default kernel command string"
281 default ""
282 help
283 Provide a set of default command-line options at build time by
284 entering them here. As a minimum, you should specify the the
285 root device (e.g. root=/dev/nfs).
286
287config CMDLINE_FORCE
288 bool "Always use the default kernel command string"
289 help
290 Always use the default kernel command string, even if the boot
291 loader passes other arguments to the kernel.
292 This is useful if you cannot or don't want to change the
293 command-line options your boot loader passes to the kernel.
294
f84d0275
MS
295config EFI
296 bool "UEFI runtime support"
297 depends on OF && !CPU_BIG_ENDIAN
298 select LIBFDT
299 select UCS2_STRING
300 select EFI_PARAMS_FROM_FDT
301 default y
302 help
303 This option provides support for runtime services provided
304 by UEFI firmware (such as non-volatile variables, realtime
3c7f2550
MS
305 clock, and platform reset). A UEFI stub is also provided to
306 allow the kernel to be booted as an EFI application. This
307 is only useful on systems that have UEFI firmware.
f84d0275 308
8c2c3df3
CM
309endmenu
310
311menu "Userspace binary formats"
312
313source "fs/Kconfig.binfmt"
314
315config COMPAT
316 bool "Kernel support for 32-bit EL0"
317 depends on !ARM64_64K_PAGES
318 select COMPAT_BINFMT_ELF
af1839eb 319 select HAVE_UID16
84b9e9b4 320 select OLD_SIGSUSPEND3
51682036 321 select COMPAT_OLD_SIGACTION
8c2c3df3
CM
322 help
323 This option enables support for a 32-bit EL0 running under a 64-bit
324 kernel at EL1. AArch32-specific components such as system calls,
325 the user helper functions, VFP support and the ptrace interface are
326 handled appropriately by the kernel.
327
328 If you want to execute 32-bit userspace applications, say Y.
329
330config SYSVIPC_COMPAT
331 def_bool y
332 depends on COMPAT && SYSVIPC
333
334endmenu
335
166936ba
LP
336menu "Power management options"
337
338source "kernel/power/Kconfig"
339
340config ARCH_SUSPEND_POSSIBLE
341 def_bool y
342
343config ARM64_CPU_SUSPEND
344 def_bool PM_SLEEP
345
346endmenu
347
1307220d
LP
348menu "CPU Power Management"
349
350source "drivers/cpuidle/Kconfig"
351
52e7e816
RH
352source "drivers/cpufreq/Kconfig"
353
354endmenu
355
8c2c3df3
CM
356source "net/Kconfig"
357
358source "drivers/Kconfig"
359
f84d0275
MS
360source "drivers/firmware/Kconfig"
361
8c2c3df3
CM
362source "fs/Kconfig"
363
c3eb5b14
MZ
364source "arch/arm64/kvm/Kconfig"
365
8c2c3df3
CM
366source "arch/arm64/Kconfig.debug"
367
368source "security/Kconfig"
369
370source "crypto/Kconfig"
2c98833a
AB
371if CRYPTO
372source "arch/arm64/crypto/Kconfig"
373endif
8c2c3df3
CM
374
375source "lib/Kconfig"