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