1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 config LOONGARCH !! 2 config ALPHA 3 bool 3 bool 4 default y 4 default y 5 select ACPI !! 5 select ARCH_32BIT_USTAT_F_TINODE 6 select ACPI_GENERIC_GSI if ACPI << 7 select ACPI_MCFG if ACPI << 8 select ACPI_HOTPLUG_CPU if ACPI_PROCES << 9 select ACPI_PPTT if ACPI << 10 select ACPI_SYSTEM_POWER_STATES_SUPPOR << 11 select ARCH_BINFMT_ELF_STATE << 12 select ARCH_DISABLE_KASAN_INLINE << 13 select ARCH_ENABLE_MEMORY_HOTPLUG << 14 select ARCH_ENABLE_MEMORY_HOTREMOVE << 15 select ARCH_ENABLE_THP_MIGRATION if TR << 16 select ARCH_HAS_ACPI_TABLE_UPGRADE << 17 select ARCH_HAS_CPU_FINALIZE_INIT << 18 select ARCH_HAS_CURRENT_STACK_POINTER 6 select ARCH_HAS_CURRENT_STACK_POINTER 19 select ARCH_HAS_DEBUG_VM_PGTABLE << 20 select ARCH_HAS_FAST_MULTIPLIER << 21 select ARCH_HAS_FORTIFY_SOURCE << 22 select ARCH_HAS_KCOV << 23 select ARCH_HAS_KERNEL_FPU_SUPPORT if << 24 select ARCH_HAS_NMI_SAFE_THIS_CPU_OPS << 25 select ARCH_HAS_NON_OVERLAPPING_ADDRES << 26 select ARCH_HAS_PTE_DEVMAP << 27 select ARCH_HAS_PTE_SPECIAL << 28 select ARCH_HAS_SET_MEMORY << 29 select ARCH_HAS_SET_DIRECT_MAP << 30 select ARCH_HAS_TICK_BROADCAST if GENE << 31 select ARCH_INLINE_READ_LOCK if !PREEM << 32 select ARCH_INLINE_READ_LOCK_BH if !PR << 33 select ARCH_INLINE_READ_LOCK_IRQ if !P << 34 select ARCH_INLINE_READ_LOCK_IRQSAVE i << 35 select ARCH_INLINE_READ_UNLOCK if !PRE << 36 select ARCH_INLINE_READ_UNLOCK_BH if ! << 37 select ARCH_INLINE_READ_UNLOCK_IRQ if << 38 select ARCH_INLINE_READ_UNLOCK_IRQREST << 39 select ARCH_INLINE_WRITE_LOCK if !PREE << 40 select ARCH_INLINE_WRITE_LOCK_BH if !P << 41 select ARCH_INLINE_WRITE_LOCK_IRQ if ! << 42 select ARCH_INLINE_WRITE_LOCK_IRQSAVE << 43 select ARCH_INLINE_WRITE_UNLOCK if !PR << 44 select ARCH_INLINE_WRITE_UNLOCK_BH if << 45 select ARCH_INLINE_WRITE_UNLOCK_IRQ if << 46 select ARCH_INLINE_WRITE_UNLOCK_IRQRES << 47 select ARCH_INLINE_SPIN_TRYLOCK if !PR << 48 select ARCH_INLINE_SPIN_TRYLOCK_BH if << 49 select ARCH_INLINE_SPIN_LOCK if !PREEM << 50 select ARCH_INLINE_SPIN_LOCK_BH if !PR << 51 select ARCH_INLINE_SPIN_LOCK_IRQ if !P << 52 select ARCH_INLINE_SPIN_LOCK_IRQSAVE i << 53 select ARCH_INLINE_SPIN_UNLOCK if !PRE << 54 select ARCH_INLINE_SPIN_UNLOCK_BH if ! << 55 select ARCH_INLINE_SPIN_UNLOCK_IRQ if << 56 select ARCH_INLINE_SPIN_UNLOCK_IRQREST << 57 select ARCH_KEEP_MEMBLOCK << 58 select ARCH_MIGHT_HAVE_PC_PARPORT 7 select ARCH_MIGHT_HAVE_PC_PARPORT 59 select ARCH_MIGHT_HAVE_PC_SERIO 8 select ARCH_MIGHT_HAVE_PC_SERIO 60 select ARCH_SPARSEMEM_ENABLE !! 9 select ARCH_NO_PREEMPT 61 select ARCH_STACKWALK !! 10 select ARCH_NO_SG_CHAIN 62 select ARCH_SUPPORTS_ACPI << 63 select ARCH_SUPPORTS_ATOMIC_RMW << 64 select ARCH_SUPPORTS_HUGETLBFS << 65 select ARCH_SUPPORTS_INT128 if CC_HAS_ << 66 select ARCH_SUPPORTS_LTO_CLANG << 67 select ARCH_SUPPORTS_LTO_CLANG_THIN << 68 select ARCH_SUPPORTS_NUMA_BALANCING << 69 select ARCH_USE_BUILTIN_BSWAP << 70 select ARCH_USE_CMPXCHG_LOCKREF 11 select ARCH_USE_CMPXCHG_LOCKREF 71 select ARCH_USE_QUEUED_RWLOCKS !! 12 select DMA_OPS if PCI 72 select ARCH_USE_QUEUED_SPINLOCKS !! 13 select FORCE_PCI 73 select ARCH_WANT_DEFAULT_BPF_JIT !! 14 select PCI_DOMAINS if PCI 74 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_ !! 15 select PCI_SYSCALL if PCI 75 select ARCH_WANT_LD_ORPHAN_WARN !! 16 select HAVE_ASM_MODVERSIONS 76 select ARCH_WANT_OPTIMIZE_HUGETLB_VMEM !! 17 select HAVE_PAGE_SIZE_8KB 77 select ARCH_WANTS_NO_INSTR !! 18 select HAVE_PCSPKR_PLATFORM 78 select ARCH_WANTS_THP_SWAP if HAVE_ARC !! 19 select HAVE_PERF_EVENTS 79 select BUILDTIME_TABLE_SORT !! 20 select NEED_DMA_MAP_STATE 80 select COMMON_CLK !! 21 select NEED_SG_DMA_LENGTH 81 select CPU_PM << 82 select EFI << 83 select GENERIC_CLOCKEVENTS << 84 select GENERIC_CMOS_UPDATE << 85 select GENERIC_CPU_AUTOPROBE << 86 select GENERIC_CPU_DEVICES << 87 select GENERIC_CPU_VULNERABILITIES << 88 select GENERIC_ENTRY << 89 select GENERIC_GETTIMEOFDAY << 90 select GENERIC_IOREMAP if !ARCH_IOREMA << 91 select GENERIC_IRQ_MATRIX_ALLOCATOR << 92 select GENERIC_IRQ_MULTI_HANDLER << 93 select GENERIC_IRQ_PROBE 22 select GENERIC_IRQ_PROBE 94 select GENERIC_IRQ_SHOW << 95 select GENERIC_LIB_ASHLDI3 << 96 select GENERIC_LIB_ASHRDI3 << 97 select GENERIC_LIB_CMPDI2 << 98 select GENERIC_LIB_LSHRDI3 << 99 select GENERIC_LIB_UCMPDI2 << 100 select GENERIC_LIB_DEVMEM_IS_ALLOWED << 101 select GENERIC_PCI_IOMAP 23 select GENERIC_PCI_IOMAP 102 select GENERIC_SCHED_CLOCK !! 24 select AUTO_IRQ_AFFINITY if SMP >> 25 select GENERIC_IRQ_SHOW >> 26 select ARCH_WANT_IPC_PARSE_VERSION >> 27 select ARCH_HAVE_NMI_SAFE_CMPXCHG >> 28 select AUDIT_ARCH >> 29 select GENERIC_CPU_VULNERABILITIES 103 select GENERIC_SMP_IDLE_THREAD 30 select GENERIC_SMP_IDLE_THREAD 104 select GENERIC_TIME_VSYSCALL << 105 select GENERIC_VDSO_TIME_NS << 106 select GPIOLIB << 107 select HAS_IOPORT 31 select HAS_IOPORT 108 select HAVE_ARCH_AUDITSYSCALL 32 select HAVE_ARCH_AUDITSYSCALL 109 select HAVE_ARCH_JUMP_LABEL << 110 select HAVE_ARCH_JUMP_LABEL_RELATIVE << 111 select HAVE_ARCH_KASAN << 112 select HAVE_ARCH_KFENCE << 113 select HAVE_ARCH_KGDB if PERF_EVENTS << 114 select HAVE_ARCH_MMAP_RND_BITS if MMU << 115 select HAVE_ARCH_RANDOMIZE_KSTACK_OFFS << 116 select HAVE_ARCH_SECCOMP << 117 select HAVE_ARCH_SECCOMP_FILTER << 118 select HAVE_ARCH_TRACEHOOK << 119 select HAVE_ARCH_TRANSPARENT_HUGEPAGE << 120 select HAVE_ARCH_USERFAULTFD_MINOR if << 121 select HAVE_ASM_MODVERSIONS << 122 select HAVE_CONTEXT_TRACKING_USER << 123 select HAVE_C_RECORDMCOUNT << 124 select HAVE_DEBUG_KMEMLEAK << 125 select HAVE_DEBUG_STACKOVERFLOW << 126 select HAVE_DMA_CONTIGUOUS << 127 select HAVE_DYNAMIC_FTRACE << 128 select HAVE_DYNAMIC_FTRACE_WITH_ARGS << 129 select HAVE_DYNAMIC_FTRACE_WITH_DIRECT << 130 select HAVE_DYNAMIC_FTRACE_WITH_REGS << 131 select HAVE_EBPF_JIT << 132 select HAVE_EFFICIENT_UNALIGNED_ACCESS << 133 select HAVE_EXIT_THREAD << 134 select HAVE_GUP_FAST << 135 select HAVE_FTRACE_MCOUNT_RECORD << 136 select HAVE_FUNCTION_ARG_ACCESS_API << 137 select HAVE_FUNCTION_ERROR_INJECTION << 138 select HAVE_FUNCTION_GRAPH_RETVAL if H << 139 select HAVE_FUNCTION_GRAPH_TRACER << 140 select HAVE_FUNCTION_TRACER << 141 select HAVE_GCC_PLUGINS << 142 select HAVE_GENERIC_VDSO << 143 select HAVE_HW_BREAKPOINT if PERF_EVEN << 144 select HAVE_IOREMAP_PROT << 145 select HAVE_IRQ_EXIT_ON_IRQ_STACK << 146 select HAVE_IRQ_TIME_ACCOUNTING << 147 select HAVE_KPROBES << 148 select HAVE_KPROBES_ON_FTRACE << 149 select HAVE_KRETPROBES << 150 select HAVE_LIVEPATCH << 151 select HAVE_MOD_ARCH_SPECIFIC 33 select HAVE_MOD_ARCH_SPECIFIC 152 select HAVE_NMI << 153 select HAVE_OBJTOOL if AS_HAS_EXPLICIT << 154 select HAVE_PCI << 155 select HAVE_PERF_EVENTS << 156 select HAVE_PERF_REGS << 157 select HAVE_PERF_USER_STACK_DUMP << 158 select HAVE_PREEMPT_DYNAMIC_KEY << 159 select HAVE_REGS_AND_STACK_ACCESS_API << 160 select HAVE_RELIABLE_STACKTRACE if UNW << 161 select HAVE_RETHOOK << 162 select HAVE_RSEQ << 163 select HAVE_RUST << 164 select HAVE_SAMPLE_FTRACE_DIRECT << 165 select HAVE_SAMPLE_FTRACE_DIRECT_MULTI << 166 select HAVE_SETUP_PER_CPU_AREA if NUMA << 167 select HAVE_STACK_VALIDATION if HAVE_O << 168 select HAVE_STACKPROTECTOR << 169 select HAVE_SYSCALL_TRACEPOINTS << 170 select HAVE_TIF_NOHZ << 171 select HAVE_VIRT_CPU_ACCOUNTING_GEN if << 172 select IRQ_FORCED_THREADING << 173 select IRQ_LOONGARCH_CPU << 174 select LOCK_MM_AND_FIND_VMA 34 select LOCK_MM_AND_FIND_VMA 175 select MMU_GATHER_MERGE_VMAS if MMU !! 35 select MODULES_USE_ELF_RELA 176 select MODULES_USE_ELF_RELA if MODULES !! 36 select ODD_RT_SIGACTION 177 select NEED_PER_CPU_EMBED_FIRST_CHUNK !! 37 select OLD_SIGSUSPEND 178 select NEED_PER_CPU_PAGE_FIRST_CHUNK !! 38 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67 179 select OF !! 39 select MMU_GATHER_NO_RANGE 180 select OF_EARLY_FLATTREE !! 40 select SPARSEMEM_EXTREME if SPARSEMEM 181 select PCI !! 41 select ZONE_DMA 182 select PCI_DOMAINS_GENERIC !! 42 help 183 select PCI_ECAM if ACPI !! 43 The Alpha is a 64-bit general-purpose processor designed and 184 select PCI_LOONGSON !! 44 marketed by the Digital Equipment Corporation of blessed memory, 185 select PCI_MSI_ARCH_FALLBACKS !! 45 now Hewlett-Packard. The Alpha Linux project has a home page at 186 select PCI_QUIRKS !! 46 <http://www.alphalinux.org/>. 187 select PERF_USE_VMALLOC << 188 select RTC_LIB << 189 select SPARSE_IRQ << 190 select SYSCTL_ARCH_UNALIGN_ALLOW << 191 select SYSCTL_ARCH_UNALIGN_NO_WARN << 192 select SYSCTL_EXCEPTION_TRACE << 193 select SWIOTLB << 194 select TRACE_IRQFLAGS_SUPPORT << 195 select USE_PERCPU_NUMA_NODE_ID << 196 select USER_STACKTRACE_SUPPORT << 197 select VDSO_GETRANDOM << 198 select ZONE_DMA32 << 199 << 200 config 32BIT << 201 bool << 202 47 203 config 64BIT 48 config 64BIT 204 def_bool y 49 def_bool y 205 50 206 config GENERIC_BUG !! 51 config MMU 207 def_bool y << 208 depends on BUG << 209 << 210 config GENERIC_BUG_RELATIVE_POINTERS << 211 def_bool y << 212 depends on GENERIC_BUG << 213 << 214 config GENERIC_CALIBRATE_DELAY << 215 def_bool y << 216 << 217 config GENERIC_CSUM << 218 def_bool y << 219 << 220 config GENERIC_HWEIGHT << 221 def_bool y << 222 << 223 config L1_CACHE_SHIFT << 224 int << 225 default "6" << 226 << 227 config LOCKDEP_SUPPORT << 228 bool 52 bool 229 default y 53 default y 230 54 231 config STACKTRACE_SUPPORT !! 55 config ARCH_HAS_ILOG2_U32 232 bool 56 bool 233 default y !! 57 default n 234 << 235 # MACH_LOONGSON32 and MACH_LOONGSON64 are deli << 236 # MIPS Loongson code, to preserve Loongson-spe << 237 # are shared between architectures, and specif << 238 config MACH_LOONGSON32 << 239 def_bool 32BIT << 240 58 241 config MACH_LOONGSON64 !! 59 config ARCH_HAS_ILOG2_U64 242 def_bool 64BIT << 243 << 244 config FIX_EARLYCON_MEM << 245 def_bool y << 246 << 247 config PGTABLE_2LEVEL << 248 bool 60 bool >> 61 default n 249 62 250 config PGTABLE_3LEVEL !! 63 config GENERIC_CALIBRATE_DELAY 251 bool 64 bool >> 65 default y 252 66 253 config PGTABLE_4LEVEL !! 67 config GENERIC_ISA_DMA 254 bool 68 bool >> 69 default y 255 70 256 config PGTABLE_LEVELS 71 config PGTABLE_LEVELS 257 int 72 int 258 default 2 if PGTABLE_2LEVEL !! 73 default 3 259 default 3 if PGTABLE_3LEVEL << 260 default 4 if PGTABLE_4LEVEL << 261 74 262 config SCHED_OMIT_FRAME_POINTER !! 75 config AUDIT_ARCH 263 bool 76 bool 264 default y << 265 << 266 config AS_HAS_EXPLICIT_RELOCS << 267 def_bool $(as-instr,x:pcalau12i \$t0$( << 268 77 269 config AS_HAS_FCSR_CLASS !! 78 menu "System setup" 270 def_bool $(as-instr,movfcsr2gr \$t0$(c << 271 << 272 config AS_HAS_THIN_ADD_SUB << 273 def_bool $(cc-option,-Wa$(comma)-mthin << 274 << 275 config AS_HAS_LSX_EXTENSION << 276 def_bool $(as-instr,vld \$vr0$(comma)\ << 277 << 278 config AS_HAS_LASX_EXTENSION << 279 def_bool $(as-instr,xvld \$xr0$(comma) << 280 << 281 config AS_HAS_LBT_EXTENSION << 282 def_bool $(as-instr,movscr2gr \$a0$(co << 283 << 284 config AS_HAS_LVZ_EXTENSION << 285 def_bool $(as-instr,hvcl 0) << 286 << 287 menu "Kernel type and options" << 288 << 289 source "kernel/Kconfig.hz" << 290 79 291 choice 80 choice 292 prompt "Page Table Layout" !! 81 prompt "Alpha system type" 293 default 16KB_2LEVEL if 32BIT !! 82 default ALPHA_GENERIC 294 default 16KB_3LEVEL if 64BIT << 295 help << 296 Allows choosing the page table layou << 297 of page size and page table levels. << 298 address space are determined by the << 299 << 300 config 4KB_3LEVEL << 301 bool "4KB with 3 levels" << 302 select HAVE_PAGE_SIZE_4KB << 303 select PGTABLE_3LEVEL << 304 help << 305 This option selects 4KB page size wi << 306 support a maximum of 39 bits of appl << 307 << 308 config 4KB_4LEVEL << 309 bool "4KB with 4 levels" << 310 select HAVE_PAGE_SIZE_4KB << 311 select PGTABLE_4LEVEL << 312 help << 313 This option selects 4KB page size wi << 314 support a maximum of 48 bits of appl << 315 << 316 config 16KB_2LEVEL << 317 bool "16KB with 2 levels" << 318 select HAVE_PAGE_SIZE_16KB << 319 select PGTABLE_2LEVEL << 320 help << 321 This option selects 16KB page size w << 322 support a maximum of 36 bits of appl << 323 << 324 config 16KB_3LEVEL << 325 bool "16KB with 3 levels" << 326 select HAVE_PAGE_SIZE_16KB << 327 select PGTABLE_3LEVEL << 328 help << 329 This option selects 16KB page size w << 330 support a maximum of 47 bits of appl << 331 << 332 config 64KB_2LEVEL << 333 bool "64KB with 2 levels" << 334 select HAVE_PAGE_SIZE_64KB << 335 select PGTABLE_2LEVEL << 336 help << 337 This option selects 64KB page size w << 338 support a maximum of 42 bits of appl << 339 << 340 config 64KB_3LEVEL << 341 bool "64KB with 3 levels" << 342 select HAVE_PAGE_SIZE_64KB << 343 select PGTABLE_3LEVEL << 344 help 83 help 345 This option selects 64KB page size w !! 84 This is the system type of your hardware. A "generic" kernel will 346 support a maximum of 55 bits of appl !! 85 run on any supported Alpha system. However, if you configure a >> 86 kernel for your specific system, it will be faster and smaller. 347 87 348 endchoice !! 88 To find out what type of Alpha system you have, you may want to >> 89 check out the Linux/Alpha FAQ, accessible on the WWW from >> 90 <http://www.alphalinux.org/>. In summary: 349 91 350 config CMDLINE !! 92 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366 351 string "Built-in kernel command line" !! 93 DP264 DP264 / DS20 / ES40 / DS10 / DS10L 352 help !! 94 LX164 AlphaPC164-LX 353 For most platforms, the arguments fo !! 95 Miata Personal Workstation 433/500/600 a/au 354 are provided at run-time, during boo !! 96 Marvel AlphaServer ES47 / ES80 / GS1280 355 where either no arguments are being !! 97 Mikasa AS 1000 356 arguments are insufficient or even i !! 98 Noritake AS 1000A, AS 600A, AS 800 >> 99 PC164 AlphaPC164 >> 100 Rawhide AS 1200, AS 4000, AS 4100 >> 101 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX >> 102 SX164 AlphaPC164-SX >> 103 Sable AS 2000, AS 2100 >> 104 Shark DS 20L >> 105 Takara Takara (OEM) >> 106 Titan AlphaServer ES45 / DS25 / DS15 >> 107 Wildfire AlphaServer GS 40/80/160/320 357 108 358 When that occurs, it is possible to !! 109 If you don't know what to do, choose "generic". 359 line here and choose how the kernel << 360 110 361 choice !! 111 config ALPHA_GENERIC 362 prompt "Kernel command line type" !! 112 bool "Generic" 363 default CMDLINE_BOOTLOADER !! 113 depends on TTY >> 114 select HAVE_EISA 364 help 115 help 365 Choose how the kernel will handle th !! 116 A generic kernel will run on all supported Alpha hardware. 366 line. << 367 117 368 config CMDLINE_BOOTLOADER !! 118 config ALPHA_ALCOR 369 bool "Use bootloader kernel arguments !! 119 bool "Alcor/Alpha-XLT" >> 120 select HAVE_EISA 370 help 121 help 371 Prefer the command-line passed by th !! 122 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data 372 Use the built-in command line as fal !! 123 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O 373 during boot. This is the default beh !! 124 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM 374 !! 125 controller (256-bit memory bus) and a PCI interface. It also does 375 config CMDLINE_EXTEND !! 126 all the work required to support an external Bcache and to maintain 376 bool "Use built-in to extend bootloade !! 127 memory coherence when a PCI device DMAs into (or out of) memory. 377 help << 378 The command-line arguments provided << 379 appended to the built-in command lin << 380 cases where the provided arguments a << 381 you don't want to or cannot modify t << 382 << 383 config CMDLINE_FORCE << 384 bool "Always use the built-in kernel c << 385 help << 386 Always use the built-in command line << 387 boot. This is useful in case you nee << 388 command line on systems where you do << 389 over it. << 390 << 391 endchoice << 392 128 393 config BUILTIN_DTB !! 129 config ALPHA_DP264 394 bool "Enable built-in dtb in kernel" !! 130 bool "DP264" 395 depends on OF << 396 help 131 help 397 Some existing systems do not provide !! 132 Various 21264 systems with the tsunami core logic chipset. 398 the kernel at boot time. Let's provi !! 133 API Networks: 264DP, UP2000(+), CS20; 399 kernel, keyed by the dts filename, c !! 134 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40. 400 135 401 Built-in DTBs are generic enough and !! 136 config ALPHA_EIGER 402 !! 137 bool "Eiger" 403 config BUILTIN_DTB_NAME << 404 string "Source file for built-in dtb" << 405 depends on BUILTIN_DTB << 406 help 138 help 407 Base name (without suffix, relative !! 139 Apparently an obscure OEM single-board computer based on the 408 for the DTS file that will be used t !! 140 Typhoon/Tsunami chipset family. Information on it is scanty. 409 the kernel. << 410 141 411 config DMI !! 142 config ALPHA_LX164 412 bool "Enable DMI scanning" !! 143 bool "LX164" 413 select DMI_SCAN_MACHINE_NON_EFI_FALLBA << 414 default y << 415 help 144 help 416 This enables SMBIOS/DMI feature for !! 145 A technical overview of this board is available at 417 DMI to identify machine quirks. !! 146 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>. 418 147 419 config EFI !! 148 config ALPHA_MARVEL 420 bool "EFI runtime service support" !! 149 bool "Marvel" 421 select UCS2_STRING << 422 select EFI_RUNTIME_WRAPPERS << 423 help 150 help 424 This enables the kernel to use EFI r !! 151 AlphaServer ES47 / ES80 / GS1280 based on EV7. 425 available (such as the EFI variable << 426 152 427 config EFI_STUB !! 153 config ALPHA_MIATA 428 bool "EFI boot stub support" !! 154 bool "Miata" 429 default y !! 155 select HAVE_EISA 430 depends on EFI << 431 select EFI_GENERIC_STUB << 432 help 156 help 433 This kernel feature allows the kerne !! 157 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a, 434 EFI firmware without the use of a bo !! 158 or 600au). 435 159 436 config SCHED_SMT !! 160 config ALPHA_MIKASA 437 bool "SMT scheduler support" !! 161 bool "Mikasa" 438 depends on SMP << 439 default y << 440 help 162 help 441 Improves scheduler's performance whe !! 163 AlphaServer 1000-based Alpha systems. 442 threads in one physical core. << 443 164 444 config SMP !! 165 config ALPHA_NAUTILUS 445 bool "Multi-Processing support" !! 166 bool "Nautilus" 446 help 167 help 447 This enables support for systems wit !! 168 Alpha systems based on the AMD 751 & ALI 1543C chipsets. 448 a system with only one CPU, say N. I << 449 than one CPU, say Y. << 450 << 451 If you say N here, the kernel will r << 452 machines, but will use only one CPU << 453 you say Y here, the kernel will run << 454 uniprocessor machines. On a uniproce << 455 will run faster if you say N here. << 456 169 457 See also the SMP-HOWTO available at !! 170 config ALPHA_NORITAKE >> 171 bool "Noritake" >> 172 select HAVE_EISA >> 173 help >> 174 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based >> 175 systems. 458 176 459 If you don't know what to do here, s !! 177 config ALPHA_PC164 >> 178 bool "PC164" 460 179 461 config HOTPLUG_CPU !! 180 config ALPHA_RAWHIDE 462 bool "Support for hot-pluggable CPUs" !! 181 bool "Rawhide" 463 depends on SMP !! 182 select HAVE_EISA 464 select GENERIC_IRQ_MIGRATION << 465 help 183 help 466 Say Y here to allow turning CPUs off !! 184 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines. 467 controlled through /sys/devices/syst !! 185 See HOWTO at 468 (Note: power management support will !! 186 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>. 469 automatically on SMP systems. ) << 470 Say N if you want to disable CPU hot << 471 187 472 config NR_CPUS !! 188 config ALPHA_RUFFIAN 473 int "Maximum number of CPUs (2-256)" !! 189 bool "Ruffian" 474 range 2 256 << 475 depends on SMP << 476 default "64" << 477 help 190 help 478 This allows you to specify the maxim !! 191 Samsung APC164UX. There is a page on known problems and workarounds 479 kernel will support. !! 192 at <http://www.alphalinux.org/faq/FAQ-11.html>. 480 193 481 config NUMA !! 194 config ALPHA_RX164 482 bool "NUMA Support" !! 195 bool "RX164" 483 select SMP << 484 help << 485 Say Y to compile the kernel with NUM << 486 support. This option improves perfo << 487 than one NUMA node; on single node s << 488 to leave it disabled. << 489 196 490 config NODES_SHIFT !! 197 config ALPHA_SX164 491 int !! 198 bool "SX164" 492 default "6" << 493 depends on NUMA << 494 199 495 config ARCH_FORCE_MAX_ORDER !! 200 config ALPHA_SABLE 496 int "Maximum zone order" !! 201 bool "Sable" 497 default "13" if PAGE_SIZE_64KB !! 202 select HAVE_EISA 498 default "11" if PAGE_SIZE_16KB << 499 default "10" << 500 help 203 help 501 The kernel memory allocator divides !! 204 Digital AlphaServer 2000 and 2100-based systems. 502 blocks into "zones", where each zone << 503 pages. This option selects the larg << 504 keeps in the memory allocator. If y << 505 blocks of physically contiguous memo << 506 increase this value. << 507 205 508 The page size is not necessarily 4KB !! 206 config ALPHA_SHARK 509 when choosing a value for this optio !! 207 bool "Shark" 510 208 511 config ARCH_IOREMAP !! 209 config ALPHA_TAKARA 512 bool "Enable LoongArch DMW-based iorem !! 210 bool "Takara" 513 help 211 help 514 We use generic TLB-based ioremap() b !! 212 Alpha 11164-based OEM single-board computer. 515 protection support. However, you can << 516 ioremap() for better performance. << 517 213 518 config ARCH_WRITECOMBINE !! 214 config ALPHA_TITAN 519 bool "Enable WriteCombine (WUC) for io !! 215 bool "Titan" 520 help 216 help 521 LoongArch maintains cache coherency !! 217 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset. 522 with LS7A chipsets the WUC attribute << 523 is similar to WriteCombine) is out o << 524 machanism for PCIe devices (this is << 525 may be fixed in newer chipsets). << 526 218 527 This means WUC can only used for wri !! 219 config ALPHA_WILDFIRE 528 this option is disabled by default, !! 220 bool "Wildfire" 529 SUC for ioremap(). You can enable th !! 221 help 530 to run on hardware without this bug. !! 222 AlphaServer GS 40/80/160/320 SMP based on the EV67 core. 531 223 532 You can override this setting via wr !! 224 endchoice 533 225 534 config ARCH_STRICT_ALIGN !! 226 # clear all implied options (don't want default values for those): 535 bool "Enable -mstrict-align to prevent !! 227 # Most of these machines have ISA slots; not exactly sure which don't, >> 228 # and this doesn't activate hordes of code, so do it always. >> 229 config ISA >> 230 bool 536 default y 231 default y 537 help 232 help 538 Not all LoongArch cores support h/w !! 233 Find out whether you have ISA slots on your motherboard. ISA is the 539 -mstrict-align build parameter to pr !! 234 name of a bus system, i.e. the way the CPU talks to the other stuff >> 235 inside your box. Other bus systems are PCI, EISA, MicroChannel >> 236 (MCA) or VESA. ISA is an older system, now being displaced by PCI; >> 237 newer boards don't support it. If you have ISA, say Y, otherwise N. 540 238 541 CPUs with h/w unaligned access suppo !! 239 config ISA_DMA_API 542 Loongson-2K2000/2K3000/3A5000/3C5000 !! 240 bool >> 241 default y 543 242 544 CPUs without h/w unaligned access su !! 243 config ALPHA_CIA 545 Loongson-2K500/2K1000. !! 244 bool >> 245 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR >> 246 default y 546 247 547 This option is enabled by default to !! 248 config ALPHA_EV56 548 on all LoongArch systems. But you ca !! 249 bool 549 to run kernel only on systems with h !! 250 default y if ALPHA_ALCOR || ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_RAWHIDE || ALPHA_SABLE 550 order to optimise for performance. << 551 251 552 config CPU_HAS_FPU !! 252 config ALPHA_T2 553 bool 253 bool >> 254 depends on ALPHA_SABLE 554 default y 255 default y 555 256 556 config CPU_HAS_LSX !! 257 config ALPHA_PYXIS 557 bool "Support for the Loongson SIMD Ex !! 258 bool 558 depends on AS_HAS_LSX_EXTENSION !! 259 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN 559 help !! 260 default y 560 Loongson SIMD Extension (LSX) introd << 561 and a set of SIMD instructions to op << 562 is enabled the kernel will support a << 563 vector register contexts. If you kno << 564 running on CPUs which do not support << 565 not be making use of it then you may << 566 the size & complexity of your kernel << 567 << 568 If unsure, say Y. << 569 261 570 config CPU_HAS_LASX !! 262 config ALPHA_EV6 571 bool "Support for the Loongson Advance !! 263 bool 572 depends on CPU_HAS_LSX !! 264 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL 573 depends on AS_HAS_LASX_EXTENSION !! 265 default y 574 help << 575 Loongson Advanced SIMD Extension (LA << 576 registers and a set of SIMD instruct << 577 option is enabled the kernel will su << 578 vector register contexts. If you kno << 579 running on CPUs which do not support << 580 not be making use of it then you may << 581 the size & complexity of your kernel << 582 266 583 If unsure, say Y. !! 267 config ALPHA_TSUNAMI >> 268 bool >> 269 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER >> 270 default y 584 271 585 config CPU_HAS_LBT !! 272 config ALPHA_EV67 586 bool "Support for the Loongson Binary !! 273 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER 587 depends on AS_HAS_LBT_EXTENSION !! 274 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL 588 help 275 help 589 Loongson Binary Translation (LBT) in !! 276 Is this a machine based on the EV67 core? If in doubt, select N here 590 to SCR3), x86/ARM eflags (eflags) an !! 277 and the machine will be treated as an EV6. 591 Enabling this option allows the kern << 592 specific to LBT. << 593 278 594 If you want to use this feature, suc !! 279 config ALPHA_MCPCIA 595 Translator (LAT), say Y. << 596 << 597 config CPU_HAS_PREFETCH << 598 bool 280 bool >> 281 depends on ALPHA_RAWHIDE 599 default y 282 default y 600 283 601 config ARCH_SUPPORTS_KEXEC !! 284 config ALPHA_POLARIS 602 def_bool y !! 285 bool >> 286 depends on ALPHA_RX164 >> 287 default y 603 288 604 config ARCH_SUPPORTS_CRASH_DUMP !! 289 config ALPHA_IRONGATE 605 def_bool y !! 290 bool >> 291 depends on ALPHA_NAUTILUS >> 292 default y 606 293 607 config ARCH_SELECTS_CRASH_DUMP !! 294 config GENERIC_HWEIGHT 608 def_bool y !! 295 bool 609 depends on CRASH_DUMP !! 296 default y if !ALPHA_EV67 610 select RELOCATABLE << 611 297 612 config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATIO !! 298 config ALPHA_BROKEN_IRQ_MASK 613 def_bool CRASH_RESERVE !! 299 bool >> 300 depends on ALPHA_GENERIC || ALPHA_PC164 >> 301 default y 614 302 615 config RELOCATABLE !! 303 config VGA_HOSE 616 bool "Relocatable kernel" !! 304 bool 617 select ARCH_HAS_RELR !! 305 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI) >> 306 default y 618 help 307 help 619 This builds the kernel as a Position !! 308 Support VGA on an arbitrary hose; needed for several platforms 620 which retains all relocation metadat !! 309 which always have multiple hoses, and whose consoles support it. 621 the kernel binary at runtime to a di !! 310 622 its link address. << 623 311 624 config RANDOMIZE_BASE !! 312 config ALPHA_QEMU 625 bool "Randomize the address of the ker !! 313 bool "Run under QEMU emulation" 626 depends on RELOCATABLE !! 314 depends on !ALPHA_GENERIC 627 help 315 help 628 Randomizes the physical and virtual !! 316 Assume the presence of special features supported by QEMU PALcode 629 kernel image is loaded, as a securi !! 317 that reduce the overhead of system emulation. 630 deters exploit attempts relying on << 631 of kernel internals. << 632 318 633 The kernel will be offset by up to !! 319 Generic kernels will auto-detect QEMU. But when building a >> 320 system-specific kernel, the assumption is that we want to >> 321 eliminate as many runtime tests as possible. 634 322 635 If unsure, say N. !! 323 If unsure, say N. 636 324 637 config RANDOMIZE_BASE_MAX_OFFSET !! 325 638 hex "Maximum KASLR offset" if EXPERT !! 326 config ALPHA_SRM 639 depends on RANDOMIZE_BASE !! 327 bool "Use SRM as bootloader" if ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS 640 range 0x0 0x10000000 !! 328 depends on TTY 641 default "0x01000000" !! 329 default y if ALPHA_MIKASA || ALPHA_SABLE || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL 642 help 330 help 643 When KASLR is active, this provides !! 331 There are two different types of booting firmware on Alphas: SRM, 644 be applied to the kernel image. It s !! 332 which is command line driven, and ARC, which uses menus and arrow 645 amount of physical RAM available in !! 333 keys. Details about the Linux/Alpha booting process are contained in >> 334 the Linux/Alpha FAQ, accessible on the WWW from >> 335 <http://www.alphalinux.org/>. 646 336 647 This is limited by the size of the l !! 337 The usual way to load Linux on an Alpha machine is to use MILO >> 338 (a bootloader that lets you pass command line parameters to the >> 339 kernel just like lilo does for the x86 architecture) which can be >> 340 loaded either from ARC or can be installed directly as a permanent >> 341 firmware replacement from floppy (which requires changing a certain >> 342 jumper on the motherboard). If you want to do either of these, say N >> 343 here. If MILO doesn't work on your system (true for Jensen >> 344 motherboards), you can bypass it altogether and boot Linux directly >> 345 from an SRM console; say Y here in order to do that. Note that you >> 346 won't be able to boot from an IDE disk using SRM. 648 347 649 source "kernel/livepatch/Kconfig" !! 348 If unsure, say N. 650 349 651 config PARAVIRT !! 350 config ARCH_MAY_HAVE_PC_FDC 652 bool "Enable paravirtualization code" !! 351 def_bool y 653 depends on AS_HAS_LVZ_EXTENSION << 654 help << 655 This changes the kernel so it can mo << 656 under a hypervisor, potentially impr << 657 over full virtualization. However, << 658 the kernel is theoretically slower a << 659 352 660 config PARAVIRT_TIME_ACCOUNTING !! 353 config SMP 661 bool "Paravirtual steal time accountin !! 354 bool "Symmetric multi-processing support" 662 depends on PARAVIRT !! 355 depends on ALPHA_SABLE || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL 663 help 356 help 664 Select this option to enable fine gr !! 357 This enables support for systems with more than one CPU. If you have 665 accounting. Time spent executing oth !! 358 a system with only one CPU, say N. If you have a system with more 666 the current vCPU is discounted from !! 359 than one CPU, say Y. 667 that, there can be a small performan << 668 360 669 If in doubt, say N here. !! 361 If you say N here, the kernel will run on uni- and multiprocessor >> 362 machines, but will use only one CPU of a multiprocessor machine. If >> 363 you say Y here, the kernel will run on many, but not all, >> 364 uniprocessor machines. On a uniprocessor machine, the kernel >> 365 will run faster if you say N here. 670 366 671 endmenu !! 367 See also the SMP-HOWTO available at >> 368 <https://www.tldp.org/docs.html#howto>. 672 369 673 config ARCH_SELECT_MEMORY_MODEL !! 370 If you don't know what to do here, say N. 674 def_bool y << 675 371 676 config ARCH_FLATMEM_ENABLE !! 372 config NR_CPUS 677 def_bool y !! 373 int "Maximum number of CPUs (2-32)" 678 depends on !NUMA !! 374 range 2 32 >> 375 depends on SMP >> 376 default "32" if ALPHA_GENERIC || ALPHA_MARVEL >> 377 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL >> 378 help >> 379 MARVEL support can handle a maximum of 32 CPUs, all the others >> 380 with working support have a maximum of 4 CPUs. 679 381 680 config ARCH_SPARSEMEM_ENABLE 382 config ARCH_SPARSEMEM_ENABLE 681 def_bool y !! 383 bool "Sparse Memory Support" 682 select SPARSEMEM_VMEMMAP_ENABLE << 683 help 384 help 684 Say Y to support efficient handling !! 385 Say Y to support efficient handling of discontiguous physical memory, 685 for architectures which are either N !! 386 for systems that have huge holes in the physical address space. 686 or have huge holes in the physical a << 687 See <file:Documentation/mm/numa.rst> << 688 387 689 config ARCH_MEMORY_PROBE !! 388 config ALPHA_WTINT 690 def_bool y !! 389 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC 691 depends on MEMORY_HOTPLUG !! 390 default y if ALPHA_QEMU >> 391 default n if ALPHA_EV56 >> 392 default n if !ALPHA_SRM && !ALPHA_GENERIC >> 393 default y if SMP >> 394 help >> 395 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU >> 396 to sleep until the next interrupt. This may reduce the power >> 397 consumed, and the heat produced by the computer. However, it has >> 398 the side effect of making the cycle counter unreliable as a timing >> 399 device across the sleep. 692 400 693 config MMU !! 401 For emulation under QEMU, definitely say Y here, as we have other >> 402 mechanisms for measuring time than the cycle counter. >> 403 >> 404 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running >> 405 MILO, sleep mode is not supported so you might as well say N here. >> 406 >> 407 For SMP systems we cannot use the cycle counter for timing anyway, >> 408 so you might as well say Y here. >> 409 >> 410 If unsure, say N. >> 411 >> 412 # LARGE_VMALLOC is racy, if you *really* need it then fix it first >> 413 config ALPHA_LARGE_VMALLOC 694 bool 414 bool 695 default y !! 415 help >> 416 Process creation and other aspects of virtual memory management can >> 417 be streamlined if we restrict the kernel to one PGD for all vmalloc >> 418 allocations. This equates to about 8GB. 696 419 697 config ARCH_MMAP_RND_BITS_MIN !! 420 Under normal circumstances, this is so far and above what is needed 698 default 12 !! 421 as to be laughable. However, there are certain applications (such >> 422 as benchmark-grade in-kernel web serving) that can make use of as >> 423 much vmalloc space as is available. 699 424 700 config ARCH_MMAP_RND_BITS_MAX !! 425 Say N unless you know you need gobs and gobs of vmalloc space. 701 default 18 << 702 426 703 config ARCH_SUPPORTS_UPROBES !! 427 config VERBOSE_MCHECK 704 def_bool y !! 428 bool "Verbose Machine Checks" 705 429 706 config KASAN_SHADOW_OFFSET !! 430 config VERBOSE_MCHECK_ON 707 hex !! 431 int "Verbose Printing Mode (0=off, 1=on, 2=all)" 708 default 0x0 !! 432 depends on VERBOSE_MCHECK 709 depends on KASAN !! 433 default 1 >> 434 help >> 435 This option allows the default printing mode to be set, and then >> 436 possibly overridden by a boot command argument. 710 437 711 menu "Power management options" !! 438 For example, if one wanted the option of printing verbose >> 439 machine checks, but wanted the default to be as if verbose >> 440 machine check printing was turned off, then one would choose >> 441 the printing mode to be 0. Then, upon reboot, one could add >> 442 the boot command line "verbose_mcheck=1" to get the normal >> 443 verbose machine check printing, or "verbose_mcheck=2" to get >> 444 the maximum information available. 712 445 713 config ARCH_SUSPEND_POSSIBLE !! 446 Take the default (1) unless you want more control or more info. 714 def_bool y << 715 447 716 config ARCH_HIBERNATION_POSSIBLE !! 448 choice 717 def_bool y !! 449 prompt "Timer interrupt frequency (HZ)?" >> 450 default HZ_128 if ALPHA_QEMU >> 451 default HZ_1200 if ALPHA_RAWHIDE >> 452 default HZ_1024 >> 453 help >> 454 The frequency at which timer interrupts occur. A high frequency >> 455 minimizes latency, whereas a low frequency minimizes overhead of >> 456 process accounting. The later effect is especially significant >> 457 when being run under QEMU. >> 458 >> 459 Note that some Alpha hardware cannot change the interrupt frequency >> 460 of the timer. If unsure, say 1024 (or 1200 for Rawhide). >> 461 >> 462 config HZ_32 >> 463 bool "32 Hz" >> 464 config HZ_64 >> 465 bool "64 Hz" >> 466 config HZ_128 >> 467 bool "128 Hz" >> 468 config HZ_256 >> 469 bool "256 Hz" >> 470 config HZ_1024 >> 471 bool "1024 Hz" >> 472 config HZ_1200 >> 473 bool "1200 Hz" >> 474 endchoice 718 475 719 source "kernel/power/Kconfig" !! 476 config HZ 720 source "drivers/acpi/Kconfig" !! 477 int 721 source "drivers/cpufreq/Kconfig" !! 478 default 32 if HZ_32 >> 479 default 64 if HZ_64 >> 480 default 128 if HZ_128 >> 481 default 256 if HZ_256 >> 482 default 1200 if HZ_1200 >> 483 default 1024 >> 484 >> 485 config SRM_ENV >> 486 tristate "SRM environment through procfs" >> 487 depends on PROC_FS >> 488 help >> 489 If you enable this option, a subdirectory inside /proc called >> 490 /proc/srm_environment will give you access to the all important >> 491 SRM environment variables (those which have a name) and also >> 492 to all others (by their internal number). >> 493 >> 494 SRM is something like a BIOS for Alpha machines. There are some >> 495 other such BIOSes, like AlphaBIOS, which this driver cannot >> 496 support (hey, that's not SRM!). >> 497 >> 498 Despite the fact that this driver doesn't work on all Alphas (but >> 499 only on those which have SRM as their firmware), it's save to >> 500 build it even if your particular machine doesn't know about SRM >> 501 (or if you intend to compile a generic kernel). It will simply >> 502 not create those subdirectory in /proc (and give you some warning, >> 503 of course). >> 504 >> 505 This driver is also available as a module and will be called >> 506 srm_env then. 722 507 723 endmenu 508 endmenu 724 509 725 source "arch/loongarch/kvm/Kconfig" !! 510 # DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig >> 511 # but we also need it if VGA_HOSE is set >> 512 config DUMMY_CONSOLE >> 513 bool >> 514 depends on VGA_HOSE >> 515 default y
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.