CONFIG_64BIT
CONFIG_32BIT
CONFIG_RISCV
- Selects
ACPI_GENERIC_GSI if ACPI - Selects
ACPI_MCFG if (ACPI && PCI) - Selects
ACPI_PPTT if ACPI - Selects
ACPI_REDUCED_HARDWARE_ONLY if ACPI - Selects
ACPI_RIMT if ACPI - Selects
ACPI_SPCR_TABLE if ACPI - Selects
ARCH_DMA_DEFAULT_COHERENT - Selects
ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION - Selects
ARCH_ENABLE_MEMORY_HOTPLUG if SPARSEMEM_VMEMMAP - Selects
ARCH_ENABLE_SPLIT_PMD_PTLOCK if > 2 - Selects
ARCH_HAS_PMD_SOFTLEAVES if TRANSPARENT_HUGEPAGE - Selects
ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI - Selects
ARCH_HAS_BINFMT_FLAT - Selects
ARCH_HAS_CC_CAN_LINK - Selects
ARCH_HAS_CURRENT_STACK_POINTER - Selects
ARCH_HAS_DEBUG_VIRTUAL if - Selects
ARCH_HAS_DEBUG_VM_PGTABLE - Selects
ARCH_HAS_CHECK_WX - Selects
ARCH_HAS_DELAY_TIMER - Selects
ARCH_HAS_ELF_CORE_EFLAGS if BINFMT_ELF && ELF_CORE - Selects
ARCH_HAS_FAST_MULTIPLIER - Selects
ARCH_HAS_FORTIFY_SOURCE - Selects
ARCH_HAS_GCOV_PROFILE_ALL - Selects
ARCH_HAS_GIGANTIC_PAGE - Selects
ARCH_HAS_HW_PTE_YOUNG - Selects
ARCH_HAS_KCOV - Selects
ARCH_HAS_KERNEL_FPU_SUPPORT if && - Selects
ARCH_HAS_MEMBARRIER_CALLBACKS - Selects
ARCH_HAS_MEMBARRIER_SYNC_CORE - Selects
ARCH_HAS_MMIOWB - Selects
ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE - Selects
ARCH_HAS_PMEM_API - Selects
ARCH_HAS_PREEMPT_LAZY - Selects
ARCH_HAS_PREPARE_SYNC_CORE_CMD - Selects
ARCH_HAS_PTDUMP if - Selects
ARCH_HAS_PTE_SPECIAL - Selects
ARCH_HAS_SET_DIRECT_MAP if - Selects
ARCH_HAS_SET_MEMORY if - Selects
ARCH_HAS_STRICT_KERNEL_RWX if - Selects
ARCH_HAS_STRICT_MODULE_RWX if - Selects
ARCH_HAS_SYNC_CORE_BEFORE_USERMODE - Selects
ARCH_HAS_SYSCALL_WRAPPER - Selects
ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST - Selects
ARCH_HAS_UBSAN - Selects
ARCH_HAS_VDSO_ARCH_DATA - Selects
ARCH_HAVE_NMI_SAFE_CMPXCHG - Selects
ARCH_KEEP_MEMBLOCK if ACPI || KEXEC - Selects
ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE if && - Selects
ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX - Selects
ARCH_OPTIONAL_KERNEL_RWX_DEFAULT - Selects
ARCH_STACKWALK - Selects
ARCH_SUPPORTS_ATOMIC_RMW - Selects
ARCH_SUPPORTS_CFI - Selects
ARCH_SUPPORTS_DEBUG_PAGEALLOC if - Selects
ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE - Selects
ARCH_SUPPORTS_HUGETLBFS if - Selects
ARCH_SUPPORTS_LTO_CLANG if CMODEL_MEDANY - Selects
ARCH_SUPPORTS_LTO_CLANG_THIN - Selects
ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS if && - Selects
ARCH_SUPPORTS_PAGE_TABLE_CHECK if - Selects
ARCH_HAS_PTE_PROTNONE if - Selects
ARCH_SUPPORTS_RT - Selects
ARCH_SUPPORTS_SHADOW_CALL_STACK if HAVE_SHADOW_CALL_STACK - Selects
ARCH_SUPPORTS_SCHED_MC if - Selects
ARCH_USE_CMPXCHG_LOCKREF if - Selects
ARCH_USE_MEMTEST - Selects
ARCH_USE_QUEUED_RWLOCKS - Selects
ARCH_USE_SYM_ANNOTATIONS - Selects
ARCH_USES_CFI_TRAPS if CFI - Selects
ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH if - Selects
ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if - Selects
ARCH_WANT_FRAME_POINTERS - Selects
ARCH_WANT_GENERAL_HUGETLB if !RISCV_ISA_SVNAPOT - Selects
ARCH_WANT_HUGE_PMD_SHARE if - Selects
ARCH_WANT_LD_ORPHAN_WARN - Selects
ARCH_WANT_OPTIMIZE_DAX_VMEMMAP - Selects
ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP - Selects
ARCH_WANTS_NO_INSTR - Selects
ARCH_WANTS_THP_SWAP if HAVE_ARCH_TRANSPARENT_HUGEPAGE - Selects
ARCH_WEAK_RELEASE_ACQUIRE if ARCH_USE_QUEUED_SPINLOCKS - Selects
BINFMT_FLAT_NO_DATA_START_OFFSET if ! - Selects
BUILDTIME_TABLE_SORT if - Selects
CLINT_TIMER if RISCV_M_MODE - Selects
CLONE_BACKWARDS - Selects
COMMON_CLK - Selects
CPU_NO_EFFICIENT_FFS if !RISCV_ISA_ZBB - Selects
CPU_PM if CPU_IDLE || HIBERNATION || SUSPEND - Selects
DYNAMIC_FTRACE if FUNCTION_TRACER - Selects
EDAC_SUPPORT - Selects
FRAME_POINTER if PERF_EVENTS || (FUNCTION_TRACER && !DYNAMIC_FTRACE) - Selects
FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE - Selects
FUNCTION_ALIGNMENT_8B if DYNAMIC_FTRACE_WITH_CALL_OPS - Selects
GENERIC_ARCH_TOPOLOGY - Selects
GENERIC_ATOMIC64 if ! - Selects
GENERIC_BITREVERSE if HAVE_ARCH_BITREVERSE - Selects
GENERIC_CLOCKEVENTS_BROADCAST if - Selects
GENERIC_CPU_DEVICES - Selects
GENERIC_CPU_VULNERABILITIES - Selects
GENERIC_EARLY_IOREMAP - Selects
GENERIC_ENTRY - Selects
GENERIC_GETTIMEOFDAY if && - Selects
GENERIC_IDLE_POLL_SETUP - Selects
GENERIC_IOREMAP if - Selects
HAVE_IOREMAP_PROT if - Selects
GENERIC_IRQ_IPI if - Selects
GENERIC_IRQ_IPI_MUX if - Selects
GENERIC_IRQ_MULTI_HANDLER - Selects
GENERIC_IRQ_SHOW - Selects
GENERIC_IRQ_SHOW_LEVEL - Selects
GENERIC_LIB_DEVMEM_IS_ALLOWED - Selects
GENERIC_PENDING_IRQ if - Selects
GENERIC_PCI_IOMAP - Selects
GENERIC_SCHED_CLOCK - Selects
GENERIC_SMP_IDLE_THREAD - Selects
HARDIRQS_SW_RESEND - Selects
HAS_IOPORT if - Selects
HAVE_ALIGNED_STRUCT_PAGE - Selects
HAVE_ARCH_AUDITSYSCALL - Selects
HAVE_ARCH_BITREVERSE if RISCV_ISA_ZBKB && BITREVERSE - Selects
HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP - Selects
HAVE_ARCH_HUGE_VMAP if && - Selects
HAVE_ARCH_JUMP_LABEL - Selects
HAVE_ARCH_JUMP_LABEL_RELATIVE - Selects
HAVE_ARCH_KASAN if && - Selects
HAVE_ARCH_KASAN_VMALLOC if && - Selects
HAVE_ARCH_KFENCE if && - Selects
HAVE_ARCH_KSTACK_ERASE - Selects
HAVE_ARCH_KGDB - Selects
HAVE_ARCH_KGDB_QXFER_PKT - Selects
HAVE_ARCH_MMAP_RND_BITS if - Selects
HAVE_ARCH_MMAP_RND_COMPAT_BITS if - Selects
HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET - Selects
HAVE_ARCH_SECCOMP_FILTER - Selects
HAVE_ARCH_SOFT_DIRTY if && && RISCV_ISA_SVRSW60T59B - Selects
HAVE_ARCH_THREAD_STRUCT_WHITELIST - Selects
HAVE_ARCH_TRACEHOOK - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE if && - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD if && - Selects
HAVE_ARCH_USERFAULTFD_MINOR if && USERFAULTFD - Selects
HAVE_ARCH_USERFAULTFD_WP if && && USERFAULTFD && RISCV_ISA_SVRSW60T59B - Selects
HAVE_ARCH_VMAP_STACK if && - Selects
HAVE_ASM_MODVERSIONS - Selects
HAVE_BUILDTIME_MCOUNT_SORT - Selects
HAVE_CONTEXT_TRACKING_USER - Selects
HAVE_DEBUG_KMEMLEAK - Selects
HAVE_DMA_CONTIGUOUS if - Selects
HAVE_DYNAMIC_FTRACE if && (CLANG_SUPPORTS_DYNAMIC_FTRACE || GCC_SUPPORTS_DYNAMIC_FTRACE) - Selects
FUNCTION_ALIGNMENT_4B if DYNAMIC_FTRACE && RISCV_ISA_C - Selects
HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS if HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS - Selects
HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS if (DYNAMIC_FTRACE_WITH_ARGS && !CFI) - Selects
HAVE_DYNAMIC_FTRACE_WITH_ARGS if HAVE_DYNAMIC_FTRACE - Selects
HAVE_FTRACE_GRAPH_FUNC - Selects
HAVE_FUNCTION_GRAPH_TRACER if HAVE_DYNAMIC_FTRACE_WITH_ARGS - Selects
HAVE_FUNCTION_GRAPH_FREGS - Selects
HAVE_FUNCTION_TRACER if HAVE_DYNAMIC_FTRACE - Selects
HAVE_EBPF_JIT if - Selects
HAVE_GENERIC_TIF_BITS - Selects
HAVE_GUP_FAST if - Selects
HAVE_FUNCTION_ARG_ACCESS_API - Selects
HAVE_FUNCTION_ERROR_INJECTION - Selects
HAVE_GCC_PLUGINS - Selects
HAVE_IRQ_TIME_ACCOUNTING - Selects
HAVE_KERNEL_BZIP2 if !EFI_ZBOOT - Selects
HAVE_KERNEL_GZIP if !EFI_ZBOOT - Selects
HAVE_KERNEL_LZ4 if !EFI_ZBOOT - Selects
HAVE_KERNEL_LZMA if !EFI_ZBOOT - Selects
HAVE_KERNEL_LZO if !EFI_ZBOOT - Selects
HAVE_KERNEL_UNCOMPRESSED if !EFI_ZBOOT - Selects
HAVE_KERNEL_ZSTD if !EFI_ZBOOT - Selects
HAVE_KERNEL_XZ if !EFI_ZBOOT - Selects
HAVE_KPROBES - Selects
HAVE_KRETPROBES - Selects
HAVE_LD_DEAD_CODE_DATA_ELIMINATION if !LD_IS_LLD - Selects
HAVE_MOVE_PMD - Selects
HAVE_MOVE_PUD - Selects
HAVE_PAGE_SIZE_4KB - Selects
HAVE_PCI - Selects
HAVE_PERF_EVENTS - Selects
HAVE_PERF_REGS - Selects
HAVE_PERF_USER_STACK_DUMP - Selects
HAVE_POSIX_CPU_TIMERS_TASK_WORK - Selects
HAVE_REGS_AND_STACK_ACCESS_API - Selects
HAVE_RETHOOK - Selects
HAVE_RSEQ - Selects
HAVE_RUST if RUSTC_SUPPORTS_RISCV && CC_IS_CLANG - Selects
HAVE_SAMPLE_FTRACE_DIRECT - Selects
HAVE_SAMPLE_FTRACE_DIRECT_MULTI - Selects
HAVE_STACKPROTECTOR - Selects
HAVE_SYSCALL_TRACEPOINTS - Selects
HOTPLUG_PARALLEL if - Selects
IRQ_DOMAIN - Selects
IRQ_FORCED_THREADING - Selects
KASAN_VMALLOC if KASAN - Selects
LOCK_MM_AND_FIND_VMA - Selects
MODULES_USE_ELF_RELA if - Selects
OF - Selects
OF_EARLY_FLATTREE - Selects
OF_IRQ - Selects
PCI_DOMAINS_GENERIC if PCI - Selects
PCI_ECAM if (ACPI && PCI) - Selects
PCI_MSI if PCI - Selects
if ! && !PHYS_RAM_BASE_FIXED - Selects
RISCV_ALTERNATIVE_EARLY if - Selects
RISCV_APLIC - Selects
RISCV_IMSIC - Selects
RISCV_INTC - Selects
RISCV_TIMER if RISCV_SBI - Selects
SIFIVE_PLIC - Selects
SPARSE_IRQ - Selects
SYSCTL_EXCEPTION_TRACE - Selects
THREAD_INFO_IN_TASK - Selects
TRACE_IRQFLAGS_SUPPORT - Selects
UACCESS_MEMCPY if ! - Selects
VDSO_DATASTORE if - Selects
VDSO_GETRANDOM if && - Selects
USER_STACKTRACE_SUPPORT - Selects
ZONE_DMA32 if
CONFIG_RUSTC_SUPPORTS_RISCV
- Depends on
CONFIG_CLANG_SUPPORTS_DYNAMIC_FTRACE
- Depends on
AS_IS_GNU || (AS_IS_LLVM && (LD_IS_LLD || LD_VERSION >= 23600))
CONFIG_GCC_SUPPORTS_DYNAMIC_FTRACE
- Depends on
$(cc-option,-fpatchable-function-entry=8) - Depends on
CC_HAS_MIN_FUNCTION_ALIGNMENT || !RISCV_ISA_C
CONFIG_HAVE_SHADOW_CALL_STACK
- Depends on
$(ld-option,--no-relax-gp)
CONFIG_ARCH_HAS_BROKEN_DWARF5
- Depends on
AS_IS_LLVM && AS_VERSION < 180000 - Depends on
LD_IS_LLD && LLD_VERSION < 180000
CONFIG_ARCH_MMAP_RND_BITS_MIN
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN
CONFIG_ARCH_MMAP_RND_BITS_MAX
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX
CONFIG_RISCV_M_MODE Build a kernel that runs in machine mode
Select this option if you want to run the kernel in M-mode, without the assistance of any other firmware.
- Depends on
!
CONFIG_RISCV_SBI
- Depends on
!RISCV_M_MODE
CONFIG_MMU MMU-based Paged Memory Management Support
Select if you want MMU-based virtualised addressing space support by paged memory management. If unsure, say 'Y'.
CONFIG_KASAN_SHADOW_OFFSET
- Depends on
KASAN_GENERIC
CONFIG_ARCH_FLATMEM_ENABLE
CONFIG_ARCH_SPARSEMEM_ENABLE
- Depends on
- Selects
SPARSEMEM_STATIC if && SPARSEMEM - Selects
SPARSEMEM_VMEMMAP_ENABLE if
CONFIG_ARCH_SELECT_MEMORY_MODEL
CONFIG_ARCH_SUPPORTS_UPROBES
CONFIG_STACKTRACE_SUPPORT
CONFIG_GENERIC_BUG
- Depends on
BUG - Selects
CONFIG_GENERIC_BUG_RELATIVE_POINTERS
CONFIG_GENERIC_CALIBRATE_DELAY
CONFIG_GENERIC_CSUM
CONFIG_GENERIC_HWEIGHT
CONFIG_FIX_EARLYCON_MEM
CONFIG_ILLEGAL_POINTER_VALUE
CONFIG_PGTABLE_LEVELS
CONFIG_LOCKDEP_SUPPORT
CONFIG_RISCV_DMA_NONCOHERENT
- Selects
ARCH_HAS_DMA_PREP_COHERENT - Selects
ARCH_HAS_SETUP_DMA_OPS - Selects
ARCH_HAS_SYNC_DMA_FOR_CPU - Selects
ARCH_HAS_SYNC_DMA_FOR_DEVICE - Selects
DMA_BOUNCE_UNALIGNED_KMALLOC if SWIOTLB
CONFIG_RISCV_NONSTANDARD_CACHE_OPS
This enables function pointer support for non-standard noncoherent systems to handle cache management.
CONFIG_AS_HAS_INSN
CONFIG_AS_HAS_OPTION_ARCH
- Depends on
$(as-instr, .option arch$(comma) +m)
Platform type
CONFIG_NONPORTABLE Allow configurations that result in non-portable kernels
RISC-V kernel binaries are compatible between all known systems whenever possible, but there are some use cases that can only be satisfied by configurations that result in kernel binaries that are not portable between systems.
Selecting N does not guarantee kernels will be portable to all known systems. Selecting any of the options guarded by NONPORTABLE will result in kernel binaries that are unlikely to be portable between systems.
If unsure, say N.
Base ISA
This selects the base ISA that this kernel will target and must match the target platform.
CONFIG_ARCH_RV32I RV32I
- Depends on
NONPORTABLE - Selects
- Selects
GENERIC_LIB_UCMPDI2
CONFIG_ARCH_RV64I RV64I
- Selects
- Selects
ARCH_SUPPORTS_INT128 if CC_HAS_INT128 - Selects
SWIOTLB if
Kernel Code Model
CONFIG_CMODEL_MEDLOW medium low code model
CONFIG_CMODEL_MEDANY medium any code model
CONFIG_MODULE_SECTIONS
- Selects
HAVE_MOD_ARCH_SPECIFIC
CONFIG_SMP Symmetric Multi-Processing
This enables support for systems with more than one CPU. If you say N here, the kernel will run on single and multiprocessor machines, but will use only one CPU of a multiprocessor machine. If you say Y here, the kernel will run on many, but not all, single processor machines. On a single processor machine, the kernel will run faster if you say N here.
If you don't know what to do here, say N.
CONFIG_NR_CPUS Maximum number of CPUs (2-512)
- Depends on
- Range
2 512 if !RISCV_SBI_V01 && - Range
2 128 if !RISCV_SBI_V01 && - Range
2 64 if RISCV_SBI_V01 && - Range
2 32 if RISCV_SBI_V01 &&
CONFIG_HOTPLUG_CPU Support for hot-pluggable CPUs
Say Y here to experiment with turning CPUs off and on. CPUs can be controlled through /sys/devices/system/cpu.
Say N if you want to disable CPU hotplug.
- Depends on
- Selects
GENERIC_IRQ_MIGRATION
CPU Tuning
CONFIG_TUNE_GENERIC generic
CONFIG_NUMA NUMA Memory Allocation and Scheduler Support
Enable NUMA (Non-Uniform Memory Access) support.
The kernel will try to allocate memory used by a CPU on the local memory of the CPU and add some more NUMA awareness to the kernel.
- Depends on
&& - Selects
ARCH_SUPPORTS_NUMA_BALANCING - Selects
GENERIC_ARCH_NUMA - Selects
HAVE_SETUP_PER_CPU_AREA - Selects
NEED_PER_CPU_EMBED_FIRST_CHUNK - Selects
NEED_PER_CPU_PAGE_FIRST_CHUNK - Selects
OF_NUMA - Selects
USE_PERCPU_NUMA_NODE_ID
CONFIG_NODES_SHIFT Maximum NUMA Nodes (as a power of 2)
Specify the maximum number of NUMA Nodes available on the target system. Increases memory reserved to accommodate various tables.
- Range
1 10 - Depends on
RISC-V spinlock type
CONFIG_RISCV_TICKET_SPINLOCKS Using ticket spinlock
CONFIG_RISCV_QUEUED_SPINLOCKS Using queued spinlock
The queued spinlock implementation requires the forward progress guarantee of cmpxchg()/xchg() atomic operations: CAS with Zabha or LR/SC with Ziccrse provide such guarantee.
Select this if and only if Zabha or Ziccrse is available on your platform, RISCV_QUEUED_SPINLOCKS must not be selected for platforms without one of those extensions.
If unsure, select RISCV_COMBO_SPINLOCKS, which will use qspinlocks when supported and otherwise ticket spinlocks.
- Depends on
&& && NONPORTABLE - Selects
ARCH_USE_QUEUED_SPINLOCKS
CONFIG_RISCV_COMBO_SPINLOCKS Using combo spinlock
Embed both queued spinlock and ticket lock so that the spinlock implementation can be chosen at runtime.
- Depends on
&& - Selects
ARCH_USE_QUEUED_SPINLOCKS
CONFIG_RISCV_ALTERNATIVE_EARLY
Allows early patching of the kernel for special errata
CONFIG_RISCV_ISA_C Emit compressed instructions when building Linux
Adds "C" to the ISA subsets that the toolchain is allowed to emit when building Linux, which results in compressed instructions in the Linux binary. This option produces a kernel that will not run on systems that do not support compressed instructions.
If you don't know what to do here, say Y.
CONFIG_RISCV_ISA_SUPM Supm extension for userspace pointer masking
Add support for pointer masking in userspace (Supm) when the underlying hardware extension (Smnpm or Ssnpm) is detected at boot.
If this option is disabled, userspace will be unable to use the prctl(PR_{SET,GET}_TAGGED_ADDR_CTRL) API.
- Depends on
CONFIG_RISCV_ISA_SVNAPOT Svnapot extension support for supervisor mode NAPOT pages
Enable support for the Svnapot ISA-extension when it is detected at boot.
The Svnapot extension is used to mark contiguous PTEs as a range of contiguous virtual-to-physical translations for a naturally aligned power-of-2 (NAPOT) granularity larger than the base 4KB page size. When HUGETLBFS is also selected this option unconditionally allocates some memory for each NAPOT page size supported by the kernel. When optimizing for low memory consumption and for platforms without the Svnapot extension, it may be better to say N here.
If you don't know what to do here, say Y.
- Depends on
&&
CONFIG_RISCV_ISA_SSQOSID Ssqosid extension support for supervisor mode Quality of Service ID
Adds support for the Ssqosid ISA extension (Supervisor-mode Quality of Service ID).
Ssqosid defines the srmcfg CSR which allows the system to tag the running process with an RCID (Resource Control ID) and MCID (Monitoring Counter ID). The RCID is used to determine resource allocation. The MCID is used to track resource usage in event counters.
For example, a cache controller may use the RCID to apply a cache partitioning scheme and use the MCID to track how much cache a process, or a group of processes, is using.
- Depends on
CONFIG_RISCV_ISA_SV48 Page-Based 48-bit Virtual-Memory System
Add support for the Page-Based 48-bit Virtual-Memory System.
Enable this option for systems for which a 39-bit virtual address space is insufficient. But if 39-bit is enough, disabling this option will result in smaller kernel size and slighly better performance.
- Depends on
&&
CONFIG_RISCV_ISA_SV57 Page-Based 57-bit Virtual-Memory System
Add support for the Page-Based 57-bit Virtual-Memory System.
Enable this option for systems for which a 48-bit virtual address space is insufficient. But if 48-bit is enough, disabling this option will result in smaller kernel size and slighly better performance.
- Depends on
&&
CONFIG_RISCV_ISA_SVPBMT Svpbmt extension support for supervisor mode page-based memory types
Add support for the Svpbmt ISA-extension (Supervisor-mode: page-based memory types) in the kernel when it is detected at boot.
The memory type for a page contains a combination of attributes that indicate the cacheability, idempotency, and ordering properties for access to that page.
The Svpbmt extension is only available on 64-bit cpus.
If you don't know what to do here, say Y.
- Depends on
&&
CONFIG_TOOLCHAIN_HAS_V
- Depends on
!64BIT || $(cc-option,-mabi=lp64 -march=rv64imv) - Depends on
!32BIT || $(cc-option,-mabi=ilp32 -march=rv32imv) - Depends on
LD_IS_LLD || LD_VERSION >= 23800 - Depends on
AS_HAS_OPTION_ARCH
CONFIG_RISCV_ISA_V Vector extension support
Add support for the Vector extension when it is detected at boot. When this option is disabled, neither the kernel nor userspace may use vector procedures.
If you don't know what to do here, say Y.
- Depends on
TOOLCHAIN_HAS_V - Depends on
- Selects
DYNAMIC_SIGFRAME
CONFIG_RISCV_ISA_V_DEFAULT_ENABLE Enable userspace Vector by default
Say Y here if you want to enable Vector in userspace by default. Otherwise, userspace has to make explicit prctl() call to enable Vector, or enable it via the sysctl interface.
If you don't know what to do here, say Y.
- Depends on
RISCV_ISA_V
CONFIG_RISCV_ISA_V_UCOPY_THRESHOLD Threshold size for vectorized user copies
Prefer using vectorized copy_to_user()/copy_from_user() when the workload size exceeds this value.
- Depends on
RISCV_ISA_V
CONFIG_RISCV_ISA_V_PREEMPTIVE Run kernel-mode Vector with kernel preemption
Usually, in-kernel SIMD routines are run with preemption disabled. Functions which invoke long running SIMD thus must yield the core's vector unit to prevent blocking other tasks for too long.
This config allows the kernel to run SIMD without explicitly disabling preemption. Enabling this config will result in higher memory consumption due to the allocation of per-task's kernel Vector context.
- Depends on
PREEMPTION - Depends on
RISCV_ISA_V
CONFIG_RISCV_ISA_ZAWRS Zawrs extension support for more efficient busy waiting
The Zawrs extension defines instructions to be used in polling loops which allow a hart to enter a low-power state or to trap to the hypervisor while waiting on a store to a memory location. Enable the use of these instructions in the kernel when the Zawrs extension is detected at boot.
CONFIG_TOOLCHAIN_HAS_ZABHA
- Depends on
!64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zabha) - Depends on
!32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zabha) - Depends on
AS_HAS_OPTION_ARCH
CONFIG_RISCV_ISA_ZABHA Zabha extension support for atomic byte/halfword operations
Enable the use of the Zabha ISA-extension to implement kernel byte/halfword atomic memory operations when it is detected at boot.
If you don't know what to do here, say Y.
- Depends on
TOOLCHAIN_HAS_ZABHA
CONFIG_TOOLCHAIN_HAS_ZACAS
- Depends on
!64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zacas) - Depends on
!32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zacas) - Depends on
AS_HAS_OPTION_ARCH
CONFIG_RISCV_ISA_ZACAS Zacas extension support for atomic CAS
Enable the use of the Zacas ISA-extension to implement kernel atomic cmpxchg operations when it is detected at boot.
If you don't know what to do here, say Y.
CONFIG_TOOLCHAIN_HAS_ZBB
- Depends on
!64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zbb) - Depends on
!32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zbb) - Depends on
LD_IS_LLD || LD_VERSION >= 23900 - Depends on
AS_HAS_OPTION_ARCH
CONFIG_TOOLCHAIN_HAS_VECTOR_CRYPTO
- Depends on
AS_HAS_OPTION_ARCH
CONFIG_TOOLCHAIN_HAS_ZBA
- Depends on
!64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zba) - Depends on
!32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zba) - Depends on
LD_IS_LLD || LD_VERSION >= 23900 - Depends on
AS_HAS_OPTION_ARCH
CONFIG_RISCV_ISA_ZBA Zba extension support for bit manipulation instructions
Add support for enabling optimisations in the kernel when the Zba extension is detected at boot.
The Zba extension provides instructions to accelerate the generation of addresses that index into arrays of basic data types.
If you don't know what to do here, say Y.
CONFIG_RISCV_ISA_ZBB Zbb extension support for bit manipulation instructions
Add support for enabling optimisations in the kernel when the Zbb extension is detected at boot. Some optimisations may additionally depend on toolchain support for Zbb.
The Zbb extension provides instructions to accelerate a number of bit-specific operations (count bit population, sign extending, bitrotation, etc).
If you don't know what to do here, say Y.
CONFIG_TOOLCHAIN_HAS_ZBC
- Depends on
!64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zbc) - Depends on
!32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zbc) - Depends on
LD_IS_LLD || LD_VERSION >= 23900 - Depends on
AS_HAS_OPTION_ARCH
CONFIG_RISCV_ISA_ZBC Zbc extension support for carry-less multiplication instructions
Adds support to dynamically detect the presence of the Zbc extension (carry-less multiplication) and enable its usage.
The Zbc extension could accelerate CRC (cyclic redundancy check) calculations.
If you don't know what to do here, say Y.
- Depends on
TOOLCHAIN_HAS_ZBC - Depends on
CONFIG_TOOLCHAIN_HAS_ZBKB
- Depends on
!64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zbkb) - Depends on
!32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zbkb) - Depends on
LD_IS_LLD || LD_VERSION >= 23900 - Depends on
AS_HAS_OPTION_ARCH
CONFIG_RISCV_ISA_ZBKB Zbkb extension support for bit manipulation instructions
Adds support to dynamically detect the presence of the ZBKB extension (bit manipulation for cryptography) and enable its usage.
The Zbkb extension provides instructions to accelerate a number of common cryptography operations (pack, zip, etc).
If you don't know what to do here, say Y.
- Depends on
TOOLCHAIN_HAS_ZBKB
CONFIG_RISCV_ISA_ZICBOM Zicbom extension support for non-coherent DMA operation
Add support for the Zicbom extension (Cache Block Management Operations) and enable its use in the kernel when it is detected at boot.
The Zicbom extension can be used to handle for example non-coherent DMA support on devices that need it.
If you don't know what to do here, say Y.
- Depends on
- Selects
RISCV_DMA_NONCOHERENT - Selects
DMA_DIRECT_REMAP
CONFIG_RISCV_ISA_ZICBOZ Zicboz extension support for faster zeroing of memory
Enable the use of the Zicboz extension (cbo.zero instruction) in the kernel when it is detected at boot.
The Zicboz extension is used for faster zeroing of memory.
If you don't know what to do here, say Y.
CONFIG_RISCV_ISA_ZICBOP Zicbop extension support for cache block prefetch
Adds support to dynamically detect the presence of the ZICBOP extension (Cache Block Prefetch Operations) and enable its usage.
The Zicbop extension can be used to prefetch cache blocks for read/write fetch.
If you don't know what to do here, say Y.
- Depends on
CONFIG_RISCV_ISA_SVRSW60T59B Svrsw60t59b extension support for using PTE bits 60 and 59
Adds support to dynamically detect the presence of the Svrsw60t59b extension and enable its usage.
The Svrsw60t59b extension allows to free the PTE reserved bits 60 and 59 for software to use.
If you don't know what to do here, say Y.
- Depends on
&&
CONFIG_TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI
Binutils-2.38 and GCC-12.1.0 bumped the default ISA spec to the newer 20191213 version, which moves some instructions from the I extension to the Zicsr and Zifencei extensions. This requires explicitly specifying Zicsr and Zifencei when binutils >= 2.38 or GCC >= 12.1.0. Zicsr and Zifencei are supported in binutils from version 2.36 onwards. To make life easier, and avoid forcing toolchains that default to a newer ISA spec to version 2.2, relax the check to binutils >= 2.36. For GCC < 11.3.0, for which this is not possible or need special treatment, this is dealt with in TOOLCHAIN_NEEDS_OLD_ISA_SPEC.
- Depends on
AS_IS_GNU && AS_VERSION >= 23600
CONFIG_TOOLCHAIN_NEEDS_OLD_ISA_SPEC
Certain versions of GCC do not support zicsr and zifencei via -march. This option causes an older ISA spec compatible with these older versions of GCC to be passed to GAS, which has the same result as passing zicsr and zifencei to -march.
- Depends on
TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI - Depends on
CC_IS_GCC && GCC_VERSION < 110300
CONFIG_FPU FPU support
Add support for floating point operations when an FPU is detected at boot. When this option is disabled, neither the kernel nor userspace may use the floating point unit.
If you don't know what to do here, say Y.
CONFIG_IRQ_STACKS Independent irq & softirq stacks
Add independent irq & softirq stacks for percpu to prevent kernel stack overflows. We may save some memory footprint by disabling IRQ_STACKS.
- Visible if
EXPERT - Selects
HAVE_IRQ_EXIT_ON_IRQ_STACK - Selects
HAVE_SOFTIRQ_ON_OWN_STACK
CONFIG_THREAD_SIZE_ORDER Kernel stack size (in power-of-two numbers of page size)
Specify the Pages of thread stack size (from 4KB to 64KB), which also affects irq stack size, which is equal to thread stack size.
- Visible if
VMAP_STACK && EXPERT - Range
0 4
CONFIG_RISCV_MISALIGNED
Embed support for detecting and emulating misaligned scalar or vector loads and stores.
CONFIG_RISCV_SCALAR_MISALIGNED
Embed support for emulating misaligned loads and stores.
- Selects
RISCV_MISALIGNED - Selects
SYSCTL_ARCH_UNALIGN_ALLOW
CONFIG_RISCV_VECTOR_MISALIGNED
Enable detecting support for vector misaligned loads and stores.
- Selects
RISCV_MISALIGNED - Depends on
RISCV_ISA_V
CONFIG_RISCV_SBI_FWFT_DELEGATE_MISALIGNED Request firmware delegation of unaligned access exceptions
Use SBI FWFT to request delegation of load address misaligned and store address misaligned exceptions, if possible, and prefer Linux kernel emulation of these accesses to firmware emulation.
Unfortunately, Linux's emulation is still incomplete. Namely, it currently does not handle vector instructions and KVM guest accesses. On platforms where these accesses would have been handled by firmware, enabling this causes unexpected kernel oopses, userspaces crashes and KVM guest crashes. If you are sure that these are not a problem for your platform, you can say Y here, which may improve performance.
Saying N here will not worsen emulation support for unaligned accesses even in the case where the firmware also has incomplete support. It simply keeps the firmware's emulation enabled.
If you don't know what to do here, say N.
- Depends on
RISCV_SBI - Depends on
NONPORTABLE
Unaligned Accesses Support
This determines the level of support for unaligned accesses. This information is used by the kernel to perform optimizations. It is also exposed to user space via the hwprobe syscall. The hardware will be probed at boot by default.
CONFIG_RISCV_PROBE_UNALIGNED_ACCESS Probe for hardware unaligned access support
During boot, the kernel will run a series of tests to determine the speed of unaligned accesses. This probing will dynamically determine the speed of unaligned accesses on the underlying system. If unaligned memory accesses trap into the kernel as they are not supported by the system, the kernel will emulate the unaligned accesses to preserve the UABI.
- Selects
RISCV_SCALAR_MISALIGNED
CONFIG_RISCV_EMULATED_UNALIGNED_ACCESS Emulate unaligned access where system support is missing
If unaligned memory accesses trap into the kernel as they are not supported by the system, the kernel will emulate the unaligned accesses to preserve the UABI. When the underlying system does support unaligned accesses, the unaligned accesses are assumed to be slow.
- Selects
RISCV_SCALAR_MISALIGNED
CONFIG_RISCV_SLOW_UNALIGNED_ACCESS Assume the system supports slow unaligned memory accesses
Assume that the system supports slow unaligned memory accesses. The kernel and userspace programs may not be able to run at all on systems that do not support unaligned memory accesses.
- Depends on
NONPORTABLE
CONFIG_RISCV_EFFICIENT_UNALIGNED_ACCESS Assume the system supports fast unaligned memory accesses
Assume that the system supports fast unaligned memory accesses. When enabled, this option improves the performance of the kernel on such systems. However, the kernel and userspace programs will run much more slowly, or will not be able to run at all, on systems that do not support efficient unaligned memory accesses.
- Depends on
NONPORTABLE - Selects
DCACHE_WORD_ACCESS if - Selects
HAVE_EFFICIENT_UNALIGNED_ACCESS
Vector unaligned Accesses Support
This determines the level of support for vector unaligned accesses. This information is used by the kernel to perform optimizations. It is also exposed to user space via the hwprobe syscall. The hardware will be probed at boot by default.
- Depends on
RISCV_ISA_V
CONFIG_RISCV_PROBE_VECTOR_UNALIGNED_ACCESS Probe speed of vector unaligned accesses
During boot, the kernel will run a series of tests to determine the speed of vector unaligned accesses if they are supported. This probing will dynamically determine the speed of vector unaligned accesses on the underlying system if they are supported.
- Selects
RISCV_VECTOR_MISALIGNED
CONFIG_RISCV_SLOW_VECTOR_UNALIGNED_ACCESS Assume the system supports slow vector unaligned memory accesses
Assume that the system supports slow vector unaligned memory accesses. The kernel and userspace programs may not be able to run at all on systems that do not support unaligned memory accesses.
- Depends on
NONPORTABLE
CONFIG_RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS Assume the system supports fast vector unaligned memory accesses
Assume that the system supports fast vector unaligned memory accesses. When enabled, this option improves the performance of the kernel on such systems. However, the kernel and userspace programs will run much more slowly, or will not be able to run at all, on systems that do not support efficient unaligned memory accesses.
- Depends on
NONPORTABLE
Kernel features
CONFIG_RISCV_SBI_V01 SBI v0.1 support
This config allows kernel to use SBI v0.1 APIs. This will be deprecated in future once legacy M-mode software are no longer in use.
- Depends on
RISCV_SBI
CONFIG_RISCV_BOOT_SPINWAIT Spinwait booting method
This enables support for booting Linux via spinwait method. In the spinwait method, all cores randomly jump to Linux. One of the cores gets chosen via lottery and all other keep spinning on a percpu variable. This method cannot support CPU hotplug and sparse hartid scheme. It should be only enabled for M-mode Linux or platforms relying on older firmware without SBI HSM extension. All other platforms should rely on ordered booting via SBI HSM extension which gets chosen dynamically at runtime if the firmware supports it.
Since spinwait is incompatible with sparse hart IDs, it requires NR_CPUS be large enough to contain the physical hart ID of the first hart to enter Linux.
If unsure what to do here, say N.
- Depends on
CONFIG_ARCH_SUPPORTS_KEXEC
CONFIG_ARCH_SELECTS_KEXEC
- Depends on
KEXEC - Selects
if
CONFIG_ARCH_SUPPORTS_KEXEC_FILE
CONFIG_ARCH_SELECTS_KEXEC_FILE
- Depends on
KEXEC_FILE - Selects
HAVE_IMA_KEXEC if IMA - Selects
KEXEC_ELF
CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY
CONFIG_ARCH_SUPPORTS_CRASH_DUMP
CONFIG_ARCH_DEFAULT_CRASH_DUMP
CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
CONFIG_ARCH_SUPPORTS_CRASH_HOTPLUG
CONFIG_COMPAT Kernel support for 32-bit U-mode
This option enables support for a 32-bit U-mode running under a 64-bit kernel at S-mode. riscv32-specific components such as system calls, the user helper functions (vdso), signal rt_frame functions and the ptrace interface are handled appropriately by the kernel.
If you want to execute 32-bit userspace applications, say Y.
- Depends on
&&
CONFIG_PARAVIRT Enable paravirtualization code
This changes the kernel so it can modify itself when it is run under a hypervisor, potentially improving performance significantly over full virtualization.
- Depends on
RISCV_SBI - Selects
HAVE_PV_STEAL_CLOCK_GEN
CONFIG_PARAVIRT_TIME_ACCOUNTING Paravirtual steal time accounting
Select this option to enable fine granularity task steal time accounting. Time spent executing other tasks in parallel with the current vCPU is discounted from the vCPU power. To account for that, there can be a small performance impact.
If in doubt, say N here.
- Depends on
CONFIG_RELOCATABLE Build a relocatable kernel
This builds a kernel as a Position Independent Executable (PIE), which retains all relocation metadata required to relocate the kernel binary at runtime to a different virtual address than the address it was linked at. Since RISCV uses the RELA relocation format, this requires a relocation pass at runtime even if the kernel is loaded at the same address it was linked at.
If unsure, say N.
- Selects
MODULE_SECTIONS if - Selects
ARCH_VMLINUX_NEEDS_RELOCS
CONFIG_RANDOMIZE_BASE Randomize the address of the kernel image
Randomizes the virtual address at which the kernel image is loaded, as a security feature that deters exploit attempts relying on knowledge of the location of kernel internals.
It is the bootloader's job to provide entropy, by passing a random u64 value in /chosen/kaslr-seed at kernel entry.
When booting via the UEFI stub, it will invoke the firmware's EFI_RNG_PROTOCOL implementation (if available) to supply entropy to the kernel proper. In addition, it will randomise the physical location of the kernel Image as well.
If unsure, say N.
- Depends on
- Depends on
&&
CONFIG_RISCV_USER_CFI riscv userspace control flow integrity
Provides CPU-assisted control flow integrity to userspace tasks. Control flow integrity is provided by implementing shadow stack for backward edge and indirect branch tracking for forward edge. Shadow stack protection is a hardware feature that detects function return address corruption. This helps mitigate ROP attacks. Indirect branch tracking enforces that all indirect branches must land on a landing pad instruction else CPU will fault. This mitigates against JOP / COP attacks. Applications must be enabled to use it, and old userspace does not get protection "for free". default y.
- Depends on
64BIT && MMU && $(cc-option,-mabi=lp64 -march=rv64ima_zicfiss_zicfilp -fcf-protection=full) - Selects
RISCV_SBI - Selects
ARCH_HAS_USER_SHADOW_STACK - Selects
ARCH_USES_HIGH_VMA_FLAGS - Selects
DYNAMIC_SIGFRAME
Boot options
CONFIG_CMDLINE Built-in kernel command line
For most platforms, the arguments for the kernel's command line are provided at run-time, during boot. However, there are cases where either no arguments are being provided or the provided arguments are insufficient or even invalid.
When that occurs, it is possible to define a built-in command line here and choose how the kernel should use it later on.
Built-in command line usage
Choose how the kernel will handle the provided built-in command line.
- Depends on
!= ""
CONFIG_CMDLINE_FALLBACK Use bootloader kernel arguments if available
Use the built-in command line as fallback in case we get nothing during boot. This is the default behaviour.
CONFIG_CMDLINE_EXTEND Extend bootloader kernel arguments
The built-in command line will be appended to the command- line arguments provided during boot. This is useful in cases where the provided arguments are insufficient and you don't want to or cannot modify them.
CONFIG_CMDLINE_FORCE Always use the default kernel command string
Always use the built-in command line, even if we get one during boot. This is useful in case you need to override the provided command line on systems where you don't have or want control over it.
CONFIG_EFI_STUB
CONFIG_EFI UEFI runtime support
This option provides support for runtime services provided by UEFI firmware (such as non-volatile variables, realtime clock, and platform reset). A UEFI stub is also provided to allow the kernel to be booted as an EFI application. This is only useful on systems that have UEFI firmware.
- Depends on
OF - Depends on
- Selects
ARCH_SUPPORTS_ACPI if - Selects
EFI_GENERIC_STUB - Selects
EFI_PARAMS_FROM_FDT - Selects
EFI_RUNTIME_WRAPPERS - Selects
- Selects
LIBFDT - Selects
RISCV_ISA_C - Selects
UCS2_STRING
CONFIG_DMI Enable support for SMBIOS (DMI) tables
This enables SMBIOS/DMI feature for systems.
This option is only useful on systems that have UEFI firmware. However, even with this option, the resultant kernel should continue to boot on existing non-UEFI platforms.
- Depends on
CONFIG_CC_HAVE_STACKPROTECTOR_TLS
CONFIG_STACKPROTECTOR_PER_TASK
- Depends on
!RANDSTRUCT - Depends on
STACKPROTECTOR &&
CONFIG_PHYS_RAM_BASE_FIXED Explicitly specified physical RAM address
- Depends on
NONPORTABLE
CONFIG_PHYS_RAM_BASE Platform Physical RAM address
This is the physical address of RAM in the system. It has to be explicitly specified to run early relocations of read-write data from flash to RAM.
- Depends on
PHYS_RAM_BASE_FIXED
CONFIG_RISCV_ISA_FALLBACK Permit falling back to parsing riscv,isa for extension support by default
Parsing the "riscv,isa" devicetree property has been deprecated and replaced by a list of explicitly defined strings. For compatibility with existing platforms, the kernel will fall back to parsing the "riscv,isa" property if the replacements are not found.
Selecting N here will result in a kernel that does not use the fallback, unless the commandline "riscv_isa_fallback" parameter is present.
Please see the dt-binding, located at Documentation/devicetree/bindings/riscv/extensions.yaml for details on the replacement properties, "riscv,isa-base" and "riscv,isa-extensions".
CONFIG_BUILTIN_DTB Built-in device tree
Build a device tree into the Linux image. This option should be selected if no bootloader is being used. If unsure, say N.
- Depends on
OF && NONPORTABLE - Selects
GENERIC_BUILTIN_DTB
CONFIG_BUILTIN_DTB_NAME Built-in device tree source
DTS file path (without suffix, relative to arch/riscv/boot/dts) for the DTS file that will be used to produce the DTB linked into the kernel.
- Depends on
CONFIG_PORTABLE
- Selects
- Selects
- Selects
OF
CONFIG_ARCH_PROC_KCORE_TEXT
CONFIG_ARCH_CC_CAN_LINK
CONFIG_ARCH_USERFLAGS
Power management options
CONFIG_ARCH_HIBERNATION_POSSIBLE
CONFIG_ARCH_HIBERNATION_HEADER
CONFIG_ARCH_SUSPEND_POSSIBLE
CPU Power Management
- arch/Kconfig:1201
- arch/alpha/Kconfig:109
- arch/arc/Kconfig:316
- arch/arm/Kconfig:312
- arch/arm64/Kconfig:367
- arch/loongarch/Kconfig:307
- arch/m68k/Kconfig:80
- arch/mips/Kconfig:3005
- arch/parisc/Kconfig:182
- arch/powerpc/Kconfig:479
- arch/riscv/Kconfig:348
- arch/s390/Kconfig:301
- arch/sh/Kconfig:143
- arch/sparc/Kconfig:149
- arch/um/Kconfig:239
- arch/x86/Kconfig:429
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94
- arch/alpha/Kconfig:465
- arch/arc/Kconfig:167
- arch/arm/Kconfig:910
- arch/arm64/Kconfig:358
- arch/csky/Kconfig:313
- arch/hexagon/Kconfig:104
- arch/loongarch/Kconfig:513
- arch/mips/Kconfig:2700
- arch/openrisc/Kconfig:191
- arch/parisc/Kconfig:314
- arch/powerpc/platforms/Kconfig.cputype:550
- arch/riscv/Kconfig:437
- arch/s390/Kconfig:530
- arch/sh/Kconfig:560
- arch/sparc/Kconfig:158
- arch/um/Kconfig:97
- arch/x86/Kconfig:437
- arch/xtensa/Kconfig:245
- arch/arm/Kconfig:1508
- arch/arm64/Kconfig:2569
- arch/hexagon/Kconfig:94
- arch/loongarch/Kconfig:426
- arch/microblaze/Kconfig:101
- arch/mips/Kconfig.debug:48
- arch/nios2/Kconfig:92
- arch/openrisc/Kconfig:235
- arch/powerpc/Kconfig:978
- arch/riscv/Kconfig:1231
- arch/sh/Kconfig:730
- arch/sparc/Kconfig:300
- arch/x86/Kconfig:2250
- arch/xtensa/Kconfig:448