8 select GENERIC_ATOMIC64
9 select GENERIC_CLOCKEVENTS
10 select GENERIC_IRQ_SHOW
11 select GENERIC_SMP_IDLE_THREAD
12 select HAVE_64BIT_ALIGNED_ACCESS
13 select HAVE_ARCH_TRACEHOOK
14 select HAVE_C_RECORDMCOUNT
15 select HAVE_DEBUG_KMEMLEAK
16 select HAVE_DYNAMIC_FTRACE
17 select HAVE_FTRACE_MCOUNT_RECORD
18 select HAVE_FUNCTION_TRACER
19 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
20 select HAVE_GENERIC_HARDIRQS
21 select HAVE_KERNEL_BZIP2
22 select HAVE_KERNEL_GZIP
23 select HAVE_KERNEL_LZO
26 select HAVE_MEMBLOCK_NODE_MAP
27 select HAVE_MOD_ARCH_SPECIFIC
29 select HAVE_PERF_EVENTS
30 select HAVE_SYSCALL_TRACEPOINTS
32 select MODULES_USE_ELF_RELA
34 select OF_EARLY_FLATTREE
37 config STACKTRACE_SUPPORT
40 config LOCKDEP_SUPPORT
43 config HAVE_LATENCYTOP_SUPPORT
46 config RWSEM_GENERIC_SPINLOCK
49 config RWSEM_XCHGADD_ALGORITHM
52 config GENERIC_HWEIGHT
55 config GENERIC_CALIBRATE_DELAY
66 source "kernel/Kconfig.freezer"
68 menu "Processor type and features"
77 bool "Enable CPU hotplug support"
80 Say Y here to allow turning CPUs off and on. CPUs can be
81 controlled through /sys/devices/system/cpu.
83 Say N if you want to disable CPU hotplug.
86 bool "High Memory Support"
88 The address space of Meta processors is only 4 Gigabytes large
89 and it has to accommodate user address space, kernel address
90 space as well as some memory mapped IO. That means that, if you
91 have a large amount of physical memory and/or IO, not all of the
92 memory can be "permanently mapped" by the kernel. The physical
93 memory that is not permanently mapped is called "high memory".
95 Depending on the selected kernel/user memory split, minimum
96 vmalloc space and actual amount of RAM, you may not need this
97 option which should result in a slightly faster kernel.
101 source "arch/metag/mm/Kconfig"
103 source "arch/metag/Kconfig.soc"
108 Select this from the SoC config symbol to indicate that it contains a
114 Select this from the SoC config symbol to indicate that it contains a
118 bool "Symmetric multi-processing support"
119 depends on METAG_META21 && METAG_META21_MMU
120 select USE_GENERIC_SMP_HELPERS
122 This enables support for systems with more than one thread running
123 Linux. If you have a system with only one thread running Linux,
124 say N. Otherwise, say Y.
127 int "Maximum number of CPUs (2-4)" if SMP
132 config METAG_SMP_WRITE_REORDERING
135 This attempts to prevent cache-memory incoherence due to external
136 reordering of writes from different hardware threads when SMP is
137 enabled. It adds fences (system event 0) to smp_mb and smp_rmb in an
138 attempt to catch some of the cases, and also before writes to shared
139 memory in LOCK1 protected atomics and spinlocks.
140 This will not completely prevent cache incoherency on affected cores.
142 config METAG_LNKGET_AROUND_CACHE
144 depends on METAG_META21
146 This indicates that the LNKGET/LNKSET instructions go around the
147 cache, which requires some extra cache flushes when the memory needs
148 to be accessed by normal GET/SET instructions too.
151 prompt "Atomicity primitive"
152 default METAG_ATOMICITY_LNKGET
154 This option selects the mechanism for performing atomic operations.
156 config METAG_ATOMICITY_IRQSOFF
160 This option disables interrupts to achieve atomicity. This mechanism
163 config METAG_ATOMICITY_LNKGET
164 depends on METAG_META21
167 This option uses the LNKGET and LNKSET instructions to achieve
168 atomicity. LNKGET/LNKSET are load-link/store-conditional instructions.
169 Choose this option if your system requires low latency.
171 config METAG_ATOMICITY_LOCK1
175 This option uses the LOCK1 instruction for atomicity. This is mainly
176 provided as a debugging aid if the lnkget/lnkset atomicity primitive
177 isn't working properly.
183 depends on METAG_META21
186 This option allows processes to use FPU hardware available with this
187 CPU. If this option is not enabled FPU registers will not be saved
188 and restored on context-switch.
190 If you plan on running programs which are compiled to use hard floats
196 This option allows processes to use DSP hardware available
197 with this CPU. If this option is not enabled DSP registers
198 will not be saved and restored on context-switch.
200 If you plan on running DSP programs say Y here.
202 config METAG_PERFCOUNTER_IRQS
203 bool "PerfCounters interrupt support"
204 depends on METAG_META21
206 This option enables using interrupts to collect information from
207 Performance Counters. This option is supported in new META21
208 (starting from HTP265).
210 When disabled, Performance Counters information will be collected
211 based on Timer Interrupt.
213 config HW_PERF_EVENTS
214 def_bool METAG_PERFCOUNTER_IRQS && PERF_EVENTS
219 Say Y if you plan to use a DA debug adapter with Linux. The presence
220 of the DA will be detected automatically at boot, so it is safe to say
221 Y to this option even when booting without a DA.
223 This enables support for services provided by DA JTAG debug adapters,
225 - communication over DA channels (such as the console driver).
226 - use of the DA filesystem.
230 config METAG_BUILTIN_DTB
231 bool "Embed DTB in kernel image"
234 Embeds a device tree binary in the kernel image.
236 config METAG_BUILTIN_DTB_NAME
237 string "Built in DTB"
238 depends on METAG_BUILTIN_DTB
240 Set the name of the DTB to embed (leave blank to pick one
241 automatically based on kernel configuration).
244 bool "Default bootloader kernel arguments"
247 string "Kernel command line"
248 depends on CMDLINE_BOOL
250 On some architectures there is currently no way for the boot loader
251 to pass arguments to the kernel. For these architectures, you should
252 supply some command-line options at build time by entering them
256 bool "Force default kernel command string"
257 depends on CMDLINE_BOOL
259 Set this to have arguments from the default kernel command string
260 override those passed by the boot loader.
264 source "kernel/Kconfig.preempt"
266 source kernel/Kconfig.hz
270 menu "Power management options"
272 source kernel/power/Kconfig
276 menu "Executable file formats"
278 source "fs/Kconfig.binfmt"
284 source "drivers/Kconfig"
288 source "arch/metag/Kconfig.debug"
290 source "security/Kconfig"
292 source "crypto/Kconfig"