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