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