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_KERNEL_BZIP2
17 select HAVE_KERNEL_GZIP
18 select HAVE_KERNEL_LZO
21 select HAVE_MEMBLOCK_NODE_MAP
22 select HAVE_MOD_ARCH_SPECIFIC
24 select HAVE_PERF_EVENTS
25 select HAVE_SYSCALL_TRACEPOINTS
26 select HAVE_UNDERSCORE_SYMBOL_PREFIX
28 select MODULES_USE_ELF_RELA
30 select OF_EARLY_FLATTREE
32 select HAVE_DEBUG_STACKOVERFLOW
34 config STACKTRACE_SUPPORT
37 config LOCKDEP_SUPPORT
40 config HAVE_LATENCYTOP_SUPPORT
43 config RWSEM_GENERIC_SPINLOCK
46 config RWSEM_XCHGADD_ALGORITHM
49 config GENERIC_HWEIGHT
52 config GENERIC_CALIBRATE_DELAY
60 source "kernel/Kconfig.freezer"
62 menu "Processor type and features"
71 bool "Enable CPU hotplug support"
74 Say Y here to allow turning CPUs off and on. CPUs can be
75 controlled through /sys/devices/system/cpu.
77 Say N if you want to disable CPU hotplug.
80 bool "High Memory Support"
82 The address space of Meta processors is only 4 Gigabytes large
83 and it has to accommodate user address space, kernel address
84 space as well as some memory mapped IO. That means that, if you
85 have a large amount of physical memory and/or IO, not all of the
86 memory can be "permanently mapped" by the kernel. The physical
87 memory that is not permanently mapped is called "high memory".
89 Depending on the selected kernel/user memory split, minimum
90 vmalloc space and actual amount of RAM, you may not need this
91 option which should result in a slightly faster kernel.
95 source "arch/metag/mm/Kconfig"
97 source "arch/metag/Kconfig.soc"
102 Select this from the SoC config symbol to indicate that it contains a
108 Select this from the SoC config symbol to indicate that it contains a
112 bool "Symmetric multi-processing support"
113 depends on METAG_META21 && METAG_META21_MMU
115 This enables support for systems with more than one thread running
116 Linux. If you have a system with only one thread running Linux,
117 say N. Otherwise, say Y.
120 int "Maximum number of CPUs (2-4)" if SMP
125 config METAG_SMP_WRITE_REORDERING
128 This attempts to prevent cache-memory incoherence due to external
129 reordering of writes from different hardware threads when SMP is
130 enabled. It adds fences (system event 0) to smp_mb and smp_rmb in an
131 attempt to catch some of the cases, and also before writes to shared
132 memory in LOCK1 protected atomics and spinlocks.
133 This will not completely prevent cache incoherency on affected cores.
135 config METAG_LNKGET_AROUND_CACHE
137 depends on METAG_META21
139 This indicates that the LNKGET/LNKSET instructions go around the
140 cache, which requires some extra cache flushes when the memory needs
141 to be accessed by normal GET/SET instructions too.
144 prompt "Atomicity primitive"
145 default METAG_ATOMICITY_LNKGET
147 This option selects the mechanism for performing atomic operations.
149 config METAG_ATOMICITY_IRQSOFF
153 This option disables interrupts to achieve atomicity. This mechanism
156 config METAG_ATOMICITY_LNKGET
157 depends on METAG_META21
160 This option uses the LNKGET and LNKSET instructions to achieve
161 atomicity. LNKGET/LNKSET are load-link/store-conditional instructions.
162 Choose this option if your system requires low latency.
164 config METAG_ATOMICITY_LOCK1
168 This option uses the LOCK1 instruction for atomicity. This is mainly
169 provided as a debugging aid if the lnkget/lnkset atomicity primitive
170 isn't working properly.
176 depends on METAG_META21
179 This option allows processes to use FPU hardware available with this
180 CPU. If this option is not enabled FPU registers will not be saved
181 and restored on context-switch.
183 If you plan on running programs which are compiled to use hard floats
189 This option allows processes to use DSP hardware available
190 with this CPU. If this option is not enabled DSP registers
191 will not be saved and restored on context-switch.
193 If you plan on running DSP programs say Y here.
195 config METAG_PERFCOUNTER_IRQS
196 bool "PerfCounters interrupt support"
197 depends on METAG_META21
199 This option enables using interrupts to collect information from
200 Performance Counters. This option is supported in new META21
201 (starting from HTP265).
203 When disabled, Performance Counters information will be collected
204 based on Timer Interrupt.
206 config HW_PERF_EVENTS
207 def_bool METAG_PERFCOUNTER_IRQS && PERF_EVENTS
212 Say Y if you plan to use a DA debug adapter with Linux. The presence
213 of the DA will be detected automatically at boot, so it is safe to say
214 Y to this option even when booting without a DA.
216 This enables support for services provided by DA JTAG debug adapters,
218 - communication over DA channels (such as the console driver).
219 - use of the DA filesystem.
223 config METAG_BUILTIN_DTB
224 bool "Embed DTB in kernel image"
227 Embeds a device tree binary in the kernel image.
229 config METAG_BUILTIN_DTB_NAME
230 string "Built in DTB"
231 depends on METAG_BUILTIN_DTB
233 Set the name of the DTB to embed (leave blank to pick one
234 automatically based on kernel configuration).
237 bool "Default bootloader kernel arguments"
240 string "Kernel command line"
241 depends on CMDLINE_BOOL
243 On some architectures there is currently no way for the boot loader
244 to pass arguments to the kernel. For these architectures, you should
245 supply some command-line options at build time by entering them
249 bool "Force default kernel command string"
250 depends on CMDLINE_BOOL
252 Set this to have arguments from the default kernel command string
253 override those passed by the boot loader.
257 source "kernel/Kconfig.preempt"
259 source kernel/Kconfig.hz
263 menu "Power management options"
265 source kernel/power/Kconfig
269 menu "Executable file formats"
271 source "fs/Kconfig.binfmt"
277 source "drivers/Kconfig"
281 source "arch/metag/Kconfig.debug"
283 source "security/Kconfig"
285 source "crypto/Kconfig"