CONFIG_ARM
The ARM series is a line of low-power-consumption RISC chip designs licensed by ARM Ltd and targeted at embedded applications and handhelds such as the Compaq IPAQ. ARM-based PCs are no longer manufactured, but legacy ARM-based PC hardware remains popular in Europe. There is an ARM Linux project with a web page at <http://www.arm.linux.org.uk/>.
- Selects
ARCH_32BIT_OFF_T - Selects
ARCH_CORRECT_STACKTRACE_ON_KRETPROBE if HAVE_KRETPROBES && FRAME_POINTER && !ARM_UNWIND - Selects
ARCH_HAS_BINFMT_FLAT - Selects
ARCH_HAS_CACHE_LINE_SIZE if OF - Selects
ARCH_HAS_CC_CAN_LINK - Selects
ARCH_HAS_CPU_CACHE_ALIASING - Selects
ARCH_HAS_CPU_FINALIZE_INIT if - Selects
ARCH_HAS_CURRENT_STACK_POINTER - Selects
ARCH_HAS_DEBUG_VIRTUAL if - Selects
ARCH_HAS_DELAY_TIMER - Selects
ARCH_HAS_DMA_ALLOC if - Selects
ARCH_HAS_DMA_OPS - Selects
ARCH_HAS_DMA_WRITE_COMBINE if !ARM_DMA_MEM_BUFFERABLE - Selects
ARCH_HAS_ELF_RANDOMIZE - Selects
ARCH_HAS_FORTIFY_SOURCE - Selects
ARCH_HAS_KEEPINITRD - Selects
ARCH_HAS_KCOV - Selects
ARCH_HAS_MEMBARRIER_SYNC_CORE - Selects
ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE - Selects
ARCH_HAS_PTE_SPECIAL if ARM_LPAE - Selects
ARCH_HAS_SETUP_DMA_OPS - Selects
ARCH_HAS_SET_MEMORY - Selects
ARCH_STACKWALK - Selects
ARCH_HAS_STRICT_KERNEL_RWX if && ! - Selects
ARCH_HAS_STRICT_MODULE_RWX if - Selects
ARCH_HAS_SYNC_DMA_FOR_DEVICE - Selects
ARCH_HAS_SYNC_DMA_FOR_CPU - Selects
ARCH_HAS_TEARDOWN_DMA_OPS if - Selects
ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST - Selects
ARCH_HAVE_NMI_SAFE_CMPXCHG if CPU_V7 || CPU_V7M || CPU_V6K - Selects
ARCH_HAS_GCOV_PROFILE_ALL - Selects
ARCH_KEEP_MEMBLOCK - Selects
ARCH_HAS_UBSAN - Selects
ARCH_MIGHT_HAVE_PC_PARPORT - Selects
ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX - Selects
ARCH_OPTIONAL_KERNEL_RWX_DEFAULT if CPU_V7 - Selects
ARCH_NEED_CMPXCHG_1_EMU if CPU_V6 - Selects
ARCH_SUPPORTS_ATOMIC_RMW - Selects
ARCH_SUPPORTS_CFI - Selects
ARCH_SUPPORTS_HUGETLBFS if ARM_LPAE - Selects
ARCH_SUPPORTS_RT - Selects
ARCH_USE_BUILTIN_BSWAP - Selects
ARCH_USE_CMPXCHG_LOCKREF - Selects
ARCH_USE_MEMTEST - Selects
ARCH_USES_CFI_GENERIC_LLVM_PASS if CLANG_VERSION < 220000 - Selects
ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if - Selects
ARCH_WANT_GENERAL_HUGETLB - Selects
ARCH_WANT_IPC_PARSE_VERSION - Selects
ARCH_WANT_LD_ORPHAN_WARN - Selects
BINFMT_FLAT_ARGVP_ENVP_ON_STACK - Selects
BUILDTIME_TABLE_SORT if - Selects
COMMON_CLK if !(ARCH_RPC || ARCH_FOOTBRIDGE) - Selects
CLONE_BACKWARDS - Selects
CPU_PM if SUSPEND || CPU_IDLE - Selects
DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS - Selects
DMA_DECLARE_COHERENT - Selects
DMA_GLOBAL_POOL if ! - Selects
DMA_NONCOHERENT_MMAP if - Selects
EDAC_SUPPORT - Selects
EDAC_ATOMIC_SCRUB - Selects
GENERIC_ALLOCATOR - Selects
GENERIC_ARCH_TOPOLOGY if ARM_CPU_TOPOLOGY - Selects
GENERIC_ATOMIC64 if CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI - Selects
GENERIC_CLOCKEVENTS_BROADCAST if - Selects
GENERIC_IRQ_IPI if - Selects
GENERIC_CPU_AUTOPROBE - Selects
GENERIC_CPU_DEVICES - Selects
GENERIC_EARLY_IOREMAP - Selects
GENERIC_IDLE_POLL_SETUP - Selects
GENERIC_IRQ_MULTI_HANDLER - Selects
GENERIC_IRQ_PROBE - Selects
GENERIC_IRQ_SHOW - Selects
GENERIC_IRQ_SHOW_LEVEL - Selects
GENERIC_LIB_DEVMEM_IS_ALLOWED - Selects
GENERIC_PCI_IOMAP - Selects
GENERIC_SCHED_CLOCK - Selects
GENERIC_SMP_IDLE_THREAD - Selects
HARDIRQS_SW_RESEND - Selects
HAS_IOPORT - Selects
HAVE_ARCH_AUDITSYSCALL if AEABI && !OABI_COMPAT - Selects
HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6 && BITREVERSE - Selects
HAVE_ARCH_JUMP_LABEL if ! && !CPU_ENDIAN_BE32 && && (!PREEMPT_RT || !) - Selects
HAVE_ARCH_KFENCE if && ! - Selects
HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32 && - Selects
HAVE_ARCH_KASAN if && ! - Selects
HAVE_ARCH_KASAN_VMALLOC if HAVE_ARCH_KASAN - Selects
HAVE_ARCH_KSTACK_ERASE - Selects
HAVE_ARCH_MMAP_RND_BITS if - Selects
HAVE_ARCH_PFN_VALID - Selects
HAVE_ARCH_SECCOMP - Selects
HAVE_ARCH_SECCOMP_FILTER if AEABI && !OABI_COMPAT - Selects
HAVE_ARCH_THREAD_STRUCT_WHITELIST - Selects
HAVE_ARCH_TRACEHOOK - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE if ARM_LPAE - Selects
HAVE_ARM_SMCCC if CPU_V7 - Selects
HAVE_EBPF_JIT if !CPU_ENDIAN_BE32 && !CPU_32v3 - Selects
HAVE_CONTEXT_TRACKING_USER - Selects
HAVE_C_RECORDMCOUNT - Selects
HAVE_BUILDTIME_MCOUNT_SORT - Selects
HAVE_DEBUG_KMEMLEAK if ! - Selects
HAVE_DMA_CONTIGUOUS if - Selects
HAVE_EXTRA_IPI_TRACEPOINTS - Selects
HAVE_DYNAMIC_FTRACE if ! && !CPU_ENDIAN_BE32 && - Selects
HAVE_DYNAMIC_FTRACE_WITH_REGS if HAVE_DYNAMIC_FTRACE - Selects
HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && - Selects
HAVE_EXIT_THREAD - Selects
HAVE_GUP_FAST if ARM_LPAE - Selects
HAVE_FUNCTION_ERROR_INJECTION - Selects
HAVE_FUNCTION_GRAPH_TRACER - Selects
HAVE_FUNCTION_GRAPH_FREGS - Selects
HAVE_FUNCTION_TRACER if ! - Selects
HAVE_GCC_PLUGINS - Selects
HAVE_HW_BREAKPOINT if PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7) - Selects
HAVE_IRQ_TIME_ACCOUNTING - Selects
HAVE_KERNEL_GZIP - Selects
HAVE_KERNEL_LZ4 - Selects
HAVE_KERNEL_LZMA - Selects
HAVE_KERNEL_LZO - Selects
HAVE_KERNEL_XZ - Selects
HAVE_KPROBES if ! && !CPU_ENDIAN_BE32 && !CPU_V7M - Selects
HAVE_KRETPROBES if HAVE_KPROBES - Selects
HAVE_LD_DEAD_CODE_DATA_ELIMINATION if (LD_VERSION >= 23600 || LD_IS_LLD) && LD_CAN_USE_KEEP_IN_OVERLAY - Selects
HAVE_MOD_ARCH_SPECIFIC - Selects
HAVE_NMI - Selects
HAVE_OPTPROBES if !THUMB2_KERNEL - Selects
HAVE_PAGE_SIZE_4KB - Selects
HAVE_PCI if - 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_RSEQ - Selects
HAVE_RUST if && CPU_32v7 && !KASAN - Selects
HAVE_STACKPROTECTOR - Selects
HAVE_SYSCALL_TRACEPOINTS - Selects
HAVE_UID16 - Selects
HAVE_VIRT_CPU_ACCOUNTING_GEN - Selects
HOTPLUG_CORE_SYNC_DEAD if - Selects
IRQ_FORCED_THREADING - Selects
LOCK_MM_AND_FIND_VMA - Selects
MODULES_USE_ELF_REL - Selects
NEED_DMA_MAP_STATE - Selects
OF_EARLY_FLATTREE if OF - Selects
OLD_SIGACTION - Selects
OLD_SIGSUSPEND3 - Selects
PCI_DOMAINS_GENERIC if PCI - Selects
PCI_SYSCALL if PCI - Selects
PERF_USE_VMALLOC - Selects
RTC_LIB - Selects
SPARSE_IRQ if !(ARCH_FOOTBRIDGE || ARCH_RPC) - Selects
- Selects
THREAD_INFO_IN_TASK - Selects
TIMER_OF if OF - Selects
HAVE_ARCH_VMAP_STACK if && ARM_HAS_GROUP_RELOCS - Selects
TRACE_IRQFLAGS_SUPPORT if !CPU_V7M - Selects
if !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100)
CONFIG_ARM_HAS_GROUP_RELOCS
Whether or not to use R_ARM_ALU_PC_Gn or R_ARM_LDR_PC_Gn group relocations. The combined range is -/+ 256 MiB, which is usually sufficient, but not for allyesconfig, so we disable this feature when doing compile testing.
CONFIG_ARM_DMA_USE_IOMMU
- Selects
NEED_SG_DMA_LENGTH
If ARM_DMA_USE_IOMMU
CONFIG_ARM_DMA_IOMMU_ALIGNMENT Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers
DMA mapping framework by default aligns all buffers to the smallest PAGE_SIZE order which is greater than or equal to the requested buffer size. This works well for buffers up to a few hundreds kilobytes, but for larger buffers it just a waste of address space. Drivers which has relatively small addressing window (like 64Mib) might run out of virtual space with just a few allocations.
With this parameter you can specify the maximum PAGE_SIZE order for DMA IOMMU buffers. Larger buffers will be aligned only to this specified order. The order is expressed as a power of two multiplied by the PAGE_SIZE.
- Range
4 9
CONFIG_SYS_SUPPORTS_APM_EMULATION
CONFIG_HAVE_TCM
- Selects
GENERIC_ALLOCATOR
CONFIG_HAVE_PROC_CPU
CONFIG_NO_IOPORT_MAP
CONFIG_SBUS
CONFIG_STACKTRACE_SUPPORT
CONFIG_LOCKDEP_SUPPORT
CONFIG_ARCH_HAS_ILOG2_U32
CONFIG_ARCH_HAS_ILOG2_U64
CONFIG_ARCH_HAS_BANDGAP
CONFIG_FIX_EARLYCON_MEM
CONFIG_GENERIC_HWEIGHT
CONFIG_GENERIC_CALIBRATE_DELAY
CONFIG_ARCH_MAY_HAVE_PC_FDC
CONFIG_ARCH_SUPPORTS_UPROBES
CONFIG_GENERIC_ISA_DMA
CONFIG_FIQ
CONFIG_ARCH_MTD_XIP
CONFIG_ARM_PATCH_PHYS_VIRT Patch physical to virtual translations at runtime
Patch phys-to-virt and virt-to-phys translation functions at boot and module load time according to the position of the kernel in system memory.
This can only be used with non-XIP MMU kernels where the base of physical memory is at a 2 MiB boundary.
Only disable this option if you know that you do not require this feature (eg, building a kernel for a single machine) and you need to shrink the kernel to the minimal size.
- Visible if
!ARCH_MULTIPLATFORM - Depends on
CONFIG_NEED_MACH_IO_H
Select this when mach/io.h is required to provide special definitions for this platform. The need for mach/io.h should be avoided when possible.
CONFIG_NEED_MACH_MEMORY_H
Select this when mach/memory.h is required to provide special definitions for this platform. The need for mach/memory.h should be avoided when possible.
CONFIG_PHYS_OFFSET Physical address of main memory
Please provide the physical address corresponding to the location of main memory in your system.
- Visible if
- Depends on
!ARM_PATCH_PHYS_VIRT || !AUTO_ZRELADDR
CONFIG_GENERIC_BUG
- Depends on
BUG
CONFIG_PGTABLE_LEVELS
System Type
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_ARM_SINGLE_ARMV7M
CONFIG_ARCH_MMAP_RND_BITS_MIN
CONFIG_ARCH_MMAP_RND_BITS_MAX
CONFIG_ARCH_MULTIPLATFORM Require kernel to be portable to multiple machines
In general, all Arm machines can be supported in a single kernel image, covering either Armv4/v5 or Armv6/v7.
However, some configuration options require hardcoding machine specific physical addresses or enable errata workarounds that may break other machines.
Selecting N here allows using those options, including DEBUG_UNCOMPRESS, XIP_KERNEL and ZBOOT_ROM. If unsure, say Y.
- Visible if
EXPERT - Depends on
&& !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100)
CONFIG_ARCH_LPC18XX NXP LPC18xx/LPC43xx (DEPRECATED)
Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4 high performance microcontrollers.
This platform is scheduled for removal in early 2027
- Depends on
ARM_SINGLE_ARMV7M - Selects
ARCH_HAS_RESET_CONTROLLER - Selects
ARM_AMBA - Selects
CLKSRC_LPC32XX - Selects
PINCTRL
CONFIG_ARCH_MPS2 ARM MPS2 platform (DEPRECATED)
Support for Cortex-M Prototyping System (or V2M-MPS2) which comes with a range of available cores like Cortex-M3/M4/M7.
Please, note that depends which Application Note is used memory map for the platform may vary, so adjustment of RAM base might be needed.
This platform is scheduled for removal in early 2027
- Depends on
ARM_SINGLE_ARMV7M - Selects
ARM_AMBA - Selects
CLKSRC_MPS2
CONFIG_ARCH_ACORN
CONFIG_PLAT_ORION
- Selects
CLKSRC_MMIO - Selects
GENERIC_IRQ_CHIP - Selects
IRQ_DOMAIN
CONFIG_PLAT_ORION_LEGACY
- Selects
PLAT_ORION
CONFIG_PLAT_VERSATILE
CONFIG_IWMMXT Enable iWMMXt support (DEPRECATED)
Enable support for iWMMXt context switching at run time if running on a CPU that supports it.
Machines that actually support this feature are very rare, and support is deprecated in new gcc-14. While there were a few applications that used this in the past, none are known to still do so.
If you use this, please send a patch to remove the deprecation, otherwise this will be removed in early 2027.
If !
CONFIG_PJ4B_ERRATA_4742 PJ4B Errata 4742: IDLE Wake Up Commands can Cause the CPU Core to Cease Operation
When coming out of either a Wait for Interrupt (WFI) or a Wait for Event (WFE) IDLE states, a specific timing sensitivity exists between the retiring WFI/WFE instructions and the newly issued subsequent instructions. This sensitivity can result in a CPU hang scenario. Workaround: The software must insert either a Data Synchronization Barrier (DSB) or Data Memory Barrier (DMB) command immediately after the WFI/WFE instruction
- Depends on
CPU_PJ4B && MACH_ARMADA_370
CONFIG_ARM_ERRATA_326103 ARM errata: FSR write bit incorrect on a SWP to read-only memory
Executing a SWP instruction to read-only memory does not set bit 11 of the FSR on the ARM 1136 prior to r1p0. This causes the kernel to treat the access as a read, preventing a COW from occurring and causing the faulting task to livelock.
- Depends on
CPU_V6
CONFIG_ARM_ERRATA_411920 ARM errata: Invalidation of the Instruction Cache operation can fail
Invalidation of the Instruction Cache operation can fail. This erratum is present in 1136 (before r1p4), 1156 and 1176. It does not affect the MPCore. This option enables the ARM Ltd. recommended workaround.
CONFIG_ARM_ERRATA_430973 ARM errata: Stale prediction on replaced interworking branch
This option enables the workaround for the 430973 Cortex-A8 r1p* erratum. If a code sequence containing an ARM/Thumb interworking branch is replaced with another code sequence at the same virtual address, whether due to self-modifying code or virtual to physical address re-mapping, Cortex-A8 does not recover from the stale interworking branch prediction. This results in Cortex-A8 executing the new code sequence in the incorrect ARM or Thumb state. The workaround enables the BTB/BTAC operations by setting ACTLR.IBE and also flushes the branch target cache at every context switch. Note that setting specific bits in the ACTLR register may not be available in non-secure mode.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_458693 ARM errata: Processor deadlock when a false hazard is created
This option enables the workaround for the 458693 Cortex-A8 (r2p0) erratum. For very specific sequences of memory operations, it is possible for a hazard condition intended for a cache line to instead be incorrectly associated with a different cache line. This false hazard might then cause a processor deadlock. The workaround enables the L1 caching of the NEON accesses and disables the PLD instruction in the ACTLR register. Note that setting specific bits in the ACTLR register may not be available in non-secure mode and thus is not available on a multiplatform kernel. This should be applied by the bootloader instead.
- Depends on
CPU_V7 - Depends on
!ARCH_MULTIPLATFORM
CONFIG_ARM_ERRATA_460075 ARM errata: Data written to the L2 cache can be overwritten with stale data
This option enables the workaround for the 460075 Cortex-A8 (r2p0) erratum. Any asynchronous access to the L2 cache may encounter a situation in which recent store transactions to the L2 cache are lost and overwritten with stale memory contents from external memory. The workaround disables the write-allocate mode for the L2 cache via the ACTLR register. Note that setting specific bits in the ACTLR register may not be available in non-secure mode and thus is not available on a multiplatform kernel. This should be applied by the bootloader instead.
- Depends on
CPU_V7 - Depends on
!ARCH_MULTIPLATFORM
CONFIG_ARM_ERRATA_742230 ARM errata: DMB operation may be faulty
This option enables the workaround for the 742230 Cortex-A9 (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction between two write operations may not ensure the correct visibility ordering of the two writes. This workaround sets a specific bit in the diagnostic register of the Cortex-A9 which causes the DMB instruction to behave as a DSB, ensuring the correct behaviour of the two writes. Note that setting specific bits in the diagnostics register may not be available in non-secure mode and thus is not available on a multiplatform kernel. This should be applied by the bootloader instead.
- Depends on
CPU_V7 && - Depends on
!ARCH_MULTIPLATFORM
CONFIG_ARM_ERRATA_742231 ARM errata: Incorrect hazard handling in the SCU may lead to data corruption
This option enables the workaround for the 742231 Cortex-A9 (r2p0..r2p2) erratum. Under certain conditions, specific to the Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode, accessing some data located in the same cache line, may get corrupted data due to bad handling of the address hazard when the line gets replaced from one of the CPUs at the same time as another CPU is accessing it. This workaround sets specific bits in the diagnostic register of the Cortex-A9 which reduces the linefill issuing capabilities of the processor. Note that setting specific bits in the diagnostics register may not be available in non-secure mode and thus is not available on a multiplatform kernel. This should be applied by the bootloader instead.
- Depends on
CPU_V7 && - Depends on
!ARCH_MULTIPLATFORM
CONFIG_ARM_ERRATA_643719 ARM errata: LoUIS bit field in CLIDR register is incorrect
This option enables the workaround for the 643719 Cortex-A9 (prior to r1p0) erratum. On affected cores the LoUIS bit field of the CLIDR register returns zero when it should return one. The workaround corrects this value, ensuring cache maintenance operations which use it behave as intended and avoiding data corruption.
- Depends on
CPU_V7 &&
CONFIG_ARM_ERRATA_720789 ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID
This option enables the workaround for the 720789 Cortex-A9 (prior to r2p0) erratum. A faulty ASID can be sent to the other CPUs for the broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS. As a consequence of this erratum, some TLB entries which should be invalidated are not, resulting in an incoherency in the system page tables. The workaround changes the TLB flushing routines to invalidate entries regardless of the ASID.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_743622 ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption
This option enables the workaround for the 743622 Cortex-A9 (r2p*) erratum. Under very rare conditions, a faulty optimisation in the Cortex-A9 Store Buffer may lead to data corruption. This workaround sets a specific bit in the diagnostic register of the Cortex-A9 which disables the Store Buffer optimisation, preventing the defect from occurring. This has no visible impact on the overall performance or power consumption of the processor. Note that setting specific bits in the diagnostics register may not be available in non-secure mode and thus is not available on a multiplatform kernel. This should be applied by the bootloader instead.
- Depends on
CPU_V7 - Depends on
!ARCH_MULTIPLATFORM
CONFIG_ARM_ERRATA_751472 ARM errata: Interrupted ICIALLUIS may prevent completion of broadcasted operation
This option enables the workaround for the 751472 Cortex-A9 (prior to r3p0) erratum. An interrupted ICIALLUIS operation may prevent the completion of a following broadcasted operation if the second operation is received by a CPU before the ICIALLUIS has completed, potentially leading to corrupted entries in the cache or TLB. Note that setting specific bits in the diagnostics register may not be available in non-secure mode and thus is not available on a multiplatform kernel. This should be applied by the bootloader instead.
- Depends on
CPU_V7 - Depends on
!ARCH_MULTIPLATFORM
CONFIG_ARM_ERRATA_754322 ARM errata: possible faulty MMU translations following an ASID switch
This option enables the workaround for the 754322 Cortex-A9 (r2p*, r3p*) erratum. A speculative memory access may cause a page table walk which starts prior to an ASID switch but completes afterwards. This can populate the micro-TLB with a stale entry which may be hit with the new ASID. This workaround places two dsb instructions in the mm switching code so that no page table walks can cross the ASID switch.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_754327 ARM errata: no automatic Store Buffer drain
This option enables the workaround for the 754327 Cortex-A9 (prior to r2p0) erratum. The Store Buffer does not have any automatic draining mechanism and therefore a livelock may occur if an external agent continuously polls a memory location waiting to observe an update. This workaround defines cpu_relax() as smp_mb(), preventing correctly written polling loops from denying visibility of updates to memory.
- Depends on
CPU_V7 &&
CONFIG_ARM_ERRATA_364296 ARM errata: Possible cache data corruption with hit-under-miss enabled
This options enables the workaround for the 364296 ARM1136 r0p2 erratum (possible cache data corruption with hit-under-miss enabled). It sets the undocumented bit 31 in the auxiliary control register and the FI bit in the control register, thus disabling hit-under-miss without putting the processor into full low interrupt latency mode. ARM11MPCore is not affected.
- Depends on
CPU_V6
CONFIG_ARM_ERRATA_764369 ARM errata: Data cache line maintenance operation by MVA may not succeed
This option enables the workaround for erratum 764369 affecting Cortex-A9 MPCore with two or more processors (all current revisions). Under certain timing circumstances, a data cache line maintenance operation by MVA targeting an Inner Shareable memory region may fail to proceed up to either the Point of Coherency or to the Point of Unification of the system. This workaround adds a DSB instruction before the relevant cache maintenance functions and sets a specific bit in the diagnostic control register of the SCU.
- Depends on
CPU_V7 &&
CONFIG_ARM_ERRATA_764319 ARM errata: Read to DBGPRSR and DBGOSLSR may generate Undefined instruction
This option enables the workaround for the 764319 Cortex-A9 erratum. CP14 read accesses to the DBGPRSR and DBGOSLSR registers generate an unexpected Undefined Instruction exception when the DBGSWENABLE external pin is set to 0, even when the CP14 accesses are performed from a privileged mode. This work around catches the exception in a way the kernel does not stop execution.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_775420 ARM errata: A data cache maintenance operation which aborts, might lead to deadlock
This option enables the workaround for the 775420 Cortex-A9 (r2p2, r2p6,r2p8,r2p10,r3p0) erratum. In case a data cache maintenance operation aborts with MMU exception, it might cause the processor to deadlock. This workaround puts DSB before executing ISB if an abort may occur on cache maintenance.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_798181 ARM errata: TLBI/DSB failure on Cortex-A15
On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the old entries. This option enables the Linux kernel workaround for this erratum which sends an IPI to the CPUs that are running the same ASID as the one being invalidated.
- Depends on
CPU_V7 &&
CONFIG_ARM_ERRATA_773022 ARM errata: incorrect instructions may be executed from loop buffer
This option enables the workaround for the 773022 Cortex-A15 (up to r0p4) erratum. In certain rare sequences of code, the loop buffer may deliver incorrect instructions. This workaround disables the loop buffer to avoid the erratum.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_818325_852422 ARM errata: A12: some seqs of opposed cond code instrs => deadlock or corruption
This option enables the workaround for: - Cortex-A12 818325: Execution of an UNPREDICTABLE STR or STM instruction might deadlock. Fixed in r0p1. - Cortex-A12 852422: Execution of a sequence of instructions might lead to either a data corruption or a CPU deadlock. Not fixed in any Cortex-A12 cores yet. This workaround for all both errata involves setting bit[12] of the Feature Register. This bit disables an optimisation applied to a sequence of 2 instructions that use opposing condition codes.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_821420 ARM errata: A12: sequence of VMOV to core registers might lead to a dead lock
This option enables the workaround for the 821420 Cortex-A12 (all revs) erratum. In very rare timing conditions, a sequence of VMOV to Core registers instructions, for which the second one is in the shadow of a branch or abort, can lead to a deadlock when the VMOV instructions are issued out-of-order.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_825619 ARM errata: A12: DMB NSHST/ISHST mixed ... might cause deadlock
This option enables the workaround for the 825619 Cortex-A12 (all revs) erratum. Within rare timing constraints, executing a DMB NSHST or DMB ISHST instruction followed by a mix of Cacheable and Device/Strongly-Ordered loads and stores might cause deadlock
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_857271 ARM errata: A12: CPU might deadlock under some very rare internal conditions
This option enables the workaround for the 857271 Cortex-A12 (all revs) erratum. Under very rare timing conditions, the CPU might hang. The workaround is expected to have a < 1% performance impact.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_852421 ARM errata: A17: DMB ST might fail to create order between stores
This option enables the workaround for the 852421 Cortex-A17 (r1p0, r1p1, r1p2) erratum. Under very rare timing conditions, execution of a DMB ST instruction might fail to properly order stores from GroupA and stores from GroupB.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_852423 ARM errata: A17: some seqs of opposed cond code instrs => deadlock or corruption
This option enables the workaround for: - Cortex-A17 852423: Execution of a sequence of instructions might lead to either a data corruption or a CPU deadlock. Not fixed in any Cortex-A17 cores yet. This is identical to Cortex-A12 erratum 852422. It is a separate config option from the A12 erratum due to the way errata are checked for and handled.
- Depends on
CPU_V7
CONFIG_ARM_ERRATA_857272 ARM errata: A17: CPU might deadlock under some very rare internal conditions
This option enables the workaround for the 857272 Cortex-A17 erratum. This erratum is not known to be fixed in any A17 revision. This is identical to Cortex-A12 erratum 857271. It is a separate config option from the A12 erratum due to the way errata are checked for and handled.
- Depends on
CPU_V7
Bus support
CONFIG_ISA
Find out whether you have ISA slots on your motherboard. ISA is the name of a bus system, i.e. the way the CPU talks to the other stuff inside your box. Other bus systems are PCI, EISA, MicroChannel (MCA) or VESA. ISA is an older system, now being displaced by PCI; newer boards don't support it. If you have ISA, say Y, otherwise N.
CONFIG_ISA_DMA_API
CONFIG_ARM_ERRATA_814220 ARM errata: Cache maintenance by set/way operations can execute out of order
The v7 ARM states that all cache and branch predictor maintenance operations that do not specify an address execute, relative to each other, in program order. However, because of this erratum, an L2 set/way cache maintenance operation can overtake an L1 set/way cache maintenance operation. This ERRATA only affected the Cortex-A7 and present in r0p2, r0p3, r0p4, r0p5.
- Depends on
CPU_V7
Kernel Features
CONFIG_HAVE_SMP
This option should be selected by machines which have an SMP- capable CPU.
The only effect of this option is to make the SMP-related options available to the user for configuration.
CONFIG_SMP Symmetric Multi-Processing
This enables support for systems with more than one CPU. If you have a system with only one CPU, say N. If you have a system with more than one CPU, say Y.
If you say N here, the kernel will run on uni- 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, uniprocessor machines. On a uniprocessor machine, the kernel will run faster if you say N here.
See also <file:Documentation/arch/x86/i386/IO-APIC.rst>, <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO available at <http://tldp.org/HOWTO/SMP-HOWTO.html>.
If you don't know what to do here, say N.
CONFIG_SMP_ON_UP Allow booting SMP kernel on uniprocessor systems
SMP kernels contain instructions which fail on non-SMP processors. Enabling this option allows the kernel to modify itself to make these instructions safe. Disabling it allows about 1K of space savings.
If you don't know what to do here, say Y.
- Depends on
&&
CONFIG_CURRENT_POINTER_IN_TPIDRURO
CONFIG_IRQSTACKS
- Selects
HAVE_IRQ_EXIT_ON_IRQ_STACK - Selects
HAVE_SOFTIRQ_ON_OWN_STACK
CONFIG_ARM_CPU_TOPOLOGY Support cpu topology definition
Support ARM cpu topology definition. The MPIDR register defines affinity between processors which is then used to describe the cpu topology of an ARM System.
- Depends on
&& CPU_V7 - Selects
ARCH_SUPPORTS_SCHED_MC - Selects
ARCH_SUPPORTS_SCHED_SMT
CONFIG_HAVE_ARM_SCU
This option enables support for the ARM snoop control unit
CONFIG_HAVE_ARM_ARCH_TIMER Architected timer support
This option enables support for the ARM architected timer
- Depends on
CPU_V7 - Selects
ARM_ARCH_TIMER
CONFIG_HAVE_ARM_TWD
This options enables support for the ARM timer and watchdog unit
CONFIG_MCPM Multi-Cluster Power Management
This option provides the common power management infrastructure for (multi-)cluster based systems, such as big.LITTLE based systems.
- Depends on
CPU_V7 &&
CONFIG_MCPM_QUAD_CLUSTER
To avoid wasting resources unnecessarily, MCPM only supports up to 2 clusters by default. Platforms with 3 or 4 clusters that use MCPM must select this option to allow the additional clusters to be managed.
- Depends on
MCPM
CONFIG_BIG_LITTLE big.LITTLE support (Experimental)
This option enables support selections for the big.LITTLE system architecture.
CONFIG_BL_SWITCHER big.LITTLE switcher support
The big.LITTLE "switcher" provides the core functionality to transparently handle transition between a cluster of A15's and a cluster of A7's in a big.LITTLE system.
- Depends on
BIG_LITTLE && MCPM && && ARM_GIC - Selects
CPU_PM
CONFIG_BL_SWITCHER_DUMMY_IF Simple big.LITTLE switcher user interface
- Off
- Module
- Built in
This is a simple and dummy char dev interface to control the big.LITTLE switcher core code. It is meant for debugging purposes only.
- Depends on
BL_SWITCHER && DEBUG_KERNEL
Memory split
Select the desired split between kernel and user memory.
If you are not absolutely sure what you are doing, leave this option alone!
- Depends on
CONFIG_VMSPLIT_3G 3G/1G user/kernel split
CONFIG_VMSPLIT_3G_OPT 3G/1G user/kernel split (for full 1G low memory)
- Depends on
!ARM_LPAE
CONFIG_VMSPLIT_2G 2G/2G user/kernel split
CONFIG_VMSPLIT_1G 1G/3G user/kernel split
CONFIG_PAGE_OFFSET
CONFIG_KASAN_SHADOW_OFFSET
- Depends on
KASAN
CONFIG_NR_CPUS Maximum number of CPUs (2-32)
The maximum number of CPUs that the kernel can support. Up to 32 CPUs can be supported, or up to 16 if kmap_local() debugging is enabled, which uses half of the per-CPU fixmap slots as guard regions.
- Range
2 16 if DEBUG_KMAP_LOCAL - Range
2 32 if !DEBUG_KMAP_LOCAL - Depends on
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.
- Depends on
- Selects
GENERIC_IRQ_MIGRATION
CONFIG_ARM_PSCI Support for the ARM Power State Coordination Interface (PSCI)
Say Y here if you want Linux to communicate with system firmware implementing the PSCI specification for CPU-centric power management operations described in ARM document number ARM DEN 0022A ("Power State Coordination Interface System Software on ARM processors").
- Depends on
HAVE_ARM_SMCCC - Selects
ARM_PSCI_FW
CONFIG_HZ_FIXED
Timer frequency
- Depends on
HZ_FIXED = 0
CONFIG_HZ_100 100 Hz
CONFIG_HZ_200 200 Hz
CONFIG_HZ_250 250 Hz
CONFIG_HZ_300 300 Hz
CONFIG_HZ_500 500 Hz
CONFIG_HZ_1000 1000 Hz
CONFIG_HZ
CONFIG_SCHED_HRTICK
CONFIG_THUMB2_KERNEL Compile the kernel in Thumb-2 mode
By enabling this option, the kernel will be compiled in Thumb-2 mode.
If unsure, say N.
- Visible if
!CPU_THUMBONLY - Depends on
(CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K - Selects
ARM_UNWIND
CONFIG_ARM_PATCH_IDIV Runtime patch udiv/sdiv instructions into __aeabi_{u}idiv()
The ARM compiler inserts calls to __aeabi_idiv() and __aeabi_uidiv() when it needs to perform division on signed and unsigned integers. Some v7 CPUs have support for the sdiv and udiv instructions that can be used to implement those functions.
Enabling this option allows the kernel to modify itself to replace the first two instructions of these library functions with the sdiv or udiv plus "bx lr" instructions when the CPU it is running on supports them. Typically this will be faster and less power intensive than running the original library code to do integer division.
- Depends on
CPU_32v7
CONFIG_AEABI Use the ARM EABI to compile the kernel
The Arm EABI is the default ABI on all modern Linux distributions, replacing the obsolete and "OABI" that was commonly used on ARMv4 distributions before ca. 2013.
Everyone should enable this, as support for OABI user space was dropped in gcc-4.8 and most distributions after ca. 2013.
Support for OABI mode will be removed from the kernel once Intel StrongARM CPUs are phased out.
- Visible if
CPU_SA110 || CPU_SA1100
CONFIG_OABI_COMPAT Allow old ABI binaries to run with this kernel (EXPERIMENTAL)
This option preserves the old syscall interface along with the new (ARM EABI) one. It also provides a compatibility layer to intercept syscalls that have structure arguments which layout in memory differs between the legacy ABI and the new ARM EABI (only for non "thumb" binaries). This option adds a tiny overhead to all syscalls and produces a slightly larger kernel.
The seccomp filter system will not be available when this is selected, since there is no way yet to sensibly distinguish between calling conventions during filtering.
Support for OABI_COMPAT will be removed from the kernel once Intel StrongARM CPUs are phased out.
- Depends on
AEABI && !THUMB2_KERNEL - Depends on
CPU_SA110 || CPU_SA1100
CONFIG_ARCH_SELECT_MEMORY_MODEL
CONFIG_ARCH_FLATMEM_ENABLE
CONFIG_ARCH_SPARSEMEM_ENABLE
- Selects
SPARSEMEM_STATIC if SPARSEMEM
CONFIG_HIGHMEM High Memory Support
The address space of ARM processors is only 4 Gigabytes large and it has to accommodate user address space, kernel address space as well as some memory mapped IO. That means that, if you have a large amount of physical memory and/or IO, not all of the memory can be "permanently mapped" by the kernel. The physical memory that is not permanently mapped is called "high memory".
Depending on the selected kernel/user memory split, minimum vmalloc space and actual amount of RAM, you may not need this option which should result in a slightly faster kernel.
If unsure, say n.
- Depends on
- Selects
KMAP_LOCAL - Selects
KMAP_LOCAL_NON_LINEAR_PTE_ARRAY
CONFIG_HIGHPTE Allocate 2nd-level pagetables from highmem
The VM uses one page of physical memory for each page table. For systems with a lot of processes, this can use a lot of precious low memory, eventually leading to low memory being consumed by page tables. Setting this option will allow user-space 2nd level page tables to reside in high memory.
- Visible if
EXPERT - Depends on
&& !PREEMPT_RT
CONFIG_ARM_PAN Enable privileged no-access
Increase kernel security by ensuring that normal kernel accesses are unable to access userspace addresses. This can help prevent use-after-free bugs becoming an exploitable privilege escalation by ensuring that magic values (such as LIST_POISON) will always fault when dereferenced.
The implementation uses CPU domains when !CONFIG_ARM_LPAE and disabling of TTBR0 page table walks with CONFIG_ARM_LPAE.
- Depends on
CONFIG_CPU_SW_DOMAIN_PAN
Enable use of CPU domains to implement privileged no-access.
CPUs with low-vector mappings use a best-efforts implementation. Their lower 1MB needs to remain accessible for the vectors, but the remainder of userspace will become appropriately inaccessible.
CONFIG_CPU_TTBR0_PAN
Enable privileged no-access by disabling TTBR0 page table walks when running in kernel mode.
CONFIG_HW_PERF_EVENTS
- Depends on
ARM_PMU
CONFIG_ARM_MODULE_PLTS Use PLTs to allow module memory to spill over into vmalloc area
Allocate PLTs when loading modules so that jumps and calls whose targets are too far away for their relative offsets to be encoded in the instructions themselves can be bounced via veneers in the module's PLT. This allows modules to be allocated in the generic vmalloc area after the dedicated module memory area has been exhausted. The modules will use slightly more memory, but after rounding up to page size, the actual memory footprint is usually the same.
Disabling this is usually safe for small single-platform configurations. If unsure, say y.
- Depends on
- Selects
KASAN_VMALLOC if KASAN
CONFIG_ARCH_FORCE_MAX_ORDER Order of maximal physically contiguous allocations
The kernel page allocator limits the size of maximal physically contiguous allocations. The limit is called MAX_PAGE_ORDER and it defines the maximal power of two of number of pages that can be allocated as a single contiguous block. This option allows overriding the default setting when ability to allocate very large blocks of physically contiguous memory is required.
Don't change if unsure.
CONFIG_ALIGNMENT_TRAP
ARM processors cannot fetch/store information which is not naturally aligned on the bus, i.e., a 4 byte fetch must start at an address divisible by 4. On 32-bit ARM processors, these non-aligned fetch/store instructions will be emulated in software if you say here, which has a severe performance impact. This is necessary for correct operation of some network protocols. With an IP-only configuration it is safe to say N, otherwise say Y.
- Selects
HAVE_PROC_CPU if PROC_FS
CONFIG_UACCESS_WITH_MEMCPY Use kernel mem{cpy,set}() for {copy_to,clear}_user()
Implement faster copy_to_user and clear_user methods for CPU cores where a 8-word STM instruction give significantly higher memory write throughput than a sequence of individual 32bit stores.
A possible side effect is a slight increase in scheduling latency between threads sharing the same address space if they invoke such copy operations with large buffers.
However, if the CPU data cache is using a write-allocate mode, this option is unlikely to provide any performance gain.
- 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.
- 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.
- Selects
CONFIG_XEN_DOM0
- Depends on
CONFIG_XEN Xen guest support on ARM
Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.
- Depends on
ARM && AEABI && OF - Depends on
CPU_V7 && !CPU_V6 - Depends on
!GENERIC_ATOMIC64 - Depends on
- Selects
ARCH_DMA_ADDR_T_64BIT - Selects
ARM_PSCI - Selects
SWIOTLB - Selects
SWIOTLB_XEN - Selects
CONFIG_CC_HAVE_STACKPROTECTOR_TLS
CONFIG_STACKPROTECTOR_PER_TASK Use a unique stack canary value for each task
Due to the fact that GCC uses an ordinary symbol reference from which to load the value of the stack canary, this value can only change at reboot time on SMP systems, and all tasks running in the kernel's address space are forced to use the same canary value for the entire duration that the system is up.
Enable this option to switch to a different method that uses a different canary value for each task.
- Depends on
STACKPROTECTOR && CURRENT_POINTER_IN_TPIDRURO && !XIP_DEFLATED_DATA - Depends on
Boot options
CONFIG_USE_OF Flattened Device Tree support
Include support for flattened device tree machine descriptions.
- Selects
IRQ_DOMAIN - Selects
OF
CONFIG_ARCH_WANT_FLAT_DTB_INSTALL
CONFIG_ATAGS Support for the traditional ATAGS boot data passing
This is the traditional way of passing data to the kernel at boot but is now only used by a few of the oldest ARMv4 and ARMv5 machines. Users that still rely on ATAGS should plan on migrating to devicetree based booting.
Support for ATAGS will be removed when the last machine using it is either converted to DT or removed.
- Depends on
EXPERT
CONFIG_DEPRECATED_PARAM_STRUCT Provide old way to pass kernel parameters (DEPRECATED)
This was deprecated in 2001 and announced to live on for 5 years. It is now scheduled for removal in early 2027.
- Depends on
ATAGS
CONFIG_ZBOOT_ROM_TEXT Compressed ROM boot loader base address
The physical address at which the ROM-able zImage is to be placed in the target. Platforms which normally make use of ROM-able zImage formats normally set this to a suitable value in their defconfig file.
If ZBOOT_ROM is not enabled, this has no effect.
CONFIG_ZBOOT_ROM_BSS Compressed ROM boot loader BSS address
The base address of an area of read/write memory in the target for the ROM-able zImage which must be available while the decompressor is running. It must be large enough to hold the entire decompressed kernel plus an additional 128 KiB. Platforms which normally make use of ROM-able zImage formats normally set this to a suitable value in their defconfig file.
If ZBOOT_ROM is not enabled, this has no effect.
CONFIG_ZBOOT_ROM Compressed boot loader in ROM/flash
Say Y here if you intend to execute your compressed kernel image (zImage) directly from ROM or flash. If unsure, say N.
- Depends on
ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS - Depends on
!ARM_APPENDED_DTB && ! && !AUTO_ZRELADDR
CONFIG_ARM_APPENDED_DTB Use appended device tree blob to zImage (EXPERIMENTAL)
With this option, the boot code will look for a device tree binary (DTB) appended to zImage (e.g. cat zImage <filename>.dtb > zImage_w_dtb).
This is meant as a backward compatibility convenience for those systems with a bootloader that can't be upgraded to accommodate the documented boot protocol using a device tree.
Beware that there is very little in terms of protection against this option being confused by leftover garbage in memory that might look like a DTB header after a reboot if no actual DTB is appended to zImage. Do not leave this option active in a production kernel if you don't intend to always append a DTB. Proper passing of the location into r2 of a bootloader provided DTB is always preferable to this option.
- Depends on
OF
CONFIG_ARM_ATAG_DTB_COMPAT Supplement the appended DTB with traditional ATAG information
Some old bootloaders can't be updated to a DTB capable one, yet they provide ATAGs with memory configuration, the ramdisk address, the kernel cmdline string, etc. Such information is dynamically provided by the bootloader and can't always be stored in a static DTB. To allow a device tree enabled kernel to be used with such bootloaders, this option allows zImage to extract the information from the ATAG list and store it at run time into the appended DTB.
- Depends on
ARM_APPENDED_DTB
Kernel command line type
- Depends on
ARM_ATAG_DTB_COMPAT
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER Use bootloader kernel arguments if available
Uses the command-line options passed by the boot loader instead of the device tree bootargs property. If the boot loader doesn't provide any, the device tree bootargs property will be used.
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND Extend with bootloader kernel arguments
The command-line arguments provided by the boot loader will be appended to the the device tree bootargs property.
CONFIG_CMDLINE Default kernel command string
On some architectures (e.g. CATS), there is currently no way for the boot loader to pass arguments to the kernel. For these architectures, you should supply some command-line options at build time by entering them here. As a minimum, you should specify the memory size and the root device (e.g., mem=64M root=/dev/nfs).
Kernel command line type
- Depends on
!= ""
CONFIG_CMDLINE_FROM_BOOTLOADER Use bootloader kernel arguments if available
Uses the command-line options passed by the boot loader. If the boot loader doesn't provide any, the default kernel command string provided in CMDLINE will be used.
CONFIG_CMDLINE_EXTEND Extend bootloader kernel arguments
The command-line arguments provided by the boot loader will be appended to the default kernel command string.
CONFIG_CMDLINE_FORCE Always use the default kernel command string
Always use the default kernel command string, even if the boot loader passes other arguments to the kernel. This is useful if you cannot or don't want to change the command-line options your boot loader passes to the kernel.
CONFIG_XIP_KERNEL Kernel Execute-In-Place from ROM
Execute-In-Place allows the kernel to run from non-volatile storage directly addressable by the CPU, such as NOR flash. This saves RAM space since the text section of the kernel is not loaded from flash to RAM. Read-write sections, such as the data section and stack, are still copied to RAM. The XIP kernel is not compressed since it has to run directly from flash, so it will take more space to store it. The flash address used to link the kernel object files, and for storing it, is configuration dependent. Therefore, if you say Y here, you must know the proper physical address where to store the kernel image depending on your own flash memory usage.
Also note that the make target becomes "make xipImage" rather than "make zImage" or "make Image". The final kernel binary to put in ROM memory will be arch/arm/boot/xipImage.
If unsure, say N.
- Depends on
!ARM_LPAE && !ARCH_MULTIPLATFORM - Depends on
!ARM_PATCH_IDIV && !ARM_PATCH_PHYS_VIRT && !SMP_ON_UP
CONFIG_XIP_PHYS_ADDR XIP Kernel Physical Location
This is the physical address in your flash memory the kernel will be linked for and stored to. This address is dependent on your own flash usage.
- Depends on
CONFIG_XIP_DEFLATED_DATA Store kernel .data section compressed in ROM
Before the kernel is actually executed, its .data section has to be copied to RAM from ROM. This option allows for storing that data in compressed form and decompressed to RAM rather than merely being copied, saving some precious ROM space. A possible drawback is a slightly longer boot delay.
- Depends on
- Selects
ZLIB_INFLATE
CONFIG_ARCH_SUPPORTS_KEXEC
CONFIG_ATAGS_PROC Export atags in procfs
Should the atags used to boot the kernel be exported in an "atags" file in procfs. Useful with kexec.
CONFIG_ARCH_SUPPORTS_CRASH_DUMP
CONFIG_ARCH_DEFAULT_CRASH_DUMP
CONFIG_AUTO_ZRELADDR Auto calculation of the decompressed kernel image address
ZRELADDR is the physical address where the decompressed kernel image will be placed. If AUTO_ZRELADDR is selected, the address will be determined at run-time, either by masking the current IP with 0xf8000000, or, if invalid, from the DTB passed in r2. This assumes the zImage being placed in the first 128MB from start of memory.
- Visible if
!ARCH_MULTIPLATFORM
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 for kernels that may run on systems that have UEFI firmware.
- Depends on
OF && ! && && AUTO_ZRELADDR && ! - Selects
UCS2_STRING - Selects
EFI_PARAMS_FROM_FDT - Selects
- Selects
EFI_GENERIC_STUB - Selects
EFI_RUNTIME_WRAPPERS
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.
NOTE: This does *NOT* enable or encourage the use of DMI quirks, i.e., the the practice of identifying the platform via DMI to decide whether certain workarounds for buggy hardware and/or firmware need to be enabled. This would require the DMI subsystem to be enabled much earlier than we do on ARM, which is non-trivial.
- Depends on
CPU Power Management
Floating point emulation
At least one emulation must be selected
CONFIG_FPE_NWFPE NWFPE math emulation (DEPRECATED)
Say Y to include the NWFPE floating point emulator in the kernel.
This is only used on OABI userspace binaries, either using a pure OABI (!CONFIG_AEABI) kernel, or the OABI emulation.
Support for NWFPE will be removed in the future when OABI support is removed.
- Depends on
(!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
CONFIG_FPE_NWFPE_XP Support extended precision
Say Y to include 80-bit support in the kernel floating-point emulator. Otherwise, only 32 and 64-bit support is compiled in. Note that gcc does not generate 80-bit operations by default, so in most cases this option only enlarges the size of the floating point emulator without any good reason.
You almost surely want to say N here.
- Depends on
FPE_NWFPE
CONFIG_FPE_FASTFPE FastFPE math emulation (EXPERIMENTAL)
Say Y here to include the FAST floating point emulator in the kernel. This is an experimental much faster emulator which now also has full precision for the mantissa. It does not support any exceptions. It is very simple, and approximately 3-6 times faster than NWFPE.
It should be sufficient for most programs. It may be not suitable for scientific calculations, but you have to check this for yourself. If you do not feel you need a faster FP emulation you should better choose NWFPE.
- Depends on
(!AEABI || OABI_COMPAT) && !CPU_32v3
CONFIG_VFP VFP-format floating point maths
Say Y to include VFP support code in the kernel. This is needed if your hardware includes a VFP unit.
Please see <file:Documentation/arch/arm/vfp/release-notes.rst> for release notes and additional status information.
Say N if your target does not have VFP hardware.
- Depends on
CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
CONFIG_VFPv3
- Depends on
VFP
CONFIG_NEON Advanced SIMD (NEON) Extension support
Say Y to include support code for NEON, the ARMv7 Advanced SIMD Extension.
CONFIG_KERNEL_MODE_NEON Support for NEON in kernel mode
Say Y to include support for NEON in kernel mode.
CONFIG_ARCH_CC_CAN_LINK
CONFIG_ARCH_USERFLAGS
Power management options
CONFIG_ARCH_SUSPEND_POSSIBLE
- Depends on
CPU_ARM920T || CPU_ARM926T || CPU_FEROCEON || CPU_SA1100 || CPU_V6 || CPU_V6K || CPU_V7 || CPU_V7M || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
CONFIG_ARM_CPU_SUSPEND
- Depends on
CONFIG_ARCH_HIBERNATION_POSSIBLE
- Depends on
- 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