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