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