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