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