1fa96b57cSHuacai Chen# SPDX-License-Identifier: GPL-2.0 2fa96b57cSHuacai Chenconfig LOONGARCH 3fa96b57cSHuacai Chen bool 4fa96b57cSHuacai Chen default y 5f30d1f49SHuacai Chen select ACPI 6cd057667SJianmin Lv select ACPI_GENERIC_GSI if ACPI 757fc7323SHuacai Chen select ACPI_MCFG if ACPI 8a02f66bbSJames Morse select ACPI_HOTPLUG_CPU if ACPI_PROCESSOR && HOTPLUG_CPU 9f6f0c9a7SHuacai Chen select ACPI_PPTT if ACPI 10fa96b57cSHuacai Chen select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI 11fa96b57cSHuacai Chen select ARCH_BINFMT_ELF_STATE 125aa4ac64SQing Zhang select ARCH_DISABLE_KASAN_INLINE 13fa96b57cSHuacai Chen select ARCH_ENABLE_MEMORY_HOTPLUG 14fa96b57cSHuacai Chen select ARCH_ENABLE_MEMORY_HOTREMOVE 15b3ff2d9cSMasahiro Yamada select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE 16fa96b57cSHuacai Chen select ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI 179841c423SThomas Gleixner select ARCH_HAS_CPU_FINALIZE_INIT 188b5db5e5SHuacai Chen select ARCH_HAS_CURRENT_STACK_POINTER 19614d7e99SHuacai Chen select ARCH_HAS_DEBUG_VM_PGTABLE 202cce9059SXi Ruoyao select ARCH_HAS_FAST_MULTIPLIER 21d4c937c2SQing Zhang select ARCH_HAS_FORTIFY_SOURCE 222363088eSFeiyang Chen select ARCH_HAS_KCOV 23372f6623SSamuel Holland select ARCH_HAS_KERNEL_FPU_SUPPORT if CPU_HAS_FPU 243f48f3d9SPaul E. McKenney select ARCH_HAS_NMI_SAFE_THIS_CPU_OPS 25de0e30beSChenguang Zhao select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE 26b7a2750eSHuacai Chen select ARCH_HAS_PTE_DEVMAP 27fa96b57cSHuacai Chen select ARCH_HAS_PTE_SPECIAL 28*e86935f7SHuacai Chen select ARCH_HAS_SET_MEMORY 29fa96b57cSHuacai Chen select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 30fa96b57cSHuacai Chen select ARCH_INLINE_READ_LOCK if !PREEMPTION 31fa96b57cSHuacai Chen select ARCH_INLINE_READ_LOCK_BH if !PREEMPTION 32fa96b57cSHuacai Chen select ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION 33fa96b57cSHuacai Chen select ARCH_INLINE_READ_LOCK_IRQSAVE if !PREEMPTION 34fa96b57cSHuacai Chen select ARCH_INLINE_READ_UNLOCK if !PREEMPTION 35fa96b57cSHuacai Chen select ARCH_INLINE_READ_UNLOCK_BH if !PREEMPTION 36fa96b57cSHuacai Chen select ARCH_INLINE_READ_UNLOCK_IRQ if !PREEMPTION 37fa96b57cSHuacai Chen select ARCH_INLINE_READ_UNLOCK_IRQRESTORE if !PREEMPTION 38fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_LOCK if !PREEMPTION 39fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_LOCK_BH if !PREEMPTION 40fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_LOCK_IRQ if !PREEMPTION 41fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_LOCK_IRQSAVE if !PREEMPTION 42fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_UNLOCK if !PREEMPTION 43fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPTION 44fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPTION 45fa96b57cSHuacai Chen select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPTION 46fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_TRYLOCK if !PREEMPTION 47fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_TRYLOCK_BH if !PREEMPTION 48fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_LOCK if !PREEMPTION 49fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_LOCK_BH if !PREEMPTION 50fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_LOCK_IRQ if !PREEMPTION 51fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_LOCK_IRQSAVE if !PREEMPTION 52fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_UNLOCK if !PREEMPTION 53fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_UNLOCK_BH if !PREEMPTION 54fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_UNLOCK_IRQ if !PREEMPTION 55fa96b57cSHuacai Chen select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION 56e0fba87cSHuacai Chen select ARCH_KEEP_MEMBLOCK 57fa96b57cSHuacai Chen select ARCH_MIGHT_HAVE_PC_PARPORT 58fa96b57cSHuacai Chen select ARCH_MIGHT_HAVE_PC_SERIO 59fa96b57cSHuacai Chen select ARCH_SPARSEMEM_ENABLE 6093a4fa62SQing Zhang select ARCH_STACKWALK 61fa96b57cSHuacai Chen select ARCH_SUPPORTS_ACPI 62fa96b57cSHuacai Chen select ARCH_SUPPORTS_ATOMIC_RMW 63fa96b57cSHuacai Chen select ARCH_SUPPORTS_HUGETLBFS 645125d033SXi Ruoyao select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 655a31ed46SWANG Xuerui select ARCH_SUPPORTS_LTO_CLANG 665a31ed46SWANG Xuerui select ARCH_SUPPORTS_LTO_CLANG_THIN 67d4b6f156SHuacai Chen select ARCH_SUPPORTS_NUMA_BALANCING 68fa96b57cSHuacai Chen select ARCH_USE_BUILTIN_BSWAP 69fa96b57cSHuacai Chen select ARCH_USE_CMPXCHG_LOCKREF 70fa96b57cSHuacai Chen select ARCH_USE_QUEUED_RWLOCKS 715f1e001bSHuacai Chen select ARCH_USE_QUEUED_SPINLOCKS 72d0b35b02SHuacai Chen select ARCH_WANT_DEFAULT_BPF_JIT 73fa96b57cSHuacai Chen select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT 741429cfdeSArd Biesheuvel select ARCH_WANT_LD_ORPHAN_WARN 750b6f1582SAneesh Kumar K.V select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP 76fa96b57cSHuacai Chen select ARCH_WANTS_NO_INSTR 77ff4a2443SHuacai Chen select ARCH_WANTS_THP_SWAP if HAVE_ARCH_TRANSPARENT_HUGEPAGE 78fa96b57cSHuacai Chen select BUILDTIME_TABLE_SORT 79fa96b57cSHuacai Chen select COMMON_CLK 80366bb35aSHuacai Chen select CPU_PM 81f30d1f49SHuacai Chen select EFI 82fa96b57cSHuacai Chen select GENERIC_CLOCKEVENTS 83fa96b57cSHuacai Chen select GENERIC_CMOS_UPDATE 84fa96b57cSHuacai Chen select GENERIC_CPU_AUTOPROBE 85db3ba29aSJames Morse select GENERIC_CPU_DEVICES 86e8dd556cSTiezhu Yang select GENERIC_CPU_VULNERABILITIES 87fa96b57cSHuacai Chen select GENERIC_ENTRY 88fa96b57cSHuacai Chen select GENERIC_GETTIMEOFDAY 89d2791341SHuacai Chen select GENERIC_IOREMAP if !ARCH_IOREMAP 90ae16f05cSTianyang Zhang select GENERIC_IRQ_MATRIX_ALLOCATOR 91fa96b57cSHuacai Chen select GENERIC_IRQ_MULTI_HANDLER 92fa96b57cSHuacai Chen select GENERIC_IRQ_PROBE 93fa96b57cSHuacai Chen select GENERIC_IRQ_SHOW 94fa96b57cSHuacai Chen select GENERIC_LIB_ASHLDI3 95fa96b57cSHuacai Chen select GENERIC_LIB_ASHRDI3 96fa96b57cSHuacai Chen select GENERIC_LIB_CMPDI2 97fa96b57cSHuacai Chen select GENERIC_LIB_LSHRDI3 98fa96b57cSHuacai Chen select GENERIC_LIB_UCMPDI2 99235d074fSHuacai Chen select GENERIC_LIB_DEVMEM_IS_ALLOWED 100fa96b57cSHuacai Chen select GENERIC_PCI_IOMAP 101fa96b57cSHuacai Chen select GENERIC_SCHED_CLOCK 10246859ac8SHuacai Chen select GENERIC_SMP_IDLE_THREAD 103fa96b57cSHuacai Chen select GENERIC_TIME_VSYSCALL 104aa5e65dcSTiezhu Yang select GENERIC_VDSO_TIME_NS 105fa96b57cSHuacai Chen select GPIOLIB 106fcbfe812SNiklas Schnelle select HAS_IOPORT 107fa96b57cSHuacai Chen select HAVE_ARCH_AUDITSYSCALL 108f02644e3SYouling Tang select HAVE_ARCH_JUMP_LABEL 109f02644e3SYouling Tang select HAVE_ARCH_JUMP_LABEL_RELATIVE 1105aa4ac64SQing Zhang select HAVE_ARCH_KASAN 1116ad3df56SEnze Li select HAVE_ARCH_KFENCE 112e14dd076SQing Zhang select HAVE_ARCH_KGDB if PERF_EVENTS 113fa96b57cSHuacai Chen select HAVE_ARCH_MMAP_RND_BITS if MMU 114a0f7085fSJinjie Ruan select HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET 1156b79ecd0SMasahiro Yamada select HAVE_ARCH_SECCOMP 116fa96b57cSHuacai Chen select HAVE_ARCH_SECCOMP_FILTER 117fa96b57cSHuacai Chen select HAVE_ARCH_TRACEHOOK 118fa96b57cSHuacai Chen select HAVE_ARCH_TRANSPARENT_HUGEPAGE 119f48ad26eSHuacai Chen select HAVE_ARCH_USERFAULTFD_MINOR if USERFAULTFD 120fa96b57cSHuacai Chen select HAVE_ASM_MODVERSIONS 12124a9c541SFrederic Weisbecker select HAVE_CONTEXT_TRACKING_USER 122a0a458fbSQing Zhang select HAVE_C_RECORDMCOUNT 1235d553770STiezhu Yang select HAVE_DEBUG_KMEMLEAK 124fa96b57cSHuacai Chen select HAVE_DEBUG_STACKOVERFLOW 125fa96b57cSHuacai Chen select HAVE_DMA_CONTIGUOUS 1264733f09dSQing Zhang select HAVE_DYNAMIC_FTRACE 127ac7127e1SQing Zhang select HAVE_DYNAMIC_FTRACE_WITH_ARGS 1289cdc3b6aSYouling Tang select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS 1298778ba2cSQing Zhang select HAVE_DYNAMIC_FTRACE_WITH_REGS 1305dc61552STiezhu Yang select HAVE_EBPF_JIT 13141596803SHuacai Chen select HAVE_EFFICIENT_UNALIGNED_ACCESS if !ARCH_STRICT_ALIGN 132fa96b57cSHuacai Chen select HAVE_EXIT_THREAD 13325176ad0SDavid Hildenbrand select HAVE_GUP_FAST 134a0a458fbSQing Zhang select HAVE_FTRACE_MCOUNT_RECORD 135356bd6f2SQing Zhang select HAVE_FUNCTION_ARG_ACCESS_API 1368b5ee2c6STiezhu Yang select HAVE_FUNCTION_ERROR_INJECTION 1375779e3c0SDonglin Peng select HAVE_FUNCTION_GRAPH_RETVAL if HAVE_FUNCTION_GRAPH_TRACER 138dbe3ba30SQing Zhang select HAVE_FUNCTION_GRAPH_TRACER 139dbe3ba30SQing Zhang select HAVE_FUNCTION_TRACER 1402363088eSFeiyang Chen select HAVE_GCC_PLUGINS 141fa96b57cSHuacai Chen select HAVE_GENERIC_VDSO 142edffa33cSQing Zhang select HAVE_HW_BREAKPOINT if PERF_EVENTS 143fa96b57cSHuacai Chen select HAVE_IOREMAP_PROT 144fa96b57cSHuacai Chen select HAVE_IRQ_EXIT_ON_IRQ_STACK 145fa96b57cSHuacai Chen select HAVE_IRQ_TIME_ACCOUNTING 1466d4cc40fSTiezhu Yang select HAVE_KPROBES 14709e679c2STiezhu Yang select HAVE_KPROBES_ON_FTRACE 1483f553686STiezhu Yang select HAVE_KRETPROBES 149199cc14cSJinyang He select HAVE_LIVEPATCH 150fa96b57cSHuacai Chen select HAVE_MOD_ARCH_SPECIFIC 151fa96b57cSHuacai Chen select HAVE_NMI 152b8468bd9STiezhu Yang select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS && AS_HAS_THIN_ADD_SUB 15357fc7323SHuacai Chen select HAVE_PCI 154fa96b57cSHuacai Chen select HAVE_PERF_EVENTS 155b37042b2SHuacai Chen select HAVE_PERF_REGS 156b37042b2SHuacai Chen select HAVE_PERF_USER_STACK_DUMP 15780c7889dSHuacai Chen select HAVE_PREEMPT_DYNAMIC_KEY 158fa96b57cSHuacai Chen select HAVE_REGS_AND_STACK_ACCESS_API 159199cc14cSJinyang He select HAVE_RELIABLE_STACKTRACE if UNWINDER_ORC 1607b0a0964SHaoran Jiang select HAVE_RETHOOK 161fa96b57cSHuacai Chen select HAVE_RSEQ 16290868ff9SWANG Rui select HAVE_RUST 16322f367a6SYouling Tang select HAVE_SAMPLE_FTRACE_DIRECT 16422f367a6SYouling Tang select HAVE_SAMPLE_FTRACE_DIRECT_MULTI 165d4b6f156SHuacai Chen select HAVE_SETUP_PER_CPU_AREA if NUMA 166cb8a2ef0STiezhu Yang select HAVE_STACK_VALIDATION if HAVE_OBJTOOL 16709f33601SHuacai Chen select HAVE_STACKPROTECTOR 168fa96b57cSHuacai Chen select HAVE_SYSCALL_TRACEPOINTS 169fa96b57cSHuacai Chen select HAVE_TIF_NOHZ 17046859ac8SHuacai Chen select HAVE_VIRT_CPU_ACCOUNTING_GEN if !SMP 171fa96b57cSHuacai Chen select IRQ_FORCED_THREADING 172fa96b57cSHuacai Chen select IRQ_LOONGARCH_CPU 173a050ba1eSLinus Torvalds select LOCK_MM_AND_FIND_VMA 174f30d1f49SHuacai Chen select MMU_GATHER_MERGE_VMAS if MMU 175fa96b57cSHuacai Chen select MODULES_USE_ELF_RELA if MODULES 176d4b6f156SHuacai Chen select NEED_PER_CPU_EMBED_FIRST_CHUNK 177d4b6f156SHuacai Chen select NEED_PER_CPU_PAGE_FIRST_CHUNK 17888d4d957SBinbin Zhou select OF 17988d4d957SBinbin Zhou select OF_EARLY_FLATTREE 18057fc7323SHuacai Chen select PCI 18157fc7323SHuacai Chen select PCI_DOMAINS_GENERIC 18257fc7323SHuacai Chen select PCI_ECAM if ACPI 18357fc7323SHuacai Chen select PCI_LOONGSON 18457fc7323SHuacai Chen select PCI_MSI_ARCH_FALLBACKS 1857c12bb8fSHuacai Chen select PCI_QUIRKS 186fa96b57cSHuacai Chen select PERF_USE_VMALLOC 187fa96b57cSHuacai Chen select RTC_LIB 188fa96b57cSHuacai Chen select SPARSE_IRQ 18961a6fcccSHuacai Chen select SYSCTL_ARCH_UNALIGN_ALLOW 19061a6fcccSHuacai Chen select SYSCTL_ARCH_UNALIGN_NO_WARN 191fa96b57cSHuacai Chen select SYSCTL_EXCEPTION_TRACE 192fa96b57cSHuacai Chen select SWIOTLB 193fa96b57cSHuacai Chen select TRACE_IRQFLAGS_SUPPORT 194d4b6f156SHuacai Chen select USE_PERCPU_NUMA_NODE_ID 1954d7bf939SQing Zhang select USER_STACKTRACE_SUPPORT 196fa96b57cSHuacai Chen select ZONE_DMA32 197fa96b57cSHuacai Chen 198fa96b57cSHuacai Chenconfig 32BIT 199fa96b57cSHuacai Chen bool 200fa96b57cSHuacai Chen 201fa96b57cSHuacai Chenconfig 64BIT 202fa96b57cSHuacai Chen def_bool y 203fa96b57cSHuacai Chen 2042d2c3952SYouling Tangconfig GENERIC_BUG 2052d2c3952SYouling Tang def_bool y 2062d2c3952SYouling Tang depends on BUG 2072d2c3952SYouling Tang 2082d2c3952SYouling Tangconfig GENERIC_BUG_RELATIVE_POINTERS 2092d2c3952SYouling Tang def_bool y 2102d2c3952SYouling Tang depends on GENERIC_BUG 2112d2c3952SYouling Tang 212fa96b57cSHuacai Chenconfig GENERIC_CALIBRATE_DELAY 213fa96b57cSHuacai Chen def_bool y 214fa96b57cSHuacai Chen 215fa96b57cSHuacai Chenconfig GENERIC_CSUM 216fa96b57cSHuacai Chen def_bool y 217fa96b57cSHuacai Chen 218fa96b57cSHuacai Chenconfig GENERIC_HWEIGHT 219fa96b57cSHuacai Chen def_bool y 220fa96b57cSHuacai Chen 221fa96b57cSHuacai Chenconfig L1_CACHE_SHIFT 222fa96b57cSHuacai Chen int 223fa96b57cSHuacai Chen default "6" 224fa96b57cSHuacai Chen 225fa96b57cSHuacai Chenconfig LOCKDEP_SUPPORT 226fa96b57cSHuacai Chen bool 227fa96b57cSHuacai Chen default y 228fa96b57cSHuacai Chen 22993a4fa62SQing Zhangconfig STACKTRACE_SUPPORT 23093a4fa62SQing Zhang bool 23193a4fa62SQing Zhang default y 23293a4fa62SQing Zhang 2339550dfdeSColin Ian King# MACH_LOONGSON32 and MACH_LOONGSON64 are deliberately carried over from the 234fa96b57cSHuacai Chen# MIPS Loongson code, to preserve Loongson-specific code paths in drivers that 235fa96b57cSHuacai Chen# are shared between architectures, and specifically expecting the symbols. 236fa96b57cSHuacai Chenconfig MACH_LOONGSON32 237fa96b57cSHuacai Chen def_bool 32BIT 238fa96b57cSHuacai Chen 239fa96b57cSHuacai Chenconfig MACH_LOONGSON64 240fa96b57cSHuacai Chen def_bool 64BIT 241fa96b57cSHuacai Chen 242d2791341SHuacai Chenconfig FIX_EARLYCON_MEM 243d2791341SHuacai Chen def_bool y 244d2791341SHuacai Chen 245fa96b57cSHuacai Chenconfig PGTABLE_2LEVEL 246fa96b57cSHuacai Chen bool 247fa96b57cSHuacai Chen 248fa96b57cSHuacai Chenconfig PGTABLE_3LEVEL 249fa96b57cSHuacai Chen bool 250fa96b57cSHuacai Chen 251fa96b57cSHuacai Chenconfig PGTABLE_4LEVEL 252fa96b57cSHuacai Chen bool 253fa96b57cSHuacai Chen 254fa96b57cSHuacai Chenconfig PGTABLE_LEVELS 255fa96b57cSHuacai Chen int 256fa96b57cSHuacai Chen default 2 if PGTABLE_2LEVEL 257fa96b57cSHuacai Chen default 3 if PGTABLE_3LEVEL 258fa96b57cSHuacai Chen default 4 if PGTABLE_4LEVEL 259fa96b57cSHuacai Chen 260fa96b57cSHuacai Chenconfig SCHED_OMIT_FRAME_POINTER 261fa96b57cSHuacai Chen bool 262fa96b57cSHuacai Chen default y 263fa96b57cSHuacai Chen 2640d8dad70SXi Ruoyaoconfig AS_HAS_EXPLICIT_RELOCS 2650d8dad70SXi Ruoyao def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x)) 2660d8dad70SXi Ruoyao 26738bb46f9SWANG Xueruiconfig AS_HAS_FCSR_CLASS 26838bb46f9SWANG Xuerui def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0) 26938bb46f9SWANG Xuerui 270120dd411SXi Ruoyaoconfig AS_HAS_THIN_ADD_SUB 271a7e08377STiezhu Yang def_bool $(cc-option,-Wa$(comma)-mthin-add-sub) || AS_IS_LLVM 272120dd411SXi Ruoyao 27361650023SHuacai Chenconfig AS_HAS_LSX_EXTENSION 27461650023SHuacai Chen def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0) 27561650023SHuacai Chen 27661650023SHuacai Chenconfig AS_HAS_LASX_EXTENSION 27761650023SHuacai Chen def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0) 27861650023SHuacai Chen 279bd3c5798SQi Huconfig AS_HAS_LBT_EXTENSION 280bd3c5798SQi Hu def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0) 281bd3c5798SQi Hu 282c1fc48aaSTianrui Zhaoconfig AS_HAS_LVZ_EXTENSION 283c1fc48aaSTianrui Zhao def_bool $(as-instr,hvcl 0) 284c1fc48aaSTianrui Zhao 285fa96b57cSHuacai Chenmenu "Kernel type and options" 286fa96b57cSHuacai Chen 287fa96b57cSHuacai Chensource "kernel/Kconfig.hz" 288fa96b57cSHuacai Chen 289fa96b57cSHuacai Chenchoice 290fa96b57cSHuacai Chen prompt "Page Table Layout" 291fa96b57cSHuacai Chen default 16KB_2LEVEL if 32BIT 292fa96b57cSHuacai Chen default 16KB_3LEVEL if 64BIT 293fa96b57cSHuacai Chen help 294fa96b57cSHuacai Chen Allows choosing the page table layout, which is a combination 295fa96b57cSHuacai Chen of page size and page table levels. The size of virtual memory 296fa96b57cSHuacai Chen address space are determined by the page table layout. 297fa96b57cSHuacai Chen 298fa96b57cSHuacai Chenconfig 4KB_3LEVEL 299fa96b57cSHuacai Chen bool "4KB with 3 levels" 300ba89f9c8SArnd Bergmann select HAVE_PAGE_SIZE_4KB 301fa96b57cSHuacai Chen select PGTABLE_3LEVEL 302fa96b57cSHuacai Chen help 303fa96b57cSHuacai Chen This option selects 4KB page size with 3 level page tables, which 304fa96b57cSHuacai Chen support a maximum of 39 bits of application virtual memory. 305fa96b57cSHuacai Chen 306fa96b57cSHuacai Chenconfig 4KB_4LEVEL 307fa96b57cSHuacai Chen bool "4KB with 4 levels" 308ba89f9c8SArnd Bergmann select HAVE_PAGE_SIZE_4KB 309fa96b57cSHuacai Chen select PGTABLE_4LEVEL 310fa96b57cSHuacai Chen help 311fa96b57cSHuacai Chen This option selects 4KB page size with 4 level page tables, which 312fa96b57cSHuacai Chen support a maximum of 48 bits of application virtual memory. 313fa96b57cSHuacai Chen 314fa96b57cSHuacai Chenconfig 16KB_2LEVEL 315fa96b57cSHuacai Chen bool "16KB with 2 levels" 316ba89f9c8SArnd Bergmann select HAVE_PAGE_SIZE_16KB 317fa96b57cSHuacai Chen select PGTABLE_2LEVEL 318fa96b57cSHuacai Chen help 319fa96b57cSHuacai Chen This option selects 16KB page size with 2 level page tables, which 320fa96b57cSHuacai Chen support a maximum of 36 bits of application virtual memory. 321fa96b57cSHuacai Chen 322fa96b57cSHuacai Chenconfig 16KB_3LEVEL 323fa96b57cSHuacai Chen bool "16KB with 3 levels" 324ba89f9c8SArnd Bergmann select HAVE_PAGE_SIZE_16KB 325fa96b57cSHuacai Chen select PGTABLE_3LEVEL 326fa96b57cSHuacai Chen help 327fa96b57cSHuacai Chen This option selects 16KB page size with 3 level page tables, which 328fa96b57cSHuacai Chen support a maximum of 47 bits of application virtual memory. 329fa96b57cSHuacai Chen 330fa96b57cSHuacai Chenconfig 64KB_2LEVEL 331fa96b57cSHuacai Chen bool "64KB with 2 levels" 332ba89f9c8SArnd Bergmann select HAVE_PAGE_SIZE_64KB 333fa96b57cSHuacai Chen select PGTABLE_2LEVEL 334fa96b57cSHuacai Chen help 335fa96b57cSHuacai Chen This option selects 64KB page size with 2 level page tables, which 336fa96b57cSHuacai Chen support a maximum of 42 bits of application virtual memory. 337fa96b57cSHuacai Chen 338fa96b57cSHuacai Chenconfig 64KB_3LEVEL 339fa96b57cSHuacai Chen bool "64KB with 3 levels" 340ba89f9c8SArnd Bergmann select HAVE_PAGE_SIZE_64KB 341fa96b57cSHuacai Chen select PGTABLE_3LEVEL 342fa96b57cSHuacai Chen help 343fa96b57cSHuacai Chen This option selects 64KB page size with 3 level page tables, which 344fa96b57cSHuacai Chen support a maximum of 55 bits of application virtual memory. 345fa96b57cSHuacai Chen 346fa96b57cSHuacai Chenendchoice 347fa96b57cSHuacai Chen 348fa96b57cSHuacai Chenconfig CMDLINE 349fa96b57cSHuacai Chen string "Built-in kernel command line" 350fa96b57cSHuacai Chen help 351fa96b57cSHuacai Chen For most platforms, the arguments for the kernel's command line 352fa96b57cSHuacai Chen are provided at run-time, during boot. However, there are cases 353fa96b57cSHuacai Chen where either no arguments are being provided or the provided 354fa96b57cSHuacai Chen arguments are insufficient or even invalid. 355fa96b57cSHuacai Chen 356fa96b57cSHuacai Chen When that occurs, it is possible to define a built-in command 357fa96b57cSHuacai Chen line here and choose how the kernel should use it later on. 358fa96b57cSHuacai Chen 359fa96b57cSHuacai Chenchoice 360fa96b57cSHuacai Chen prompt "Kernel command line type" 361fa96b57cSHuacai Chen default CMDLINE_BOOTLOADER 362fa96b57cSHuacai Chen help 363fa96b57cSHuacai Chen Choose how the kernel will handle the provided built-in command 364fa96b57cSHuacai Chen line. 365fa96b57cSHuacai Chen 366fa96b57cSHuacai Chenconfig CMDLINE_BOOTLOADER 367fa96b57cSHuacai Chen bool "Use bootloader kernel arguments if available" 368fa96b57cSHuacai Chen help 369fa96b57cSHuacai Chen Prefer the command-line passed by the boot loader if available. 370fa96b57cSHuacai Chen Use the built-in command line as fallback in case we get nothing 371fa96b57cSHuacai Chen during boot. This is the default behaviour. 372fa96b57cSHuacai Chen 373fa96b57cSHuacai Chenconfig CMDLINE_EXTEND 374fa96b57cSHuacai Chen bool "Use built-in to extend bootloader kernel arguments" 375fa96b57cSHuacai Chen help 376fa96b57cSHuacai Chen The command-line arguments provided during boot will be 377fa96b57cSHuacai Chen appended to the built-in command line. This is useful in 378fa96b57cSHuacai Chen cases where the provided arguments are insufficient and 379fa96b57cSHuacai Chen you don't want to or cannot modify them. 380fa96b57cSHuacai Chen 381fa96b57cSHuacai Chenconfig CMDLINE_FORCE 382fa96b57cSHuacai Chen bool "Always use the built-in kernel command string" 383fa96b57cSHuacai Chen help 384fa96b57cSHuacai Chen Always use the built-in command line, even if we get one during 385fa96b57cSHuacai Chen boot. This is useful in case you need to override the provided 386fa96b57cSHuacai Chen command line on systems where you don't have or want control 387fa96b57cSHuacai Chen over it. 388fa96b57cSHuacai Chen 389fa96b57cSHuacai Chenendchoice 390fa96b57cSHuacai Chen 3915f346a6eSBinbin Zhouconfig BUILTIN_DTB 3925f346a6eSBinbin Zhou bool "Enable built-in dtb in kernel" 3935f346a6eSBinbin Zhou depends on OF 3945f346a6eSBinbin Zhou help 3955f346a6eSBinbin Zhou Some existing systems do not provide a canonical device tree to 3965f346a6eSBinbin Zhou the kernel at boot time. Let's provide a device tree table in the 3975f346a6eSBinbin Zhou kernel, keyed by the dts filename, containing the relevant DTBs. 3985f346a6eSBinbin Zhou 3995f346a6eSBinbin Zhou Built-in DTBs are generic enough and can be used as references. 4005f346a6eSBinbin Zhou 4015f346a6eSBinbin Zhouconfig BUILTIN_DTB_NAME 4025f346a6eSBinbin Zhou string "Source file for built-in dtb" 4035f346a6eSBinbin Zhou depends on BUILTIN_DTB 4045f346a6eSBinbin Zhou help 4055f346a6eSBinbin Zhou Base name (without suffix, relative to arch/loongarch/boot/dts/) 4065f346a6eSBinbin Zhou for the DTS file that will be used to produce the DTB linked into 4075f346a6eSBinbin Zhou the kernel. 4085f346a6eSBinbin Zhou 409fa96b57cSHuacai Chenconfig DMI 410fa96b57cSHuacai Chen bool "Enable DMI scanning" 411fa96b57cSHuacai Chen select DMI_SCAN_MACHINE_NON_EFI_FALLBACK 412fa96b57cSHuacai Chen default y 413fa96b57cSHuacai Chen help 414fa96b57cSHuacai Chen This enables SMBIOS/DMI feature for systems, and scanning of 415fa96b57cSHuacai Chen DMI to identify machine quirks. 416fa96b57cSHuacai Chen 417fa96b57cSHuacai Chenconfig EFI 418fa96b57cSHuacai Chen bool "EFI runtime service support" 419fa96b57cSHuacai Chen select UCS2_STRING 420fa96b57cSHuacai Chen select EFI_RUNTIME_WRAPPERS 421fa96b57cSHuacai Chen help 422fa96b57cSHuacai Chen This enables the kernel to use EFI runtime services that are 423fa96b57cSHuacai Chen available (such as the EFI variable services). 424fa96b57cSHuacai Chen 425ead384d9SHuacai Chenconfig EFI_STUB 426ead384d9SHuacai Chen bool "EFI boot stub support" 427ead384d9SHuacai Chen default y 428ead384d9SHuacai Chen depends on EFI 429ead384d9SHuacai Chen select EFI_GENERIC_STUB 430ead384d9SHuacai Chen help 431ead384d9SHuacai Chen This kernel feature allows the kernel to be loaded directly by 432ead384d9SHuacai Chen EFI firmware without the use of a bootloader. 433ead384d9SHuacai Chen 434f6f0c9a7SHuacai Chenconfig SCHED_SMT 435f6f0c9a7SHuacai Chen bool "SMT scheduler support" 4365685d7fcSTiezhu Yang depends on SMP 437f6f0c9a7SHuacai Chen default y 438f6f0c9a7SHuacai Chen help 439f6f0c9a7SHuacai Chen Improves scheduler's performance when there are multiple 440f6f0c9a7SHuacai Chen threads in one physical core. 441f6f0c9a7SHuacai Chen 44246859ac8SHuacai Chenconfig SMP 44346859ac8SHuacai Chen bool "Multi-Processing support" 44446859ac8SHuacai Chen help 44546859ac8SHuacai Chen This enables support for systems with more than one CPU. If you have 44646859ac8SHuacai Chen a system with only one CPU, say N. If you have a system with more 44746859ac8SHuacai Chen than one CPU, say Y. 44846859ac8SHuacai Chen 44946859ac8SHuacai Chen If you say N here, the kernel will run on uni- and multiprocessor 45046859ac8SHuacai Chen machines, but will use only one CPU of a multiprocessor machine. If 45146859ac8SHuacai Chen you say Y here, the kernel will run on many, but not all, 45246859ac8SHuacai Chen uniprocessor machines. On a uniprocessor machine, the kernel 45346859ac8SHuacai Chen will run faster if you say N here. 45446859ac8SHuacai Chen 45546859ac8SHuacai Chen See also the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>. 45646859ac8SHuacai Chen 45746859ac8SHuacai Chen If you don't know what to do here, say N. 45846859ac8SHuacai Chen 45946859ac8SHuacai Chenconfig HOTPLUG_CPU 46046859ac8SHuacai Chen bool "Support for hot-pluggable CPUs" 46146859ac8SHuacai Chen depends on SMP 46246859ac8SHuacai Chen select GENERIC_IRQ_MIGRATION 46346859ac8SHuacai Chen help 46446859ac8SHuacai Chen Say Y here to allow turning CPUs off and on. CPUs can be 46546859ac8SHuacai Chen controlled through /sys/devices/system/cpu. 46646859ac8SHuacai Chen (Note: power management support will enable this option 46746859ac8SHuacai Chen automatically on SMP systems. ) 46846859ac8SHuacai Chen Say N if you want to disable CPU hotplug. 46946859ac8SHuacai Chen 47046859ac8SHuacai Chenconfig NR_CPUS 47146859ac8SHuacai Chen int "Maximum number of CPUs (2-256)" 47246859ac8SHuacai Chen range 2 256 47346859ac8SHuacai Chen depends on SMP 47446859ac8SHuacai Chen default "64" 47546859ac8SHuacai Chen help 47646859ac8SHuacai Chen This allows you to specify the maximum number of CPUs which this 47746859ac8SHuacai Chen kernel will support. 47846859ac8SHuacai Chen 479d4b6f156SHuacai Chenconfig NUMA 480d4b6f156SHuacai Chen bool "NUMA Support" 481255b4658SHuacai Chen select SMP 482d4b6f156SHuacai Chen help 483d4b6f156SHuacai Chen Say Y to compile the kernel with NUMA (Non-Uniform Memory Access) 484d4b6f156SHuacai Chen support. This option improves performance on systems with more 485d4b6f156SHuacai Chen than one NUMA node; on single node systems it is generally better 486d4b6f156SHuacai Chen to leave it disabled. 487d4b6f156SHuacai Chen 488d4b6f156SHuacai Chenconfig NODES_SHIFT 489d4b6f156SHuacai Chen int 490d4b6f156SHuacai Chen default "6" 491d4b6f156SHuacai Chen depends on NUMA 492d4b6f156SHuacai Chen 4930192445cSZi Yanconfig ARCH_FORCE_MAX_ORDER 494fa96b57cSHuacai Chen int "Maximum zone order" 49523baf831SKirill A. Shutemov default "13" if PAGE_SIZE_64KB 49623baf831SKirill A. Shutemov default "11" if PAGE_SIZE_16KB 49723baf831SKirill A. Shutemov default "10" 498fa96b57cSHuacai Chen help 499fa96b57cSHuacai Chen The kernel memory allocator divides physically contiguous memory 500fa96b57cSHuacai Chen blocks into "zones", where each zone is a power of two number of 501fa96b57cSHuacai Chen pages. This option selects the largest power of two that the kernel 502fa96b57cSHuacai Chen keeps in the memory allocator. If you need to allocate very large 503fa96b57cSHuacai Chen blocks of physically contiguous memory, then you may need to 504fa96b57cSHuacai Chen increase this value. 505fa96b57cSHuacai Chen 506fa96b57cSHuacai Chen The page size is not necessarily 4KB. Keep this in mind 507fa96b57cSHuacai Chen when choosing a value for this option. 508fa96b57cSHuacai Chen 509d2791341SHuacai Chenconfig ARCH_IOREMAP 510d2791341SHuacai Chen bool "Enable LoongArch DMW-based ioremap()" 511d2791341SHuacai Chen help 512d2791341SHuacai Chen We use generic TLB-based ioremap() by default since it has page 513d2791341SHuacai Chen protection support. However, you can enable LoongArch DMW-based 514d2791341SHuacai Chen ioremap() for better performance. 515d2791341SHuacai Chen 51616c52e50SHuacai Chenconfig ARCH_WRITECOMBINE 51716c52e50SHuacai Chen bool "Enable WriteCombine (WUC) for ioremap()" 51816c52e50SHuacai Chen help 51916c52e50SHuacai Chen LoongArch maintains cache coherency in hardware, but when paired 52016c52e50SHuacai Chen with LS7A chipsets the WUC attribute (Weak-ordered UnCached, which 52116c52e50SHuacai Chen is similar to WriteCombine) is out of the scope of cache coherency 52216c52e50SHuacai Chen machanism for PCIe devices (this is a PCIe protocol violation, which 52316c52e50SHuacai Chen may be fixed in newer chipsets). 52416c52e50SHuacai Chen 52516c52e50SHuacai Chen This means WUC can only used for write-only memory regions now, so 52616c52e50SHuacai Chen this option is disabled by default, making WUC silently fallback to 52716c52e50SHuacai Chen SUC for ioremap(). You can enable this option if the kernel is ensured 52816c52e50SHuacai Chen to run on hardware without this bug. 52916c52e50SHuacai Chen 53016c52e50SHuacai Chen You can override this setting via writecombine=on/off boot parameter. 53116c52e50SHuacai Chen 53241596803SHuacai Chenconfig ARCH_STRICT_ALIGN 53341596803SHuacai Chen bool "Enable -mstrict-align to prevent unaligned accesses" if EXPERT 53441596803SHuacai Chen default y 53541596803SHuacai Chen help 53641596803SHuacai Chen Not all LoongArch cores support h/w unaligned access, we can use 53741596803SHuacai Chen -mstrict-align build parameter to prevent unaligned accesses. 53841596803SHuacai Chen 53941596803SHuacai Chen CPUs with h/w unaligned access support: 54041596803SHuacai Chen Loongson-2K2000/2K3000/3A5000/3C5000/3D5000. 54141596803SHuacai Chen 54241596803SHuacai Chen CPUs without h/w unaligned access support: 54341596803SHuacai Chen Loongson-2K500/2K1000. 54441596803SHuacai Chen 54541596803SHuacai Chen This option is enabled by default to make the kernel be able to run 54641596803SHuacai Chen on all LoongArch systems. But you can disable it manually if you want 54741596803SHuacai Chen to run kernel only on systems with h/w unaligned access support in 54841596803SHuacai Chen order to optimise for performance. 54941596803SHuacai Chen 55061650023SHuacai Chenconfig CPU_HAS_FPU 55161650023SHuacai Chen bool 55261650023SHuacai Chen default y 55361650023SHuacai Chen 55461650023SHuacai Chenconfig CPU_HAS_LSX 55561650023SHuacai Chen bool "Support for the Loongson SIMD Extension" 55661650023SHuacai Chen depends on AS_HAS_LSX_EXTENSION 55761650023SHuacai Chen help 55861650023SHuacai Chen Loongson SIMD Extension (LSX) introduces 128 bit wide vector registers 55961650023SHuacai Chen and a set of SIMD instructions to operate on them. When this option 56061650023SHuacai Chen is enabled the kernel will support allocating & switching LSX 56161650023SHuacai Chen vector register contexts. If you know that your kernel will only be 56261650023SHuacai Chen running on CPUs which do not support LSX or that your userland will 56361650023SHuacai Chen not be making use of it then you may wish to say N here to reduce 56461650023SHuacai Chen the size & complexity of your kernel. 56561650023SHuacai Chen 56661650023SHuacai Chen If unsure, say Y. 56761650023SHuacai Chen 56861650023SHuacai Chenconfig CPU_HAS_LASX 56961650023SHuacai Chen bool "Support for the Loongson Advanced SIMD Extension" 57061650023SHuacai Chen depends on CPU_HAS_LSX 57161650023SHuacai Chen depends on AS_HAS_LASX_EXTENSION 57261650023SHuacai Chen help 57361650023SHuacai Chen Loongson Advanced SIMD Extension (LASX) introduces 256 bit wide vector 57461650023SHuacai Chen registers and a set of SIMD instructions to operate on them. When this 57561650023SHuacai Chen option is enabled the kernel will support allocating & switching LASX 57661650023SHuacai Chen vector register contexts. If you know that your kernel will only be 57761650023SHuacai Chen running on CPUs which do not support LASX or that your userland will 57861650023SHuacai Chen not be making use of it then you may wish to say N here to reduce 57961650023SHuacai Chen the size & complexity of your kernel. 58061650023SHuacai Chen 58161650023SHuacai Chen If unsure, say Y. 58261650023SHuacai Chen 583bd3c5798SQi Huconfig CPU_HAS_LBT 584bd3c5798SQi Hu bool "Support for the Loongson Binary Translation Extension" 585bd3c5798SQi Hu depends on AS_HAS_LBT_EXTENSION 586bd3c5798SQi Hu help 587bd3c5798SQi Hu Loongson Binary Translation (LBT) introduces 4 scratch registers (SCR0 588bd3c5798SQi Hu to SCR3), x86/ARM eflags (eflags) and x87 fpu stack pointer (ftop). 589bd3c5798SQi Hu Enabling this option allows the kernel to allocate and switch registers 590bd3c5798SQi Hu specific to LBT. 591bd3c5798SQi Hu 592bd3c5798SQi Hu If you want to use this feature, such as the Loongson Architecture 593bd3c5798SQi Hu Translator (LAT), say Y. 594bd3c5798SQi Hu 59561650023SHuacai Chenconfig CPU_HAS_PREFETCH 59661650023SHuacai Chen bool 59761650023SHuacai Chen default y 59861650023SHuacai Chen 59919e6dd0bSEric DeVolderconfig ARCH_SUPPORTS_KEXEC 60019e6dd0bSEric DeVolder def_bool y 6014a03b2acSYouling Tang 60219e6dd0bSEric DeVolderconfig ARCH_SUPPORTS_CRASH_DUMP 60319e6dd0bSEric DeVolder def_bool y 6044a03b2acSYouling Tang 60519e6dd0bSEric DeVolderconfig ARCH_SELECTS_CRASH_DUMP 60619e6dd0bSEric DeVolder def_bool y 60719e6dd0bSEric DeVolder depends on CRASH_DUMP 6083f89765dSYouling Tang select RELOCATABLE 6094e62d1d8SYouling Tang 61078de91b4SYouling Tangconfig ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION 611697f3342SBaoquan He def_bool CRASH_RESERVE 61278de91b4SYouling Tang 613d8da19fbSYouling Tangconfig RELOCATABLE 614d8da19fbSYouling Tang bool "Relocatable kernel" 615e05d4cd9SXi Ruoyao select ARCH_HAS_RELR 616d8da19fbSYouling Tang help 617d8da19fbSYouling Tang This builds the kernel as a Position Independent Executable (PIE), 618d8da19fbSYouling Tang which retains all relocation metadata required, so as to relocate 619d8da19fbSYouling Tang the kernel binary at runtime to a different virtual address from 620d8da19fbSYouling Tang its link address. 621d8da19fbSYouling Tang 622e5f02b51SYouling Tangconfig RANDOMIZE_BASE 623e5f02b51SYouling Tang bool "Randomize the address of the kernel (KASLR)" 624e5f02b51SYouling Tang depends on RELOCATABLE 625e5f02b51SYouling Tang help 626e5f02b51SYouling Tang Randomizes the physical and virtual address at which the 627e5f02b51SYouling Tang kernel image is loaded, as a security feature that 628e5f02b51SYouling Tang deters exploit attempts relying on knowledge of the location 629e5f02b51SYouling Tang of kernel internals. 630e5f02b51SYouling Tang 631e5f02b51SYouling Tang The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET. 632e5f02b51SYouling Tang 633e5f02b51SYouling Tang If unsure, say N. 634e5f02b51SYouling Tang 635e5f02b51SYouling Tangconfig RANDOMIZE_BASE_MAX_OFFSET 636e5f02b51SYouling Tang hex "Maximum KASLR offset" if EXPERT 637e5f02b51SYouling Tang depends on RANDOMIZE_BASE 638e5f02b51SYouling Tang range 0x0 0x10000000 639e5f02b51SYouling Tang default "0x01000000" 640e5f02b51SYouling Tang help 641e5f02b51SYouling Tang When KASLR is active, this provides the maximum offset that will 642e5f02b51SYouling Tang be applied to the kernel image. It should be set according to the 643e5f02b51SYouling Tang amount of physical RAM available in the target system. 644e5f02b51SYouling Tang 645e5f02b51SYouling Tang This is limited by the size of the lower address memory, 256MB. 646e5f02b51SYouling Tang 647199cc14cSJinyang Hesource "kernel/livepatch/Kconfig" 648199cc14cSJinyang He 64974c16b2eSBibo Maoconfig PARAVIRT 65074c16b2eSBibo Mao bool "Enable paravirtualization code" 65174c16b2eSBibo Mao depends on AS_HAS_LVZ_EXTENSION 65274c16b2eSBibo Mao help 65374c16b2eSBibo Mao This changes the kernel so it can modify itself when it is run 65474c16b2eSBibo Mao under a hypervisor, potentially improving performance significantly 65574c16b2eSBibo Mao over full virtualization. However, when run without a hypervisor 65674c16b2eSBibo Mao the kernel is theoretically slower and slightly larger. 65774c16b2eSBibo Mao 65803779999SBibo Maoconfig PARAVIRT_TIME_ACCOUNTING 65903779999SBibo Mao bool "Paravirtual steal time accounting" 66003779999SBibo Mao depends on PARAVIRT 66103779999SBibo Mao help 66203779999SBibo Mao Select this option to enable fine granularity task steal time 66303779999SBibo Mao accounting. Time spent executing other tasks in parallel with 66403779999SBibo Mao the current vCPU is discounted from the vCPU power. To account for 66503779999SBibo Mao that, there can be a small performance impact. 66603779999SBibo Mao 66703779999SBibo Mao If in doubt, say N here. 66803779999SBibo Mao 669fa96b57cSHuacai Chenendmenu 670fa96b57cSHuacai Chen 671fa96b57cSHuacai Chenconfig ARCH_SELECT_MEMORY_MODEL 672fa96b57cSHuacai Chen def_bool y 673fa96b57cSHuacai Chen 674fa96b57cSHuacai Chenconfig ARCH_FLATMEM_ENABLE 675fa96b57cSHuacai Chen def_bool y 676d4b6f156SHuacai Chen depends on !NUMA 677fa96b57cSHuacai Chen 678fa96b57cSHuacai Chenconfig ARCH_SPARSEMEM_ENABLE 679fa96b57cSHuacai Chen def_bool y 6807b09f5afSFeiyang Chen select SPARSEMEM_VMEMMAP_ENABLE 681fa96b57cSHuacai Chen help 682fa96b57cSHuacai Chen Say Y to support efficient handling of sparse physical memory, 683fa96b57cSHuacai Chen for architectures which are either NUMA (Non-Uniform Memory Access) 684fa96b57cSHuacai Chen or have huge holes in the physical address space for other reasons. 685ee65728eSMike Rapoport See <file:Documentation/mm/numa.rst> for more. 686fa96b57cSHuacai Chen 687fa96b57cSHuacai Chenconfig ARCH_MEMORY_PROBE 688fa96b57cSHuacai Chen def_bool y 689fa96b57cSHuacai Chen depends on MEMORY_HOTPLUG 690fa96b57cSHuacai Chen 691fa96b57cSHuacai Chenconfig MMU 692fa96b57cSHuacai Chen bool 693fa96b57cSHuacai Chen default y 694fa96b57cSHuacai Chen 695fa96b57cSHuacai Chenconfig ARCH_MMAP_RND_BITS_MIN 696fa96b57cSHuacai Chen default 12 697fa96b57cSHuacai Chen 698fa96b57cSHuacai Chenconfig ARCH_MMAP_RND_BITS_MAX 699fa96b57cSHuacai Chen default 18 700fa96b57cSHuacai Chen 70119bc6cb6STiezhu Yangconfig ARCH_SUPPORTS_UPROBES 70219bc6cb6STiezhu Yang def_bool y 70319bc6cb6STiezhu Yang 7045aa4ac64SQing Zhangconfig KASAN_SHADOW_OFFSET 7055aa4ac64SQing Zhang hex 7065aa4ac64SQing Zhang default 0x0 7075aa4ac64SQing Zhang depends on KASAN 7085aa4ac64SQing Zhang 709fa96b57cSHuacai Chenmenu "Power management options" 710fa96b57cSHuacai Chen 711366bb35aSHuacai Chenconfig ARCH_SUSPEND_POSSIBLE 712366bb35aSHuacai Chen def_bool y 713366bb35aSHuacai Chen 7147db54bfeSHuacai Chenconfig ARCH_HIBERNATION_POSSIBLE 7157db54bfeSHuacai Chen def_bool y 7167db54bfeSHuacai Chen 717366bb35aSHuacai Chensource "kernel/power/Kconfig" 718fa96b57cSHuacai Chensource "drivers/acpi/Kconfig" 719f60d251bSHuacai Chensource "drivers/cpufreq/Kconfig" 720fa96b57cSHuacai Chen 721fa96b57cSHuacai Chenendmenu 722c1fc48aaSTianrui Zhao 723c1fc48aaSTianrui Zhaosource "arch/loongarch/kvm/Kconfig" 724