Lines Matching full:if
15 select ACPI_GENERIC_GSI if ACPI
16 select ACPI_MCFG if (ACPI && PCI)
17 select ACPI_PPTT if ACPI
18 select ACPI_REDUCED_HARDWARE_ONLY if ACPI
19 select ACPI_SPCR_TABLE if ACPI
21 select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION
22 select ARCH_ENABLE_MEMORY_HOTPLUG if SPARSEMEM_VMEMMAP
23 select ARCH_ENABLE_MEMORY_HOTREMOVE if MEMORY_HOTPLUG
24 select ARCH_ENABLE_SPLIT_PMD_PTLOCK if PGTABLE_LEVELS > 2
25 select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE
28 select ARCH_HAS_DEBUG_VIRTUAL if MMU
37 select ARCH_HAS_KERNEL_FPU_SUPPORT if 64BIT && FPU
45 select ARCH_HAS_PTDUMP if MMU
47 select ARCH_HAS_SET_DIRECT_MAP if MMU
48 select ARCH_HAS_SET_MEMORY if MMU
49 select ARCH_HAS_STRICT_KERNEL_RWX if MMU && !XIP_KERNEL
50 select ARCH_HAS_STRICT_MODULE_RWX if MMU && !XIP_KERNEL
53 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
55 select ARCH_HAS_VDSO_ARCH_DATA if GENERIC_VDSO_DATA_STORE
56 select ARCH_KEEP_MEMBLOCK if ACPI
57 select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE if 64BIT && MMU
58 select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
63 select ARCH_SUPPORTS_CFI_CLANG if CLANG_VERSION >= 170000
64 select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
65 select ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE
66 select ARCH_SUPPORTS_HUGETLBFS if MMU
68 select ARCH_SUPPORTS_LTO_CLANG if LLD_VERSION >= 140000 && CMODEL_MEDANY
69 select ARCH_SUPPORTS_LTO_CLANG_THIN if LLD_VERSION >= 140000
70 select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS if 64BIT && MMU
71 select ARCH_SUPPORTS_PAGE_TABLE_CHECK if MMU
72 select ARCH_SUPPORTS_PER_VMA_LOCK if MMU
74 select ARCH_SUPPORTS_SHADOW_CALL_STACK if HAVE_SHADOW_CALL_STACK
75 select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
79 select ARCH_USES_CFI_TRAPS if CFI_CLANG
80 select ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH if MMU
81 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU
83 select ARCH_WANT_GENERAL_HUGETLB if !RISCV_ISA_SVNAPOT
84 select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
85 select ARCH_WANT_LD_ORPHAN_WARN if !XIP_KERNEL
89 select ARCH_WANTS_THP_SWAP if HAVE_ARCH_TRANSPARENT_HUGEPAGE
90 select ARCH_WEAK_RELEASE_ACQUIRE if ARCH_USE_QUEUED_SPINLOCKS
91 select BINFMT_FLAT_NO_DATA_START_OFFSET if !MMU
92 select BUILDTIME_TABLE_SORT if MMU
93 select CLINT_TIMER if RISCV_M_MODE
96 select CPU_NO_EFFICIENT_FFS if !RISCV_ISA_ZBB
97 select CPU_PM if CPU_IDLE || HIBERNATION || SUSPEND
98 select DYNAMIC_FTRACE if FUNCTION_TRACER
100 select FRAME_POINTER if PERF_EVENTS || (FUNCTION_TRACER && !DYNAMIC_FTRACE)
101 select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE
102 select FUNCTION_ALIGNMENT_8B if DYNAMIC_FTRACE_WITH_CALL_OPS
104 select GENERIC_ATOMIC64 if !64BIT
105 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
110 select GENERIC_GETTIMEOFDAY if HAVE_GENERIC_VDSO
112 select GENERIC_IOREMAP if MMU
113 select GENERIC_IRQ_IPI if SMP
114 select GENERIC_IRQ_IPI_MUX if SMP
119 select GENERIC_PENDING_IRQ if SMP
123 select GENERIC_TIME_VSYSCALL if MMU && 64BIT
124 select GENERIC_VDSO_DATA_STORE if MMU
125 select GENERIC_VDSO_TIME_NS if HAVE_GENERIC_VDSO
127 select HAS_IOPORT if MMU
130 select HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP
131 select HAVE_ARCH_HUGE_VMAP if MMU && 64BIT
132 select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL
133 select HAVE_ARCH_JUMP_LABEL_RELATIVE if !XIP_KERNEL
134 select HAVE_ARCH_KASAN if MMU && 64BIT
135 select HAVE_ARCH_KASAN_VMALLOC if MMU && 64BIT
136 select HAVE_ARCH_KFENCE if MMU && 64BIT
138 select HAVE_ARCH_KGDB if !XIP_KERNEL
140 select HAVE_ARCH_MMAP_RND_BITS if MMU
141 select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT
146 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if 64BIT && MMU
147 select HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD if 64BIT && MMU
148 select HAVE_ARCH_USERFAULTFD_MINOR if 64BIT && USERFAULTFD
149 select HAVE_ARCH_VMAP_STACK if MMU && 64BIT
153 select HAVE_DMA_CONTIGUOUS if MMU
154 …select HAVE_DYNAMIC_FTRACE if !XIP_KERNEL && MMU && (CLANG_SUPPORTS_DYNAMIC_FTRACE || GCC_SUPPORTS…
155 select FUNCTION_ALIGNMENT_4B if HAVE_DYNAMIC_FTRACE && RISCV_ISA_C
156 select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS if HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS
157 select HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS if (DYNAMIC_FTRACE_WITH_ARGS && !CFI_CLANG)
158 select HAVE_DYNAMIC_FTRACE_WITH_ARGS if HAVE_DYNAMIC_FTRACE
160 select HAVE_FUNCTION_GRAPH_TRACER if HAVE_DYNAMIC_FTRACE_WITH_ARGS
162 select HAVE_FUNCTION_TRACER if !XIP_KERNEL && HAVE_DYNAMIC_FTRACE
163 select HAVE_EBPF_JIT if MMU
164 select HAVE_GUP_FAST if MMU
168 select HAVE_GENERIC_VDSO if MMU && 64BIT
170 select HAVE_KERNEL_BZIP2 if !XIP_KERNEL && !EFI_ZBOOT
171 select HAVE_KERNEL_GZIP if !XIP_KERNEL && !EFI_ZBOOT
172 select HAVE_KERNEL_LZ4 if !XIP_KERNEL && !EFI_ZBOOT
173 select HAVE_KERNEL_LZMA if !XIP_KERNEL && !EFI_ZBOOT
174 select HAVE_KERNEL_LZO if !XIP_KERNEL && !EFI_ZBOOT
175 select HAVE_KERNEL_UNCOMPRESSED if !XIP_KERNEL && !EFI_ZBOOT
176 select HAVE_KERNEL_ZSTD if !XIP_KERNEL && !EFI_ZBOOT
177 select HAVE_KERNEL_XZ if !XIP_KERNEL && !EFI_ZBOOT
178 select HAVE_KPROBES if !XIP_KERNEL
179 select HAVE_KRETPROBES if !XIP_KERNEL
181 select HAVE_LD_DEAD_CODE_DATA_ELIMINATION if !LD_IS_LLD
190 select HAVE_PREEMPT_DYNAMIC_KEY if !XIP_KERNEL
192 select HAVE_RETHOOK if !XIP_KERNEL
194 select HAVE_RUST if RUSTC_SUPPORTS_RISCV && CC_IS_CLANG
199 select HOTPLUG_CORE_SYNC_DEAD if HOTPLUG_CPU
202 select KASAN_VMALLOC if KASAN
204 select MMU_GATHER_RCU_TABLE_FREE if SMP && MMU
205 select MODULES_USE_ELF_RELA if MODULES
209 select PCI_DOMAINS_GENERIC if PCI
210 select PCI_ECAM if (ACPI && PCI)
211 select PCI_MSI if PCI
212 select RELOCATABLE if !MMU && !PHYS_RAM_BASE_FIXED
213 select RISCV_ALTERNATIVE if !XIP_KERNEL
217 select RISCV_TIMER if RISCV_SBI
223 select UACCESS_MEMCPY if !MMU
224 select VDSO_GETRANDOM if HAVE_GENERIC_VDSO
226 select ZONE_DMA32 if 64BIT
265 default 18 if 64BIT
274 default 24 if 64BIT # SV39 based
280 # set if we run in machine mode, cleared if we run in supervisor mode
286 Select this option if you want to run the kernel in M-mode,
289 # set if we are running in S-mode and can use SBI calls
299 Select if you want MMU-based virtualised addressing space
300 support by paged memory management. If unsure, say 'Y'.
305 default 0xdfffffff00000000 if 64BIT
306 default 0xffffffff if 32BIT
314 select SPARSEMEM_STATIC if 32BIT && SPARSEMEM
315 select SPARSEMEM_VMEMMAP_ENABLE if 64BIT
329 select GENERIC_BUG_RELATIVE_POINTERS if 64BIT
348 default 0 if 32BIT
349 default 0xdead000000000000 if 64BIT
353 default 5 if 64BIT
365 select DMA_BOUNCE_UNALIGNED_KMALLOC if SWIOTLB
399 If unsure, say N.
420 select ARCH_SUPPORTS_INT128 if CC_HAS_INT128
421 select SWIOTLB if MMU
426 # is still a bit more efficient when generating code if it's setup in a manner
430 default CMODEL_MEDLOW if 32BIT
431 default CMODEL_MEDANY if 64BIT
446 This enables support for systems with more than one CPU. If
449 multiprocessor machine. If you say Y here, the kernel will run
451 processor machine, the kernel will run faster if you say N
454 If you don't know what to do here, say N.
462 increased overhead in some places. If unsure say N here.
467 range 2 512 if !RISCV_SBI_V01
468 range 2 32 if RISCV_SBI_V01 && 32BIT
469 range 2 64 if RISCV_SBI_V01 && 64BIT
470 default "32" if 32BIT
471 default "64" if 64BIT
482 Say N if you want to disable CPU hotplug.
535 Select this if and only if Zabha or Ziccrse is available on your
539 If unsure, select RISCV_COMBO_SPINLOCKS, which will use qspinlocks
576 If you don't know what to do here, say Y.
586 If this option is disabled, userspace will be unable to use
606 If you don't know what to do here, say Y.
623 If you don't know what to do here, say Y.
644 If you don't know what to do here, say Y.
651 Say Y here if you want to enable Vector in userspace by default.
655 If you don't know what to do here, say Y.
706 If you don't know what to do here, say Y.
724 If you don't know what to do here, say Y.
759 If you don't know what to do here, say Y.
774 If you don't know what to do here, say Y.
797 If you don't know what to do here, say Y.
819 If you don't know what to do here, say Y.
836 If you don't know what to do here, say Y.
848 If you don't know what to do here, say Y.
863 If you don't know what to do here, say Y.
901 If you don't know what to do here, say Y.
904 bool "Independent irq & softirq stacks" if EXPERT
913 int "Kernel stack size (in power-of-two numbers of page size)" if VMAP_STACK && EXPERT
915 default 1 if 32BIT
956 the speed of unaligned accesses on the underlying system. If unaligned
965 If unaligned memory accesses trap into the kernel as they are not
981 select DCACHE_WORD_ACCESS if MMU
1008 speed of vector unaligned accesses if they are supported. This probing
1010 the underlying system if they are supported.
1050 default y if RISCV_SBI_V01 || RISCV_M_MODE
1059 dynamically at runtime if the firmware supports it.
1065 If unsure what to do here, say N.
1073 select HOTPLUG_CPU if SMP
1081 select HAVE_IMA_KEXEC if IMA
1106 If you want to execute 32-bit userspace applications, say Y.
1125 If in doubt, say N here.
1130 select MODULE_SECTIONS if MODULES
1138 relocation pass at runtime even if the kernel is loaded at the
1141 If unsure, say N.
1156 EFI_RNG_PROTOCOL implementation (if available) to supply entropy
1160 If unsure, say N.
1186 bool "Use bootloader kernel arguments if available"
1202 Always use the built-in command line, even if we get one during
1217 select ARCH_SUPPORTS_ACPI if 64BIT
1280 and for storing it, is configuration dependent. Therefore, if you
1292 If unsure, say N.
1310 "riscv,isa" property if the replacements are not found.
1327 This option should be selected if no bootloader is being used.
1328 If unsure, say N.