blob: 8ae01ea98c16b762aac92500fc5ae21274be80cc [file] [log] [blame]
Catalin Marinas8c2c3df2012-04-20 14:45:54 +01001config ARM64
2 def_bool y
3 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
Will Deacon6212a512012-11-07 14:16:28 +00004 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
Catalin Marinas25c92a32012-12-18 15:26:13 +00005 select ARM_AMBA
Catalin Marinasdb2789b2012-12-18 15:27:25 +00006 select CLONE_BACKWARDS
Deepak Saxena7ca2ef32012-09-22 10:33:36 -07007 select COMMON_CLK
Catalin Marinas8c2c3df2012-04-20 14:45:54 +01008 select GENERIC_CLOCKEVENTS
Al Viro67cf48f2012-12-25 15:01:55 -05009 select GENERIC_COMPAT_RT_SIGPENDING
Al Viro630cfbb2012-12-25 13:57:16 -050010 select GENERIC_COMPAT_RT_SIGPROCMASK
Al Viro4cd2b2f2012-12-25 15:50:19 -050011 select GENERIC_COMPAT_RT_SIGQUEUEINFO
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010012 select GENERIC_HARDIRQS_NO_DEPRECATED
13 select GENERIC_IOMAP
14 select GENERIC_IRQ_PROBE
15 select GENERIC_IRQ_SHOW
Al Viro207bdae2012-12-23 01:56:45 -050016 select GENERIC_SIGALTSTACK
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010017 select GENERIC_SMP_IDLE_THREAD
18 select GENERIC_TIME_VSYSCALL
19 select HARDIRQS_SW_RESEND
20 select HAVE_ARCH_TRACEHOOK
Catalin Marinas9b2a60c2012-10-08 16:28:13 -070021 select HAVE_DEBUG_BUGVERBOSE
Catalin Marinasb69ec422012-10-08 16:28:11 -070022 select HAVE_DEBUG_KMEMLEAK
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010023 select HAVE_DMA_API_DEBUG
24 select HAVE_DMA_ATTRS
25 select HAVE_GENERIC_DMA_COHERENT
26 select HAVE_GENERIC_HARDIRQS
27 select HAVE_HW_BREAKPOINT if PERF_EVENTS
28 select HAVE_IRQ_WORK
29 select HAVE_MEMBLOCK
30 select HAVE_PERF_EVENTS
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010031 select IRQ_DOMAIN
Catalin Marinasfea2aca2012-10-16 11:26:57 +010032 select MODULES_USE_ELF_RELA
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010033 select NO_BOOTMEM
34 select OF
35 select OF_EARLY_FLATTREE
36 select PERF_USE_VMALLOC
37 select RTC_LIB
38 select SPARSE_IRQ
Catalin Marinas7ac57a82012-10-08 16:28:16 -070039 select SYSCTL_EXCEPTION_TRACE
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010040 help
41 ARM 64-bit (AArch64) Linux support.
42
43config 64BIT
44 def_bool y
45
46config ARCH_PHYS_ADDR_T_64BIT
47 def_bool y
48
49config MMU
50 def_bool y
51
52config NO_IOPORT
53 def_bool y
54
55config STACKTRACE_SUPPORT
56 def_bool y
57
58config LOCKDEP_SUPPORT
59 def_bool y
60
61config TRACE_IRQFLAGS_SUPPORT
62 def_bool y
63
64config GENERIC_LOCKBREAK
65 def_bool y
66 depends on SMP && PREEMPT
67
68config RWSEM_GENERIC_SPINLOCK
69 def_bool y
70
71config GENERIC_HWEIGHT
72 def_bool y
73
74config GENERIC_CSUM
75 def_bool y
76
77config GENERIC_CALIBRATE_DELAY
78 def_bool y
79
80config ZONE_DMA32
81 def_bool y
82
83config ARCH_DMA_ADDR_T_64BIT
84 def_bool y
85
86config NEED_DMA_MAP_STATE
87 def_bool y
88
89config NEED_SG_DMA_LENGTH
90 def_bool y
91
92config SWIOTLB
93 def_bool y
94
95config IOMMU_HELPER
96 def_bool SWIOTLB
97
Catalin Marinas25c92a32012-12-18 15:26:13 +000098config GENERIC_GPIO
99 def_bool y
100
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100101source "init/Kconfig"
102
103source "kernel/Kconfig.freezer"
104
105menu "System Type"
106
107endmenu
108
109menu "Bus support"
110
111config ARM_AMBA
112 bool
113
114endmenu
115
116menu "Kernel Features"
117
118source "kernel/time/Kconfig"
119
120config ARM64_64K_PAGES
121 bool "Enable 64KB pages support"
122 help
123 This feature enables 64KB pages support (4KB by default)
124 allowing only two levels of page tables and faster TLB
125 look-up. AArch32 emulation is not available when this feature
126 is enabled.
127
128config SMP
129 bool "Symmetric Multi-Processing"
130 select USE_GENERIC_SMP_HELPERS
131 help
132 This enables support for systems with more than one CPU. If
133 you say N here, the kernel will run on single and
134 multiprocessor machines, but will use only one CPU of a
135 multiprocessor machine. If you say Y here, the kernel will run
136 on many, but not all, single processor machines. On a single
137 processor machine, the kernel will run faster if you say N
138 here.
139
140 If you don't know what to do here, say N.
141
142config NR_CPUS
143 int "Maximum number of CPUs (2-32)"
144 range 2 32
145 depends on SMP
146 default "4"
147
148source kernel/Kconfig.preempt
149
150config HZ
151 int
152 default 100
153
154config ARCH_HAS_HOLES_MEMORYMODEL
155 def_bool y if SPARSEMEM
156
157config ARCH_SPARSEMEM_ENABLE
158 def_bool y
159 select SPARSEMEM_VMEMMAP_ENABLE
160
161config ARCH_SPARSEMEM_DEFAULT
162 def_bool ARCH_SPARSEMEM_ENABLE
163
164config ARCH_SELECT_MEMORY_MODEL
165 def_bool ARCH_SPARSEMEM_ENABLE
166
167config HAVE_ARCH_PFN_VALID
168 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
169
170config HW_PERF_EVENTS
171 bool "Enable hardware performance counter support for perf events"
172 depends on PERF_EVENTS
173 default y
174 help
175 Enable hardware performance counter support for perf events. If
176 disabled, perf events will use software events only.
177
178source "mm/Kconfig"
179
180endmenu
181
182menu "Boot options"
183
184config CMDLINE
185 string "Default kernel command string"
186 default ""
187 help
188 Provide a set of default command-line options at build time by
189 entering them here. As a minimum, you should specify the the
190 root device (e.g. root=/dev/nfs).
191
192config CMDLINE_FORCE
193 bool "Always use the default kernel command string"
194 help
195 Always use the default kernel command string, even if the boot
196 loader passes other arguments to the kernel.
197 This is useful if you cannot or don't want to change the
198 command-line options your boot loader passes to the kernel.
199
200endmenu
201
202menu "Userspace binary formats"
203
204source "fs/Kconfig.binfmt"
205
206config COMPAT
207 bool "Kernel support for 32-bit EL0"
208 depends on !ARM64_64K_PAGES
209 select COMPAT_BINFMT_ELF
Catalin Marinasaf1839e2012-10-08 16:28:08 -0700210 select HAVE_UID16
Al Viro84b9e9b2012-12-25 16:29:11 -0500211 select OLD_SIGSUSPEND3
Catalin Marinas8c2c3df2012-04-20 14:45:54 +0100212 help
213 This option enables support for a 32-bit EL0 running under a 64-bit
214 kernel at EL1. AArch32-specific components such as system calls,
215 the user helper functions, VFP support and the ptrace interface are
216 handled appropriately by the kernel.
217
218 If you want to execute 32-bit userspace applications, say Y.
219
220config SYSVIPC_COMPAT
221 def_bool y
222 depends on COMPAT && SYSVIPC
223
224endmenu
225
226source "net/Kconfig"
227
228source "drivers/Kconfig"
229
230source "fs/Kconfig"
231
232source "arch/arm64/Kconfig.debug"
233
234source "security/Kconfig"
235
236source "crypto/Kconfig"
237
238source "lib/Kconfig"