1f27c58f44ad00798fbe6a1866a372293bf50471
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm64 / Kconfig
1 config ARM64
2         def_bool y
3         select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4         select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
5         select ARM_AMBA
6         select CLONE_BACKWARDS
7         select COMMON_CLK
8         select GENERIC_CLOCKEVENTS
9         select GENERIC_COMPAT_RT_SIGACTION
10         select GENERIC_COMPAT_RT_SIGPENDING
11         select GENERIC_COMPAT_RT_SIGPROCMASK
12         select GENERIC_COMPAT_RT_SIGQUEUEINFO
13         select GENERIC_HARDIRQS_NO_DEPRECATED
14         select GENERIC_IOMAP
15         select GENERIC_IRQ_PROBE
16         select GENERIC_IRQ_SHOW
17         select GENERIC_SIGALTSTACK
18         select GENERIC_SMP_IDLE_THREAD
19         select GENERIC_TIME_VSYSCALL
20         select HARDIRQS_SW_RESEND
21         select HAVE_ARCH_TRACEHOOK
22         select HAVE_DEBUG_BUGVERBOSE
23         select HAVE_DEBUG_KMEMLEAK
24         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
32         select IRQ_DOMAIN
33         select MODULES_USE_ELF_RELA
34         select NO_BOOTMEM
35         select OF
36         select OF_EARLY_FLATTREE
37         select PERF_USE_VMALLOC
38         select RTC_LIB
39         select SPARSE_IRQ
40         select SYSCTL_EXCEPTION_TRACE
41         help
42           ARM 64-bit (AArch64) Linux support.
43
44 config 64BIT
45         def_bool y
46
47 config ARCH_PHYS_ADDR_T_64BIT
48         def_bool y
49
50 config MMU
51         def_bool y
52
53 config NO_IOPORT
54         def_bool y
55
56 config STACKTRACE_SUPPORT
57         def_bool y
58
59 config LOCKDEP_SUPPORT
60         def_bool y
61
62 config TRACE_IRQFLAGS_SUPPORT
63         def_bool y
64
65 config GENERIC_LOCKBREAK
66         def_bool y
67         depends on SMP && PREEMPT
68
69 config RWSEM_GENERIC_SPINLOCK
70         def_bool y
71
72 config GENERIC_HWEIGHT
73         def_bool y
74
75 config GENERIC_CSUM
76         def_bool y
77
78 config GENERIC_CALIBRATE_DELAY
79         def_bool y
80
81 config ZONE_DMA32
82         def_bool y
83
84 config ARCH_DMA_ADDR_T_64BIT
85         def_bool y
86
87 config NEED_DMA_MAP_STATE
88         def_bool y
89
90 config NEED_SG_DMA_LENGTH
91         def_bool y
92
93 config SWIOTLB
94         def_bool y
95
96 config IOMMU_HELPER
97         def_bool SWIOTLB
98
99 config GENERIC_GPIO
100         def_bool y
101
102 source "init/Kconfig"
103
104 source "kernel/Kconfig.freezer"
105
106 menu "System Type"
107
108 endmenu
109
110 menu "Bus support"
111
112 config ARM_AMBA
113         bool
114
115 endmenu
116
117 menu "Kernel Features"
118
119 source "kernel/time/Kconfig"
120
121 config 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
129 config 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
143 config NR_CPUS
144         int "Maximum number of CPUs (2-32)"
145         range 2 32
146         depends on SMP
147         default "4"
148
149 source kernel/Kconfig.preempt
150
151 config HZ
152         int
153         default 100
154
155 config ARCH_HAS_HOLES_MEMORYMODEL
156         def_bool y if SPARSEMEM
157
158 config ARCH_SPARSEMEM_ENABLE
159         def_bool y
160         select SPARSEMEM_VMEMMAP_ENABLE
161
162 config ARCH_SPARSEMEM_DEFAULT
163         def_bool ARCH_SPARSEMEM_ENABLE
164
165 config ARCH_SELECT_MEMORY_MODEL
166         def_bool ARCH_SPARSEMEM_ENABLE
167
168 config HAVE_ARCH_PFN_VALID
169         def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
170
171 config 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
179 source "mm/Kconfig"
180
181 endmenu
182
183 menu "Boot options"
184
185 config 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
193 config 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
201 endmenu
202
203 menu "Userspace binary formats"
204
205 source "fs/Kconfig.binfmt"
206
207 config COMPAT
208         bool "Kernel support for 32-bit EL0"
209         depends on !ARM64_64K_PAGES
210         select COMPAT_BINFMT_ELF
211         select HAVE_UID16
212         select OLD_SIGSUSPEND3
213         select COMPAT_OLD_SIGACTION
214         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
222 config SYSVIPC_COMPAT
223         def_bool y
224         depends on COMPAT && SYSVIPC
225
226 endmenu
227
228 source "net/Kconfig"
229
230 source "drivers/Kconfig"
231
232 source "fs/Kconfig"
233
234 source "arch/arm64/Kconfig.debug"
235
236 source "security/Kconfig"
237
238 source "crypto/Kconfig"
239
240 source "lib/Kconfig"