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