arm64: switch to generic compat rt_sigpending()
[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
6212a512 4 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
25c92a37 5 select ARM_AMBA
db2789b5 6 select CLONE_BACKWARDS
7ca2ef33 7 select COMMON_CLK
8c2c3df3 8 select GENERIC_CLOCKEVENTS
67cf48fe 9 select GENERIC_COMPAT_RT_SIGPENDING
630cfbbb 10 select GENERIC_COMPAT_RT_SIGPROCMASK
8c2c3df3
CM
11 select GENERIC_HARDIRQS_NO_DEPRECATED
12 select GENERIC_IOMAP
13 select GENERIC_IRQ_PROBE
14 select GENERIC_IRQ_SHOW
207bdae4 15 select GENERIC_SIGALTSTACK
8c2c3df3
CM
16 select GENERIC_SMP_IDLE_THREAD
17 select GENERIC_TIME_VSYSCALL
18 select HARDIRQS_SW_RESEND
19 select HAVE_ARCH_TRACEHOOK
9b2a60c4 20 select HAVE_DEBUG_BUGVERBOSE
b69ec42b 21 select HAVE_DEBUG_KMEMLEAK
8c2c3df3
CM
22 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
8c2c3df3 30 select IRQ_DOMAIN
fea2acaa 31 select MODULES_USE_ELF_RELA
8c2c3df3
CM
32 select NO_BOOTMEM
33 select OF
34 select OF_EARLY_FLATTREE
35 select PERF_USE_VMALLOC
36 select RTC_LIB
37 select SPARSE_IRQ
7ac57a89 38 select SYSCTL_EXCEPTION_TRACE
8c2c3df3
CM
39 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
25c92a37
CM
97config GENERIC_GPIO
98 def_bool y
99
8c2c3df3
CM
100source "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
af1839eb 209 select HAVE_UID16
8c2c3df3
CM
210 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"