Merge tag 'cleanup-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / arch / metag / Kconfig
1 config METAG
2 def_bool y
3 select EMBEDDED
4 select GENERIC_ATOMIC64
5 select GENERIC_CLOCKEVENTS
6 select GENERIC_IRQ_SHOW
7 select GENERIC_SMP_IDLE_THREAD
8 select HAVE_64BIT_ALIGNED_ACCESS
9 select HAVE_ARCH_TRACEHOOK
10 select HAVE_C_RECORDMCOUNT
11 select HAVE_DEBUG_KMEMLEAK
12 select HAVE_DYNAMIC_FTRACE
13 select HAVE_FTRACE_MCOUNT_RECORD
14 select HAVE_FUNCTION_TRACER
15 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
16 select HAVE_GENERIC_HARDIRQS
17 select HAVE_KERNEL_BZIP2
18 select HAVE_KERNEL_GZIP
19 select HAVE_KERNEL_LZO
20 select HAVE_KERNEL_XZ
21 select HAVE_MEMBLOCK
22 select HAVE_MEMBLOCK_NODE_MAP
23 select HAVE_MOD_ARCH_SPECIFIC
24 select HAVE_OPROFILE
25 select HAVE_PERF_EVENTS
26 select HAVE_SYSCALL_TRACEPOINTS
27 select HAVE_UNDERSCORE_SYMBOL_PREFIX
28 select IRQ_DOMAIN
29 select MODULES_USE_ELF_RELA
30 select OF
31 select OF_EARLY_FLATTREE
32 select SPARSE_IRQ
33
34 config STACKTRACE_SUPPORT
35 def_bool y
36
37 config LOCKDEP_SUPPORT
38 def_bool y
39
40 config HAVE_LATENCYTOP_SUPPORT
41 def_bool y
42
43 config RWSEM_GENERIC_SPINLOCK
44 def_bool y
45
46 config RWSEM_XCHGADD_ALGORITHM
47 bool
48
49 config GENERIC_HWEIGHT
50 def_bool y
51
52 config GENERIC_CALIBRATE_DELAY
53 def_bool y
54
55 config GENERIC_GPIO
56 def_bool n
57
58 config NO_IOPORT
59 def_bool y
60
61 source "init/Kconfig"
62
63 source "kernel/Kconfig.freezer"
64
65 menu "Processor type and features"
66
67 config MMU
68 def_bool y
69
70 config STACK_GROWSUP
71 def_bool y
72
73 config HOTPLUG_CPU
74 bool "Enable CPU hotplug support"
75 depends on SMP
76 help
77 Say Y here to allow turning CPUs off and on. CPUs can be
78 controlled through /sys/devices/system/cpu.
79
80 Say N if you want to disable CPU hotplug.
81
82 config HIGHMEM
83 bool "High Memory Support"
84 help
85 The address space of Meta processors is only 4 Gigabytes large
86 and it has to accommodate user address space, kernel address
87 space as well as some memory mapped IO. That means that, if you
88 have a large amount of physical memory and/or IO, not all of the
89 memory can be "permanently mapped" by the kernel. The physical
90 memory that is not permanently mapped is called "high memory".
91
92 Depending on the selected kernel/user memory split, minimum
93 vmalloc space and actual amount of RAM, you may not need this
94 option which should result in a slightly faster kernel.
95
96 If unsure, say n.
97
98 source "arch/metag/mm/Kconfig"
99
100 source "arch/metag/Kconfig.soc"
101
102 config METAG_META12
103 bool
104 help
105 Select this from the SoC config symbol to indicate that it contains a
106 Meta 1.2 core.
107
108 config METAG_META21
109 bool
110 help
111 Select this from the SoC config symbol to indicate that it contains a
112 Meta 2.1 core.
113
114 config SMP
115 bool "Symmetric multi-processing support"
116 depends on METAG_META21 && METAG_META21_MMU
117 select USE_GENERIC_SMP_HELPERS
118 help
119 This enables support for systems with more than one thread running
120 Linux. If you have a system with only one thread running Linux,
121 say N. Otherwise, say Y.
122
123 config NR_CPUS
124 int "Maximum number of CPUs (2-4)" if SMP
125 range 2 4 if SMP
126 default "1" if !SMP
127 default "4" if SMP
128
129 config METAG_SMP_WRITE_REORDERING
130 bool
131 help
132 This attempts to prevent cache-memory incoherence due to external
133 reordering of writes from different hardware threads when SMP is
134 enabled. It adds fences (system event 0) to smp_mb and smp_rmb in an
135 attempt to catch some of the cases, and also before writes to shared
136 memory in LOCK1 protected atomics and spinlocks.
137 This will not completely prevent cache incoherency on affected cores.
138
139 config METAG_LNKGET_AROUND_CACHE
140 bool
141 depends on METAG_META21
142 help
143 This indicates that the LNKGET/LNKSET instructions go around the
144 cache, which requires some extra cache flushes when the memory needs
145 to be accessed by normal GET/SET instructions too.
146
147 choice
148 prompt "Atomicity primitive"
149 default METAG_ATOMICITY_LNKGET
150 help
151 This option selects the mechanism for performing atomic operations.
152
153 config METAG_ATOMICITY_IRQSOFF
154 depends on !SMP
155 bool "irqsoff"
156 help
157 This option disables interrupts to achieve atomicity. This mechanism
158 is not SMP-safe.
159
160 config METAG_ATOMICITY_LNKGET
161 depends on METAG_META21
162 bool "lnkget/lnkset"
163 help
164 This option uses the LNKGET and LNKSET instructions to achieve
165 atomicity. LNKGET/LNKSET are load-link/store-conditional instructions.
166 Choose this option if your system requires low latency.
167
168 config METAG_ATOMICITY_LOCK1
169 depends on SMP
170 bool "lock1"
171 help
172 This option uses the LOCK1 instruction for atomicity. This is mainly
173 provided as a debugging aid if the lnkget/lnkset atomicity primitive
174 isn't working properly.
175
176 endchoice
177
178 config METAG_FPU
179 bool "FPU Support"
180 depends on METAG_META21
181 default y
182 help
183 This option allows processes to use FPU hardware available with this
184 CPU. If this option is not enabled FPU registers will not be saved
185 and restored on context-switch.
186
187 If you plan on running programs which are compiled to use hard floats
188 say Y here.
189
190 config METAG_DSP
191 bool "DSP Support"
192 help
193 This option allows processes to use DSP hardware available
194 with this CPU. If this option is not enabled DSP registers
195 will not be saved and restored on context-switch.
196
197 If you plan on running DSP programs say Y here.
198
199 config METAG_PERFCOUNTER_IRQS
200 bool "PerfCounters interrupt support"
201 depends on METAG_META21
202 help
203 This option enables using interrupts to collect information from
204 Performance Counters. This option is supported in new META21
205 (starting from HTP265).
206
207 When disabled, Performance Counters information will be collected
208 based on Timer Interrupt.
209
210 config HW_PERF_EVENTS
211 def_bool METAG_PERFCOUNTER_IRQS && PERF_EVENTS
212
213 config METAG_DA
214 bool "DA support"
215 help
216 Say Y if you plan to use a DA debug adapter with Linux. The presence
217 of the DA will be detected automatically at boot, so it is safe to say
218 Y to this option even when booting without a DA.
219
220 This enables support for services provided by DA JTAG debug adapters,
221 such as:
222 - communication over DA channels (such as the console driver).
223 - use of the DA filesystem.
224
225 menu "Boot options"
226
227 config METAG_BUILTIN_DTB
228 bool "Embed DTB in kernel image"
229 default y
230 help
231 Embeds a device tree binary in the kernel image.
232
233 config METAG_BUILTIN_DTB_NAME
234 string "Built in DTB"
235 depends on METAG_BUILTIN_DTB
236 help
237 Set the name of the DTB to embed (leave blank to pick one
238 automatically based on kernel configuration).
239
240 config CMDLINE_BOOL
241 bool "Default bootloader kernel arguments"
242
243 config CMDLINE
244 string "Kernel command line"
245 depends on CMDLINE_BOOL
246 help
247 On some architectures there is currently no way for the boot loader
248 to pass arguments to the kernel. For these architectures, you should
249 supply some command-line options at build time by entering them
250 here.
251
252 config CMDLINE_FORCE
253 bool "Force default kernel command string"
254 depends on CMDLINE_BOOL
255 help
256 Set this to have arguments from the default kernel command string
257 override those passed by the boot loader.
258
259 endmenu
260
261 source "kernel/Kconfig.preempt"
262
263 source kernel/Kconfig.hz
264
265 endmenu
266
267 menu "Power management options"
268
269 source kernel/power/Kconfig
270
271 endmenu
272
273 menu "Executable file formats"
274
275 source "fs/Kconfig.binfmt"
276
277 endmenu
278
279 source "net/Kconfig"
280
281 source "drivers/Kconfig"
282
283 source "fs/Kconfig"
284
285 source "arch/metag/Kconfig.debug"
286
287 source "security/Kconfig"
288
289 source "crypto/Kconfig"
290
291 source "lib/Kconfig"
This page took 0.048138 seconds and 6 git commands to generate.