xref: /linux/arch/loongarch/Kconfig (revision 2363088eba2ecccfb643725e4864af73c4226a04)
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
8f6f0c9a7SHuacai Chen	select ACPI_PPTT if ACPI
9fa96b57cSHuacai Chen	select ACPI_SYSTEM_POWER_STATES_SUPPORT	if ACPI
10fa96b57cSHuacai Chen	select ARCH_BINFMT_ELF_STATE
11fa96b57cSHuacai Chen	select ARCH_ENABLE_MEMORY_HOTPLUG
12fa96b57cSHuacai Chen	select ARCH_ENABLE_MEMORY_HOTREMOVE
13fa96b57cSHuacai Chen	select ARCH_HAS_ACPI_TABLE_UPGRADE	if ACPI
149841c423SThomas Gleixner	select ARCH_HAS_CPU_FINALIZE_INIT
15d4c937c2SQing Zhang	select ARCH_HAS_FORTIFY_SOURCE
16*2363088eSFeiyang Chen	select ARCH_HAS_KCOV
173f48f3d9SPaul E. McKenney	select ARCH_HAS_NMI_SAFE_THIS_CPU_OPS
18de0e30beSChenguang Zhao	select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
19fa96b57cSHuacai Chen	select ARCH_HAS_PTE_SPECIAL
20fa96b57cSHuacai Chen	select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
21fa96b57cSHuacai Chen	select ARCH_INLINE_READ_LOCK if !PREEMPTION
22fa96b57cSHuacai Chen	select ARCH_INLINE_READ_LOCK_BH if !PREEMPTION
23fa96b57cSHuacai Chen	select ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION
24fa96b57cSHuacai Chen	select ARCH_INLINE_READ_LOCK_IRQSAVE if !PREEMPTION
25fa96b57cSHuacai Chen	select ARCH_INLINE_READ_UNLOCK if !PREEMPTION
26fa96b57cSHuacai Chen	select ARCH_INLINE_READ_UNLOCK_BH if !PREEMPTION
27fa96b57cSHuacai Chen	select ARCH_INLINE_READ_UNLOCK_IRQ if !PREEMPTION
28fa96b57cSHuacai Chen	select ARCH_INLINE_READ_UNLOCK_IRQRESTORE if !PREEMPTION
29fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_LOCK if !PREEMPTION
30fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_LOCK_BH if !PREEMPTION
31fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_LOCK_IRQ if !PREEMPTION
32fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_LOCK_IRQSAVE if !PREEMPTION
33fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_UNLOCK if !PREEMPTION
34fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPTION
35fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPTION
36fa96b57cSHuacai Chen	select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPTION
37fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_TRYLOCK if !PREEMPTION
38fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_TRYLOCK_BH if !PREEMPTION
39fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_LOCK if !PREEMPTION
40fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_LOCK_BH if !PREEMPTION
41fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_LOCK_IRQ if !PREEMPTION
42fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_LOCK_IRQSAVE if !PREEMPTION
43fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_UNLOCK if !PREEMPTION
44fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_UNLOCK_BH if !PREEMPTION
45fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_UNLOCK_IRQ if !PREEMPTION
46fa96b57cSHuacai Chen	select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION
47e0fba87cSHuacai Chen	select ARCH_KEEP_MEMBLOCK
48fa96b57cSHuacai Chen	select ARCH_MIGHT_HAVE_PC_PARPORT
49fa96b57cSHuacai Chen	select ARCH_MIGHT_HAVE_PC_SERIO
50fa96b57cSHuacai Chen	select ARCH_SPARSEMEM_ENABLE
5193a4fa62SQing Zhang	select ARCH_STACKWALK
52fa96b57cSHuacai Chen	select ARCH_SUPPORTS_ACPI
53fa96b57cSHuacai Chen	select ARCH_SUPPORTS_ATOMIC_RMW
54fa96b57cSHuacai Chen	select ARCH_SUPPORTS_HUGETLBFS
555a31ed46SWANG Xuerui	select ARCH_SUPPORTS_LTO_CLANG
565a31ed46SWANG Xuerui	select ARCH_SUPPORTS_LTO_CLANG_THIN
57d4b6f156SHuacai Chen	select ARCH_SUPPORTS_NUMA_BALANCING
58fa96b57cSHuacai Chen	select ARCH_USE_BUILTIN_BSWAP
59fa96b57cSHuacai Chen	select ARCH_USE_CMPXCHG_LOCKREF
60fa96b57cSHuacai Chen	select ARCH_USE_QUEUED_RWLOCKS
615f1e001bSHuacai Chen	select ARCH_USE_QUEUED_SPINLOCKS
62fa96b57cSHuacai Chen	select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
631429cfdeSArd Biesheuvel	select ARCH_WANT_LD_ORPHAN_WARN
640b376f1eSAneesh Kumar K.V	select ARCH_WANT_OPTIMIZE_VMEMMAP
65fa96b57cSHuacai Chen	select ARCH_WANTS_NO_INSTR
66fa96b57cSHuacai Chen	select BUILDTIME_TABLE_SORT
67fa96b57cSHuacai Chen	select COMMON_CLK
68366bb35aSHuacai Chen	select CPU_PM
69f30d1f49SHuacai Chen	select EFI
70fa96b57cSHuacai Chen	select GENERIC_CLOCKEVENTS
71fa96b57cSHuacai Chen	select GENERIC_CMOS_UPDATE
72fa96b57cSHuacai Chen	select GENERIC_CPU_AUTOPROBE
73fa96b57cSHuacai Chen	select GENERIC_ENTRY
74fa96b57cSHuacai Chen	select GENERIC_GETTIMEOFDAY
75d2791341SHuacai Chen	select GENERIC_IOREMAP if !ARCH_IOREMAP
76fa96b57cSHuacai Chen	select GENERIC_IRQ_MULTI_HANDLER
77fa96b57cSHuacai Chen	select GENERIC_IRQ_PROBE
78fa96b57cSHuacai Chen	select GENERIC_IRQ_SHOW
79fa96b57cSHuacai Chen	select GENERIC_LIB_ASHLDI3
80fa96b57cSHuacai Chen	select GENERIC_LIB_ASHRDI3
81fa96b57cSHuacai Chen	select GENERIC_LIB_CMPDI2
82fa96b57cSHuacai Chen	select GENERIC_LIB_LSHRDI3
83fa96b57cSHuacai Chen	select GENERIC_LIB_UCMPDI2
84235d074fSHuacai Chen	select GENERIC_LIB_DEVMEM_IS_ALLOWED
85fa96b57cSHuacai Chen	select GENERIC_PCI_IOMAP
86fa96b57cSHuacai Chen	select GENERIC_SCHED_CLOCK
8746859ac8SHuacai Chen	select GENERIC_SMP_IDLE_THREAD
88fa96b57cSHuacai Chen	select GENERIC_TIME_VSYSCALL
89aa5e65dcSTiezhu Yang	select GENERIC_VDSO_TIME_NS
90fa96b57cSHuacai Chen	select GPIOLIB
91fcbfe812SNiklas Schnelle	select HAS_IOPORT
92fa96b57cSHuacai Chen	select HAVE_ARCH_AUDITSYSCALL
93f02644e3SYouling Tang	select HAVE_ARCH_JUMP_LABEL
94f02644e3SYouling Tang	select HAVE_ARCH_JUMP_LABEL_RELATIVE
95e14dd076SQing Zhang	select HAVE_ARCH_KGDB if PERF_EVENTS
96fa96b57cSHuacai Chen	select HAVE_ARCH_MMAP_RND_BITS if MMU
97fa96b57cSHuacai Chen	select HAVE_ARCH_SECCOMP_FILTER
98fa96b57cSHuacai Chen	select HAVE_ARCH_TRACEHOOK
99fa96b57cSHuacai Chen	select HAVE_ARCH_TRANSPARENT_HUGEPAGE
100fa96b57cSHuacai Chen	select HAVE_ASM_MODVERSIONS
10124a9c541SFrederic Weisbecker	select HAVE_CONTEXT_TRACKING_USER
102a0a458fbSQing Zhang	select HAVE_C_RECORDMCOUNT
1035d553770STiezhu Yang	select HAVE_DEBUG_KMEMLEAK
104fa96b57cSHuacai Chen	select HAVE_DEBUG_STACKOVERFLOW
105fa96b57cSHuacai Chen	select HAVE_DMA_CONTIGUOUS
1064733f09dSQing Zhang	select HAVE_DYNAMIC_FTRACE
107ac7127e1SQing Zhang	select HAVE_DYNAMIC_FTRACE_WITH_ARGS
1089cdc3b6aSYouling Tang	select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
1098778ba2cSQing Zhang	select HAVE_DYNAMIC_FTRACE_WITH_REGS
1105dc61552STiezhu Yang	select HAVE_EBPF_JIT
11141596803SHuacai Chen	select HAVE_EFFICIENT_UNALIGNED_ACCESS if !ARCH_STRICT_ALIGN
112fa96b57cSHuacai Chen	select HAVE_EXIT_THREAD
113fa96b57cSHuacai Chen	select HAVE_FAST_GUP
114a0a458fbSQing Zhang	select HAVE_FTRACE_MCOUNT_RECORD
115356bd6f2SQing Zhang	select HAVE_FUNCTION_ARG_ACCESS_API
1168b5ee2c6STiezhu Yang	select HAVE_FUNCTION_ERROR_INJECTION
1175779e3c0SDonglin Peng	select HAVE_FUNCTION_GRAPH_RETVAL if HAVE_FUNCTION_GRAPH_TRACER
118dbe3ba30SQing Zhang	select HAVE_FUNCTION_GRAPH_TRACER
119dbe3ba30SQing Zhang	select HAVE_FUNCTION_TRACER
120*2363088eSFeiyang Chen	select HAVE_GCC_PLUGINS
121fa96b57cSHuacai Chen	select HAVE_GENERIC_VDSO
122edffa33cSQing Zhang	select HAVE_HW_BREAKPOINT if PERF_EVENTS
123fa96b57cSHuacai Chen	select HAVE_IOREMAP_PROT
124fa96b57cSHuacai Chen	select HAVE_IRQ_EXIT_ON_IRQ_STACK
125fa96b57cSHuacai Chen	select HAVE_IRQ_TIME_ACCOUNTING
1266d4cc40fSTiezhu Yang	select HAVE_KPROBES
12709e679c2STiezhu Yang	select HAVE_KPROBES_ON_FTRACE
1283f553686STiezhu Yang	select HAVE_KRETPROBES
129fa96b57cSHuacai Chen	select HAVE_MOD_ARCH_SPECIFIC
130fa96b57cSHuacai Chen	select HAVE_NMI
13157fc7323SHuacai Chen	select HAVE_PCI
132fa96b57cSHuacai Chen	select HAVE_PERF_EVENTS
133b37042b2SHuacai Chen	select HAVE_PERF_REGS
134b37042b2SHuacai Chen	select HAVE_PERF_USER_STACK_DUMP
135fa96b57cSHuacai Chen	select HAVE_REGS_AND_STACK_ACCESS_API
1367b0a0964SHaoran Jiang	select HAVE_RETHOOK
137fa96b57cSHuacai Chen	select HAVE_RSEQ
13822f367a6SYouling Tang	select HAVE_SAMPLE_FTRACE_DIRECT
13922f367a6SYouling Tang	select HAVE_SAMPLE_FTRACE_DIRECT_MULTI
140d4b6f156SHuacai Chen	select HAVE_SETUP_PER_CPU_AREA if NUMA
14109f33601SHuacai Chen	select HAVE_STACKPROTECTOR
142fa96b57cSHuacai Chen	select HAVE_SYSCALL_TRACEPOINTS
143fa96b57cSHuacai Chen	select HAVE_TIF_NOHZ
14446859ac8SHuacai Chen	select HAVE_VIRT_CPU_ACCOUNTING_GEN if !SMP
145fa96b57cSHuacai Chen	select IRQ_FORCED_THREADING
146fa96b57cSHuacai Chen	select IRQ_LOONGARCH_CPU
147a050ba1eSLinus Torvalds	select LOCK_MM_AND_FIND_VMA
148f30d1f49SHuacai Chen	select MMU_GATHER_MERGE_VMAS if MMU
149fa96b57cSHuacai Chen	select MODULES_USE_ELF_RELA if MODULES
150d4b6f156SHuacai Chen	select NEED_PER_CPU_EMBED_FIRST_CHUNK
151d4b6f156SHuacai Chen	select NEED_PER_CPU_PAGE_FIRST_CHUNK
15288d4d957SBinbin Zhou	select OF
15388d4d957SBinbin Zhou	select OF_EARLY_FLATTREE
15457fc7323SHuacai Chen	select PCI
15557fc7323SHuacai Chen	select PCI_DOMAINS_GENERIC
15657fc7323SHuacai Chen	select PCI_ECAM if ACPI
15757fc7323SHuacai Chen	select PCI_LOONGSON
15857fc7323SHuacai Chen	select PCI_MSI_ARCH_FALLBACKS
1597c12bb8fSHuacai Chen	select PCI_QUIRKS
160fa96b57cSHuacai Chen	select PERF_USE_VMALLOC
161fa96b57cSHuacai Chen	select RTC_LIB
162f30d1f49SHuacai Chen	select SMP
163fa96b57cSHuacai Chen	select SPARSE_IRQ
16461a6fcccSHuacai Chen	select SYSCTL_ARCH_UNALIGN_ALLOW
16561a6fcccSHuacai Chen	select SYSCTL_ARCH_UNALIGN_NO_WARN
166fa96b57cSHuacai Chen	select SYSCTL_EXCEPTION_TRACE
167fa96b57cSHuacai Chen	select SWIOTLB
168fa96b57cSHuacai Chen	select TRACE_IRQFLAGS_SUPPORT
169d4b6f156SHuacai Chen	select USE_PERCPU_NUMA_NODE_ID
1704d7bf939SQing Zhang	select USER_STACKTRACE_SUPPORT
171fa96b57cSHuacai Chen	select ZONE_DMA32
172fa96b57cSHuacai Chen
173fa96b57cSHuacai Chenconfig 32BIT
174fa96b57cSHuacai Chen	bool
175fa96b57cSHuacai Chen
176fa96b57cSHuacai Chenconfig 64BIT
177fa96b57cSHuacai Chen	def_bool y
178fa96b57cSHuacai Chen
1792d2c3952SYouling Tangconfig GENERIC_BUG
1802d2c3952SYouling Tang	def_bool y
1812d2c3952SYouling Tang	depends on BUG
1822d2c3952SYouling Tang
1832d2c3952SYouling Tangconfig GENERIC_BUG_RELATIVE_POINTERS
1842d2c3952SYouling Tang	def_bool y
1852d2c3952SYouling Tang	depends on GENERIC_BUG
1862d2c3952SYouling Tang
187fa96b57cSHuacai Chenconfig GENERIC_CALIBRATE_DELAY
188fa96b57cSHuacai Chen	def_bool y
189fa96b57cSHuacai Chen
190fa96b57cSHuacai Chenconfig GENERIC_CSUM
191fa96b57cSHuacai Chen	def_bool y
192fa96b57cSHuacai Chen
193fa96b57cSHuacai Chenconfig GENERIC_HWEIGHT
194fa96b57cSHuacai Chen	def_bool y
195fa96b57cSHuacai Chen
196fa96b57cSHuacai Chenconfig L1_CACHE_SHIFT
197fa96b57cSHuacai Chen	int
198fa96b57cSHuacai Chen	default "6"
199fa96b57cSHuacai Chen
200fa96b57cSHuacai Chenconfig LOCKDEP_SUPPORT
201fa96b57cSHuacai Chen	bool
202fa96b57cSHuacai Chen	default y
203fa96b57cSHuacai Chen
20493a4fa62SQing Zhangconfig STACKTRACE_SUPPORT
20593a4fa62SQing Zhang	bool
20693a4fa62SQing Zhang	default y
20793a4fa62SQing Zhang
2089550dfdeSColin Ian King# MACH_LOONGSON32 and MACH_LOONGSON64 are deliberately carried over from the
209fa96b57cSHuacai Chen# MIPS Loongson code, to preserve Loongson-specific code paths in drivers that
210fa96b57cSHuacai Chen# are shared between architectures, and specifically expecting the symbols.
211fa96b57cSHuacai Chenconfig MACH_LOONGSON32
212fa96b57cSHuacai Chen	def_bool 32BIT
213fa96b57cSHuacai Chen
214fa96b57cSHuacai Chenconfig MACH_LOONGSON64
215fa96b57cSHuacai Chen	def_bool 64BIT
216fa96b57cSHuacai Chen
217d2791341SHuacai Chenconfig FIX_EARLYCON_MEM
218d2791341SHuacai Chen	def_bool y
219d2791341SHuacai Chen
220fa96b57cSHuacai Chenconfig PAGE_SIZE_4KB
221fa96b57cSHuacai Chen	bool
222fa96b57cSHuacai Chen
223fa96b57cSHuacai Chenconfig PAGE_SIZE_16KB
224fa96b57cSHuacai Chen	bool
225fa96b57cSHuacai Chen
226fa96b57cSHuacai Chenconfig PAGE_SIZE_64KB
227fa96b57cSHuacai Chen	bool
228fa96b57cSHuacai Chen
229fa96b57cSHuacai Chenconfig PGTABLE_2LEVEL
230fa96b57cSHuacai Chen	bool
231fa96b57cSHuacai Chen
232fa96b57cSHuacai Chenconfig PGTABLE_3LEVEL
233fa96b57cSHuacai Chen	bool
234fa96b57cSHuacai Chen
235fa96b57cSHuacai Chenconfig PGTABLE_4LEVEL
236fa96b57cSHuacai Chen	bool
237fa96b57cSHuacai Chen
238fa96b57cSHuacai Chenconfig PGTABLE_LEVELS
239fa96b57cSHuacai Chen	int
240fa96b57cSHuacai Chen	default 2 if PGTABLE_2LEVEL
241fa96b57cSHuacai Chen	default 3 if PGTABLE_3LEVEL
242fa96b57cSHuacai Chen	default 4 if PGTABLE_4LEVEL
243fa96b57cSHuacai Chen
244fa96b57cSHuacai Chenconfig SCHED_OMIT_FRAME_POINTER
245fa96b57cSHuacai Chen	bool
246fa96b57cSHuacai Chen	default y
247fa96b57cSHuacai Chen
2480d8dad70SXi Ruoyaoconfig AS_HAS_EXPLICIT_RELOCS
2490d8dad70SXi Ruoyao	def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x))
2500d8dad70SXi Ruoyao
25138bb46f9SWANG Xueruiconfig AS_HAS_FCSR_CLASS
25238bb46f9SWANG Xuerui	def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0)
25338bb46f9SWANG Xuerui
25461650023SHuacai Chenconfig AS_HAS_LSX_EXTENSION
25561650023SHuacai Chen	def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0)
25661650023SHuacai Chen
25761650023SHuacai Chenconfig AS_HAS_LASX_EXTENSION
25861650023SHuacai Chen	def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0)
25961650023SHuacai Chen
260bd3c5798SQi Huconfig AS_HAS_LBT_EXTENSION
261bd3c5798SQi Hu	def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0)
262bd3c5798SQi Hu
263fa96b57cSHuacai Chenmenu "Kernel type and options"
264fa96b57cSHuacai Chen
265fa96b57cSHuacai Chensource "kernel/Kconfig.hz"
266fa96b57cSHuacai Chen
267fa96b57cSHuacai Chenchoice
268fa96b57cSHuacai Chen	prompt "Page Table Layout"
269fa96b57cSHuacai Chen	default 16KB_2LEVEL if 32BIT
270fa96b57cSHuacai Chen	default 16KB_3LEVEL if 64BIT
271fa96b57cSHuacai Chen	help
272fa96b57cSHuacai Chen	  Allows choosing the page table layout, which is a combination
273fa96b57cSHuacai Chen	  of page size and page table levels. The size of virtual memory
274fa96b57cSHuacai Chen	  address space are determined by the page table layout.
275fa96b57cSHuacai Chen
276fa96b57cSHuacai Chenconfig 4KB_3LEVEL
277fa96b57cSHuacai Chen	bool "4KB with 3 levels"
278fa96b57cSHuacai Chen	select PAGE_SIZE_4KB
279fa96b57cSHuacai Chen	select PGTABLE_3LEVEL
280fa96b57cSHuacai Chen	help
281fa96b57cSHuacai Chen	  This option selects 4KB page size with 3 level page tables, which
282fa96b57cSHuacai Chen	  support a maximum of 39 bits of application virtual memory.
283fa96b57cSHuacai Chen
284fa96b57cSHuacai Chenconfig 4KB_4LEVEL
285fa96b57cSHuacai Chen	bool "4KB with 4 levels"
286fa96b57cSHuacai Chen	select PAGE_SIZE_4KB
287fa96b57cSHuacai Chen	select PGTABLE_4LEVEL
288fa96b57cSHuacai Chen	help
289fa96b57cSHuacai Chen	  This option selects 4KB page size with 4 level page tables, which
290fa96b57cSHuacai Chen	  support a maximum of 48 bits of application virtual memory.
291fa96b57cSHuacai Chen
292fa96b57cSHuacai Chenconfig 16KB_2LEVEL
293fa96b57cSHuacai Chen	bool "16KB with 2 levels"
294fa96b57cSHuacai Chen	select PAGE_SIZE_16KB
295fa96b57cSHuacai Chen	select PGTABLE_2LEVEL
296fa96b57cSHuacai Chen	help
297fa96b57cSHuacai Chen	  This option selects 16KB page size with 2 level page tables, which
298fa96b57cSHuacai Chen	  support a maximum of 36 bits of application virtual memory.
299fa96b57cSHuacai Chen
300fa96b57cSHuacai Chenconfig 16KB_3LEVEL
301fa96b57cSHuacai Chen	bool "16KB with 3 levels"
302fa96b57cSHuacai Chen	select PAGE_SIZE_16KB
303fa96b57cSHuacai Chen	select PGTABLE_3LEVEL
304fa96b57cSHuacai Chen	help
305fa96b57cSHuacai Chen	  This option selects 16KB page size with 3 level page tables, which
306fa96b57cSHuacai Chen	  support a maximum of 47 bits of application virtual memory.
307fa96b57cSHuacai Chen
308fa96b57cSHuacai Chenconfig 64KB_2LEVEL
309fa96b57cSHuacai Chen	bool "64KB with 2 levels"
310fa96b57cSHuacai Chen	select PAGE_SIZE_64KB
311fa96b57cSHuacai Chen	select PGTABLE_2LEVEL
312fa96b57cSHuacai Chen	help
313fa96b57cSHuacai Chen	  This option selects 64KB page size with 2 level page tables, which
314fa96b57cSHuacai Chen	  support a maximum of 42 bits of application virtual memory.
315fa96b57cSHuacai Chen
316fa96b57cSHuacai Chenconfig 64KB_3LEVEL
317fa96b57cSHuacai Chen	bool "64KB with 3 levels"
318fa96b57cSHuacai Chen	select PAGE_SIZE_64KB
319fa96b57cSHuacai Chen	select PGTABLE_3LEVEL
320fa96b57cSHuacai Chen	help
321fa96b57cSHuacai Chen	  This option selects 64KB page size with 3 level page tables, which
322fa96b57cSHuacai Chen	  support a maximum of 55 bits of application virtual memory.
323fa96b57cSHuacai Chen
324fa96b57cSHuacai Chenendchoice
325fa96b57cSHuacai Chen
326fa96b57cSHuacai Chenconfig CMDLINE
327fa96b57cSHuacai Chen	string "Built-in kernel command line"
328fa96b57cSHuacai Chen	help
329fa96b57cSHuacai Chen	  For most platforms, the arguments for the kernel's command line
330fa96b57cSHuacai Chen	  are provided at run-time, during boot. However, there are cases
331fa96b57cSHuacai Chen	  where either no arguments are being provided or the provided
332fa96b57cSHuacai Chen	  arguments are insufficient or even invalid.
333fa96b57cSHuacai Chen
334fa96b57cSHuacai Chen	  When that occurs, it is possible to define a built-in command
335fa96b57cSHuacai Chen	  line here and choose how the kernel should use it later on.
336fa96b57cSHuacai Chen
337fa96b57cSHuacai Chenchoice
338fa96b57cSHuacai Chen	prompt "Kernel command line type"
339fa96b57cSHuacai Chen	default CMDLINE_BOOTLOADER
340fa96b57cSHuacai Chen	help
341fa96b57cSHuacai Chen	  Choose how the kernel will handle the provided built-in command
342fa96b57cSHuacai Chen	  line.
343fa96b57cSHuacai Chen
344fa96b57cSHuacai Chenconfig CMDLINE_BOOTLOADER
345fa96b57cSHuacai Chen	bool "Use bootloader kernel arguments if available"
346fa96b57cSHuacai Chen	help
347fa96b57cSHuacai Chen	  Prefer the command-line passed by the boot loader if available.
348fa96b57cSHuacai Chen	  Use the built-in command line as fallback in case we get nothing
349fa96b57cSHuacai Chen	  during boot. This is the default behaviour.
350fa96b57cSHuacai Chen
351fa96b57cSHuacai Chenconfig CMDLINE_EXTEND
352fa96b57cSHuacai Chen	bool "Use built-in to extend bootloader kernel arguments"
353fa96b57cSHuacai Chen	help
354fa96b57cSHuacai Chen	  The command-line arguments provided during boot will be
355fa96b57cSHuacai Chen	  appended to the built-in command line. This is useful in
356fa96b57cSHuacai Chen	  cases where the provided arguments are insufficient and
357fa96b57cSHuacai Chen	  you don't want to or cannot modify them.
358fa96b57cSHuacai Chen
359fa96b57cSHuacai Chenconfig CMDLINE_FORCE
360fa96b57cSHuacai Chen	bool "Always use the built-in kernel command string"
361fa96b57cSHuacai Chen	help
362fa96b57cSHuacai Chen	  Always use the built-in command line, even if we get one during
363fa96b57cSHuacai Chen	  boot. This is useful in case you need to override the provided
364fa96b57cSHuacai Chen	  command line on systems where you don't have or want control
365fa96b57cSHuacai Chen	  over it.
366fa96b57cSHuacai Chen
367fa96b57cSHuacai Chenendchoice
368fa96b57cSHuacai Chen
369fa96b57cSHuacai Chenconfig DMI
370fa96b57cSHuacai Chen	bool "Enable DMI scanning"
371fa96b57cSHuacai Chen	select DMI_SCAN_MACHINE_NON_EFI_FALLBACK
372fa96b57cSHuacai Chen	default y
373fa96b57cSHuacai Chen	help
374fa96b57cSHuacai Chen	  This enables SMBIOS/DMI feature for systems, and scanning of
375fa96b57cSHuacai Chen	  DMI to identify machine quirks.
376fa96b57cSHuacai Chen
377fa96b57cSHuacai Chenconfig EFI
378fa96b57cSHuacai Chen	bool "EFI runtime service support"
379fa96b57cSHuacai Chen	select UCS2_STRING
380fa96b57cSHuacai Chen	select EFI_RUNTIME_WRAPPERS
381fa96b57cSHuacai Chen	help
382fa96b57cSHuacai Chen	  This enables the kernel to use EFI runtime services that are
383fa96b57cSHuacai Chen	  available (such as the EFI variable services).
384fa96b57cSHuacai Chen
385ead384d9SHuacai Chenconfig EFI_STUB
386ead384d9SHuacai Chen	bool "EFI boot stub support"
387ead384d9SHuacai Chen	default y
388ead384d9SHuacai Chen	depends on EFI
389ead384d9SHuacai Chen	select EFI_GENERIC_STUB
390ead384d9SHuacai Chen	help
391ead384d9SHuacai Chen	  This kernel feature allows the kernel to be loaded directly by
392ead384d9SHuacai Chen	  EFI firmware without the use of a bootloader.
393ead384d9SHuacai Chen
394f6f0c9a7SHuacai Chenconfig SCHED_SMT
395f6f0c9a7SHuacai Chen	bool "SMT scheduler support"
396f6f0c9a7SHuacai Chen	default y
397f6f0c9a7SHuacai Chen	help
398f6f0c9a7SHuacai Chen	  Improves scheduler's performance when there are multiple
399f6f0c9a7SHuacai Chen	  threads in one physical core.
400f6f0c9a7SHuacai Chen
40146859ac8SHuacai Chenconfig SMP
40246859ac8SHuacai Chen	bool "Multi-Processing support"
40346859ac8SHuacai Chen	help
40446859ac8SHuacai Chen	  This enables support for systems with more than one CPU. If you have
40546859ac8SHuacai Chen	  a system with only one CPU, say N. If you have a system with more
40646859ac8SHuacai Chen	  than one CPU, say Y.
40746859ac8SHuacai Chen
40846859ac8SHuacai Chen	  If you say N here, the kernel will run on uni- and multiprocessor
40946859ac8SHuacai Chen	  machines, but will use only one CPU of a multiprocessor machine. If
41046859ac8SHuacai Chen	  you say Y here, the kernel will run on many, but not all,
41146859ac8SHuacai Chen	  uniprocessor machines. On a uniprocessor machine, the kernel
41246859ac8SHuacai Chen	  will run faster if you say N here.
41346859ac8SHuacai Chen
41446859ac8SHuacai Chen	  See also the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>.
41546859ac8SHuacai Chen
41646859ac8SHuacai Chen	  If you don't know what to do here, say N.
41746859ac8SHuacai Chen
41846859ac8SHuacai Chenconfig HOTPLUG_CPU
41946859ac8SHuacai Chen	bool "Support for hot-pluggable CPUs"
42046859ac8SHuacai Chen	depends on SMP
42146859ac8SHuacai Chen	select GENERIC_IRQ_MIGRATION
42246859ac8SHuacai Chen	help
42346859ac8SHuacai Chen	  Say Y here to allow turning CPUs off and on. CPUs can be
42446859ac8SHuacai Chen	  controlled through /sys/devices/system/cpu.
42546859ac8SHuacai Chen	  (Note: power management support will enable this option
42646859ac8SHuacai Chen	    automatically on SMP systems. )
42746859ac8SHuacai Chen	  Say N if you want to disable CPU hotplug.
42846859ac8SHuacai Chen
42946859ac8SHuacai Chenconfig NR_CPUS
43046859ac8SHuacai Chen	int "Maximum number of CPUs (2-256)"
43146859ac8SHuacai Chen	range 2 256
43246859ac8SHuacai Chen	depends on SMP
43346859ac8SHuacai Chen	default "64"
43446859ac8SHuacai Chen	help
43546859ac8SHuacai Chen	  This allows you to specify the maximum number of CPUs which this
43646859ac8SHuacai Chen	  kernel will support.
43746859ac8SHuacai Chen
438d4b6f156SHuacai Chenconfig NUMA
439d4b6f156SHuacai Chen	bool "NUMA Support"
440255b4658SHuacai Chen	select SMP
441d4b6f156SHuacai Chen	select ACPI_NUMA if ACPI
442d4b6f156SHuacai Chen	help
443d4b6f156SHuacai Chen	  Say Y to compile the kernel with NUMA (Non-Uniform Memory Access)
444d4b6f156SHuacai Chen	  support.  This option improves performance on systems with more
445d4b6f156SHuacai Chen	  than one NUMA node; on single node systems it is generally better
446d4b6f156SHuacai Chen	  to leave it disabled.
447d4b6f156SHuacai Chen
448d4b6f156SHuacai Chenconfig NODES_SHIFT
449d4b6f156SHuacai Chen	int
450d4b6f156SHuacai Chen	default "6"
451d4b6f156SHuacai Chen	depends on NUMA
452d4b6f156SHuacai Chen
4530192445cSZi Yanconfig ARCH_FORCE_MAX_ORDER
454fa96b57cSHuacai Chen	int "Maximum zone order"
45523baf831SKirill A. Shutemov	default "13" if PAGE_SIZE_64KB
45623baf831SKirill A. Shutemov	default "11" if PAGE_SIZE_16KB
45723baf831SKirill A. Shutemov	default "10"
458fa96b57cSHuacai Chen	help
459fa96b57cSHuacai Chen	  The kernel memory allocator divides physically contiguous memory
460fa96b57cSHuacai Chen	  blocks into "zones", where each zone is a power of two number of
461fa96b57cSHuacai Chen	  pages.  This option selects the largest power of two that the kernel
462fa96b57cSHuacai Chen	  keeps in the memory allocator.  If you need to allocate very large
463fa96b57cSHuacai Chen	  blocks of physically contiguous memory, then you may need to
464fa96b57cSHuacai Chen	  increase this value.
465fa96b57cSHuacai Chen
466fa96b57cSHuacai Chen	  The page size is not necessarily 4KB.  Keep this in mind
467fa96b57cSHuacai Chen	  when choosing a value for this option.
468fa96b57cSHuacai Chen
469d2791341SHuacai Chenconfig ARCH_IOREMAP
470d2791341SHuacai Chen	bool "Enable LoongArch DMW-based ioremap()"
471d2791341SHuacai Chen	help
472d2791341SHuacai Chen	  We use generic TLB-based ioremap() by default since it has page
473d2791341SHuacai Chen	  protection support. However, you can enable LoongArch DMW-based
474d2791341SHuacai Chen	  ioremap() for better performance.
475d2791341SHuacai Chen
47616c52e50SHuacai Chenconfig ARCH_WRITECOMBINE
47716c52e50SHuacai Chen	bool "Enable WriteCombine (WUC) for ioremap()"
47816c52e50SHuacai Chen	help
47916c52e50SHuacai Chen	  LoongArch maintains cache coherency in hardware, but when paired
48016c52e50SHuacai Chen	  with LS7A chipsets the WUC attribute (Weak-ordered UnCached, which
48116c52e50SHuacai Chen	  is similar to WriteCombine) is out of the scope of cache coherency
48216c52e50SHuacai Chen	  machanism for PCIe devices (this is a PCIe protocol violation, which
48316c52e50SHuacai Chen	  may be fixed in newer chipsets).
48416c52e50SHuacai Chen
48516c52e50SHuacai Chen	  This means WUC can only used for write-only memory regions now, so
48616c52e50SHuacai Chen	  this option is disabled by default, making WUC silently fallback to
48716c52e50SHuacai Chen	  SUC for ioremap(). You can enable this option if the kernel is ensured
48816c52e50SHuacai Chen	  to run on hardware without this bug.
48916c52e50SHuacai Chen
49016c52e50SHuacai Chen	  You can override this setting via writecombine=on/off boot parameter.
49116c52e50SHuacai Chen
49241596803SHuacai Chenconfig ARCH_STRICT_ALIGN
49341596803SHuacai Chen	bool "Enable -mstrict-align to prevent unaligned accesses" if EXPERT
49441596803SHuacai Chen	default y
49541596803SHuacai Chen	help
49641596803SHuacai Chen	  Not all LoongArch cores support h/w unaligned access, we can use
49741596803SHuacai Chen	  -mstrict-align build parameter to prevent unaligned accesses.
49841596803SHuacai Chen
49941596803SHuacai Chen	  CPUs with h/w unaligned access support:
50041596803SHuacai Chen	  Loongson-2K2000/2K3000/3A5000/3C5000/3D5000.
50141596803SHuacai Chen
50241596803SHuacai Chen	  CPUs without h/w unaligned access support:
50341596803SHuacai Chen	  Loongson-2K500/2K1000.
50441596803SHuacai Chen
50541596803SHuacai Chen	  This option is enabled by default to make the kernel be able to run
50641596803SHuacai Chen	  on all LoongArch systems. But you can disable it manually if you want
50741596803SHuacai Chen	  to run kernel only on systems with h/w unaligned access support in
50841596803SHuacai Chen	  order to optimise for performance.
50941596803SHuacai Chen
51061650023SHuacai Chenconfig CPU_HAS_FPU
51161650023SHuacai Chen	bool
51261650023SHuacai Chen	default y
51361650023SHuacai Chen
51461650023SHuacai Chenconfig CPU_HAS_LSX
51561650023SHuacai Chen	bool "Support for the Loongson SIMD Extension"
51661650023SHuacai Chen	depends on AS_HAS_LSX_EXTENSION
51761650023SHuacai Chen	help
51861650023SHuacai Chen	  Loongson SIMD Extension (LSX) introduces 128 bit wide vector registers
51961650023SHuacai Chen	  and a set of SIMD instructions to operate on them. When this option
52061650023SHuacai Chen	  is enabled the kernel will support allocating & switching LSX
52161650023SHuacai Chen	  vector register contexts. If you know that your kernel will only be
52261650023SHuacai Chen	  running on CPUs which do not support LSX or that your userland will
52361650023SHuacai Chen	  not be making use of it then you may wish to say N here to reduce
52461650023SHuacai Chen	  the size & complexity of your kernel.
52561650023SHuacai Chen
52661650023SHuacai Chen	  If unsure, say Y.
52761650023SHuacai Chen
52861650023SHuacai Chenconfig CPU_HAS_LASX
52961650023SHuacai Chen	bool "Support for the Loongson Advanced SIMD Extension"
53061650023SHuacai Chen	depends on CPU_HAS_LSX
53161650023SHuacai Chen	depends on AS_HAS_LASX_EXTENSION
53261650023SHuacai Chen	help
53361650023SHuacai Chen	  Loongson Advanced SIMD Extension (LASX) introduces 256 bit wide vector
53461650023SHuacai Chen	  registers and a set of SIMD instructions to operate on them. When this
53561650023SHuacai Chen	  option is enabled the kernel will support allocating & switching LASX
53661650023SHuacai Chen	  vector register contexts. If you know that your kernel will only be
53761650023SHuacai Chen	  running on CPUs which do not support LASX or that your userland will
53861650023SHuacai Chen	  not be making use of it then you may wish to say N here to reduce
53961650023SHuacai Chen	  the size & complexity of your kernel.
54061650023SHuacai Chen
54161650023SHuacai Chen	  If unsure, say Y.
54261650023SHuacai Chen
543bd3c5798SQi Huconfig CPU_HAS_LBT
544bd3c5798SQi Hu	bool "Support for the Loongson Binary Translation Extension"
545bd3c5798SQi Hu	depends on AS_HAS_LBT_EXTENSION
546bd3c5798SQi Hu	help
547bd3c5798SQi Hu	  Loongson Binary Translation (LBT) introduces 4 scratch registers (SCR0
548bd3c5798SQi Hu	  to SCR3), x86/ARM eflags (eflags) and x87 fpu stack pointer (ftop).
549bd3c5798SQi Hu	  Enabling this option allows the kernel to allocate and switch registers
550bd3c5798SQi Hu	  specific to LBT.
551bd3c5798SQi Hu
552bd3c5798SQi Hu	  If you want to use this feature, such as the Loongson Architecture
553bd3c5798SQi Hu	  Translator (LAT), say Y.
554bd3c5798SQi Hu
55561650023SHuacai Chenconfig CPU_HAS_PREFETCH
55661650023SHuacai Chen	bool
55761650023SHuacai Chen	default y
55861650023SHuacai Chen
5594a03b2acSYouling Tangconfig KEXEC
5604a03b2acSYouling Tang	bool "Kexec system call"
5614a03b2acSYouling Tang	select KEXEC_CORE
5624a03b2acSYouling Tang	help
5634a03b2acSYouling Tang	  kexec is a system call that implements the ability to shutdown your
5644a03b2acSYouling Tang	  current kernel, and to start another kernel.  It is like a reboot
5654a03b2acSYouling Tang	  but it is independent of the system firmware.   And like a reboot
5664a03b2acSYouling Tang	  you can start any kernel with it, not just Linux.
5674a03b2acSYouling Tang
5684a03b2acSYouling Tang	  The name comes from the similarity to the exec system call.
5694a03b2acSYouling Tang
5704e62d1d8SYouling Tangconfig CRASH_DUMP
5714e62d1d8SYouling Tang	bool "Build kdump crash kernel"
5723f89765dSYouling Tang	select RELOCATABLE
5734e62d1d8SYouling Tang	help
5744e62d1d8SYouling Tang	  Generate crash dump after being started by kexec. This should
5754e62d1d8SYouling Tang	  be normally only set in special crash dump kernels which are
5764e62d1d8SYouling Tang	  loaded in the main kernel with kexec-tools into a specially
5774e62d1d8SYouling Tang	  reserved region and then later executed after a crash by
5784e62d1d8SYouling Tang	  kdump/kexec.
5794e62d1d8SYouling Tang
5804e62d1d8SYouling Tang	  For more details see Documentation/admin-guide/kdump/kdump.rst
5814e62d1d8SYouling Tang
582d8da19fbSYouling Tangconfig RELOCATABLE
583d8da19fbSYouling Tang	bool "Relocatable kernel"
584d8da19fbSYouling Tang	help
585d8da19fbSYouling Tang	  This builds the kernel as a Position Independent Executable (PIE),
586d8da19fbSYouling Tang	  which retains all relocation metadata required, so as to relocate
587d8da19fbSYouling Tang	  the kernel binary at runtime to a different virtual address from
588d8da19fbSYouling Tang	  its link address.
589d8da19fbSYouling Tang
590e5f02b51SYouling Tangconfig RANDOMIZE_BASE
591e5f02b51SYouling Tang	bool "Randomize the address of the kernel (KASLR)"
592e5f02b51SYouling Tang	depends on RELOCATABLE
593e5f02b51SYouling Tang	help
594e5f02b51SYouling Tang	   Randomizes the physical and virtual address at which the
595e5f02b51SYouling Tang	   kernel image is loaded, as a security feature that
596e5f02b51SYouling Tang	   deters exploit attempts relying on knowledge of the location
597e5f02b51SYouling Tang	   of kernel internals.
598e5f02b51SYouling Tang
599e5f02b51SYouling Tang	   The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET.
600e5f02b51SYouling Tang
601e5f02b51SYouling Tang	   If unsure, say N.
602e5f02b51SYouling Tang
603e5f02b51SYouling Tangconfig RANDOMIZE_BASE_MAX_OFFSET
604e5f02b51SYouling Tang	hex "Maximum KASLR offset" if EXPERT
605e5f02b51SYouling Tang	depends on RANDOMIZE_BASE
606e5f02b51SYouling Tang	range 0x0 0x10000000
607e5f02b51SYouling Tang	default "0x01000000"
608e5f02b51SYouling Tang	help
609e5f02b51SYouling Tang	  When KASLR is active, this provides the maximum offset that will
610e5f02b51SYouling Tang	  be applied to the kernel image. It should be set according to the
611e5f02b51SYouling Tang	  amount of physical RAM available in the target system.
612e5f02b51SYouling Tang
613e5f02b51SYouling Tang	  This is limited by the size of the lower address memory, 256MB.
614e5f02b51SYouling Tang
615fa96b57cSHuacai Chenconfig SECCOMP
616fa96b57cSHuacai Chen	bool "Enable seccomp to safely compute untrusted bytecode"
617fa96b57cSHuacai Chen	depends on PROC_FS
618fa96b57cSHuacai Chen	default y
619fa96b57cSHuacai Chen	help
620fa96b57cSHuacai Chen	  This kernel feature is useful for number crunching applications
621fa96b57cSHuacai Chen	  that may need to compute untrusted bytecode during their
622fa96b57cSHuacai Chen	  execution. By using pipes or other transports made available to
623fa96b57cSHuacai Chen	  the process as file descriptors supporting the read/write
624fa96b57cSHuacai Chen	  syscalls, it's possible to isolate those applications in
625fa96b57cSHuacai Chen	  their own address space using seccomp. Once seccomp is
626fa96b57cSHuacai Chen	  enabled via /proc/<pid>/seccomp, it cannot be disabled
627fa96b57cSHuacai Chen	  and the task is only allowed to execute a few safe syscalls
628fa96b57cSHuacai Chen	  defined by each seccomp mode.
629fa96b57cSHuacai Chen
630fa96b57cSHuacai Chen	  If unsure, say Y. Only embedded should say N here.
631fa96b57cSHuacai Chen
632fa96b57cSHuacai Chenendmenu
633fa96b57cSHuacai Chen
634fa96b57cSHuacai Chenconfig ARCH_SELECT_MEMORY_MODEL
635fa96b57cSHuacai Chen	def_bool y
636fa96b57cSHuacai Chen
637fa96b57cSHuacai Chenconfig ARCH_FLATMEM_ENABLE
638fa96b57cSHuacai Chen	def_bool y
639d4b6f156SHuacai Chen	depends on !NUMA
640fa96b57cSHuacai Chen
641fa96b57cSHuacai Chenconfig ARCH_SPARSEMEM_ENABLE
642fa96b57cSHuacai Chen	def_bool y
6437b09f5afSFeiyang Chen	select SPARSEMEM_VMEMMAP_ENABLE
644fa96b57cSHuacai Chen	help
645fa96b57cSHuacai Chen	  Say Y to support efficient handling of sparse physical memory,
646fa96b57cSHuacai Chen	  for architectures which are either NUMA (Non-Uniform Memory Access)
647fa96b57cSHuacai Chen	  or have huge holes in the physical address space for other reasons.
648ee65728eSMike Rapoport	  See <file:Documentation/mm/numa.rst> for more.
649fa96b57cSHuacai Chen
650fa96b57cSHuacai Chenconfig ARCH_ENABLE_THP_MIGRATION
651fa96b57cSHuacai Chen	def_bool y
652fa96b57cSHuacai Chen	depends on TRANSPARENT_HUGEPAGE
653fa96b57cSHuacai Chen
654fa96b57cSHuacai Chenconfig ARCH_MEMORY_PROBE
655fa96b57cSHuacai Chen	def_bool y
656fa96b57cSHuacai Chen	depends on MEMORY_HOTPLUG
657fa96b57cSHuacai Chen
658fa96b57cSHuacai Chenconfig MMU
659fa96b57cSHuacai Chen	bool
660fa96b57cSHuacai Chen	default y
661fa96b57cSHuacai Chen
662fa96b57cSHuacai Chenconfig ARCH_MMAP_RND_BITS_MIN
663fa96b57cSHuacai Chen	default 12
664fa96b57cSHuacai Chen
665fa96b57cSHuacai Chenconfig ARCH_MMAP_RND_BITS_MAX
666fa96b57cSHuacai Chen	default 18
667fa96b57cSHuacai Chen
66819bc6cb6STiezhu Yangconfig ARCH_SUPPORTS_UPROBES
66919bc6cb6STiezhu Yang	def_bool y
67019bc6cb6STiezhu Yang
671fa96b57cSHuacai Chenmenu "Power management options"
672fa96b57cSHuacai Chen
673366bb35aSHuacai Chenconfig ARCH_SUSPEND_POSSIBLE
674366bb35aSHuacai Chen	def_bool y
675366bb35aSHuacai Chen
6767db54bfeSHuacai Chenconfig ARCH_HIBERNATION_POSSIBLE
6777db54bfeSHuacai Chen	def_bool y
6787db54bfeSHuacai Chen
679366bb35aSHuacai Chensource "kernel/power/Kconfig"
680fa96b57cSHuacai Chensource "drivers/acpi/Kconfig"
681fa96b57cSHuacai Chen
682fa96b57cSHuacai Chenendmenu
683