blob: 1cb806529393560bed4c41d094883e1c369da1bf [file] [log] [blame]
Catalin Marinas8c2c3df2012-04-20 14:45:54 +01001config ARM64
2 def_bool y
3 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
Sudeep Holla333d17e2014-05-09 10:33:02 +01004 select ARCH_HAS_OPP
Lorenzo Pieralisi1f850082013-09-04 10:55:17 +01005 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
Sudeep Hollac63c8702014-05-09 10:33:01 +01006 select ARCH_USE_CMPXCHG_LOCKREF
Arnd Bergmann91701002013-02-21 11:42:57 +01007 select ARCH_WANT_OPTIONAL_GPIOLIB
Will Deacon6212a512012-11-07 14:16:28 +00008 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
Catalin Marinasb6f35982013-01-29 18:25:41 +00009 select ARCH_WANT_FRAME_POINTERS
Catalin Marinas25c92a32012-12-18 15:26:13 +000010 select ARM_AMBA
Mark Rutland1aee5d72012-11-20 10:06:00 +000011 select ARM_ARCH_TIMER
Catalin Marinasc4188ed2013-01-14 12:39:31 +000012 select ARM_GIC
Will Deaconadace892013-05-08 17:29:24 +010013 select BUILDTIME_EXTABLE_SORT
Catalin Marinasdb2789b2012-12-18 15:27:25 +000014 select CLONE_BACKWARDS
Deepak Saxena7ca2ef32012-09-22 10:33:36 -070015 select COMMON_CLK
Lorenzo Pieralisi166936b2013-11-07 18:37:14 +000016 select CPU_PM if (SUSPEND || CPU_IDLE)
Will Deacon7bc13fd2013-11-06 19:32:13 +000017 select DCACHE_WORD_ACCESS
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010018 select GENERIC_CLOCKEVENTS
Lorenzo Pieralisi1f850082013-09-04 10:55:17 +010019 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
Ard Biesheuvel3be1a5c2014-03-04 01:10:04 +000020 select GENERIC_CPU_AUTOPROBE
Mark Salterbf4b5582014-04-07 15:39:52 -070021 select GENERIC_EARLY_IOREMAP
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010022 select GENERIC_IOMAP
23 select GENERIC_IRQ_PROBE
24 select GENERIC_IRQ_SHOW
Stephen Boyd65cd4f62013-07-18 16:21:18 -070025 select GENERIC_SCHED_CLOCK
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010026 select GENERIC_SMP_IDLE_THREAD
Will Deacon12a0ef72013-11-06 17:20:22 +000027 select GENERIC_STRNCPY_FROM_USER
28 select GENERIC_STRNLEN_USER
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010029 select GENERIC_TIME_VSYSCALL
30 select HARDIRQS_SW_RESEND
Jiang Liu9732caf2014-01-07 22:17:13 +080031 select HAVE_ARCH_JUMP_LABEL
Vijaya Kumar K95292472014-01-28 11:20:22 +000032 select HAVE_ARCH_KGDB
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010033 select HAVE_ARCH_TRACEHOOK
AKASHI Takahiroaf64d2a2014-04-30 10:54:32 +010034 select HAVE_C_RECORDMCOUNT
Laura Abbottc0c264a2014-06-25 23:55:03 +010035 select HAVE_CC_STACKPROTECTOR
Catalin Marinas9b2a60c2012-10-08 16:28:13 -070036 select HAVE_DEBUG_BUGVERBOSE
Catalin Marinasb69ec422012-10-08 16:28:11 -070037 select HAVE_DEBUG_KMEMLEAK
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010038 select HAVE_DMA_API_DEBUG
39 select HAVE_DMA_ATTRS
Laura Abbott6ac21042013-12-12 19:28:33 +000040 select HAVE_DMA_CONTIGUOUS
AKASHI Takahirobd7d38d2014-04-30 10:54:34 +010041 select HAVE_DYNAMIC_FTRACE
Will Deacon50afc332013-12-16 17:50:08 +000042 select HAVE_EFFICIENT_UNALIGNED_ACCESS
AKASHI Takahiroaf64d2a2014-04-30 10:54:32 +010043 select HAVE_FTRACE_MCOUNT_RECORD
AKASHI Takahiro819e50e2014-04-30 18:54:33 +090044 select HAVE_FUNCTION_TRACER
45 select HAVE_FUNCTION_GRAPH_TRACER
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010046 select HAVE_GENERIC_DMA_COHERENT
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010047 select HAVE_HW_BREAKPOINT if PERF_EVENTS
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010048 select HAVE_MEMBLOCK
Mark Rutland55834a72014-02-07 17:12:45 +000049 select HAVE_PATA_PLATFORM
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010050 select HAVE_PERF_EVENTS
Jean Pihet2ee0d7f2014-02-03 19:18:27 +010051 select HAVE_PERF_REGS
52 select HAVE_PERF_USER_STACK_DUMP
AKASHI Takahiro055b1212014-04-30 10:54:36 +010053 select HAVE_SYSCALL_TRACEPOINTS
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010054 select IRQ_DOMAIN
Catalin Marinasfea2aca2012-10-16 11:26:57 +010055 select MODULES_USE_ELF_RELA
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010056 select NO_BOOTMEM
57 select OF
58 select OF_EARLY_FLATTREE
Marek Szyprowski9bf14b72014-02-28 14:42:55 +010059 select OF_RESERVED_MEM
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010060 select PERF_USE_VMALLOC
Catalin Marinasaa1e8ec2013-02-28 18:14:37 +000061 select POWER_RESET
62 select POWER_SUPPLY
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010063 select RTC_LIB
64 select SPARSE_IRQ
Catalin Marinas7ac57a82012-10-08 16:28:16 -070065 select SYSCTL_EXCEPTION_TRACE
Larry Bassel6c81fe72014-05-30 12:34:15 -070066 select HAVE_CONTEXT_TRACKING
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010067 help
68 ARM 64-bit (AArch64) Linux support.
69
70config 64BIT
71 def_bool y
72
73config ARCH_PHYS_ADDR_T_64BIT
74 def_bool y
75
76config MMU
77 def_bool y
78
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070079config NO_IOPORT_MAP
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010080 def_bool y
81
82config STACKTRACE_SUPPORT
83 def_bool y
84
85config LOCKDEP_SUPPORT
86 def_bool y
87
88config TRACE_IRQFLAGS_SUPPORT
89 def_bool y
90
Will Deaconc209f792014-03-14 17:47:05 +000091config RWSEM_XCHGADD_ALGORITHM
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010092 def_bool y
93
94config GENERIC_HWEIGHT
95 def_bool y
96
97config GENERIC_CSUM
98 def_bool y
99
100config GENERIC_CALIBRATE_DELAY
101 def_bool y
102
Catalin Marinas19e76402014-02-27 12:09:22 +0000103config ZONE_DMA
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100104 def_bool y
105
106config ARCH_DMA_ADDR_T_64BIT
107 def_bool y
108
109config NEED_DMA_MAP_STATE
110 def_bool y
111
112config NEED_SG_DMA_LENGTH
113 def_bool y
114
115config SWIOTLB
116 def_bool y
117
118config IOMMU_HELPER
119 def_bool SWIOTLB
120
Ard Biesheuvel4cfb3612013-07-09 14:18:12 +0100121config KERNEL_MODE_NEON
122 def_bool y
123
Rob Herring92cc15f2014-04-18 17:19:59 -0500124config FIX_EARLYCON_MEM
125 def_bool y
126
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100127source "init/Kconfig"
128
129source "kernel/Kconfig.freezer"
130
Catalin Marinas1ae90e72012-09-05 17:47:44 +0100131menu "Platform selection"
132
133config ARCH_VEXPRESS
134 bool "ARMv8 software model (Versatile Express)"
135 select ARCH_REQUIRE_GPIOLIB
136 select COMMON_CLK_VERSATILE
Catalin Marinasaa1e8ec2013-02-28 18:14:37 +0000137 select POWER_RESET_VEXPRESS
Catalin Marinas1ae90e72012-09-05 17:47:44 +0100138 select VEXPRESS_CONFIG
139 help
140 This enables support for the ARMv8 software model (Versatile
141 Express).
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100142
Vinayak Kale15942852013-04-24 10:06:57 +0100143config ARCH_XGENE
144 bool "AppliedMicro X-Gene SOC Family"
145 help
146 This enables support for AppliedMicro X-Gene SOC Family
147
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100148endmenu
149
150menu "Bus support"
151
152config ARM_AMBA
153 bool
154
155endmenu
156
157menu "Kernel Features"
158
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100159config ARM64_64K_PAGES
160 bool "Enable 64KB pages support"
161 help
162 This feature enables 64KB pages support (4KB by default)
163 allowing only two levels of page tables and faster TLB
164 look-up. AArch32 emulation is not available when this feature
165 is enabled.
166
Will Deacona8720132013-10-11 14:52:19 +0100167config CPU_BIG_ENDIAN
168 bool "Build big-endian kernel"
169 help
170 Say Y if you plan on running a kernel in big-endian mode.
171
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100172config SMP
173 bool "Symmetric Multi-Processing"
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100174 help
175 This enables support for systems with more than one CPU. If
176 you say N here, the kernel will run on single and
177 multiprocessor machines, but will use only one CPU of a
178 multiprocessor machine. If you say Y here, the kernel will run
179 on many, but not all, single processor machines. On a single
180 processor machine, the kernel will run faster if you say N
181 here.
182
183 If you don't know what to do here, say N.
184
Mark Brownf6e763b2014-03-04 07:51:17 +0000185config SCHED_MC
186 bool "Multi-core scheduler support"
187 depends on SMP
188 help
189 Multi-core scheduler support improves the CPU scheduler's decision
190 making when dealing with multi-core CPU chips at a cost of slightly
191 increased overhead in some places. If unsure say N here.
192
193config SCHED_SMT
194 bool "SMT scheduler support"
195 depends on SMP
196 help
197 Improves the CPU scheduler's decision making when dealing with
198 MultiThreading at a cost of slightly increased overhead in some
199 places. If unsure say N here.
200
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100201config NR_CPUS
202 int "Maximum number of CPUs (2-32)"
203 range 2 32
204 depends on SMP
Vinayak Kale15942852013-04-24 10:06:57 +0100205 # These have to remain sorted largest to smallest
Rob Herring62aceb82013-11-22 21:07:31 +0000206 default "8"
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100207
Mark Rutland9327e2c2013-10-24 20:30:18 +0100208config HOTPLUG_CPU
209 bool "Support for hot-pluggable CPUs"
210 depends on SMP
211 help
212 Say Y here to experiment with turning CPUs off and on. CPUs
213 can be controlled through /sys/devices/system/cpu.
214
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100215source kernel/Kconfig.preempt
216
217config HZ
218 int
219 default 100
220
221config ARCH_HAS_HOLES_MEMORYMODEL
222 def_bool y if SPARSEMEM
223
224config ARCH_SPARSEMEM_ENABLE
225 def_bool y
226 select SPARSEMEM_VMEMMAP_ENABLE
227
228config ARCH_SPARSEMEM_DEFAULT
229 def_bool ARCH_SPARSEMEM_ENABLE
230
231config ARCH_SELECT_MEMORY_MODEL
232 def_bool ARCH_SPARSEMEM_ENABLE
233
234config HAVE_ARCH_PFN_VALID
235 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
236
237config HW_PERF_EVENTS
238 bool "Enable hardware performance counter support for perf events"
239 depends on PERF_EVENTS
240 default y
241 help
242 Enable hardware performance counter support for perf events. If
243 disabled, perf events will use software events only.
244
Steve Capper084bd292013-04-10 13:48:00 +0100245config SYS_SUPPORTS_HUGETLBFS
246 def_bool y
247
248config ARCH_WANT_GENERAL_HUGETLB
249 def_bool y
250
251config ARCH_WANT_HUGE_PMD_SHARE
252 def_bool y if !ARM64_64K_PAGES
253
Steve Capperaf074842013-04-19 16:23:57 +0100254config HAVE_ARCH_TRANSPARENT_HUGEPAGE
255 def_bool y
256
Catalin Marinasa41dc0e2014-04-03 17:48:54 +0100257config ARCH_HAS_CACHE_LINE_SIZE
258 def_bool y
259
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100260source "mm/Kconfig"
261
Stefano Stabelliniaa42aa12013-06-03 17:05:43 +0000262config XEN_DOM0
263 def_bool y
264 depends on XEN
265
266config XEN
267 bool "Xen guest support on ARM64 (EXPERIMENTAL)"
268 depends on ARM64 && OF
Stefano Stabellini83862cc2013-10-10 13:40:44 +0000269 select SWIOTLB_XEN
Stefano Stabelliniaa42aa12013-06-03 17:05:43 +0000270 help
271 Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
272
Steve Capperd03bb142013-04-25 15:19:21 +0100273config FORCE_MAX_ZONEORDER
274 int
275 default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
276 default "11"
277
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100278endmenu
279
280menu "Boot options"
281
282config CMDLINE
283 string "Default kernel command string"
284 default ""
285 help
286 Provide a set of default command-line options at build time by
287 entering them here. As a minimum, you should specify the the
288 root device (e.g. root=/dev/nfs).
289
290config CMDLINE_FORCE
291 bool "Always use the default kernel command string"
292 help
293 Always use the default kernel command string, even if the boot
294 loader passes other arguments to the kernel.
295 This is useful if you cannot or don't want to change the
296 command-line options your boot loader passes to the kernel.
297
Mark Salterf84d0272014-04-15 21:59:30 -0400298config EFI
299 bool "UEFI runtime support"
300 depends on OF && !CPU_BIG_ENDIAN
301 select LIBFDT
302 select UCS2_STRING
303 select EFI_PARAMS_FROM_FDT
304 default y
305 help
306 This option provides support for runtime services provided
307 by UEFI firmware (such as non-volatile variables, realtime
Mark Salter3c7f2552014-04-15 22:47:52 -0400308 clock, and platform reset). A UEFI stub is also provided to
309 allow the kernel to be booted as an EFI application. This
310 is only useful on systems that have UEFI firmware.
Mark Salterf84d0272014-04-15 21:59:30 -0400311
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100312endmenu
313
314menu "Userspace binary formats"
315
316source "fs/Kconfig.binfmt"
317
318config COMPAT
319 bool "Kernel support for 32-bit EL0"
320 depends on !ARM64_64K_PAGES
321 select COMPAT_BINFMT_ELF
Catalin Marinasaf1839e2012-10-08 16:28:08 -0700322 select HAVE_UID16
Al Viro84b9e9b2012-12-25 16:29:11 -0500323 select OLD_SIGSUSPEND3
Al Viro51682032012-12-25 19:31:29 -0500324 select COMPAT_OLD_SIGACTION
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100325 help
326 This option enables support for a 32-bit EL0 running under a 64-bit
327 kernel at EL1. AArch32-specific components such as system calls,
328 the user helper functions, VFP support and the ptrace interface are
329 handled appropriately by the kernel.
330
331 If you want to execute 32-bit userspace applications, say Y.
332
333config SYSVIPC_COMPAT
334 def_bool y
335 depends on COMPAT && SYSVIPC
336
337endmenu
338
Lorenzo Pieralisi166936b2013-11-07 18:37:14 +0000339menu "Power management options"
340
341source "kernel/power/Kconfig"
342
343config ARCH_SUSPEND_POSSIBLE
344 def_bool y
345
346config ARM64_CPU_SUSPEND
347 def_bool PM_SLEEP
348
349endmenu
350
Lorenzo Pieralisi13072202013-07-17 14:54:21 +0100351menu "CPU Power Management"
352
353source "drivers/cpuidle/Kconfig"
354
Rob Herring52e7e812014-02-24 11:27:57 +0900355source "drivers/cpufreq/Kconfig"
356
357endmenu
358
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100359source "net/Kconfig"
360
361source "drivers/Kconfig"
362
Mark Salterf84d0272014-04-15 21:59:30 -0400363source "drivers/firmware/Kconfig"
364
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100365source "fs/Kconfig"
366
Marc Zyngierc3eb5b12013-07-04 13:34:32 +0100367source "arch/arm64/kvm/Kconfig"
368
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100369source "arch/arm64/Kconfig.debug"
370
371source "security/Kconfig"
372
373source "crypto/Kconfig"
Ard Biesheuvel2c988332014-03-06 16:23:33 +0800374if CRYPTO
375source "arch/arm64/crypto/Kconfig"
376endif
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100377
378source "lib/Kconfig"