Version:  2.0.40 2.2.26 2.4.37 3.11 3.12 3.13 3.14 3.15 3.16 3.17 3.18 3.19 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8

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

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us