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