1 # SPDX-License-Identifier: GPL-2.0-only !! 1 config MIPS 2 # !! 2 bool 3 # For a description of the syntax of this conf !! 3 default y 4 # see Documentation/kbuild/kconfig-language.rs !! 4 5 # !! 5 config MIPS64 >> 6 bool "64-bit kernel" >> 7 help >> 8 Select this option if you want to build a 64-bit kernel. You should >> 9 only select this option if you have hardware that actually has a >> 10 32-bit processor and if your application will actually benefit from >> 11 64-bit processing, otherwise say N. You must say Y for kernels for >> 12 SGI IP27 (Origin 200 and 2000). If in doubt say N. 6 13 7 config 64BIT 14 config 64BIT 8 bool !! 15 def_bool MIPS64 9 16 10 config 32BIT !! 17 config MIPS32 11 bool 18 bool 12 !! 19 depends on MIPS64 = 'n' 13 config RISCV << 14 def_bool y << 15 select ACPI_GENERIC_GSI if ACPI << 16 select ACPI_MCFG if (ACPI && PCI) << 17 select ACPI_PPTT if ACPI << 18 select ACPI_REDUCED_HARDWARE_ONLY if A << 19 select ACPI_SPCR_TABLE if ACPI << 20 select ARCH_DMA_DEFAULT_COHERENT << 21 select ARCH_ENABLE_HUGEPAGE_MIGRATION << 22 select ARCH_ENABLE_MEMORY_HOTPLUG if S << 23 select ARCH_ENABLE_MEMORY_HOTREMOVE if << 24 select ARCH_ENABLE_SPLIT_PMD_PTLOCK if << 25 select ARCH_ENABLE_THP_MIGRATION if TR << 26 select ARCH_HAS_BINFMT_FLAT << 27 select ARCH_HAS_CURRENT_STACK_POINTER << 28 select ARCH_HAS_DEBUG_VIRTUAL if MMU << 29 select ARCH_HAS_DEBUG_VM_PGTABLE << 30 select ARCH_HAS_DEBUG_WX << 31 select ARCH_HAS_FAST_MULTIPLIER << 32 select ARCH_HAS_FORTIFY_SOURCE << 33 select ARCH_HAS_GCOV_PROFILE_ALL << 34 select ARCH_HAS_GIGANTIC_PAGE << 35 select ARCH_HAS_KCOV << 36 select ARCH_HAS_KERNEL_FPU_SUPPORT if << 37 select ARCH_HAS_MEMBARRIER_CALLBACKS << 38 select ARCH_HAS_MEMBARRIER_SYNC_CORE << 39 select ARCH_HAS_MMIOWB << 40 select ARCH_HAS_NON_OVERLAPPING_ADDRES << 41 select ARCH_HAS_PMEM_API << 42 select ARCH_HAS_PREPARE_SYNC_CORE_CMD << 43 select ARCH_HAS_PTE_DEVMAP if 64BIT && << 44 select ARCH_HAS_PTE_SPECIAL << 45 select ARCH_HAS_SET_DIRECT_MAP if MMU << 46 select ARCH_HAS_SET_MEMORY if MMU << 47 select ARCH_HAS_STRICT_KERNEL_RWX if M << 48 select ARCH_HAS_STRICT_MODULE_RWX if M << 49 select ARCH_HAS_SYNC_CORE_BEFORE_USERM << 50 select ARCH_HAS_SYSCALL_WRAPPER << 51 select ARCH_HAS_TICK_BROADCAST if GENE << 52 select ARCH_HAS_UBSAN << 53 select ARCH_HAS_VDSO_DATA << 54 select ARCH_KEEP_MEMBLOCK if ACPI << 55 select ARCH_MHP_MEMMAP_ON_MEMORY_ENABL << 56 select ARCH_OPTIONAL_KERNEL_RWX if ARC << 57 select ARCH_OPTIONAL_KERNEL_RWX_DEFAUL << 58 select ARCH_STACKWALK << 59 select ARCH_SUPPORTS_ATOMIC_RMW << 60 select ARCH_SUPPORTS_CFI_CLANG << 61 select ARCH_SUPPORTS_DEBUG_PAGEALLOC i << 62 select ARCH_SUPPORTS_HUGETLBFS if MMU << 63 # LLD >= 14: https://github.com/llvm/l << 64 select ARCH_SUPPORTS_LTO_CLANG if LLD_ << 65 select ARCH_SUPPORTS_LTO_CLANG_THIN if << 66 select ARCH_SUPPORTS_PAGE_TABLE_CHECK << 67 select ARCH_SUPPORTS_PER_VMA_LOCK if M << 68 select ARCH_SUPPORTS_RT << 69 select ARCH_SUPPORTS_SHADOW_CALL_STACK << 70 select ARCH_USE_CMPXCHG_LOCKREF if 64B << 71 select ARCH_USE_MEMTEST << 72 select ARCH_USE_QUEUED_RWLOCKS << 73 select ARCH_USE_SYM_ANNOTATIONS << 74 select ARCH_USES_CFI_TRAPS if CFI_CLAN << 75 select ARCH_WANT_BATCHED_UNMAP_TLB_FLU << 76 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_ << 77 select ARCH_WANT_FRAME_POINTERS << 78 select ARCH_WANT_GENERAL_HUGETLB if !R << 79 select ARCH_WANT_HUGE_PMD_SHARE if 64B << 80 select ARCH_WANT_LD_ORPHAN_WARN if !XI << 81 select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP << 82 select ARCH_WANT_OPTIMIZE_HUGETLB_VMEM << 83 select ARCH_WANTS_NO_INSTR << 84 select ARCH_WANTS_THP_SWAP if HAVE_ARC << 85 select BINFMT_FLAT_NO_DATA_START_OFFSE << 86 select BUILDTIME_TABLE_SORT if MMU << 87 select CLINT_TIMER if RISCV_M_MODE << 88 select CLONE_BACKWARDS << 89 select COMMON_CLK << 90 select CPU_PM if CPU_IDLE || HIBERNATI << 91 select EDAC_SUPPORT << 92 select FRAME_POINTER if PERF_EVENTS || << 93 select FTRACE_MCOUNT_USE_PATCHABLE_FUN << 94 select GENERIC_ARCH_TOPOLOGY << 95 select GENERIC_ATOMIC64 if !64BIT << 96 select GENERIC_CLOCKEVENTS_BROADCAST i << 97 select GENERIC_CPU_DEVICES << 98 select GENERIC_CPU_VULNERABILITIES << 99 select GENERIC_EARLY_IOREMAP << 100 select GENERIC_ENTRY << 101 select GENERIC_GETTIMEOFDAY if HAVE_GE << 102 select GENERIC_IDLE_POLL_SETUP << 103 select GENERIC_IOREMAP if MMU << 104 select GENERIC_IRQ_IPI if SMP << 105 select GENERIC_IRQ_IPI_MUX if SMP << 106 select GENERIC_IRQ_MULTI_HANDLER << 107 select GENERIC_IRQ_SHOW << 108 select GENERIC_IRQ_SHOW_LEVEL << 109 select GENERIC_LIB_DEVMEM_IS_ALLOWED << 110 select GENERIC_PCI_IOMAP << 111 select GENERIC_PTDUMP if MMU << 112 select GENERIC_SCHED_CLOCK << 113 select GENERIC_SMP_IDLE_THREAD << 114 select GENERIC_TIME_VSYSCALL if MMU && << 115 select GENERIC_VDSO_TIME_NS if HAVE_GE << 116 select HARDIRQS_SW_RESEND << 117 select HAS_IOPORT if MMU << 118 select HAVE_ARCH_AUDITSYSCALL << 119 select HAVE_ARCH_HUGE_VMALLOC if HAVE_ << 120 select HAVE_ARCH_HUGE_VMAP if MMU && 6 << 121 select HAVE_ARCH_JUMP_LABEL if !XIP_KE << 122 select HAVE_ARCH_JUMP_LABEL_RELATIVE i << 123 select HAVE_ARCH_KASAN if MMU && 64BIT << 124 select HAVE_ARCH_KASAN_VMALLOC if MMU << 125 select HAVE_ARCH_KFENCE if MMU && 64BI << 126 select HAVE_ARCH_KGDB if !XIP_KERNEL << 127 select HAVE_ARCH_KGDB_QXFER_PKT << 128 select HAVE_ARCH_MMAP_RND_BITS if MMU << 129 select HAVE_ARCH_MMAP_RND_COMPAT_BITS << 130 select HAVE_ARCH_RANDOMIZE_KSTACK_OFFS << 131 select HAVE_ARCH_SECCOMP_FILTER << 132 select HAVE_ARCH_STACKLEAK << 133 select HAVE_ARCH_THREAD_STRUCT_WHITELI << 134 select HAVE_ARCH_TRACEHOOK << 135 select HAVE_ARCH_TRANSPARENT_HUGEPAGE << 136 select HAVE_ARCH_USERFAULTFD_MINOR if << 137 select HAVE_ARCH_VMAP_STACK if MMU && << 138 select HAVE_ASM_MODVERSIONS << 139 select HAVE_CONTEXT_TRACKING_USER << 140 select HAVE_DEBUG_KMEMLEAK << 141 select HAVE_DMA_CONTIGUOUS if MMU << 142 select HAVE_DYNAMIC_FTRACE if !XIP_KER << 143 select HAVE_DYNAMIC_FTRACE_WITH_DIRECT << 144 select HAVE_DYNAMIC_FTRACE_WITH_ARGS i << 145 select HAVE_FTRACE_MCOUNT_RECORD if !X << 146 select HAVE_FUNCTION_GRAPH_TRACER << 147 select HAVE_FUNCTION_GRAPH_RETVAL if H << 148 select HAVE_FUNCTION_TRACER if !XIP_KE << 149 select HAVE_EBPF_JIT if MMU << 150 select HAVE_GUP_FAST if MMU << 151 select HAVE_FUNCTION_ARG_ACCESS_API << 152 select HAVE_FUNCTION_ERROR_INJECTION << 153 select HAVE_GCC_PLUGINS << 154 select HAVE_GENERIC_VDSO if MMU && 64B << 155 select HAVE_IRQ_TIME_ACCOUNTING << 156 select HAVE_KERNEL_BZIP2 if !XIP_KERNE << 157 select HAVE_KERNEL_GZIP if !XIP_KERNEL << 158 select HAVE_KERNEL_LZ4 if !XIP_KERNEL << 159 select HAVE_KERNEL_LZMA if !XIP_KERNEL << 160 select HAVE_KERNEL_LZO if !XIP_KERNEL << 161 select HAVE_KERNEL_UNCOMPRESSED if !XI << 162 select HAVE_KERNEL_ZSTD if !XIP_KERNEL << 163 select HAVE_KERNEL_XZ if !XIP_KERNEL & << 164 select HAVE_KPROBES if !XIP_KERNEL << 165 select HAVE_KRETPROBES if !XIP_KERNEL << 166 # https://github.com/ClangBuiltLinux/l << 167 select HAVE_LD_DEAD_CODE_DATA_ELIMINAT << 168 select HAVE_MOVE_PMD << 169 select HAVE_MOVE_PUD << 170 select HAVE_PAGE_SIZE_4KB << 171 select HAVE_PCI << 172 select HAVE_PERF_EVENTS << 173 select HAVE_PERF_REGS << 174 select HAVE_PERF_USER_STACK_DUMP << 175 select HAVE_POSIX_CPU_TIMERS_TASK_WORK << 176 select HAVE_PREEMPT_DYNAMIC_KEY if !XI << 177 select HAVE_REGS_AND_STACK_ACCESS_API << 178 select HAVE_RETHOOK if !XIP_KERNEL << 179 select HAVE_RSEQ << 180 select HAVE_RUST if RUSTC_SUPPORTS_RIS << 181 select HAVE_SAMPLE_FTRACE_DIRECT << 182 select HAVE_SAMPLE_FTRACE_DIRECT_MULTI << 183 select HAVE_STACKPROTECTOR << 184 select HAVE_SYSCALL_TRACEPOINTS << 185 select HOTPLUG_CORE_SYNC_DEAD if HOTPL << 186 select IRQ_DOMAIN << 187 select IRQ_FORCED_THREADING << 188 select KASAN_VMALLOC if KASAN << 189 select LOCK_MM_AND_FIND_VMA << 190 select MMU_GATHER_RCU_TABLE_FREE if SM << 191 select MODULES_USE_ELF_RELA if MODULES << 192 select OF << 193 select OF_EARLY_FLATTREE << 194 select OF_IRQ << 195 select PCI_DOMAINS_GENERIC if PCI << 196 select PCI_ECAM if (ACPI && PCI) << 197 select PCI_MSI if PCI << 198 select RISCV_ALTERNATIVE if !XIP_KERNE << 199 select RISCV_APLIC << 200 select RISCV_IMSIC << 201 select RISCV_INTC << 202 select RISCV_TIMER if RISCV_SBI << 203 select SIFIVE_PLIC << 204 select SPARSE_IRQ << 205 select SYSCTL_EXCEPTION_TRACE << 206 select THREAD_INFO_IN_TASK << 207 select TRACE_IRQFLAGS_SUPPORT << 208 select UACCESS_MEMCPY if !MMU << 209 select USER_STACKTRACE_SUPPORT << 210 select ZONE_DMA32 if 64BIT << 211 << 212 config RUSTC_SUPPORTS_RISCV << 213 def_bool y << 214 depends on 64BIT << 215 # Shadow call stack requires rustc ver << 216 # -Zsanitizer=shadow-call-stack flag. << 217 depends on !SHADOW_CALL_STACK || RUSTC << 218 << 219 config CLANG_SUPPORTS_DYNAMIC_FTRACE << 220 def_bool CC_IS_CLANG << 221 # https://github.com/ClangBuiltLinux/l << 222 depends on AS_IS_GNU || (AS_IS_LLVM && << 223 << 224 config GCC_SUPPORTS_DYNAMIC_FTRACE << 225 def_bool CC_IS_GCC << 226 depends on $(cc-option,-fpatchable-fun << 227 << 228 config HAVE_SHADOW_CALL_STACK << 229 def_bool $(cc-option,-fsanitize=shadow << 230 # https://github.com/riscv-non-isa/ris << 231 depends on $(ld-option,--no-relax-gp) << 232 << 233 config RISCV_USE_LINKER_RELAXATION << 234 def_bool y << 235 # https://github.com/llvm/llvm-project << 236 depends on !LD_IS_LLD || LLD_VERSION > << 237 << 238 # https://github.com/llvm/llvm-project/commit/ << 239 config ARCH_HAS_BROKEN_DWARF5 << 240 def_bool y << 241 depends on RISCV_USE_LINKER_RELAXATION << 242 # https://github.com/llvm/llvm-project << 243 depends on AS_IS_LLVM && AS_VERSION < << 244 # https://github.com/llvm/llvm-project << 245 depends on LD_IS_LLD && LLD_VERSION < << 246 << 247 config ARCH_MMAP_RND_BITS_MIN << 248 default 18 if 64BIT << 249 default 8 << 250 << 251 config ARCH_MMAP_RND_COMPAT_BITS_MIN << 252 default 8 << 253 << 254 # max bits determined by the following formula << 255 # VA_BITS - PAGE_SHIFT - 3 << 256 config ARCH_MMAP_RND_BITS_MAX << 257 default 24 if 64BIT # SV39 based << 258 default 17 << 259 << 260 config ARCH_MMAP_RND_COMPAT_BITS_MAX << 261 default 17 << 262 << 263 # set if we run in machine mode, cleared if we << 264 config RISCV_M_MODE << 265 bool "Build a kernel that runs in mach << 266 depends on !MMU << 267 default y 20 default y >> 21 >> 22 mainmenu "Linux/MIPS Kernel Configuration" >> 23 >> 24 source "init/Kconfig" >> 25 >> 26 menu "Machine selection" >> 27 >> 28 config ACER_PICA_61 >> 29 bool "Support for Acer PICA 1 chipset (EXPERIMENTAL)" >> 30 depends on EXPERIMENTAL 268 help 31 help 269 Select this option if you want to ru !! 32 This is a machine with a R4400 133/150 MHz CPU. To compile a Linux 270 without the assistance of any other !! 33 kernel that runs on these, say Y here. For details about Linux on >> 34 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at >> 35 <http://oss.sgi.com/mips/>. >> 36 >> 37 config BAGET_MIPS >> 38 bool "Support for BAGET MIPS series (EXPERIMENTAL)" >> 39 depends on MIPS32 && EXPERIMENTAL >> 40 help >> 41 This enables support for the Baget, a Russian embedded system. For >> 42 more details about the Baget see the Linux/MIPS FAQ on >> 43 <http://oss.sgi.com/mips/>. >> 44 >> 45 config CASIO_E55 >> 46 bool "Support for CASIO CASSIOPEIA E-10/15/55/65" >> 47 >> 48 config MIPS_COBALT >> 49 bool "Support for Cobalt Server (EXPERIMENTAL)" >> 50 depends on EXPERIMENTAL >> 51 >> 52 config DECSTATION >> 53 bool "Support for DECstations" >> 54 depends on MIPS32 || EXPERIMENTAL >> 55 ---help--- >> 56 This enables support for DEC's MIPS based workstations. For details >> 57 see the Linux/MIPS FAQ on <http://oss.sgi.com/mips/> and the >> 58 DECstation porting pages on <http://decstation.unix-ag.org/>. >> 59 >> 60 If you have one of the following DECstation Models you definitely >> 61 want to choose R4xx0 for the CPU Type: >> 62 >> 63 DECstation 5000/50 >> 64 DECstation 5000/150 >> 65 DECstation 5000/260 >> 66 DECsystem 5900/260 271 67 272 # set if we are running in S-mode and can use !! 68 otherwise choose R3000. 273 config RISCV_SBI !! 69 >> 70 config MIPS_EV64120 >> 71 bool "Support for Galileo EV64120 Evaluation board (EXPERIMENTAL)" >> 72 depends on EXPERIMENTAL >> 73 help >> 74 This is an evaluation board based on the Galileo GT-64120 >> 75 single-chip system controller that contains a MIPS R5000 compatible >> 76 core running at 75/100MHz. Their website is located at >> 77 <http://www.galileot.com/>. Say Y here if you wish to build a >> 78 kernel for this platform. >> 79 >> 80 config EVB_PCI1 >> 81 bool "Enable Second PCI (PCI1)" >> 82 depends on MIPS_EV64120 >> 83 >> 84 if MOMENCO_OCELOT_G || MOMENCO_OCELOT >> 85 >> 86 config SYSCLK_100 274 bool 87 bool 275 depends on !RISCV_M_MODE << 276 default y 88 default y 277 89 278 config MMU !! 90 endif 279 bool "MMU-based Paged Memory Managemen !! 91 if MIPS_EV64120 280 default y << 281 help << 282 Select if you want MMU-based virtual << 283 support by paged memory management. << 284 92 285 config PAGE_OFFSET !! 93 choice 286 hex !! 94 prompt "Galileo Chip Clock" 287 default 0x80000000 if !MMU && RISCV_M_ !! 95 default SYSCLK_83 288 default 0x80200000 if !MMU << 289 default 0xc0000000 if 32BIT << 290 default 0xff60000000000000 if 64BIT << 291 96 292 config KASAN_SHADOW_OFFSET !! 97 config SYSCLK_75 293 hex !! 98 bool "75" 294 depends on KASAN_GENERIC << 295 default 0xdfffffff00000000 if 64BIT << 296 default 0xffffffff if 32BIT << 297 99 298 config ARCH_FLATMEM_ENABLE !! 100 config SYSCLK_83 299 def_bool !NUMA !! 101 bool "83.3" 300 102 301 config ARCH_SPARSEMEM_ENABLE !! 103 config SYSCLK_100 302 def_bool y !! 104 bool "100" if MIPS_EV64120 303 depends on MMU << 304 select SPARSEMEM_STATIC if 32BIT && SP << 305 select SPARSEMEM_VMEMMAP_ENABLE if 64B << 306 105 307 config ARCH_SELECT_MEMORY_MODEL !! 106 endchoice 308 def_bool ARCH_SPARSEMEM_ENABLE << 309 107 310 config ARCH_SUPPORTS_UPROBES !! 108 endif 311 def_bool y << 312 109 313 config STACKTRACE_SUPPORT !! 110 config MIPS_EV96100 314 def_bool y !! 111 bool "Support for Galileo EV96100 Evaluation board (EXPERIMENTAL)" >> 112 depends on EXPERIMENTAL >> 113 help >> 114 This is an evaluation board based on the Galielo GT-96100 LAN/WAN >> 115 communications controllers containing a MIPS R5000 compatible core >> 116 running at 83MHz. Their website is <http://www.galileot.com/>. Say Y >> 117 here if you wish to build a kernel for this platform. 315 118 316 config GENERIC_BUG !! 119 config MIPS_IVR 317 def_bool y !! 120 bool "Support for Globespan IVR board" 318 depends on BUG !! 121 help 319 select GENERIC_BUG_RELATIVE_POINTERS i !! 122 This is an evaluation board built by Globespan to showcase thir >> 123 iVR (Internet Video Recorder) design. It utilizes a QED RM5231 >> 124 R5000 MIPS core. More information can be found out their website >> 125 located at <http://www.globespan.net/products/product4.html>P. Say Y >> 126 here if you wish to build a kernel for this platform. 320 127 321 config GENERIC_BUG_RELATIVE_POINTERS !! 128 config LASAT 322 bool !! 129 bool "Support for LASAT Networks platforms" 323 130 324 config GENERIC_CALIBRATE_DELAY !! 131 config PICVUE 325 def_bool y !! 132 tristate "PICVUE LCD display driver" >> 133 depends on LASAT 326 134 327 config GENERIC_CSUM !! 135 config PICVUE_PROC 328 def_bool y !! 136 tristate "PICVUE LCD display driver /proc interface" >> 137 depends on PICVUE 329 138 330 config GENERIC_HWEIGHT !! 139 config DS1603 331 def_bool y !! 140 bool "DS1603 RTC driver" >> 141 depends on LASAT 332 142 333 config FIX_EARLYCON_MEM !! 143 config LASAT_SYSCTL 334 def_bool MMU !! 144 bool "LASAT sysctl interface" >> 145 depends on LASAT 335 146 336 config ILLEGAL_POINTER_VALUE !! 147 config HP_LASERJET 337 hex !! 148 bool "Support for Hewlett Packard LaserJet board" 338 default 0 if 32BIT << 339 default 0xdead000000000000 if 64BIT << 340 149 341 config PGTABLE_LEVELS !! 150 config IBM_WORKPAD 342 int !! 151 bool "Support for IBM WorkPad z50" 343 default 5 if 64BIT << 344 default 2 << 345 152 346 config LOCKDEP_SUPPORT !! 153 config MIPS_ITE8172 347 def_bool y !! 154 bool "Support for ITE 8172G board" >> 155 help >> 156 Ths is an evaluation board made by ITE <http://www.ite.com.tw/> >> 157 with ATX form factor that utilizes a MIPS R5000 to work with its >> 158 ITE8172G companion internet appliance chip. The MIPS core can be >> 159 either a NEC Vr5432 or QED RM5231. Say Y here if you wish to build >> 160 a kernel for this platform. 348 161 349 config RISCV_DMA_NONCOHERENT !! 162 config IT8172_REVC 350 bool !! 163 bool "Support for older IT8172 (Rev C)" 351 select ARCH_HAS_DMA_PREP_COHERENT !! 164 depends on MIPS_ITE8172 352 select ARCH_HAS_SETUP_DMA_OPS !! 165 help 353 select ARCH_HAS_SYNC_DMA_FOR_CPU !! 166 Say Y here to support the older, Revision C version of the Integrated 354 select ARCH_HAS_SYNC_DMA_FOR_DEVICE !! 167 Technology Express, Inc. ITE8172 SBC. Vendor page at 355 select DMA_BOUNCE_UNALIGNED_KMALLOC if !! 168 <http://www.ite.com.tw/ia/brief_it8172bsp.htm>; picture of the >> 169 board at <http://www.mvista.com/allies/semiconductor/ite.html>. 356 170 357 config RISCV_NONSTANDARD_CACHE_OPS !! 171 config MIPS_ATLAS 358 bool !! 172 bool "Support for MIPS Atlas board" 359 help 173 help 360 This enables function pointer suppor !! 174 This enables support for the QED R5231-based MIPS Atlas evaluation 361 systems to handle cache management. !! 175 board. 362 176 363 config AS_HAS_INSN !! 177 config MIPS_MAGNUM_4000 364 def_bool $(as-instr,.insn r 51$(comma) !! 178 bool "Support for MIPS Magnum 4000" >> 179 help >> 180 This is a machine with a R4000 100 MHz CPU. To compile a Linux >> 181 kernel that runs on these, say Y here. For details about Linux on >> 182 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at >> 183 <http://oss.sgi.com/mips/>. 365 184 366 config AS_HAS_OPTION_ARCH !! 185 config MIPS_MALTA 367 # https://github.com/llvm/llvm-project !! 186 bool "Support for MIPS Malta board" 368 def_bool y !! 187 help 369 depends on $(as-instr, .option arch$(c !! 188 This enables support for the VR5000-based MIPS Malta evaluation >> 189 board. 370 190 371 source "arch/riscv/Kconfig.socs" !! 191 config MIPS_SEAD 372 source "arch/riscv/Kconfig.errata" !! 192 bool "Support for MIPS SEAD board (EXPERIMENTAL)" >> 193 depends on EXPERIMENTAL 373 194 374 menu "Platform type" !! 195 config MOMENCO_OCELOT >> 196 bool "Support for Momentum Ocelot board" >> 197 help >> 198 The Ocelot is a MIPS-based Single Board Computer (SBC) made by >> 199 Momentum Computer <http://www.momenco.com/>. 375 200 376 config NONPORTABLE !! 201 config MOMENCO_OCELOT_G 377 bool "Allow configurations that result !! 202 bool "Support for Momentum Ocelot-G board" 378 help 203 help 379 RISC-V kernel binaries are compatibl !! 204 The Ocelot is a MIPS-based Single Board Computer (SBC) made by 380 whenever possible, but there are som !! 205 Momentum Computer <http://www.momenco.com/>. 381 satisfied by configurations that res << 382 not portable between systems. << 383 206 384 Selecting N does not guarantee kerne !! 207 config MOMENCO_OCELOT_C 385 systems. Selecting any of the optio !! 208 bool "Support for Momentum Ocelot-C board" 386 result in kernel binaries that are u !! 209 help 387 systems. !! 210 The Ocelot is a MIPS-based Single Board Computer (SBC) made by >> 211 Momentum Computer <http://www.momenco.com/>. 388 212 389 If unsure, say N. !! 213 config DDB5074 >> 214 bool "Support for NEC DDB Vrc-5074 (EXPERIMENTAL)" >> 215 depends on EXPERIMENTAL >> 216 help >> 217 This enables support for the VR5000-based NEC DDB Vrc-5074 >> 218 evaluation board. 390 219 391 choice !! 220 config DDB5476 392 prompt "Base ISA" !! 221 bool "Support for NEC DDB Vrc-5476" 393 default ARCH_RV64I << 394 help 222 help 395 This selects the base ISA that this !! 223 This enables support for the R5432-based NEC DDB Vrc-5476 396 the target platform. !! 224 evaluation board. 397 225 398 config ARCH_RV32I !! 226 Features : kernel debugging, serial terminal, NFS root fs, on-board 399 bool "RV32I" !! 227 ether port USB, AC97, PCI, PCI VGA card & framebuffer console, 400 depends on NONPORTABLE !! 228 IDE controller, PS2 keyboard, PS2 mouse, etc. 401 select 32BIT << 402 select GENERIC_LIB_ASHLDI3 << 403 select GENERIC_LIB_ASHRDI3 << 404 select GENERIC_LIB_LSHRDI3 << 405 select GENERIC_LIB_UCMPDI2 << 406 << 407 config ARCH_RV64I << 408 bool "RV64I" << 409 select 64BIT << 410 select ARCH_SUPPORTS_INT128 if CC_HAS_ << 411 select SWIOTLB if MMU << 412 229 413 endchoice !! 230 config DDB5477 >> 231 bool "Support for NEC DDB Vrc-5477" >> 232 help >> 233 This enables support for the R5432-based NEC DDB Vrc-5477, >> 234 or Rockhopper/SolutionGear boards with R5432/R5500 CPUs. 414 235 415 # We must be able to map all physical memory i !! 236 Features : kernel debugging, serial terminal, NFS root fs, on-board 416 # is still a bit more efficient when generatin !! 237 ether port USB, AC97, PCI, etc. 417 # such that it can only map 2GiB of memory. << 418 choice << 419 prompt "Kernel Code Model" << 420 default CMODEL_MEDLOW if 32BIT << 421 default CMODEL_MEDANY if 64BIT << 422 << 423 config CMODEL_MEDLOW << 424 bool "medium low code model" << 425 config CMODEL_MEDANY << 426 bool "medium any code model" << 427 endchoice << 428 238 429 config MODULE_SECTIONS !! 239 config DDB5477_BUS_FREQUENCY 430 bool !! 240 int "bus frequency (in kHZ, 0 for auto-detect)" 431 select HAVE_MOD_ARCH_SPECIFIC !! 241 depends on DDB5477 >> 242 default 0 >> 243 >> 244 config NEC_OSPREY >> 245 bool "Support for NEC Osprey board" 432 246 433 config SMP !! 247 config NEC_EAGLE 434 bool "Symmetric Multi-Processing" !! 248 bool "Support for NEC Eagle/Hawk board" >> 249 >> 250 config OLIVETTI_M700 >> 251 bool "Support for Olivetti M700-10" 435 help 252 help 436 This enables support for systems wit !! 253 This is a machine with a R4000 100 MHz CPU. To compile a Linux 437 you say N here, the kernel will run !! 254 kernel that runs on these, say Y here. For details about Linux on 438 multiprocessor machines, but will us !! 255 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at 439 multiprocessor machine. If you say Y !! 256 <http://oss.sgi.com/mips/>. 440 on many, but not all, single process !! 257 441 processor machine, the kernel will r !! 258 config SGI_IP22 >> 259 bool "Support for SGI IP22 (Indy/Indigo2)" >> 260 help >> 261 This are the SGI Indy, Challenge S and Indigo2, as well as certain >> 262 OEM variants like the Tandem CMN B006S. To compile a Linux kernel >> 263 that runs on these, say Y here. >> 264 >> 265 config SGI_IP27 >> 266 bool "Support for SGI IP27 (Origin200/2000)" >> 267 depends on MIPS64 >> 268 help >> 269 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics >> 270 workstations. To compile a Linux kernel that runs on these, say Y 442 here. 271 here. 443 272 444 If you don't know what to do here, s !! 273 #config SGI_SN0_XXL >> 274 # bool "IP27 XXL" >> 275 # depends on SGI_IP27 >> 276 # This options adds support for userspace processes upto 16TB size. >> 277 # Normally the limit is just .5TB. >> 278 >> 279 config SGI_SN0_N_MODE >> 280 bool "IP27 N-Mode" >> 281 depends on SGI_IP27 >> 282 help >> 283 The nodes of Origin 200, Origin 2000 and Onyx 2 systems can be >> 284 configured in either N-Modes which allows for more nodes or M-Mode >> 285 which allows for more memory. Your system is most probably >> 286 running in M-Mode, so you should say N here. >> 287 >> 288 config DISCONTIGMEM >> 289 bool "Discontiguous Memory Support" >> 290 depends on SGI_IP27 >> 291 help >> 292 Say Y to upport efficient handling of discontiguous physical memory, >> 293 for architectures which are either NUMA (Non-Uniform Memory Access) >> 294 or have huge holes in the physical address space for other reasons. >> 295 See <file:Documentation/vm/numa> for more. 445 296 446 config SCHED_MC !! 297 config NUMA 447 bool "Multi-core scheduler support" !! 298 bool "NUMA Support" 448 depends on SMP !! 299 depends on SGI_IP27 449 help 300 help 450 Multi-core scheduler support improve !! 301 Say Y to compile the kernel to support NUMA (Non-Uniform Memory 451 making when dealing with multi-core !! 302 Access). This option is for configuring high-end multiprocessor 452 increased overhead in some places. I !! 303 server machines. If in doubt, say N. 453 304 454 config NR_CPUS !! 305 config MAPPED_KERNEL 455 int "Maximum number of CPUs (2-512)" !! 306 bool "Mapped kernel support" 456 depends on SMP !! 307 depends on SGI_IP27 457 range 2 512 if !RISCV_SBI_V01 !! 308 help 458 range 2 32 if RISCV_SBI_V01 && 32BIT !! 309 Change the way a Linux kernel is loaded unto memory on a MIPS64 459 range 2 64 if RISCV_SBI_V01 && 64BIT !! 310 machine. This is required in order to support text replication and 460 default "32" if 32BIT !! 311 NUMA. If you need to undersatand it, read the source code. 461 default "64" if 64BIT << 462 312 463 config HOTPLUG_CPU !! 313 config REPLICATE_KTEXT 464 bool "Support for hot-pluggable CPUs" !! 314 bool "Kernel text replication support" 465 depends on SMP !! 315 depends on SGI_IP27 466 select GENERIC_IRQ_MIGRATION !! 316 help >> 317 Say Y here to enable replicating the kernel text across multiple >> 318 nodes in a NUMA cluster. This trades memory for speed. >> 319 >> 320 config REPLICATE_EXHANDLERS >> 321 bool "Exception handler replication support" >> 322 depends on SGI_IP27 467 help 323 help >> 324 Say Y here to enable replicating the kernel exception handlers >> 325 across multiple nodes in a NUMA cluster. This trades memory for >> 326 speed. 468 327 469 Say Y here to experiment with turnin !! 328 config SGI_IP32 470 can be controlled through /sys/devic !! 329 bool "Support for SGI IP32 (O2) (EXPERIMENTAL)" >> 330 depends on EXPERIMENTAL >> 331 help >> 332 If you want this kernel to run on SGI O2 workstation, say Y here. 471 333 472 Say N if you want to disable CPU hot !! 334 config SOC_AU1X00 >> 335 depends on MIPS32 >> 336 bool "Support for AMD/Alchemy Au1X00 SOCs" 473 337 474 choice 338 choice 475 prompt "CPU Tuning" !! 339 prompt "Au1X00 SOC Type" 476 default TUNE_GENERIC !! 340 depends on SOC_AU1X00 >> 341 help >> 342 Say Y here to enable support for one of three AMD/Alchemy >> 343 SOCs. For additional documentation see www.amd.com. 477 344 478 config TUNE_GENERIC !! 345 config SOC_AU1000 479 bool "generic" !! 346 bool "SOC_AU1000" >> 347 config SOC_AU1100 >> 348 bool "SOC_AU1100" >> 349 config SOC_AU1500 >> 350 bool "SOC_AU1500" 480 351 481 endchoice 352 endchoice 482 353 483 # Common NUMA Features !! 354 choice 484 config NUMA !! 355 prompt "AMD/Alchemy Pb1x and Db1x board support" 485 bool "NUMA Memory Allocation and Sched !! 356 depends on SOC_AU1X00 486 depends on SMP && MMU !! 357 help 487 select ARCH_SUPPORTS_NUMA_BALANCING !! 358 These are evaluation boards built by AMD/Alchemy to 488 select GENERIC_ARCH_NUMA !! 359 showcase their Au1X00 Internet Edge Processors. The SOC design 489 select HAVE_SETUP_PER_CPU_AREA !! 360 is based on the MIPS32 architecture running at 266/400/500MHz 490 select NEED_PER_CPU_EMBED_FIRST_CHUNK !! 361 with many integrated peripherals. Further information can be 491 select NEED_PER_CPU_PAGE_FIRST_CHUNK !! 362 found at their website, <http://www.amd.com/>. Say Y here if you 492 select OF_NUMA !! 363 wish to build a kernel for this platform. 493 select USE_PERCPU_NUMA_NODE_ID !! 364 >> 365 config MIPS_PB1000 >> 366 bool "PB1000 board" >> 367 depends on SOC_AU1000 >> 368 >> 369 config MIPS_PB1100 >> 370 bool "PB1100 board" >> 371 depends on SOC_AU1100 >> 372 >> 373 config MIPS_PB1500 >> 374 bool "PB1500 board" >> 375 depends on SOC_AU1500 >> 376 >> 377 config MIPS_DB1000 >> 378 bool "DB1000 board" >> 379 depends on SOC_AU1000 >> 380 >> 381 config MIPS_DB1100 >> 382 bool "DB1100 board" >> 383 depends on SOC_AU1100 >> 384 >> 385 config MIPS_DB1500 >> 386 bool "DB1500 board" >> 387 depends on SOC_AU1500 >> 388 >> 389 endchoice >> 390 >> 391 config SIBYTE_SB1xxx_SOC >> 392 bool "Support for Broadcom BCM1xxx SOCs (EXPERIMENTAL)" >> 393 depends on EXPERIMENTAL >> 394 >> 395 choice >> 396 prompt "BCM1xxx SOC Type" >> 397 depends on SIBYTE_SB1xxx_SOC >> 398 default SIBYTE_SB1250 >> 399 >> 400 config SIBYTE_SB1250 >> 401 bool "BCM1250" >> 402 >> 403 endchoice >> 404 >> 405 config SIMULATION >> 406 bool "Running under simulation" >> 407 depends on SIBYTE_SB1xxx_SOC >> 408 >> 409 config SIBYTE_CFE >> 410 bool "Booting from CFE" >> 411 depends on SIBYTE_SB1xxx_SOC >> 412 >> 413 config SIBYTE_CFE_CONSOLE >> 414 bool "Use firmware console" >> 415 depends on SIBYTE_CFE >> 416 >> 417 config SIBYTE_STANDALONE >> 418 bool >> 419 depends on SIBYTE_SB1xxx_SOC && !SIBYTE_CFE >> 420 default y >> 421 >> 422 config SIBYTE_STANDALONE_RAM_SIZE >> 423 int "Memory size (in megabytes)" >> 424 depends on SIBYTE_SB1xxx_SOC && !SIBYTE_CFE >> 425 default "32" >> 426 >> 427 config SIBYTE_BUS_WATCHER >> 428 bool "Support for Bus Watcher statistics" >> 429 depends on SIBYTE_SB1xxx_SOC >> 430 >> 431 config SIBYTE_SB1250_PROF >> 432 bool "Support for SB1/SOC profiling - SB1/SCD perf counters" >> 433 depends on SIBYTE_SB1xxx_SOC >> 434 >> 435 config SIBYTE_TBPROF >> 436 bool "Support for ZBbus profiling" >> 437 depends on SIBYTE_SB1xxx_SOC >> 438 >> 439 config SIBYTE_SWARM >> 440 bool "Support for SWARM board" >> 441 depends on SIBYTE_SB1250 >> 442 >> 443 config SIBYTE_BOARD >> 444 bool >> 445 depends on SIBYTE_SWARM >> 446 default y >> 447 >> 448 config SNI_RM200_PCI >> 449 bool "Support for SNI RM200 PCI" 494 help 450 help 495 Enable NUMA (Non-Uniform Memory Acce !! 451 The SNI RM200 PCI was a MIPS-based platform manufactured by Siemens >> 452 Nixdorf Informationssysteme (SNI), parent company of Pyramid >> 453 Technology and now in turn merged with Fujitsu. Say Y here to >> 454 support this machine type. 496 455 497 The kernel will try to allocate memo !! 456 config TANBAC_TB0226 498 local memory of the CPU and add some !! 457 bool "Support for TANBAC TB0226 (Mbase)" >> 458 help >> 459 The TANBAC TB0226 (Mbase) is a MIPS-based platform manufactured by TANBAC. >> 460 Please refer to <http://www.tanbac.co.jp/> about Mbase. 499 461 500 config NODES_SHIFT !! 462 config TANBAC_TB0229 501 int "Maximum NUMA Nodes (as a power of !! 463 bool "Support for TANBAC TB0229 (VR4131DIMM)" 502 range 1 10 << 503 default "2" << 504 depends on NUMA << 505 help 464 help 506 Specify the maximum number of NUMA N !! 465 The TANBAC TB0229 (VR4131DIMM) is a MIPS-based platform manufactured by TANBAC. 507 system. Increases memory reserved t !! 466 Please refer to <http://www.tanbac.co.jp/> about VR4131DIMM. >> 467 >> 468 config TOSHIBA_JMR3927 >> 469 bool "Support for Toshiba JMR-TX3927 board" >> 470 depends on MIPS32 >> 471 >> 472 config TOSHIBA_RBTX4927 >> 473 bool "Support for Toshiba TBTX49[23]7 board" >> 474 depends on MIPS32 >> 475 >> 476 config VICTOR_MPC30X >> 477 bool "Support for Victor MP-C303/304" >> 478 >> 479 config ZAO_CAPCELLA >> 480 bool "Support for ZAO Networks Capcella" 508 481 509 config RISCV_ALTERNATIVE !! 482 config RWSEM_GENERIC_SPINLOCK 510 bool 483 bool 511 depends on !XIP_KERNEL !! 484 default y 512 help << 513 This Kconfig allows the kernel to au << 514 erratum or cpufeature required by th << 515 time. The code patching overhead is << 516 once at boot and once on each module << 517 485 518 config RISCV_ALTERNATIVE_EARLY !! 486 config RWSEM_XCHGADD_ALGORITHM 519 bool 487 bool 520 depends on RISCV_ALTERNATIVE << 521 help << 522 Allows early patching of the kernel << 523 488 524 config RISCV_ISA_C !! 489 # 525 bool "Emit compressed instructions whe !! 490 # Select some configuration options automatically based on user selections. >> 491 # >> 492 config ARC >> 493 bool >> 494 depends on SNI_RM200_PCI || SGI_IP32 || SGI_IP27 || SGI_IP22 || MIPS_MAGNUM_4000 || OLIVETTI_M700 || ACER_PICA_61 >> 495 default y >> 496 >> 497 config GENERIC_ISA_DMA >> 498 bool >> 499 depends on SNI_RM200_PCI || MIPS_MAGNUM_4000 || OLIVETTI_M700 || ACER_PICA_61 526 default y 500 default y 527 help << 528 Adds "C" to the ISA subsets that the << 529 when building Linux, which results i << 530 Linux binary. << 531 501 532 If you don't know what to do here, s !! 502 config CONFIG_GT64120 >> 503 bool >> 504 depends on MIPS_EV64120 || MOMENCO_OCELOT >> 505 default y 533 506 534 config RISCV_ISA_SVNAPOT !! 507 config I8259 535 bool "Svnapot extension support for su !! 508 bool 536 depends on 64BIT && MMU !! 509 depends on SNI_RM200_PCI || DDB5477 || DDB5476 || DDB5074 || MIPS_MALTA || MIPS_MAGNUM_4000 || OLIVETTI_M700 || MIPS_COBALT || ACER_PICA_61 537 depends on RISCV_ALTERNATIVE << 538 default y 510 default y 539 help << 540 Allow kernel to detect the Svnapot I << 541 time and enable its usage. << 542 511 543 The Svnapot extension is used to mar !! 512 config MIPS_JAZZ 544 of contiguous virtual-to-physical tr !! 513 bool 545 aligned power-of-2 (NAPOT) granulari !! 514 depends on MIPS_MAGNUM_4000 || OLIVETTI_M700 || ACER_PICA_61 546 size. When HUGETLBFS is also selecte !! 515 default y 547 allocates some memory for each NAPOT << 548 When optimizing for low memory consu << 549 the Svnapot extension, it may be bet << 550 516 551 If you don't know what to do here, s !! 517 config NONCOHERENT_IO >> 518 bool >> 519 depends on ZAO_CAPCELLA || VICTOR_MPC30X || TOSHIBA_JMR3927 || TOSHIBA_RBTX4927 || SNI_RM200_PCI || SGI_IP32 || SGI_IP22 || NEC_EAGLE || NEC_OSPREY || DDB5477 || DDB5476 || DDB5074 || MOMENCO_OCELOT || MOMENCO_OCELOT_C || MOMENCO_OCELOT_G || MIPS_SEAD || MIPS_MALTA || MIPS_MAGNUM_4000 || OLIVETTI_M700 || MIPS_ATLAS || LASAT || MIPS_ITE8172 || IBM_WORKPAD || HP_LASERJET || MIPS_IVR || MIPS_EV96100 || MIPS_EV64120 || DECSTATION || MIPS_COBALT || MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000 || CASIO_E55 || ACER_PICA_61 || TANBAC_TB0226 || TANBAC_TB0229 >> 520 default y if ZAO_CAPCELLA || VICTOR_MPC30X || TOSHIBA_JMR3927 || TOSHIBA_RBTX4927 || SNI_RM200_PCI || SGI_IP32 || SGI_IP22 || NEC_EAGLE || NEC_OSPREY || DDB5477 || DDB5476 || DDB5074 || MOMENCO_OCELOT_G || MOMENCO_OCELOT || MIPS_SEAD || MIPS_MALTA || MIPS_MAGNUM_4000 || OLIVETTI_M700 || MIPS_ATLAS || LASAT || MIPS_ITE8172 || IBM_WORKPAD || HP_LASERJET || MIPS_IVR || MIPS_EV96100 || MIPS_EV64120 || DECSTATION || MIPS_COBALT || MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000 || CASIO_E55 || ACER_PICA_61 || TANBAC_TB0226 || TANBAC_TB0229 >> 521 default n if (SIBYTE_SB1250 || SGI_IP27) >> 522 >> 523 config CPU_LITTLE_ENDIAN >> 524 bool "Generate little endian code" >> 525 default y if ACER_PICA_61 || CASIO_E55 || DDB5074 || DDB5476 || DDB5477 || DECSTATION || HP_LASERJET || IBM_WORKPAD || LASAT || MIPS_COBALT || MIPS_ITE8172 || MIPS_IVR || MIPS_PB1000 || MIPS_PB1100 || MIPS_PB1500 || NEC_OSPREY || NEC_EAGLE || OLIVETTI_M700 || SNI_RM200_PCI || VICTOR_MPC30X || ZAO_CAPCELLA >> 526 default n if BAGET_MIPS || MIPS_EV64120 || MIPS_EV96100 || MOMENCO_OCELOT || MOMENCO_OCELOT_G || SGI_IP22 || SGI_IP27 || SGI_IP32 || TOSHIBA_JMR3927 >> 527 help >> 528 Some MIPS machines can be configured for either little or big endian >> 529 byte order. These modes require different kernels. Say Y if your >> 530 machine is little endian, N if it's a big endian machine. 552 531 553 config RISCV_ISA_SVPBMT !! 532 config IRQ_CPU 554 bool "Svpbmt extension support for sup !! 533 bool 555 depends on 64BIT && MMU !! 534 depends on ZAO_CAPCELLA || VICTOR_MPC30X || SGI_IP22 || NEC_EAGLE || NEC_OSPREY || DDB5477 || DDB5476 || DDB5074 || IBM_WORKPAD || HP_LASERJET || DECSTATION || CASIO_E55 || TANBAC_TB0226 || TANBAC_TB0229 556 depends on RISCV_ALTERNATIVE << 557 default y 535 default y 558 help << 559 Adds support to dynamically detect << 560 ISA-extension (Supervisor-mode: pag << 561 enable its usage. << 562 536 563 The memory type for a page contains !! 537 config VR41XX_TIME_C 564 that indicate the cacheability, ide !! 538 bool 565 properties for access to that page. !! 539 depends on ZAO_CAPCELLA || VICTOR_MPC30X || NEC_EAGLE || IBM_WORKPAD || CASIO_E55 || TANBAC_TB0226 || TANBAC_TB0229 >> 540 default y >> 541 >> 542 config DUMMY_KEYB >> 543 bool >> 544 depends on ZAO_CAPCELLA || VICTOR_MPC30X || SIBYTE_SB1250 || NEC_EAGLE || NEC_OSPREY || DDB5477 || IBM_WORKPAD || CASIO_E55 || TANBAC_TB0226 || TANBAC_TB0229 >> 545 default y >> 546 >> 547 config VR41XX_COMMON >> 548 bool >> 549 depends on NEC_EAGLE || ZAO_CAPCELLA || VICTOR_MPC30X || IBM_WORKPAD || CASIO_E55 || TANBAC_TB0226 || TANBAC_TB0229 >> 550 default y 566 551 567 The Svpbmt extension is only availa !! 552 config VRC4173 >> 553 tristate "NEC VRC4173 Support" >> 554 depends on NEC_EAGLE || VICTOR_MPC30X 568 555 569 If you don't know what to do here, !! 556 config DDB5XXX_COMMON >> 557 bool >> 558 depends on DDB5074 || DDB5476 || DDB5477 >> 559 default y 570 560 571 config TOOLCHAIN_HAS_V !! 561 config MIPS_BOARDS_GEN 572 bool 562 bool >> 563 depends on MIPS_ATLAS || MIPS_MALTA || MIPS_SEAD 573 default y 564 default y 574 depends on !64BIT || $(cc-option,-mabi << 575 depends on !32BIT || $(cc-option,-mabi << 576 depends on LLD_VERSION >= 140000 || LD << 577 depends on AS_HAS_OPTION_ARCH << 578 565 579 config RISCV_ISA_V !! 566 config ITE_BOARD_GEN 580 bool "VECTOR extension support" !! 567 bool 581 depends on TOOLCHAIN_HAS_V !! 568 depends on MIPS_IVR || MIPS_ITE8172 582 depends on FPU << 583 select DYNAMIC_SIGFRAME << 584 default y 569 default y 585 help << 586 Say N here if you want to disable al << 587 in the kernel. << 588 570 589 If you don't know what to do here, s !! 571 config NEW_PCI >> 572 bool >> 573 depends on ZAO_CAPCELLA || VICTOR_MPC30X || TOSHIBA_JMR3927 || TOSHIBA_RBTX4927 || NEC_EAGLE || DDB5477 || DDB5476 || DDB5074 || MIPS_ITE8172 || HP_LASERJET || MIPS_IVR || MIPS_EV96100 || MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000 || TANBAC_TB0226 || TANBAC_TB0229 >> 574 default y 590 575 591 config RISCV_ISA_V_DEFAULT_ENABLE !! 576 config SWAP_IO_SPACE 592 bool "Enable userspace Vector by defau !! 577 bool "Support for paging of anonymous memory" 593 depends on RISCV_ISA_V !! 578 depends on TOSHIBA_JMR3927 || TOSHIBA_RBTX4927 || SIBYTE_SB1250 || SGI_IP22 || MOMENCO_OCELOT_C || MOMENCO_OCELOT_G || MOMENCO_OCELOT || MIPS_MALTA || MIPS_ATLAS || MIPS_EV96100 || MIPS_PB1100 || MIPS_PB1000 594 default y 579 default y 595 help 580 help 596 Say Y here if you want to enable Vec !! 581 This option allows you to choose whether you want to have support 597 Otherwise, userspace has to make exp !! 582 for socalled swap devices or swap files in your kernel that are 598 Vector, or enable it via the sysctl !! 583 used to provide more virtual memory than the actual RAM present >> 584 in your computer. If unusre say Y. 599 585 600 If you don't know what to do here, s !! 586 config SIBYTE_HAS_LDT >> 587 bool >> 588 depends on SIBYTE_SB1xxx_SOC && PCI >> 589 default y 601 590 602 config RISCV_ISA_V_UCOPY_THRESHOLD !! 591 config AU1000_USB_DEVICE 603 int "Threshold size for vectorized use !! 592 bool 604 depends on RISCV_ISA_V !! 593 depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000 605 default 768 !! 594 default n 606 help << 607 Prefer using vectorized copy_to_user << 608 workload size exceeds this value. << 609 595 610 config RISCV_ISA_V_PREEMPTIVE !! 596 config COBALT_LCD 611 bool "Run kernel-mode Vector with kern !! 597 bool 612 depends on PREEMPTION !! 598 depends on MIPS_COBALT 613 depends on RISCV_ISA_V << 614 default y 599 default y 615 help << 616 Usually, in-kernel SIMD routines are << 617 Functions which envoke long running << 618 vector unit to prevent blocking othe << 619 600 620 This config allows kernel to run SIM !! 601 config MIPS_GT64120 621 preemption. Enabling this config wil !! 602 bool 622 consumption due to the allocation of !! 603 depends on MIPS_EV64120 >> 604 default y 623 605 624 config RISCV_ISA_ZAWRS !! 606 config MIPS_GT96100 625 bool "Zawrs extension support for more !! 607 bool 626 depends on RISCV_ALTERNATIVE !! 608 depends on MIPS_EV96100 627 default y 609 default y 628 help 610 help 629 The Zawrs extension defines instruct !! 611 Say Y here to support the Galileo Technology GT96100 communications 630 which allow a hart to enter a low-po !! 612 controller card. There is a web page at <http://www.galileot.com/>. 631 hypervisor while waiting on a store !! 613 632 use of these instructions in the ker !! 614 config IT8172_CIR 633 detected at boot. !! 615 bool >> 616 depends on MIPS_ITE8172 || MIPS_IVR >> 617 default y 634 618 635 If you don't know what to do here, s !! 619 config IT8712 >> 620 bool >> 621 depends on MIPS_ITE8172 >> 622 default y 636 623 637 config TOOLCHAIN_HAS_ZBB !! 624 config BOOT_ELF32 638 bool 625 bool >> 626 depends on DECSTATION || MIPS_ATLAS || MIPS_MALTA || SIBYTE_SB1250 || SGI_IP32 || SGI_IP22 || SNI_RM200_PCI 639 default y 627 default y 640 depends on !64BIT || $(cc-option,-mabi << 641 depends on !32BIT || $(cc-option,-mabi << 642 depends on LLD_VERSION >= 150000 || LD << 643 depends on AS_HAS_OPTION_ARCH << 644 628 645 # This symbol indicates that the toolchain sup !! 629 config L1_CACHE_SHIFT 646 # extensions, including Zvk*, Zvbb, and Zvbc. !! 630 int 647 # binutils added all except Zvkb, then added Z !! 631 default "4" if DECSTATION 648 config TOOLCHAIN_HAS_VECTOR_CRYPTO !! 632 default "5" if SGI_IP32 || SGI_IP22 || MIPS_SEAD || MIPS_MALTA || MIPS_ATLAS 649 def_bool $(as-instr, .option arch$(com !! 633 default "7" if SGI_IP27 650 depends on AS_HAS_OPTION_ARCH << 651 634 652 config RISCV_ISA_ZBA !! 635 config ARC32 653 bool "Zba extension support for bit ma !! 636 bool >> 637 depends on SNI_RM200_PCI || SGI_IP32 || SGI_IP22 || MIPS_MAGNUM_4000 || OLIVETTI_M700 654 default y 638 default y 655 help << 656 Add support for enabling optimisati << 657 extension is detected at boot. << 658 639 659 The Zba extension provides instruct !! 640 config FB 660 of addresses that index into arrays !! 641 bool >> 642 depends on MIPS_MAGNUM_4000 || OLIVETTI_M700 >> 643 default y >> 644 ---help--- >> 645 The frame buffer device provides an abstraction for the graphics >> 646 hardware. It represents the frame buffer of some video hardware and >> 647 allows application software to access the graphics hardware through >> 648 a well-defined interface, so the software doesn't need to know >> 649 anything about the low-level (hardware register) stuff. >> 650 >> 651 Frame buffer devices work identically across the different >> 652 architectures supported by Linux and make the implementation of >> 653 application programs easier and more portable; at this point, an X >> 654 server exists which uses the frame buffer device exclusively. >> 655 On several non-X86 architectures, the frame buffer device is the >> 656 only way to use the graphics hardware. >> 657 >> 658 The device is accessed through special device nodes, usually located >> 659 in the /dev directory, i.e. /dev/fb*. >> 660 >> 661 You need an utility program called fbset to make full use of frame >> 662 buffer devices. Please read <file:Documentation/fb/framebuffer.txt> >> 663 and the Framebuffer-HOWTO at >> 664 <http://www.tahallah.demon.co.uk/programming/prog.html> for more >> 665 information. >> 666 >> 667 Say Y here and to the driver for your graphics board below if you >> 668 are compiling a kernel for a non-x86 architecture. >> 669 >> 670 If you are compiling for the x86 architecture, you can say Y if you >> 671 want to play with it, but it is not essential. Please note that >> 672 running graphical applications that directly touch the hardware >> 673 (e.g. an accelerated X server) and that are not frame buffer >> 674 device-aware may cause unexpected results. If unsure, say N. 661 675 662 If you don't know what to do here, !! 676 config FB_G364 >> 677 bool >> 678 depends on MIPS_MAGNUM_4000 || OLIVETTI_M700 >> 679 default y 663 680 664 config RISCV_ISA_ZBB !! 681 config HAVE_STD_PC_SERIAL_PORT 665 bool "Zbb extension support for bit ma !! 682 bool 666 depends on TOOLCHAIN_HAS_ZBB !! 683 depends on DDB5476 || DDB5074 || MIPS_MALTA 667 depends on RISCV_ALTERNATIVE << 668 default y 684 default y 669 help << 670 Adds support to dynamically detect << 671 extension (basic bit manipulation) << 672 685 673 The Zbb extension provides instruct !! 686 config VR4181 674 of bit-specific operations (count b !! 687 bool 675 bitrotation, etc). !! 688 depends on NEC_OSPREY >> 689 default y 676 690 677 If you don't know what to do here, !! 691 config ARC_CONSOLE >> 692 bool "ARC console support" >> 693 depends on SGI_IP22 || SNI_RM200_PCI 678 694 679 config TOOLCHAIN_HAS_ZBC !! 695 config ARC_MEMORY 680 bool 696 bool >> 697 depends on SNI_RM200_PCI || SGI_IP32 681 default y 698 default y 682 depends on !64BIT || $(cc-option,-mabi << 683 depends on !32BIT || $(cc-option,-mabi << 684 depends on LLD_VERSION >= 150000 || LD << 685 depends on AS_HAS_OPTION_ARCH << 686 699 687 config RISCV_ISA_ZBC !! 700 config ARC_PROMLIB 688 bool "Zbc extension support for carry- !! 701 bool 689 depends on TOOLCHAIN_HAS_ZBC !! 702 depends on SNI_RM200_PCI || SGI_IP32 || SGI_IP22 690 depends on MMU << 691 depends on RISCV_ALTERNATIVE << 692 default y 703 default y 693 help << 694 Adds support to dynamically detect << 695 extension (carry-less multiplicatio << 696 704 697 The Zbc extension could accelerate !! 705 config BOARD_SCACHE 698 calculations. !! 706 bool >> 707 depends on MIPS_EV96100 || MOMENCO_OCELOT || SGI_IP22 >> 708 default y 699 709 700 If you don't know what to do here, !! 710 config ARC64 >> 711 bool >> 712 depends on SGI_IP27 >> 713 default y 701 714 702 config RISCV_ISA_ZICBOM !! 715 config BOOT_ELF64 703 bool "Zicbom extension support for non !! 716 bool 704 depends on MMU !! 717 depends on SGI_IP27 705 depends on RISCV_ALTERNATIVE << 706 default y 718 default y 707 select RISCV_DMA_NONCOHERENT << 708 select DMA_DIRECT_REMAP << 709 help << 710 Adds support to dynamically detect << 711 extension (Cache Block Management O << 712 usage. << 713 719 714 The Zicbom extension can be used to !! 720 #config MAPPED_PCI_IO y 715 non-coherent DMA support on devices !! 721 # bool >> 722 # depends on SGI_IP27 >> 723 # default y 716 724 717 If you don't know what to do here, !! 725 config QL_ISP_A64 >> 726 bool >> 727 depends on SGI_IP27 >> 728 default y 718 729 719 config RISCV_ISA_ZICBOZ !! 730 config TOSHIBA_BOARDS 720 bool "Zicboz extension support for fas !! 731 bool 721 depends on RISCV_ALTERNATIVE !! 732 depends on TOSHIBA_JMR3927 || TOSHIBA_RBTX4927 722 default y 733 default y >> 734 >> 735 config TANBAC_TB0219 >> 736 bool "Added TANBAC TB0219 Base board support" >> 737 depends on TANBAC_TB0229 >> 738 >> 739 endmenu >> 740 >> 741 >> 742 menu "CPU selection" >> 743 >> 744 choice >> 745 prompt "CPU type" >> 746 default CPU_R4X00 >> 747 >> 748 config CPU_MIPS32 >> 749 bool "MIPS32" >> 750 >> 751 config CPU_MIPS64 >> 752 bool "MIPS64" >> 753 >> 754 config CPU_R3000 >> 755 bool "R3000" >> 756 depends on MIPS32 723 help 757 help 724 Enable the use of the Zicboz extens !! 758 Please make sure to pick the right CPU type. Linux/MIPS is not 725 when available. !! 759 designed to be generic, i.e. Kernels compiled for R3000 CPUs will >> 760 *not* work on R4000 machines and vice versa. However, since most >> 761 of the supported machines have an R4000 (or similar) CPU, R4x00 >> 762 might be a safe bet. If the resulting kernel does not work, >> 763 try to recompile with R3000. 726 764 727 The Zicboz extension is used for fa !! 765 config CPU_TX39XX >> 766 bool "R39XX" >> 767 depends on MIPS32 728 768 729 If you don't know what to do here, !! 769 config CPU_VR41XX >> 770 bool "R41xx" >> 771 help >> 772 The options selects support for the NEC VR41xx series of processors. >> 773 Only choose this option if you have one of these processors as a >> 774 kernel built with this option will not run on any other type of >> 775 processor or vice versa. 730 776 731 config TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI !! 777 config CPU_R4300 732 def_bool y !! 778 bool "R4300" 733 # https://sourceware.org/git/?p=binuti << 734 # https://gcc.gnu.org/git/?p=gcc.git;a << 735 depends on AS_IS_GNU && AS_VERSION >= << 736 help 779 help 737 Binutils-2.38 and GCC-12.1.0 bumped !! 780 MIPS Technologies R4300-series processors. 738 20191213 version, which moves some i << 739 the Zicsr and Zifencei extensions. T << 740 Zicsr and Zifencei when binutils >= << 741 and Zifencei are supported in binuti << 742 To make life easier, and avoid forci << 743 newer ISA spec to version 2.2, relax << 744 For clang < 17 or GCC < 11.3.0, for << 745 special treatment, this is dealt wit << 746 781 747 config TOOLCHAIN_NEEDS_OLD_ISA_SPEC !! 782 config CPU_R4X00 748 def_bool y !! 783 bool "R4x00" 749 depends on TOOLCHAIN_NEEDS_EXPLICIT_ZI << 750 # https://github.com/llvm/llvm-project << 751 # https://gcc.gnu.org/git/?p=gcc.git;a << 752 depends on (CC_IS_CLANG && CLANG_VERSI << 753 help 784 help 754 Certain versions of clang and GCC do !! 785 MIPS Technologies R4000-series processors other than 4300, including 755 -march. This option causes an older !! 786 the R4000, R4400, R4600, and 4700. 756 versions of clang and GCC to be pass << 757 as passing zicsr and zifencei to -ma << 758 787 759 config FPU !! 788 config CPU_TX49XX 760 bool "FPU support" !! 789 bool "R49XX" 761 default y !! 790 >> 791 config CPU_R5000 >> 792 bool "R5000" 762 help 793 help 763 Say N here if you want to disable al !! 794 MIPS Technologies R5000-series processors other than the Nevada. 764 in the kernel. << 765 795 766 If you don't know what to do here, s !! 796 config CPU_R5432 >> 797 bool "R5432" 767 798 768 config IRQ_STACKS !! 799 config CPU_R6000 769 bool "Independent irq & softirq stacks !! 800 bool "R6000" 770 default y !! 801 depends on MIPS32 && EXPERIMENTAL 771 select HAVE_IRQ_EXIT_ON_IRQ_STACK << 772 select HAVE_SOFTIRQ_ON_OWN_STACK << 773 help 802 help 774 Add independent irq & softirq stacks !! 803 MIPS Technologies R6000 and R6000A series processors. Note these 775 overflows. We may save some memory f !! 804 processors are extremly rare and the support for them is incomplete. 776 805 777 config THREAD_SIZE_ORDER !! 806 config CPU_NEVADA 778 int "Kernel stack size (in power-of-tw !! 807 bool "R52xx" 779 range 0 4 << 780 default 1 if 32BIT << 781 default 2 << 782 help 808 help 783 Specify the Pages of thread stack si !! 809 MIPS Technologies R52x0-series ("Nevada") processors. 784 affects irq stack size, which is equ << 785 810 786 config RISCV_MISALIGNED !! 811 config CPU_R8000 787 bool !! 812 bool "R8000" 788 select SYSCTL_ARCH_UNALIGN_ALLOW !! 813 depends on MIPS64 && EXPERIMENTAL 789 help 814 help 790 Embed support for emulating misalign !! 815 MIPS Technologies R8000 processors. Note these processors are >> 816 uncommon and the support for them is incomplete. 791 817 792 choice !! 818 config CPU_R10000 793 prompt "Unaligned Accesses Support" !! 819 bool "R10000" 794 default RISCV_PROBE_UNALIGNED_ACCESS << 795 help 820 help 796 This determines the level of support !! 821 MIPS Technologies R10000-series processors. 797 information is used by the kernel to !! 822 798 exposed to user space via the hwprob !! 823 config CPU_RM7000 799 probed at boot by default. !! 824 bool "RM7000" 800 !! 825 801 config RISCV_PROBE_UNALIGNED_ACCESS !! 826 config CPU_SB1 802 bool "Probe for hardware unaligned acc !! 827 bool "SB1" 803 select RISCV_MISALIGNED !! 828 804 help !! 829 endchoice 805 During boot, the kernel will run a s !! 830 806 speed of unaligned accesses. This pr !! 831 config R5000_CPU_SCACHE 807 the speed of unaligned accesses on t !! 832 bool 808 memory accesses trap into the kernel !! 833 depends on CPU_NEVADA || CPU_R5000 809 system, the kernel will emulate the !! 834 default y if SGI_IP22 || SGI_IP32 || LASAT 810 UABI. !! 835 811 !! 836 config BOARD_SCACHE 812 config RISCV_EMULATED_UNALIGNED_ACCESS !! 837 bool 813 bool "Emulate unaligned access where s !! 838 depends on CPU_NEVADA || CPU_R4X00 || CPU_R5000 814 select RISCV_MISALIGNED !! 839 default y if SGI_IP22 || (SGI_IP32 && CPU_R5000) || R5000_CPU_SCACHE 815 help !! 840 816 If unaligned memory accesses trap in !! 841 config SIBYTE_DMA_PAGEOPS 817 supported by the system, the kernel !! 842 bool "Use DMA to clear/copy pages" 818 accesses to preserve the UABI. When !! 843 depends on CPU_SB1 819 unaligned accesses, the unaligned ac !! 844 help 820 !! 845 Instead of using the CPU to zero and copy pages, use a Data Mover 821 config RISCV_SLOW_UNALIGNED_ACCESS !! 846 channel. These DMA channels are otherwise unused by the standard 822 bool "Assume the system supports slow !! 847 SiByte Linux port. Seems to give a small performance benefit. 823 depends on NONPORTABLE !! 848 824 help !! 849 config CPU_HAS_PREFETCH 825 Assume that the system supports slow !! 850 bool "Enable prefetches" if CPU_SB1 && !CPU_SB1_PASS_2 826 kernel and userspace programs may no !! 851 default y if CPU_RM7000 || CPU_MIPS64 || CPU_MIPS32 827 that do not support unaligned memory !! 852 828 !! 853 config VTAG_ICACHE 829 config RISCV_EFFICIENT_UNALIGNED_ACCESS !! 854 bool "Support for Virtual Tagged I-cache" if CPU_MIPS64 || CPU_MIPS32 830 bool "Assume the system supports fast !! 855 default y if CPU_SB1 831 depends on NONPORTABLE !! 856 832 select DCACHE_WORD_ACCESS if MMU !! 857 choice 833 select HAVE_EFFICIENT_UNALIGNED_ACCESS !! 858 prompt "SB1 Pass" 834 help !! 859 depends on CPU_SB1 835 Assume that the system supports fast !! 860 default CPU_SB1_PASS_1 836 enabled, this option improves the pe !! 861 837 systems. However, the kernel and use !! 862 config CPU_SB1_PASS_1 838 slowly, or will not be able to run a !! 863 bool "Pass1" 839 support efficient unaligned memory a !! 864 >> 865 config CPU_SB1_PASS_2 >> 866 bool "Pass2" >> 867 >> 868 config CPU_SB1_PASS_2_2 >> 869 bool "Pass2.2" 840 870 841 endchoice 871 endchoice 842 872 843 source "arch/riscv/Kconfig.vendor" !! 873 config SB1_PASS_1_WORKAROUNDS >> 874 bool >> 875 depends on CPU_SB1_PASS_1 >> 876 default y 844 877 845 endmenu # "Platform type" !! 878 config SB1_PASS_2_WORKAROUNDS >> 879 bool >> 880 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) >> 881 default y >> 882 >> 883 # Avoid prefetches on Pass 2 (before 2.2) >> 884 # XXXKW for now, let 2.2 use same WORKAROUNDS flag as pre-2.2 >> 885 config SB1_CACHE_ERROR >> 886 bool "Support for SB1 Cache Error handler" >> 887 depends on CPU_SB1 846 888 847 menu "Kernel features" !! 889 config SB1_CERR_IGNORE_RECOVERABLE >> 890 bool "Ignore recoverable cache errors" >> 891 depends on SB1_CACHE_ERROR 848 892 849 source "kernel/Kconfig.hz" !! 893 config SB1_CERR_SPIN >> 894 bool "Spin instead of running handler" >> 895 depends on SB1_CACHE_ERROR 850 896 851 config RISCV_SBI_V01 !! 897 config 64BIT_PHYS_ADDR 852 bool "SBI v0.1 support" !! 898 bool "Support for 64-bit physical address space" 853 depends on RISCV_SBI !! 899 depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && MIPS32 >> 900 >> 901 config CPU_ADVANCED >> 902 bool "Override CPU Options" >> 903 depends on MIPS32 854 help 904 help 855 This config allows kernel to use SBI !! 905 Saying yes here allows you to select support for various features 856 deprecated in future once legacy M-m !! 906 your CPU may or may not have. Most people should say N here. 857 907 858 config RISCV_BOOT_SPINWAIT !! 908 config CPU_HAS_LLSC 859 bool "Spinwait booting method" !! 909 bool "ll/sc Instructions available" if CPU_ADVANCED 860 depends on SMP !! 910 default y if !CPU_ADVANCED && !CPU_R3000 && !CPU_VR41XX && !CPU_TX39XX 861 default y if RISCV_SBI_V01 || RISCV_M_ << 862 help 911 help 863 This enables support for booting Lin !! 912 MIPS R4000 series and later provide the Load Linked (ll) 864 spinwait method, all cores randomly !! 913 and Store Conditional (sc) instructions. More information is 865 gets chosen via lottery and all othe !! 914 available at <http://www.go-ecs.com/mips/miptek1.htm>. 866 variable. This method cannot support << 867 scheme. It should be only enabled fo << 868 on older firmware without SBI HSM ex << 869 rely on ordered booting via SBI HSM << 870 dynamically at runtime if the firmwa << 871 << 872 Since spinwait is incompatible with << 873 NR_CPUS be large enough to contain t << 874 hart to enter Linux. << 875 << 876 If unsure what to do here, say N. << 877 << 878 config ARCH_SUPPORTS_KEXEC << 879 def_bool y << 880 << 881 config ARCH_SELECTS_KEXEC << 882 def_bool y << 883 depends on KEXEC << 884 select HOTPLUG_CPU if SMP << 885 << 886 config ARCH_SUPPORTS_KEXEC_FILE << 887 def_bool 64BIT << 888 << 889 config ARCH_SELECTS_KEXEC_FILE << 890 def_bool y << 891 depends on KEXEC_FILE << 892 select HAVE_IMA_KEXEC if IMA << 893 select KEXEC_ELF << 894 915 895 config ARCH_SUPPORTS_KEXEC_PURGATORY !! 916 Say Y here if your CPU has the ll and sc instructions. Say Y here 896 def_bool ARCH_SUPPORTS_KEXEC_FILE !! 917 for better performance, N if you don't know. You must say Y here >> 918 for multiprocessor machines. 897 919 898 config ARCH_SUPPORTS_CRASH_DUMP !! 920 config CPU_HAS_LLDSCD 899 def_bool y !! 921 bool "lld/scd Instructions available" if CPU_ADVANCED >> 922 default y if !CPU_ADVANCED && !CPU_R3000 && !CPU_VR41XX && !CPU_TX39XX && !CPU_MIPS32 >> 923 help >> 924 Say Y here if your CPU has the lld and scd instructions, the 64-bit >> 925 equivalents of ll and sc. Say Y here for better performance, N if >> 926 you don't know. You must say Y here for multiprocessor machines. 900 927 901 config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATIO !! 928 config CPU_HAS_WB 902 def_bool CRASH_RESERVE !! 929 bool "Writeback Buffer available" if CPU_ADVANCED >> 930 default y if !CPU_ADVANCED && (CPU_R3000 || CPU_VR41XX || CPU_TX39XX) && DECSTATION >> 931 help >> 932 Say N here for slightly better performance. You must say Y here for >> 933 machines which require flushing of write buffers in software. Saying >> 934 Y is the safe option; N may result in kernel malfunction and crashes. 903 935 904 config COMPAT !! 936 config CPU_HAS_SYNC 905 bool "Kernel support for 32-bit U-mode !! 937 bool 906 default 64BIT !! 938 depends on !CPU_R3000 907 depends on 64BIT && MMU !! 939 default y 908 help << 909 This option enables support for a 32 << 910 kernel at S-mode. riscv32-specific c << 911 the user helper functions (vdso), si << 912 ptrace interface are handled appropr << 913 << 914 If you want to execute 32-bit usersp << 915 << 916 config PARAVIRT << 917 bool "Enable paravirtualization code" << 918 depends on RISCV_SBI << 919 help << 920 This changes the kernel so it can mo << 921 under a hypervisor, potentially impr << 922 over full virtualization. << 923 << 924 config PARAVIRT_TIME_ACCOUNTING << 925 bool "Paravirtual steal time accountin << 926 depends on PARAVIRT << 927 help << 928 Select this option to enable fine gr << 929 accounting. Time spent executing oth << 930 the current vCPU is discounted from << 931 that, there can be a small performan << 932 << 933 If in doubt, say N here. << 934 << 935 config RELOCATABLE << 936 bool "Build a relocatable kernel" << 937 depends on MMU && 64BIT && !XIP_KERNEL << 938 select MODULE_SECTIONS if MODULES << 939 help << 940 This builds a kernel as a Position I << 941 which retains all relocation metadat << 942 kernel binary at runtime to a differ << 943 address it was linked at. << 944 Since RISCV uses the RELA relocation << 945 relocation pass at runtime even if t << 946 same address it was linked at. << 947 << 948 If unsure, say N. << 949 << 950 config RANDOMIZE_BASE << 951 bool "Randomize the address of the ker << 952 select RELOCATABLE << 953 depends on MMU && 64BIT && !XIP_KERNEL << 954 help << 955 Randomizes the virtual address at wh << 956 loaded, as a security feature that d << 957 relying on knowledge of the location << 958 940 959 It is the bootloader's job to provid !! 941 # 960 random u64 value in /chosen/kaslr-se !! 942 # - Highmem only makes sense for the 32-bit kernel. >> 943 # - The current highmem code will only work properly on physically indexed >> 944 # caches such as R3000, SB1, R7000 or those that look like they're virtually >> 945 # indexed such as R4000/R4400 SC and MC versions or R10000. So for the >> 946 # moment we protect the user and offer the highmem option only on machines >> 947 # where it's known to be safe. This will not offer highmem on a few systems >> 948 # such as MIPS32 and MIPS64 CPUs which may have virtual and physically >> 949 # indexed CPUs but we're playing safe. >> 950 # - We should not offer highmem for system of which we already know that they >> 951 # don't have memory configurations that could gain from highmem support in >> 952 # the kernel because they don't support configurations with RAM at physical >> 953 # addresses > 0x20000000. >> 954 # >> 955 config HIGHMEM >> 956 bool "High Memory Support" >> 957 depends on MIPS32 && (CPU_R3000 || CPU_SB1 || CPU_R7000 || CPU_R10000) && !(BAGET_MIPS || DECSTATION) 961 958 962 When booting via the UEFI stub, it w !! 959 config SMP 963 EFI_RNG_PROTOCOL implementation (if !! 960 bool "Multi-Processing support" 964 to the kernel proper. In addition, i !! 961 depends on SIBYTE_SB1xxx_SOC && SIBYTE_SB1250 && !SIBYTE_STANDALONE || SGI_IP27 965 location of the kernel Image as well !! 962 ---help--- >> 963 This enables support for systems with more than one CPU. If you have >> 964 a system with only one CPU, like most personal computers, say N. If >> 965 you have a system with more than one CPU, say Y. >> 966 >> 967 If you say N here, the kernel will run on single and multiprocessor >> 968 machines, but will use only one CPU of a multiprocessor machine. If >> 969 you say Y here, the kernel will run on many, but not all, >> 970 singleprocessor machines. On a singleprocessor machine, the kernel >> 971 will run faster if you say N here. >> 972 >> 973 People using multiprocessor machines who say Y here should also say >> 974 Y to "Enhanced Real Time Clock Support", below. >> 975 >> 976 See also the <file:Documentation/smp.tex>, >> 977 <file:Documentation/smp.txt> and the SMP-HOWTO available at >> 978 <http://www.tldp.org/docs.html#howto>. 966 979 967 If unsure, say N. !! 980 If you don't know what to do here, say N. 968 981 969 endmenu # "Kernel features" !! 982 config NR_CPUS >> 983 int "Maximum number of CPUs (2-32)" >> 984 depends on SMP >> 985 default "32" >> 986 help >> 987 This allows you to specify the maximum number of CPUs which this >> 988 kernel will support. The maximum supported value is 32 and the >> 989 minimum value which makes sense is 2. 970 990 971 menu "Boot options" !! 991 This is purely to save memory - each supported CPU adds >> 992 approximately eight kilobytes to the kernel image. 972 993 973 config CMDLINE !! 994 config PREEMPT 974 string "Built-in kernel command line" !! 995 bool "Preemptible Kernel" 975 help 996 help 976 For most platforms, the arguments fo !! 997 This option reduces the latency of the kernel when reacting to 977 are provided at run-time, during boo !! 998 real-time or interactive events by allowing a low priority process to 978 where either no arguments are being !! 999 be preempted even if it is in kernel mode executing a system call. 979 arguments are insufficient or even i !! 1000 This allows applications to run more reliably even when the system is >> 1001 under load. 980 1002 981 When that occurs, it is possible to !! 1003 config DEBUG_SPINLOCK_SLEEP 982 line here and choose how the kernel !! 1004 bool "Sleep-inside-spinlock checking" >> 1005 help >> 1006 If you say Y here, various routines which may sleep will become very >> 1007 noisy if they are called with a spinlock held. 983 1008 984 choice !! 1009 config RTC_DS1742 985 prompt "Built-in command line usage" !! 1010 bool "DS1742 BRAM/RTC support" 986 depends on CMDLINE != "" !! 1011 depends on TOSHIBA_JMR3927 || TOSHIBA_RBTX4927 987 default CMDLINE_FALLBACK << 988 help << 989 Choose how the kernel will handle th << 990 line. << 991 << 992 config CMDLINE_FALLBACK << 993 bool "Use bootloader kernel arguments << 994 help << 995 Use the built-in command line as fal << 996 during boot. This is the default beh << 997 << 998 config CMDLINE_EXTEND << 999 bool "Extend bootloader kernel argumen << 1000 help << 1001 The command-line arguments provided << 1002 appended to the built-in command li << 1003 cases where the provided arguments << 1004 you don't want to or cannot modify << 1005 << 1006 config CMDLINE_FORCE << 1007 bool "Always use the default kernel c << 1008 help << 1009 Always use the built-in command lin << 1010 boot. This is useful in case you ne << 1011 command line on systems where you d << 1012 over it. << 1013 1012 1014 endchoice !! 1013 config MIPS_INSANE_LARGE >> 1014 bool "Support for large 64-bit configurations" >> 1015 depends on CPU_R10000 && MIPS64 >> 1016 help >> 1017 MIPS R10000 does support a 44 bit / 16TB address space as opposed to >> 1018 previous 64-bit processors which only supported 40 bit / 1TB. If you >> 1019 need processes of more than 1TB virtual address space, say Y here. >> 1020 This will result in additional memory usage, so it is not >> 1021 recommended for normal users. 1015 1022 1016 config EFI_STUB !! 1023 config RWSEM_GENERIC_SPINLOCK 1017 bool 1024 bool >> 1025 default y 1018 1026 1019 config EFI !! 1027 endmenu 1020 bool "UEFI runtime support" << 1021 depends on OF && !XIP_KERNEL << 1022 depends on MMU << 1023 default y << 1024 select ARCH_SUPPORTS_ACPI if 64BIT << 1025 select EFI_GENERIC_STUB << 1026 select EFI_PARAMS_FROM_FDT << 1027 select EFI_RUNTIME_WRAPPERS << 1028 select EFI_STUB << 1029 select LIBFDT << 1030 select RISCV_ISA_C << 1031 select UCS2_STRING << 1032 help << 1033 This option provides support for ru << 1034 by UEFI firmware (such as non-volat << 1035 clock, and platform reset). A UEFI << 1036 allow the kernel to be booted as an << 1037 is only useful on systems that have << 1038 << 1039 config DMI << 1040 bool "Enable support for SMBIOS (DMI) << 1041 depends on EFI << 1042 default y << 1043 help << 1044 This enables SMBIOS/DMI feature for << 1045 << 1046 This option is only useful on syste << 1047 However, even with this option, the << 1048 continue to boot on existing non-UE << 1049 << 1050 config CC_HAVE_STACKPROTECTOR_TLS << 1051 def_bool $(cc-option,-mstack-protecto << 1052 << 1053 config STACKPROTECTOR_PER_TASK << 1054 def_bool y << 1055 depends on !RANDSTRUCT << 1056 depends on STACKPROTECTOR && CC_HAVE_ << 1057 << 1058 config PHYS_RAM_BASE_FIXED << 1059 bool "Explicitly specified physical R << 1060 depends on NONPORTABLE << 1061 default n << 1062 1028 1063 config PHYS_RAM_BASE !! 1029 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 1064 hex "Platform Physical RAM address" << 1065 depends on PHYS_RAM_BASE_FIXED << 1066 default "0x80000000" << 1067 help << 1068 This is the physical address of RAM << 1069 explicitly specified to run early r << 1070 from flash to RAM. << 1071 << 1072 config XIP_KERNEL << 1073 bool "Kernel Execute-In-Place from RO << 1074 depends on MMU && SPARSEMEM && NONPOR << 1075 # This prevents XIP from being enable << 1076 # fail to build since XIP doesn't sup << 1077 depends on !COMPILE_TEST << 1078 select PHYS_RAM_BASE_FIXED << 1079 help << 1080 Execute-In-Place allows the kernel << 1081 directly addressable by the CPU, su << 1082 space since the text section of the << 1083 to RAM. Read-write sections, such << 1084 are still copied to RAM. The XIP k << 1085 it has to run directly from flash, << 1086 store it. The flash address used t << 1087 and for storing it, is configuratio << 1088 say Y here, you must know the prope << 1089 store the kernel image depending on << 1090 << 1091 Also note that the make target beco << 1092 "make zImage" or "make Image". The << 1093 ROM memory will be arch/riscv/boot/ << 1094 << 1095 SPARSEMEM is required because the k << 1096 flash resident are not backed by me << 1097 a struct page on those regions will << 1098 1030 1099 If unsure, say N. !! 1031 config PCI >> 1032 bool "Support for PCI controller" >> 1033 depends on MIPS_DB1000 || DDB5074 || DDB5476 || DDB5477 || HP_LASERJET || LASAT || MIPS_IVR || MIPS_ATLAS || MIPS_COBALT || MIPS_EV64120 || MIPS_EV96100 || MIPS_ITE8172 || MIPS_MALTA || MOMENCO_OCELOT || MOMENCO_OCELOT_C || MOMENCO_OCELOT_G || MIPS_PB1000 || MIPS_PB1100 || MIPS_PB1500 || NEC_EAGLE || SGI_IP27 || SGI_IP32 || SIBYTE_SB1250 || SNI_RM200_PCI || TANBAC_TB0226 || TANBAC_TB0229 || TOSHIBA_JMR3927 || TOSHIBA_RBTX4927 || VICTOR_MPC30X || ZAO_CAPCELLA >> 1034 help >> 1035 Find out whether you have a PCI motherboard. PCI is the name of a >> 1036 bus system, i.e. the way the CPU talks to the other stuff inside >> 1037 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI, >> 1038 say Y, otherwise N. >> 1039 >> 1040 The PCI-HOWTO, available from >> 1041 <http://www.tldp.org/docs.html#howto>, contains valuable >> 1042 information about which PCI hardware does work under Linux and which >> 1043 doesn't. >> 1044 >> 1045 source "drivers/pci/Kconfig" >> 1046 >> 1047 config ISA >> 1048 bool "ISA bus support" >> 1049 depends on ACER_PICA_61 || SGI_IP22 || MIPS_MAGNUM_4000 || OLIVETTI_M700 || SNI_RM200_PCI >> 1050 default y if TOSHIBA_RBTX4927 || DDB5476 || DDB5074 || IBM_WORKPAD || CASIO_E55 >> 1051 help >> 1052 Find out whether you have ISA slots on your motherboard. ISA is the >> 1053 name of a bus system, i.e. the way the CPU talks to the other stuff >> 1054 inside your box. Other bus systems are PCI, EISA, or VESA. ISA is >> 1055 an older system, now being displaced by PCI; newer boards don't >> 1056 support it. If you have ISA, say Y, otherwise N. 1100 1057 1101 config XIP_PHYS_ADDR !! 1058 # 1102 hex "XIP Kernel Physical Location" !! 1059 # The SCSI bits are needed to get the SCSI code to link ... 1103 depends on XIP_KERNEL !! 1060 # 1104 default "0x21000000" !! 1061 config GENERIC_ISA_DMA 1105 help !! 1062 bool 1106 This is the physical address in you !! 1063 default y if ACER_PICA_61 || MIPS_MAGNUM_4000 || OLIVETTI_M700 || SNI_RM200_PCI || SCSI 1107 be linked for and stored to. This !! 1064 1108 own flash usage. !! 1065 config EISA 1109 !! 1066 bool "EISA support" 1110 config RISCV_ISA_FALLBACK !! 1067 depends on ISA && (SGI_IP22 || SNI_RM200_PCI) 1111 bool "Permit falling back to parsing !! 1068 ---help--- 1112 default y !! 1069 The Extended Industry Standard Architecture (EISA) bus was 1113 help !! 1070 developed as an open alternative to the IBM MicroChannel bus. 1114 Parsing the "riscv,isa" devicetree !! 1071 1115 replaced by a list of explicitly de !! 1072 The EISA bus provided some of the features of the IBM MicroChannel 1116 with existing platforms, the kernel !! 1073 bus while maintaining backward compatibility with cards made for 1117 "riscv,isa" property if the replace !! 1074 the older ISA bus. The EISA bus saw limited use between 1988 and 1118 !! 1075 1995 when it was made obsolete by the PCI bus. 1119 Selecting N here will result in a k !! 1076 1120 fallback, unless the commandline "r !! 1077 Say Y here if you are building a kernel for an EISA-based machine. 1121 present. !! 1078 1122 !! 1079 Otherwise, say N. 1123 Please see the dt-binding, located !! 1080 1124 Documentation/devicetree/bindings/r !! 1081 source "drivers/eisa/Kconfig" 1125 on the replacement properties, "ris !! 1082 1126 "riscv,isa-extensions". !! 1083 config TC 1127 !! 1084 bool "TURBOchannel support" 1128 config BUILTIN_DTB !! 1085 depends on DECSTATION 1129 bool "Built-in device tree" !! 1086 help 1130 depends on OF && NONPORTABLE !! 1087 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS >> 1088 processors. Documentation on writing device drivers for TurboChannel >> 1089 is available at: >> 1090 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>. >> 1091 >> 1092 #config ACCESSBUS >> 1093 # bool "Access.Bus support" >> 1094 # depends on TC >> 1095 >> 1096 config MMU >> 1097 bool >> 1098 default y >> 1099 >> 1100 config MCA >> 1101 bool >> 1102 >> 1103 config SBUS >> 1104 bool >> 1105 >> 1106 config HOTPLUG >> 1107 bool "Support for hot-pluggable devices" >> 1108 ---help--- >> 1109 Say Y here if you want to plug devices into your computer while >> 1110 the system is running, and be able to use them quickly. In many >> 1111 cases, the devices can likewise be unplugged at any time too. >> 1112 >> 1113 One well known example of this is PCMCIA- or PC-cards, credit-card >> 1114 size devices such as network cards, modems or hard drives which are >> 1115 plugged into slots found on all modern laptop computers. Another >> 1116 example, used on modern desktops as well as laptops, is USB. >> 1117 >> 1118 Enable HOTPLUG and KMOD, and build a modular kernel. Get agent >> 1119 software (at <http://linux-hotplug.sourceforge.net/>) and install it. >> 1120 Then your kernel will automatically call out to a user mode "policy >> 1121 agent" (/sbin/hotplug) to load modules and set up software needed >> 1122 to use devices as you hotplug them. >> 1123 >> 1124 source "drivers/pcmcia/Kconfig" >> 1125 >> 1126 source "drivers/pci/hotplug/Kconfig" >> 1127 >> 1128 endmenu >> 1129 >> 1130 menu "Executable file formats" >> 1131 >> 1132 source "fs/Kconfig.binfmt" >> 1133 >> 1134 config TRAD_SIGNALS >> 1135 bool >> 1136 default y if MIPS32 >> 1137 >> 1138 config BINFMT_IRIX >> 1139 bool "Include IRIX binary compatibility" >> 1140 depends on !CPU_LITTLE_ENDIAN && MIPS32 >> 1141 >> 1142 config MIPS32_COMPAT >> 1143 bool "Kernel support for Linux/MIPS 32-bit binary compatibility" >> 1144 depends on MIPS64 >> 1145 help >> 1146 Select this option if you want Linux/MIPS 32-bit binary >> 1147 compatibility. Since all software available for Linux/MIPS is >> 1148 currently 32-bit you should say Y here. >> 1149 >> 1150 config COMPAT >> 1151 bool >> 1152 depends on MIPS32_COMPAT >> 1153 default y >> 1154 >> 1155 config MIPS32_O32 >> 1156 bool "Kernel support for o32 binaries" >> 1157 depends on MIPS32_COMPAT 1131 help 1158 help 1132 Build a device tree into the Linux !! 1159 Select this option if you want to run o32 binaries. These are pure 1133 This option should be selected if n !! 1160 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of 1134 If unsure, say N. !! 1161 existing binaries are in this format. 1135 1162 >> 1163 If unsure, say Y. 1136 1164 1137 config BUILTIN_DTB_SOURCE !! 1165 config MIPS32_N32 1138 string "Built-in device tree source" !! 1166 bool "Kernel support for n32 binaries" 1139 depends on BUILTIN_DTB !! 1167 depends on MIPS32_COMPAT 1140 help 1168 help 1141 DTS file path (without suffix, rela !! 1169 Select this option if you want to run n32 binaries. These are 1142 for the DTS file that will be used !! 1170 64-bit binaries using 32-bit quantities for addressing and certain 1143 kernel. !! 1171 data that would normally be 64-bit. They are used in special >> 1172 cases. 1144 1173 1145 endmenu # "Boot options" !! 1174 If unsure, say N. 1146 1175 1147 config PORTABLE !! 1176 config BINFMT_ELF32 1148 bool 1177 bool 1149 default !NONPORTABLE !! 1178 default y if MIPS32_O32 || MIPS32_N32 1150 select EFI << 1151 select MMU << 1152 select OF << 1153 1179 1154 config ARCH_PROC_KCORE_TEXT !! 1180 config PM 1155 def_bool y !! 1181 bool "Power Management support (EXPERIMENTAL)" >> 1182 depends on EXPERIMENTAL && SOC_AU1X00 1156 1183 1157 menu "Power management options" !! 1184 endmenu 1158 1185 1159 source "kernel/power/Kconfig" !! 1186 source "drivers/mtd/Kconfig" >> 1187 >> 1188 source "drivers/parport/Kconfig" >> 1189 >> 1190 source "drivers/pnp/Kconfig" >> 1191 >> 1192 source "drivers/base/Kconfig" >> 1193 >> 1194 source "drivers/block/Kconfig" >> 1195 >> 1196 >> 1197 menu "MIPS initrd options" >> 1198 depends on BLK_DEV_INITRD >> 1199 >> 1200 config EMBEDDED_RAMDISK >> 1201 bool "Embed root filesystem ramdisk into the kernel" >> 1202 >> 1203 config EMBEDDED_RAMDISK_IMAGE >> 1204 string "Filename of gziped ramdisk image" >> 1205 depends on EMBEDDED_RAMDISK >> 1206 default "ramdisk.gz" >> 1207 help >> 1208 This is the filename of the ramdisk image to be built into the >> 1209 kernel. Relative pathnames are relative to arch/mips/ramdisk/. >> 1210 The ramdisk image is not part of the kernel distribution; you must >> 1211 provide one yourself. 1160 1212 1161 config ARCH_HIBERNATION_POSSIBLE !! 1213 endmenu 1162 def_bool y << 1163 1214 1164 config ARCH_HIBERNATION_HEADER !! 1215 source "drivers/ide/Kconfig" 1165 def_bool HIBERNATION << 1166 1216 1167 config ARCH_SUSPEND_POSSIBLE !! 1217 source "drivers/scsi/Kconfig" 1168 def_bool y << 1169 1218 1170 endmenu # "Power management options" !! 1219 source "drivers/cdrom/Kconfig" >> 1220 >> 1221 source "drivers/md/Kconfig" >> 1222 >> 1223 source "drivers/message/fusion/Kconfig" >> 1224 >> 1225 source "drivers/ieee1394/Kconfig" >> 1226 >> 1227 source "drivers/message/i2o/Kconfig" >> 1228 >> 1229 source "net/Kconfig" >> 1230 >> 1231 source "drivers/isdn/Kconfig" >> 1232 >> 1233 source "drivers/telephony/Kconfig" >> 1234 >> 1235 # >> 1236 # input before char - char/joystick depends on it. As does USB. >> 1237 # >> 1238 source "drivers/input/Kconfig" >> 1239 >> 1240 source "drivers/char/Kconfig" >> 1241 >> 1242 #source drivers/misc/Config.in >> 1243 >> 1244 source "drivers/media/Kconfig" >> 1245 >> 1246 source "fs/Kconfig" >> 1247 >> 1248 source "drivers/video/Kconfig" >> 1249 >> 1250 >> 1251 menu "Sound" >> 1252 >> 1253 config SOUND >> 1254 tristate "Sound card support" >> 1255 ---help--- >> 1256 If you have a sound card in your computer, i.e. if it can say more >> 1257 than an occasional beep, say Y. Be sure to have all the information >> 1258 about your sound card and its configuration down (I/O port, >> 1259 interrupt and DMA channel), because you will be asked for it. >> 1260 >> 1261 You want to read the Sound-HOWTO, available from >> 1262 <http://www.tldp.org/docs.html#howto>. General information about >> 1263 the modular sound system is contained in the files >> 1264 <file:Documentation/sound/Introduction>. The file >> 1265 <file:Documentation/sound/README.OSS> contains some slightly >> 1266 outdated but still useful information as well. >> 1267 >> 1268 If you have a PnP sound card and you want to configure it at boot >> 1269 time using the ISA PnP tools (read >> 1270 <http://www.roestock.demon.co.uk/isapnptools/>), then you need to >> 1271 compile the sound card support as a module and load that module >> 1272 after the PnP configuration is finished. To do this, choose M here >> 1273 and read <file:Documentation/sound/README.modules>; the module >> 1274 will be called soundcore. >> 1275 >> 1276 I'm told that even without a sound card, you can make your computer >> 1277 say more than an occasional beep, by programming the PC speaker. >> 1278 Kernel patches and supporting utilities to do that are in the pcsp >> 1279 package, available at <ftp://ftp.infradead.org/pub/pcsp/>. >> 1280 >> 1281 source "sound/Kconfig" >> 1282 >> 1283 endmenu >> 1284 >> 1285 source "drivers/usb/Kconfig" >> 1286 >> 1287 >> 1288 menu "Kernel hacking" >> 1289 >> 1290 config CROSSCOMPILE >> 1291 bool "Are you using a crosscompiler" >> 1292 help >> 1293 Say Y here if you are compiling the kernel on a different >> 1294 architecture than the one it is intended to run on. >> 1295 >> 1296 config DEBUG_KERNEL >> 1297 bool "Kernel debugging" >> 1298 >> 1299 config KGDB >> 1300 bool "Remote GDB kernel debugging" >> 1301 depends on DEBUG_KERNEL >> 1302 help >> 1303 If you say Y here, it will be possible to remotely debug the MIPS >> 1304 kernel using gdb. This enlarges your kernel image disk size by >> 1305 several megabytes and requires a machine with more than 16 MB, >> 1306 better 32 MB RAM to avoid excessive linking time. This is only >> 1307 useful for kernel hackers. If unsure, say N. >> 1308 >> 1309 config GDB_CONSOLE >> 1310 bool "Console output to GDB" >> 1311 depends on KGDB >> 1312 help >> 1313 If you are using GDB for remote debugging over a serial port and >> 1314 would like kernel messages to be formatted into GDB $O packets so >> 1315 that GDB prints them as program output, say 'Y'. >> 1316 >> 1317 config RUNTIME_DEBUG >> 1318 bool "Enable run-time debugging" >> 1319 depends on DEBUG_KERNEL >> 1320 help >> 1321 If you say Y here, some debugging macros will do run-time checking. >> 1322 If you say N here, those macros will mostly turn to no-ops. See >> 1323 include/asm-mips/debug.h for debuging macros. >> 1324 If unsure, say N. 1171 1325 1172 menu "CPU Power Management" << 1173 1326 1174 source "drivers/cpuidle/Kconfig" !! 1327 config MAGIC_SYSRQ >> 1328 bool "Magic SysRq key" >> 1329 depends on DEBUG_KERNEL >> 1330 help >> 1331 If you say Y here, you will have some control over the system even >> 1332 if the system crashes for example during kernel debugging (e.g., you >> 1333 will be able to flush the buffer cache to disk, reboot the system >> 1334 immediately or dump some status information). This is accomplished >> 1335 by pressing various keys while holding SysRq (Alt+PrintScreen). It >> 1336 also works on a serial console (on PC hardware at least), if you >> 1337 send a BREAK and then within 5 seconds a command keypress. The >> 1338 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y >> 1339 unless you really know what this hack does. >> 1340 >> 1341 config MIPS_UNCACHED >> 1342 bool "Run uncached" >> 1343 depends on DEBUG_KERNEL && !SMP && !SGI_IP27 >> 1344 help >> 1345 If you say Y here there kernel will disable all CPU caches. This will >> 1346 reduce the system's performance dramatically but can help finding >> 1347 otherwise hard to track bugs. It can also useful if you're doing >> 1348 hardware debugging with a logic analyzer and need to see all traffic >> 1349 on the bus. >> 1350 >> 1351 config DEBUG_HIGHMEM >> 1352 bool "Highmem debugging" >> 1353 depends on DEBUG_KERNEL && HIGHMEM 1175 1354 1176 source "drivers/cpufreq/Kconfig" !! 1355 endmenu 1177 1356 1178 endmenu # "CPU Power Management" !! 1357 source "security/Kconfig" 1179 1358 1180 source "arch/riscv/kvm/Kconfig" !! 1359 source "crypto/Kconfig" 1181 1360 1182 source "drivers/acpi/Kconfig" !! 1361 source "lib/Kconfig"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.