CONFIG_BINARY_PRINTF
Library routines
CONFIG_LINEAR_RANGES
- Off
- Module
- Built in
CONFIG_PACKING Generic bitfield packing and unpacking
This option provides the packing() helper function, which permits
converting bitfields between a CPU-usable representation and a
memory representation that can have any combination of these quirks:
- Is little endian (bytes are reversed within a 32-bit group)
- The least-significant 32-bit word comes first (within a 64-bit
group)
- The most significant bit of a byte is at its right (bit 0 of a
register description is numerically 2^7).
Drivers may use these helpers to match the bit indices as described
in the data sheets of the peripherals they are in control of.
When in doubt, say N.
- Selects
BITREVERSE
If PACKING
CONFIG_PACKING_KUNIT_TEST KUnit tests for packing library
- Off
- Module
- Built in
This builds KUnit tests for the packing library.
For more information on KUnit and unit tests in general, please refer to the KUnit documentation in Documentation/dev-tools/kunit/.
When in doubt, say N.
CONFIG_BITREVERSE
- Off
- Module
- Built in
- Selects
GENERIC_BITREVERSE if !HAVE_ARCH_BITREVERSE
CONFIG_HAVE_ARCH_BITREVERSE
This option enables the use of hardware bit-reversal instructions on architectures which support such operations.
- Depends on
BITREVERSE
CONFIG_GENERIC_BITREVERSE
- Off
- Module
- Built in
Generic bit reversal implementation. Drivers should never enable it explicitly. Instead, enable BITREVERSE.
Architectures may want to select it as a fall-back option for HAVE_ARCH_BITREVERSE, when the hardware-accelerated bit reverse instruction set is optional, like RISC-V ZBKB extension.
- Depends on
BITREVERSE
CONFIG_ARCH_HAS_STRNCPY_FROM_USER
CONFIG_ARCH_HAS_STRNLEN_USER
CONFIG_GENERIC_STRNCPY_FROM_USER
CONFIG_GENERIC_STRNLEN_USER
CONFIG_GENERIC_NET_UTILS
CONFIG_NO_GENERIC_PCI_IOPORT_MAP
CONFIG_GENERIC_IOMAP
- Selects
GENERIC_PCI_IOMAP
CONFIG_STMP_DEVICE
CONFIG_ARCH_USE_CMPXCHG_LOCKREF
CONFIG_ARCH_HAS_FAST_MULTIPLIER
CONFIG_ARCH_USE_SYM_ANNOTATIONS
CONFIG_INDIRECT_PIO Access I/O in non-MMIO mode
On some platforms where no separate I/O space exists, there are I/O hosts which can not be accessed in MMIO mode. Using the logical PIO mechanism, the host-local I/O resource can be mapped into system logic PIO space shared with MMIO hosts, such as PCI/PCIe, then the system can access the I/O devices with the mapped-logic PIO through I/O accessors.
This way has relatively little I/O performance cost. Please make sure your devices really need this configure item enabled.
When in doubt, say N.
- Depends on
ARM64 && HAS_IOPORT
CONFIG_INDIRECT_IOMEM
This is selected by other options/architectures to provide the emulated iomem accessors.
CONFIG_INDIRECT_IOMEM_FALLBACK
If INDIRECT_IOMEM is selected, this enables falling back to plain mmio accesses when the IO memory address is not a registered emulated region.
- Depends on
INDIRECT_IOMEM
CONFIG_TRACE_MMIO_ACCESS Register read/write tracing
Create tracepoints for MMIO read/write operations. These trace events can be used for logging all MMIO read/write operations.
- Depends on
TRACING && ARCH_HAVE_TRACE_MMIO_ACCESS
CONFIG_XXHASH
- Off
- Module
- Built in
CONFIG_AUDIT_GENERIC
- Depends on
AUDIT && !
CONFIG_AUDIT_ARCH_COMPAT_GENERIC
CONFIG_AUDIT_COMPAT_GENERIC
- Depends on
AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC &&
CONFIG_842_COMPRESS
- Off
- Module
- Built in
- Selects
CRC32
CONFIG_842_DECOMPRESS
- Off
- Module
- Built in
- Selects
CRC32
CONFIG_ZLIB_INFLATE
- Off
- Module
- Built in
CONFIG_ZLIB_DEFLATE
- Off
- Module
- Built in
- Selects
BITREVERSE
CONFIG_ZLIB_DFLTCC Enable s390x DEFLATE CONVERSION CALL support for kernel zlib
Enable s390x hardware support for zlib in the kernel.
- Depends on
S390
CONFIG_LZO_COMPRESS
- Off
- Module
- Built in
CONFIG_LZO_DECOMPRESS
- Off
- Module
- Built in
CONFIG_LZ4_COMPRESS
- Off
- Module
- Built in
CONFIG_LZ4HC_COMPRESS
- Off
- Module
- Built in
CONFIG_LZ4_DECOMPRESS
- Off
- Module
- Built in
CONFIG_ZSTD_COMMON
- Off
- Module
- Built in
- Selects
XXHASH
CONFIG_ZSTD_COMPRESS
- Off
- Module
- Built in
- Selects
ZSTD_COMMON
CONFIG_ZSTD_DECOMPRESS
- Off
- Module
- Built in
- Selects
ZSTD_COMMON
CONFIG_DECOMPRESS_GZIP
- Selects
ZLIB_INFLATE
CONFIG_DECOMPRESS_BZIP2
CONFIG_DECOMPRESS_LZMA
CONFIG_DECOMPRESS_XZ
- Selects
XZ_DEC
CONFIG_DECOMPRESS_LZO
- Selects
LZO_DECOMPRESS
CONFIG_DECOMPRESS_LZ4
- Selects
LZ4_DECOMPRESS
CONFIG_DECOMPRESS_ZSTD
- Selects
ZSTD_DECOMPRESS
CONFIG_GENERIC_ALLOCATOR
CONFIG_REED_SOLOMON
- Off
- Module
- Built in
CONFIG_REED_SOLOMON_ENC8
CONFIG_REED_SOLOMON_DEC8
CONFIG_REED_SOLOMON_ENC16
CONFIG_REED_SOLOMON_DEC16
CONFIG_BCH
- Off
- Module
- Built in
- Selects
BITREVERSE
CONFIG_BCH_CONST_PARAMS
Drivers may select this option to force specific constant values for parameters 'm' (Galois field order) and 't' (error correction capability). Those specific values must be set by declaring default values for symbols BCH_CONST_M and BCH_CONST_T. Doing so will enable extra compiler optimizations, improving encoding and decoding performance up to 2x for usual (m,t) values (typically such that m*t < 200). When this option is selected, the BCH library supports only a single (m,t) configuration. This is mainly useful for NAND flash board drivers requiring known, fixed BCH parameters.
CONFIG_BCH_CONST_M
Constant value for Galois field order 'm'. If 'k' is the number of data bits to protect, 'm' should be chosen such that (k + m*t) <= 2**m - 1. Drivers should declare a default value for this symbol if they select option BCH_CONST_PARAMS.
- Range
[5 15]
CONFIG_BCH_CONST_T
Constant value for error correction capability in bits 't'. Drivers should declare a default value for this symbol if they select option BCH_CONST_PARAMS.
CONFIG_TEXTSEARCH
CONFIG_TEXTSEARCH_KMP
- Off
- Module
- Built in
CONFIG_TEXTSEARCH_BM
- Off
- Module
- Built in
CONFIG_TEXTSEARCH_FSM
- Off
- Module
- Built in
CONFIG_BTREE
CONFIG_INTERVAL_TREE
Simple, embeddable, interval-tree. Can find the start of an overlapping range in log(n) time and then iterate over all overlapping nodes. The algorithm is implemented as an augmented rbtree.
See:
Documentation/core-api/rbtree.rst
for more information.
CONFIG_INTERVAL_TREE_SPAN_ITER
- Depends on
INTERVAL_TREE
CONFIG_XARRAY_MULTI
Support entries which occupy multiple consecutive indices in the XArray.
CONFIG_ASSOCIATIVE_ARRAY
Generic associative array. Can be searched and iterated over whilst it is being modified. It is also reasonably quick to search and modify. The algorithms are non-recursive, and the trees are highly capacious.
See:
Documentation/core-api/assoc_array.rst
for more information.
CONFIG_CLOSURES
CONFIG_HAS_IOMEM
- Depends on
!NO_IOMEM
CONFIG_HAS_IOPORT
CONFIG_HAS_IOPORT_MAP
- Depends on
HAS_IOMEM && !
CONFIG_SGL_ALLOC
CONFIG_IOMMU_HELPER
CONFIG_CHECK_SIGNATURE
CONFIG_CPUMASK_OFFSTACK Force CPU masks off stack
Use dynamic allocation for cpumask_var_t, instead of putting them on the stack. This is a bit more expensive, but avoids stack overflow.
CONFIG_FORCE_NR_CPUS
CONFIG_CPU_RMAP
- Depends on
CONFIG_DQL
CONFIG_GLOB
This option provides a glob_match function for performing simple text pattern matching. It originated in the ATA code to blacklist particular drive models, but other device drivers may need similar functionality.
All drivers in the Linux kernel tree that require this function should automatically select this option. Say N unless you are compiling an out-of tree driver which tells you that it depends on this.
CONFIG_NLATTR
CONFIG_GENERIC_ATOMIC64
CONFIG_LRU_CACHE
- Off
- Module
- Built in
CONFIG_CLZ_TAB
CONFIG_IRQ_POLL IRQ polling library
Helper library to poll interrupt mitigation using polling.
CONFIG_MPILIB
- Off
- Module
- Built in
Multiprecision maths library from GnuPG. It is used to implement RSA digital signature verification, which is used by IMA/EVM digital signature extension.
- Selects
CLZ_TAB
CONFIG_SIGNATURE
- Off
- Module
- Built in
Digital signature verification. Currently only RSA is supported. Implementation is done using GnuPG MPI library
- Depends on
KEYS - Selects
CRYPTO_LIB_SHA1 if KEYS - Selects
MPILIB if KEYS
CONFIG_DIMLIB
- Off
- Module
- Built in
Dynamic Interrupt Moderation library. Implements an algorithm for dynamically changing CQ moderation values according to run time performance.
- Depends on
NET
CONFIG_LIBFDT
CONFIG_OID_REGISTRY
- Off
- Module
- Built in
Enable fast lookup object identifier registry.
CONFIG_UCS2_STRING
- Off
- Module
- Built in
CONFIG_SG_SPLIT
Provides a helper to split scatterlists into chunks, each chunk being a scatterlist. This should be selected by a driver or an API which whishes to split a scatterlist amongst multiple DMA channels.
CONFIG_SG_POOL
Provides a helper to allocate chained scatterlists. This should be selected by a driver or an API which whishes to allocate chained scatterlist.
CONFIG_ARCH_NO_SG_CHAIN
CONFIG_ARCH_HAS_PMEM_API
CONFIG_MEMREGION
CONFIG_ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION
CONFIG_GENERIC_CPU_CACHE_MAINTENANCE
CONFIG_ARCH_HAS_MEMREMAP_COMPAT_ALIGN
CONFIG_UACCESS_MEMCPY
CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE
CONFIG_ARCH_HAS_COPY_MC
CONFIG_ARCH_STACKWALK
CONFIG_STACKDEPOT
Stack depot: stack trace storage that avoids duplication
- Selects
STACKTRACE
CONFIG_STACKDEPOT_ALWAYS_INIT
Always initialize stack depot during early boot
- Selects
STACKDEPOT
CONFIG_STACKDEPOT_MAX_FRAMES Maximum number of frames in trace saved in stack depot
- Depends on
STACKDEPOT - Range
[1 256] if STACKDEPOT
CONFIG_REF_TRACKER
- Depends on
- Selects
STACKDEPOT if
CONFIG_SBITMAP
CONFIG_PARMAN parman
- Off
- Module
- Built in
CONFIG_OBJAGG objagg
- Off
- Module
- Built in
CONFIG_LWQ_TEST Boot-time test for lwq queuing
Run boot-time test of light-weight queuing.
CONFIG_GENERIC_IOREMAP
CONFIG_GENERIC_LIB_ASHLDI3
CONFIG_GENERIC_LIB_ASHRDI3
CONFIG_GENERIC_LIB_LSHRDI3
CONFIG_GENERIC_LIB_MULDI3
CONFIG_GENERIC_LIB_CMPDI2
CONFIG_GENERIC_LIB_UCMPDI2
CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED
CONFIG_PLDMFW
- Selects
CRC32
CONFIG_ASN1_ENCODER
- Off
- Module
- Built in
CONFIG_FIRMWARE_TABLE
CONFIG_UNION_FIND
CONFIG_MIN_HEAP
- 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/alpha/Kconfig:116
- arch/arc/Kconfig:82
- arch/arm/Kconfig:222
- arch/arm64/Kconfig:331
- arch/csky/Kconfig:163
- arch/hexagon/Kconfig:69
- arch/loongarch/Kconfig:282
- arch/microblaze/Kconfig:81
- arch/mips/Kconfig:3001
- arch/openrisc/Kconfig:68
- arch/parisc/Kconfig:167
- arch/powerpc/Kconfig:101
- arch/riscv/Kconfig:320
- arch/s390/Kconfig:11
- arch/sh/Kconfig:111
- arch/sparc/Kconfig:125
- arch/um/Kconfig:81
- arch/x86/Kconfig:353
- arch/xtensa/Kconfig:91