irqchip: GICv3: ITS: plug ITS init into main GICv3 code
[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
308c09f1 4 select ARCH_HAS_SG_CHAIN
1f85008e 5 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
c63c8700 6 select ARCH_USE_CMPXCHG_LOCKREF
4badad35 7 select ARCH_SUPPORTS_ATOMIC_RMW
9170100e 8 select ARCH_WANT_OPTIONAL_GPIOLIB
6212a512 9 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
b6f35981 10 select ARCH_WANT_FRAME_POINTERS
25c92a37 11 select ARM_AMBA
1aee5d7a 12 select ARM_ARCH_TIMER
c4188edc 13 select ARM_GIC
875cbf3e 14 select AUDIT_ARCH_COMPAT_GENERIC
021f6537 15 select ARM_GIC_V3
adace895 16 select BUILDTIME_EXTABLE_SORT
db2789b5 17 select CLONE_BACKWARDS
7ca2ef33 18 select COMMON_CLK
166936ba 19 select CPU_PM if (SUSPEND || CPU_IDLE)
7bc13fd3 20 select DCACHE_WORD_ACCESS
d4932f9e 21 select GENERIC_ALLOCATOR
8c2c3df3 22 select GENERIC_CLOCKEVENTS
1f85008e 23 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
3be1a5c4 24 select GENERIC_CPU_AUTOPROBE
bf4b558e 25 select GENERIC_EARLY_IOREMAP
8c2c3df3
CM
26 select GENERIC_IOMAP
27 select GENERIC_IRQ_PROBE
28 select GENERIC_IRQ_SHOW
65cd4f6c 29 select GENERIC_SCHED_CLOCK
8c2c3df3 30 select GENERIC_SMP_IDLE_THREAD
12a0ef7b
WD
31 select GENERIC_STRNCPY_FROM_USER
32 select GENERIC_STRNLEN_USER
8c2c3df3 33 select GENERIC_TIME_VSYSCALL
a1ddc74a 34 select HANDLE_DOMAIN_IRQ
8c2c3df3 35 select HARDIRQS_SW_RESEND
875cbf3e 36 select HAVE_ARCH_AUDITSYSCALL
9732cafd 37 select HAVE_ARCH_JUMP_LABEL
9529247d 38 select HAVE_ARCH_KGDB
8c2c3df3 39 select HAVE_ARCH_TRACEHOOK
e54bcde3 40 select HAVE_BPF_JIT
af64d2aa 41 select HAVE_C_RECORDMCOUNT
c0c264ae 42 select HAVE_CC_STACKPROTECTOR
9b2a60c4 43 select HAVE_DEBUG_BUGVERBOSE
b69ec42b 44 select HAVE_DEBUG_KMEMLEAK
8c2c3df3
CM
45 select HAVE_DMA_API_DEBUG
46 select HAVE_DMA_ATTRS
6ac2104d 47 select HAVE_DMA_CONTIGUOUS
bd7d38db 48 select HAVE_DYNAMIC_FTRACE
50afc33a 49 select HAVE_EFFICIENT_UNALIGNED_ACCESS
af64d2aa 50 select HAVE_FTRACE_MCOUNT_RECORD
819e50e2
AT
51 select HAVE_FUNCTION_TRACER
52 select HAVE_FUNCTION_GRAPH_TRACER
8c2c3df3 53 select HAVE_GENERIC_DMA_COHERENT
8c2c3df3 54 select HAVE_HW_BREAKPOINT if PERF_EVENTS
8c2c3df3 55 select HAVE_MEMBLOCK
55834a77 56 select HAVE_PATA_PLATFORM
8c2c3df3 57 select HAVE_PERF_EVENTS
2ee0d7fd
JP
58 select HAVE_PERF_REGS
59 select HAVE_PERF_USER_STACK_DUMP
5e5f6dc1 60 select HAVE_RCU_TABLE_FREE
055b1212 61 select HAVE_SYSCALL_TRACEPOINTS
8c2c3df3 62 select IRQ_DOMAIN
fea2acaa 63 select MODULES_USE_ELF_RELA
8c2c3df3
CM
64 select NO_BOOTMEM
65 select OF
66 select OF_EARLY_FLATTREE
9bf14b7c 67 select OF_RESERVED_MEM
8c2c3df3 68 select PERF_USE_VMALLOC
aa1e8ec1
CM
69 select POWER_RESET
70 select POWER_SUPPLY
8c2c3df3
CM
71 select RTC_LIB
72 select SPARSE_IRQ
7ac57a89 73 select SYSCTL_EXCEPTION_TRACE
6c81fe79 74 select HAVE_CONTEXT_TRACKING
8c2c3df3
CM
75 help
76 ARM 64-bit (AArch64) Linux support.
77
78config 64BIT
79 def_bool y
80
81config ARCH_PHYS_ADDR_T_64BIT
82 def_bool y
83
84config MMU
85 def_bool y
86
ce816fa8 87config NO_IOPORT_MAP
d1e6dc91 88 def_bool y if !PCI
8c2c3df3
CM
89
90config STACKTRACE_SUPPORT
91 def_bool y
92
93config LOCKDEP_SUPPORT
94 def_bool y
95
96config TRACE_IRQFLAGS_SUPPORT
97 def_bool y
98
c209f799 99config RWSEM_XCHGADD_ALGORITHM
8c2c3df3
CM
100 def_bool y
101
102config GENERIC_HWEIGHT
103 def_bool y
104
105config GENERIC_CSUM
106 def_bool y
107
108config GENERIC_CALIBRATE_DELAY
109 def_bool y
110
19e7640d 111config ZONE_DMA
8c2c3df3
CM
112 def_bool y
113
29e56940
SC
114config HAVE_GENERIC_RCU_GUP
115 def_bool y
116
8c2c3df3
CM
117config ARCH_DMA_ADDR_T_64BIT
118 def_bool y
119
120config NEED_DMA_MAP_STATE
121 def_bool y
122
123config NEED_SG_DMA_LENGTH
124 def_bool y
125
126config SWIOTLB
127 def_bool y
128
129config IOMMU_HELPER
130 def_bool SWIOTLB
131
4cfb3613
AB
132config KERNEL_MODE_NEON
133 def_bool y
134
92cc15fc
RH
135config FIX_EARLYCON_MEM
136 def_bool y
137
8c2c3df3
CM
138source "init/Kconfig"
139
140source "kernel/Kconfig.freezer"
141
1ae90e79
CM
142menu "Platform selection"
143
28f7420d
RMC
144config ARCH_THUNDER
145 bool "Cavium Inc. Thunder SoC Family"
146 help
147 This enables support for Cavium's Thunder Family of SoCs.
148
1ae90e79
CM
149config ARCH_VEXPRESS
150 bool "ARMv8 software model (Versatile Express)"
151 select ARCH_REQUIRE_GPIOLIB
152 select COMMON_CLK_VERSATILE
aa1e8ec1 153 select POWER_RESET_VEXPRESS
1ae90e79
CM
154 select VEXPRESS_CONFIG
155 help
156 This enables support for the ARMv8 software model (Versatile
157 Express).
8c2c3df3 158
15942853
VK
159config ARCH_XGENE
160 bool "AppliedMicro X-Gene SOC Family"
161 help
162 This enables support for AppliedMicro X-Gene SOC Family
163
8c2c3df3
CM
164endmenu
165
166menu "Bus support"
167
168config ARM_AMBA
169 bool
170
d1e6dc91
LD
171config PCI
172 bool "PCI support"
173 help
174 This feature enables support for PCI bus system. If you say Y
175 here, the kernel will include drivers and infrastructure code
176 to support PCI bus devices.
177
178config PCI_DOMAINS
179 def_bool PCI
180
181config PCI_DOMAINS_GENERIC
182 def_bool PCI
183
184config PCI_SYSCALL
185 def_bool PCI
186
187source "drivers/pci/Kconfig"
188source "drivers/pci/pcie/Kconfig"
189source "drivers/pci/hotplug/Kconfig"
190
8c2c3df3
CM
191endmenu
192
193menu "Kernel Features"
194
e41ceed0
JL
195choice
196 prompt "Page size"
197 default ARM64_4K_PAGES
198 help
199 Page size (translation granule) configuration.
200
201config ARM64_4K_PAGES
202 bool "4KB"
203 help
204 This feature enables 4KB pages support.
205
8c2c3df3 206config ARM64_64K_PAGES
e41ceed0 207 bool "64KB"
8c2c3df3
CM
208 help
209 This feature enables 64KB pages support (4KB by default)
210 allowing only two levels of page tables and faster TLB
211 look-up. AArch32 emulation is not available when this feature
212 is enabled.
213
e41ceed0
JL
214endchoice
215
216choice
217 prompt "Virtual address space size"
218 default ARM64_VA_BITS_39 if ARM64_4K_PAGES
219 default ARM64_VA_BITS_42 if ARM64_64K_PAGES
220 help
221 Allows choosing one of multiple possible virtual address
222 space sizes. The level of translation table is determined by
223 a combination of page size and virtual address space size.
224
225config ARM64_VA_BITS_39
226 bool "39-bit"
227 depends on ARM64_4K_PAGES
228
229config ARM64_VA_BITS_42
230 bool "42-bit"
231 depends on ARM64_64K_PAGES
232
c79b954b
JL
233config ARM64_VA_BITS_48
234 bool "48-bit"
235 depends on BROKEN
236
e41ceed0
JL
237endchoice
238
239config ARM64_VA_BITS
240 int
241 default 39 if ARM64_VA_BITS_39
242 default 42 if ARM64_VA_BITS_42
c79b954b 243 default 48 if ARM64_VA_BITS_48
e41ceed0 244
abe669d7
CM
245config ARM64_PGTABLE_LEVELS
246 int
247 default 2 if ARM64_64K_PAGES && ARM64_VA_BITS_42
383c2799 248 default 3 if ARM64_64K_PAGES && ARM64_VA_BITS_48
abe669d7
CM
249 default 3 if ARM64_4K_PAGES && ARM64_VA_BITS_39
250 default 4 if ARM64_4K_PAGES && ARM64_VA_BITS_48
c79b954b 251
a872013d
WD
252config CPU_BIG_ENDIAN
253 bool "Build big-endian kernel"
254 help
255 Say Y if you plan on running a kernel in big-endian mode.
256
8c2c3df3
CM
257config SMP
258 bool "Symmetric Multi-Processing"
8c2c3df3
CM
259 help
260 This enables support for systems with more than one CPU. If
261 you say N here, the kernel will run on single and
262 multiprocessor machines, but will use only one CPU of a
263 multiprocessor machine. If you say Y here, the kernel will run
264 on many, but not all, single processor machines. On a single
265 processor machine, the kernel will run faster if you say N
266 here.
267
268 If you don't know what to do here, say N.
269
f6e763b9
MB
270config SCHED_MC
271 bool "Multi-core scheduler support"
272 depends on SMP
273 help
274 Multi-core scheduler support improves the CPU scheduler's decision
275 making when dealing with multi-core CPU chips at a cost of slightly
276 increased overhead in some places. If unsure say N here.
277
278config SCHED_SMT
279 bool "SMT scheduler support"
280 depends on SMP
281 help
282 Improves the CPU scheduler's decision making when dealing with
283 MultiThreading at a cost of slightly increased overhead in some
284 places. If unsure say N here.
285
8c2c3df3 286config NR_CPUS
e3672649
RR
287 int "Maximum number of CPUs (2-64)"
288 range 2 64
8c2c3df3 289 depends on SMP
15942853 290 # These have to remain sorted largest to smallest
e3672649 291 default "64"
8c2c3df3 292
9327e2c6
MR
293config HOTPLUG_CPU
294 bool "Support for hot-pluggable CPUs"
295 depends on SMP
296 help
297 Say Y here to experiment with turning CPUs off and on. CPUs
298 can be controlled through /sys/devices/system/cpu.
299
8c2c3df3
CM
300source kernel/Kconfig.preempt
301
302config HZ
303 int
304 default 100
305
306config ARCH_HAS_HOLES_MEMORYMODEL
307 def_bool y if SPARSEMEM
308
309config ARCH_SPARSEMEM_ENABLE
310 def_bool y
311 select SPARSEMEM_VMEMMAP_ENABLE
312
313config ARCH_SPARSEMEM_DEFAULT
314 def_bool ARCH_SPARSEMEM_ENABLE
315
316config ARCH_SELECT_MEMORY_MODEL
317 def_bool ARCH_SPARSEMEM_ENABLE
318
319config HAVE_ARCH_PFN_VALID
320 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
321
322config HW_PERF_EVENTS
323 bool "Enable hardware performance counter support for perf events"
324 depends on PERF_EVENTS
325 default y
326 help
327 Enable hardware performance counter support for perf events. If
328 disabled, perf events will use software events only.
329
084bd298
SC
330config SYS_SUPPORTS_HUGETLBFS
331 def_bool y
332
333config ARCH_WANT_GENERAL_HUGETLB
334 def_bool y
335
336config ARCH_WANT_HUGE_PMD_SHARE
337 def_bool y if !ARM64_64K_PAGES
338
af074848
SC
339config HAVE_ARCH_TRANSPARENT_HUGEPAGE
340 def_bool y
341
a41dc0e8
CM
342config ARCH_HAS_CACHE_LINE_SIZE
343 def_bool y
344
8c2c3df3
CM
345source "mm/Kconfig"
346
aa42aa13
SS
347config XEN_DOM0
348 def_bool y
349 depends on XEN
350
351config XEN
c2ba1f7d 352 bool "Xen guest support on ARM64"
aa42aa13 353 depends on ARM64 && OF
83862ccf 354 select SWIOTLB_XEN
aa42aa13
SS
355 help
356 Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
357
d03bb145
SC
358config FORCE_MAX_ZONEORDER
359 int
360 default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
361 default "11"
362
8c2c3df3
CM
363endmenu
364
365menu "Boot options"
366
367config CMDLINE
368 string "Default kernel command string"
369 default ""
370 help
371 Provide a set of default command-line options at build time by
372 entering them here. As a minimum, you should specify the the
373 root device (e.g. root=/dev/nfs).
374
375config CMDLINE_FORCE
376 bool "Always use the default kernel command string"
377 help
378 Always use the default kernel command string, even if the boot
379 loader passes other arguments to the kernel.
380 This is useful if you cannot or don't want to change the
381 command-line options your boot loader passes to the kernel.
382
f4f75ad5
AB
383config EFI_STUB
384 bool
385
f84d0275
MS
386config EFI
387 bool "UEFI runtime support"
388 depends on OF && !CPU_BIG_ENDIAN
389 select LIBFDT
390 select UCS2_STRING
391 select EFI_PARAMS_FROM_FDT
e15dd494 392 select EFI_RUNTIME_WRAPPERS
f4f75ad5
AB
393 select EFI_STUB
394 select EFI_ARMSTUB
f84d0275
MS
395 default y
396 help
397 This option provides support for runtime services provided
398 by UEFI firmware (such as non-volatile variables, realtime
3c7f2550
MS
399 clock, and platform reset). A UEFI stub is also provided to
400 allow the kernel to be booted as an EFI application. This
401 is only useful on systems that have UEFI firmware.
f84d0275 402
8c2c3df3
CM
403endmenu
404
405menu "Userspace binary formats"
406
407source "fs/Kconfig.binfmt"
408
409config COMPAT
410 bool "Kernel support for 32-bit EL0"
411 depends on !ARM64_64K_PAGES
412 select COMPAT_BINFMT_ELF
af1839eb 413 select HAVE_UID16
84b9e9b4 414 select OLD_SIGSUSPEND3
51682036 415 select COMPAT_OLD_SIGACTION
8c2c3df3
CM
416 help
417 This option enables support for a 32-bit EL0 running under a 64-bit
418 kernel at EL1. AArch32-specific components such as system calls,
419 the user helper functions, VFP support and the ptrace interface are
420 handled appropriately by the kernel.
421
422 If you want to execute 32-bit userspace applications, say Y.
423
424config SYSVIPC_COMPAT
425 def_bool y
426 depends on COMPAT && SYSVIPC
427
428endmenu
429
166936ba
LP
430menu "Power management options"
431
432source "kernel/power/Kconfig"
433
434config ARCH_SUSPEND_POSSIBLE
435 def_bool y
436
437config ARM64_CPU_SUSPEND
438 def_bool PM_SLEEP
439
440endmenu
441
1307220d
LP
442menu "CPU Power Management"
443
444source "drivers/cpuidle/Kconfig"
445
52e7e816
RH
446source "drivers/cpufreq/Kconfig"
447
448endmenu
449
8c2c3df3
CM
450source "net/Kconfig"
451
452source "drivers/Kconfig"
453
f84d0275
MS
454source "drivers/firmware/Kconfig"
455
8c2c3df3
CM
456source "fs/Kconfig"
457
c3eb5b14
MZ
458source "arch/arm64/kvm/Kconfig"
459
8c2c3df3
CM
460source "arch/arm64/Kconfig.debug"
461
462source "security/Kconfig"
463
464source "crypto/Kconfig"
2c98833a
AB
465if CRYPTO
466source "arch/arm64/crypto/Kconfig"
467endif
8c2c3df3
CM
468
469source "lib/Kconfig"