2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2005-04-16 15:20:36 -07:00
|
|
|
#
|
|
|
|
|
# Library configuration
|
|
|
|
|
#
|
|
|
|
|
|
2009-03-06 17:21:46 +01:00
|
|
|
config BINARY_PRINTF
|
|
|
|
|
def_bool n
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
menu "Library routines"
|
|
|
|
|
|
2009-07-13 11:35:12 +01:00
|
|
|
config RAID6_PQ
|
|
|
|
|
tristate
|
|
|
|
|
|
2018-11-12 15:26:52 -08:00
|
|
|
config RAID6_PQ_BENCHMARK
|
|
|
|
|
bool "Automatically choose fastest RAID6 PQ functions"
|
|
|
|
|
depends on RAID6_PQ
|
|
|
|
|
default y
|
|
|
|
|
help
|
|
|
|
|
Benchmark all available RAID6 PQ functions on init and choose the
|
|
|
|
|
fastest one.
|
|
|
|
|
|
2020-05-08 18:39:35 +03:00
|
|
|
config LINEAR_RANGES
|
|
|
|
|
tristate
|
|
|
|
|
|
2019-05-02 23:23:29 +03:00
|
|
|
config PACKING
|
|
|
|
|
bool "Generic bitfield packing and unpacking"
|
2022-12-10 03:44:23 +03:00
|
|
|
select BITREVERSE
|
2019-05-02 23:23:29 +03:00
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
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.
|
|
|
|
|
|
2024-10-02 14:51:55 -07:00
|
|
|
config PACKING_KUNIT_TEST
|
|
|
|
|
tristate "KUnit tests for packing library" if !KUNIT_ALL_TESTS
|
|
|
|
|
depends on PACKING && KUNIT
|
|
|
|
|
default KUNIT_ALL_TESTS
|
|
|
|
|
help
|
|
|
|
|
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.
|
|
|
|
|
|
2006-12-08 02:36:25 -08:00
|
|
|
config BITREVERSE
|
|
|
|
|
tristate
|
|
|
|
|
|
2014-11-03 03:01:03 +01:00
|
|
|
config HAVE_ARCH_BITREVERSE
|
2015-02-16 16:00:20 -08:00
|
|
|
bool
|
2014-11-03 03:01:03 +01:00
|
|
|
default n
|
|
|
|
|
help
|
2015-04-16 12:49:07 -07:00
|
|
|
This option enables the use of hardware bit-reversal instructions on
|
|
|
|
|
architectures which support such operations.
|
2014-11-03 03:01:03 +01:00
|
|
|
|
2021-05-17 09:22:34 +02:00
|
|
|
config ARCH_HAS_STRNCPY_FROM_USER
|
2012-05-24 13:12:28 -07:00
|
|
|
bool
|
|
|
|
|
|
2021-05-17 09:22:34 +02:00
|
|
|
config ARCH_HAS_STRNLEN_USER
|
2012-05-26 11:06:38 -07:00
|
|
|
bool
|
|
|
|
|
|
2021-05-17 09:22:34 +02:00
|
|
|
config GENERIC_STRNCPY_FROM_USER
|
|
|
|
|
def_bool !ARCH_HAS_STRNCPY_FROM_USER
|
|
|
|
|
|
|
|
|
|
config GENERIC_STRNLEN_USER
|
|
|
|
|
def_bool !ARCH_HAS_STRNLEN_USER
|
|
|
|
|
|
2013-06-04 19:46:26 +03:00
|
|
|
config GENERIC_NET_UTILS
|
|
|
|
|
bool
|
|
|
|
|
|
2019-05-14 15:43:05 -07:00
|
|
|
source "lib/math/Kconfig"
|
|
|
|
|
|
2012-01-30 00:20:48 +02:00
|
|
|
config NO_GENERIC_PCI_IOPORT_MAP
|
|
|
|
|
bool
|
|
|
|
|
|
2011-11-24 14:54:28 +02:00
|
|
|
config GENERIC_IOMAP
|
|
|
|
|
bool
|
2011-11-24 20:45:20 +02:00
|
|
|
select GENERIC_PCI_IOMAP
|
2011-11-24 14:54:28 +02:00
|
|
|
|
2011-08-31 20:35:40 +02:00
|
|
|
config STMP_DEVICE
|
|
|
|
|
bool
|
2012-12-17 16:01:39 -08:00
|
|
|
|
2013-09-02 12:12:15 -07:00
|
|
|
config ARCH_USE_CMPXCHG_LOCKREF
|
|
|
|
|
bool
|
|
|
|
|
|
2014-09-13 11:14:53 -07:00
|
|
|
config ARCH_HAS_FAST_MULTIPLIER
|
|
|
|
|
bool
|
|
|
|
|
|
2020-04-16 19:24:02 +01:00
|
|
|
config ARCH_USE_SYM_ANNOTATIONS
|
|
|
|
|
bool
|
|
|
|
|
|
2018-03-15 02:15:50 +08:00
|
|
|
config INDIRECT_PIO
|
|
|
|
|
bool "Access I/O in non-MMIO mode"
|
|
|
|
|
depends on ARM64
|
2023-03-23 17:33:52 +01:00
|
|
|
depends on HAS_IOPORT
|
2018-03-15 02:15:50 +08:00
|
|
|
help
|
|
|
|
|
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.
|
|
|
|
|
|
2021-03-05 13:19:52 +01:00
|
|
|
config INDIRECT_IOMEM
|
|
|
|
|
bool
|
|
|
|
|
help
|
|
|
|
|
This is selected by other options/architectures to provide the
|
|
|
|
|
emulated iomem accessors.
|
|
|
|
|
|
|
|
|
|
config INDIRECT_IOMEM_FALLBACK
|
|
|
|
|
bool
|
|
|
|
|
depends on INDIRECT_IOMEM
|
|
|
|
|
help
|
|
|
|
|
If INDIRECT_IOMEM is selected, this enables falling back to plain
|
|
|
|
|
mmio accesses when the IO memory address is not a registered
|
|
|
|
|
emulated region.
|
|
|
|
|
|
2022-05-18 22:14:14 +05:30
|
|
|
config TRACE_MMIO_ACCESS
|
|
|
|
|
bool "Register read/write tracing"
|
|
|
|
|
depends on TRACING && ARCH_HAVE_TRACE_MMIO_ACCESS
|
|
|
|
|
help
|
|
|
|
|
Create tracepoints for MMIO read/write operations. These trace events
|
|
|
|
|
can be used for logging all MMIO read/write operations.
|
|
|
|
|
|
2025-06-07 13:04:43 -07:00
|
|
|
source "lib/crc/Kconfig"
|
2022-01-12 08:01:38 -06:00
|
|
|
source "lib/crypto/Kconfig"
|
2026-03-27 07:16:37 +01:00
|
|
|
source "lib/raid/Kconfig"
|
2022-01-12 08:01:38 -06:00
|
|
|
|
2017-08-04 13:19:17 -07:00
|
|
|
config XXHASH
|
|
|
|
|
tristate
|
|
|
|
|
|
2006-09-12 03:04:40 -04:00
|
|
|
config AUDIT_GENERIC
|
|
|
|
|
bool
|
|
|
|
|
depends on AUDIT && !AUDIT_ARCH
|
|
|
|
|
default y
|
|
|
|
|
|
2014-03-15 14:48:00 +09:00
|
|
|
config AUDIT_ARCH_COMPAT_GENERIC
|
|
|
|
|
bool
|
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
config AUDIT_COMPAT_GENERIC
|
|
|
|
|
bool
|
|
|
|
|
depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
|
|
|
|
|
default y
|
|
|
|
|
|
2013-11-11 12:20:37 +01:00
|
|
|
config RANDOM32_SELFTEST
|
|
|
|
|
bool "PRNG perform self test on init"
|
|
|
|
|
help
|
|
|
|
|
This option enables the 32 bit PRNG library functions to perform a
|
|
|
|
|
self test on initialization.
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#
|
|
|
|
|
# compression support is select'ed if needed
|
|
|
|
|
#
|
2015-05-07 13:49:14 -04:00
|
|
|
config 842_COMPRESS
|
2016-01-13 23:24:02 +01:00
|
|
|
select CRC32
|
2015-05-07 13:49:14 -04:00
|
|
|
tristate
|
|
|
|
|
|
|
|
|
|
config 842_DECOMPRESS
|
2016-01-13 23:24:02 +01:00
|
|
|
select CRC32
|
2015-05-07 13:49:14 -04:00
|
|
|
tristate
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
config ZLIB_INFLATE
|
|
|
|
|
tristate
|
|
|
|
|
|
|
|
|
|
config ZLIB_DEFLATE
|
|
|
|
|
tristate
|
2015-10-15 15:28:35 -07:00
|
|
|
select BITREVERSE
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2020-01-30 22:16:17 -08:00
|
|
|
config ZLIB_DFLTCC
|
|
|
|
|
def_bool y
|
|
|
|
|
depends on S390
|
|
|
|
|
prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib"
|
|
|
|
|
help
|
|
|
|
|
Enable s390x hardware support for zlib in the kernel.
|
|
|
|
|
|
2007-07-10 17:22:24 -07:00
|
|
|
config LZO_COMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
|
|
|
|
config LZO_DECOMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
2013-07-08 16:01:49 -07:00
|
|
|
config LZ4_COMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
|
|
|
|
config LZ4HC_COMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
2013-07-08 16:01:46 -07:00
|
|
|
config LZ4_DECOMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
2022-09-29 12:08:23 +10:00
|
|
|
config ZSTD_COMMON
|
2017-08-09 19:35:53 -07:00
|
|
|
select XXHASH
|
|
|
|
|
tristate
|
|
|
|
|
|
2022-09-29 12:08:23 +10:00
|
|
|
config ZSTD_COMPRESS
|
|
|
|
|
select ZSTD_COMMON
|
|
|
|
|
tristate
|
|
|
|
|
|
2017-08-09 19:35:53 -07:00
|
|
|
config ZSTD_DECOMPRESS
|
2022-09-29 12:08:23 +10:00
|
|
|
select ZSTD_COMMON
|
2017-08-09 19:35:53 -07:00
|
|
|
tristate
|
|
|
|
|
|
2011-01-12 17:01:22 -08:00
|
|
|
source "lib/xz/Kconfig"
|
|
|
|
|
|
2009-01-05 13:48:31 -08:00
|
|
|
#
|
|
|
|
|
# These all provide a common interface (hence the apparent duplication with
|
|
|
|
|
# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
|
|
|
|
|
#
|
|
|
|
|
config DECOMPRESS_GZIP
|
2009-01-07 00:01:43 -08:00
|
|
|
select ZLIB_INFLATE
|
2009-01-05 13:48:31 -08:00
|
|
|
tristate
|
|
|
|
|
|
|
|
|
|
config DECOMPRESS_BZIP2
|
|
|
|
|
tristate
|
|
|
|
|
|
|
|
|
|
config DECOMPRESS_LZMA
|
|
|
|
|
tristate
|
|
|
|
|
|
2011-01-12 17:01:23 -08:00
|
|
|
config DECOMPRESS_XZ
|
|
|
|
|
select XZ_DEC
|
|
|
|
|
tristate
|
|
|
|
|
|
2010-01-08 14:42:46 -08:00
|
|
|
config DECOMPRESS_LZO
|
|
|
|
|
select LZO_DECOMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
2013-07-08 16:01:46 -07:00
|
|
|
config DECOMPRESS_LZ4
|
|
|
|
|
select LZ4_DECOMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
2020-07-30 12:08:35 -07:00
|
|
|
config DECOMPRESS_ZSTD
|
|
|
|
|
select ZSTD_DECOMPRESS
|
|
|
|
|
tristate
|
|
|
|
|
|
2005-06-21 17:15:02 -07:00
|
|
|
#
|
|
|
|
|
# Generic allocator support is selected if needed
|
|
|
|
|
#
|
|
|
|
|
config GENERIC_ALLOCATOR
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2005-06-21 17:15:02 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#
|
|
|
|
|
# reed solomon support is select'ed if needed
|
|
|
|
|
#
|
|
|
|
|
config REED_SOLOMON
|
|
|
|
|
tristate
|
|
|
|
|
|
|
|
|
|
config REED_SOLOMON_ENC8
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
config REED_SOLOMON_DEC8
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
config REED_SOLOMON_ENC16
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
config REED_SOLOMON_DEC16
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2011-03-11 11:05:32 +01:00
|
|
|
#
|
|
|
|
|
# BCH support is selected if needed
|
|
|
|
|
#
|
|
|
|
|
config BCH
|
|
|
|
|
tristate
|
2023-07-30 16:17:17 +08:00
|
|
|
select BITREVERSE
|
2011-03-11 11:05:32 +01:00
|
|
|
|
|
|
|
|
config BCH_CONST_PARAMS
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2011-03-11 11:05:32 +01:00
|
|
|
help
|
|
|
|
|
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
|
|
|
|
|
int
|
|
|
|
|
range 5 15
|
|
|
|
|
help
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
config BCH_CONST_T
|
|
|
|
|
int
|
|
|
|
|
help
|
|
|
|
|
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.
|
|
|
|
|
|
2005-06-24 17:39:03 -07:00
|
|
|
#
|
|
|
|
|
# Textsearch support is select'ed if needed
|
|
|
|
|
#
|
2005-06-23 20:49:30 -07:00
|
|
|
config TEXTSEARCH
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-06-23 20:58:37 -07:00
|
|
|
config TEXTSEARCH_KMP
|
2005-06-24 17:39:03 -07:00
|
|
|
tristate
|
2005-06-23 20:58:37 -07:00
|
|
|
|
2005-08-25 16:12:22 -07:00
|
|
|
config TEXTSEARCH_BM
|
2005-08-25 16:23:11 -07:00
|
|
|
tristate
|
2005-08-25 16:12:22 -07:00
|
|
|
|
2005-06-23 20:59:16 -07:00
|
|
|
config TEXTSEARCH_FSM
|
2005-06-24 17:39:03 -07:00
|
|
|
tristate
|
2005-06-23 20:59:16 -07:00
|
|
|
|
2009-11-20 20:13:39 +01:00
|
|
|
config BTREE
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2009-11-20 20:13:39 +01:00
|
|
|
|
2014-03-17 12:21:54 +00:00
|
|
|
config INTERVAL_TREE
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2014-03-17 12:21:54 +00:00
|
|
|
help
|
|
|
|
|
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:
|
|
|
|
|
|
2020-04-01 10:33:43 -07:00
|
|
|
Documentation/core-api/rbtree.rst
|
2014-03-17 12:21:54 +00:00
|
|
|
|
|
|
|
|
for more information.
|
|
|
|
|
|
2022-11-29 16:29:26 -04:00
|
|
|
config INTERVAL_TREE_SPAN_ITER
|
|
|
|
|
bool
|
|
|
|
|
depends on INTERVAL_TREE
|
|
|
|
|
|
2017-11-03 23:09:45 -04:00
|
|
|
config XARRAY_MULTI
|
2016-05-20 17:01:54 -07:00
|
|
|
bool
|
2017-11-03 23:09:45 -04:00
|
|
|
help
|
|
|
|
|
Support entries which occupy multiple consecutive indices in the
|
|
|
|
|
XArray.
|
2016-05-20 17:01:54 -07:00
|
|
|
|
2013-09-24 10:35:17 +01:00
|
|
|
config ASSOCIATIVE_ARRAY
|
|
|
|
|
bool
|
|
|
|
|
help
|
|
|
|
|
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:
|
|
|
|
|
|
2018-05-08 15:14:57 -03:00
|
|
|
Documentation/core-api/assoc_array.rst
|
2013-09-24 10:35:17 +01:00
|
|
|
|
|
|
|
|
for more information.
|
|
|
|
|
|
2017-03-17 16:35:23 -08:00
|
|
|
config CLOSURES
|
|
|
|
|
bool
|
|
|
|
|
|
2007-02-11 15:41:31 +00:00
|
|
|
config HAS_IOMEM
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2007-02-11 15:41:31 +00:00
|
|
|
depends on !NO_IOMEM
|
|
|
|
|
default y
|
|
|
|
|
|
2023-03-23 17:33:52 +01:00
|
|
|
config HAS_IOPORT
|
|
|
|
|
bool
|
|
|
|
|
|
2014-04-07 15:39:19 -07:00
|
|
|
config HAS_IOPORT_MAP
|
2014-12-20 15:41:11 -05:00
|
|
|
bool
|
2014-04-07 15:39:19 -07:00
|
|
|
depends on HAS_IOMEM && !NO_IOPORT_MAP
|
2006-12-13 00:35:00 -08:00
|
|
|
default y
|
|
|
|
|
|
2018-06-12 19:01:45 +02:00
|
|
|
source "kernel/dma/Kconfig"
|
2007-05-06 14:49:09 -07:00
|
|
|
|
2018-01-05 08:26:46 -08:00
|
|
|
config SGL_ALLOC
|
|
|
|
|
bool
|
|
|
|
|
default n
|
|
|
|
|
|
2018-04-03 15:47:59 +02:00
|
|
|
config IOMMU_HELPER
|
|
|
|
|
bool
|
|
|
|
|
|
2007-08-22 14:01:36 -07:00
|
|
|
config CHECK_SIGNATURE
|
|
|
|
|
bool
|
|
|
|
|
|
2008-12-13 21:20:27 +10:30
|
|
|
config CPUMASK_OFFSTACK
|
|
|
|
|
bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
|
|
|
|
|
help
|
|
|
|
|
Use dynamic allocation for cpumask_var_t, instead of putting
|
|
|
|
|
them on the stack. This is a bit more expensive, but avoids
|
|
|
|
|
stack overflow.
|
|
|
|
|
|
2022-09-05 16:08:20 -07:00
|
|
|
config FORCE_NR_CPUS
|
2024-06-18 09:00:04 -07:00
|
|
|
def_bool !SMP
|
2022-09-05 16:08:20 -07:00
|
|
|
|
2011-01-19 11:03:25 +00:00
|
|
|
config CPU_RMAP
|
|
|
|
|
bool
|
|
|
|
|
depends on SMP
|
|
|
|
|
|
2011-11-28 16:32:35 +00:00
|
|
|
config DQL
|
|
|
|
|
bool
|
|
|
|
|
|
2014-08-06 16:09:23 -07:00
|
|
|
config GLOB
|
|
|
|
|
bool
|
|
|
|
|
# This actually supports modular compilation, but the module overhead
|
|
|
|
|
# is ridiculous for the amount of code involved. Until an out-of-tree
|
|
|
|
|
# driver asks for it, we'll just link it directly it into the kernel
|
|
|
|
|
# when required. Since we're ignoring out-of-tree users, there's also
|
|
|
|
|
# no need bother prompting for a manual decision:
|
|
|
|
|
# prompt "glob_match() function"
|
|
|
|
|
help
|
|
|
|
|
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.
|
|
|
|
|
|
2009-03-04 14:53:30 +08:00
|
|
|
#
|
|
|
|
|
# Netlink attribute parsing support is select'ed if needed
|
|
|
|
|
#
|
|
|
|
|
config NLATTR
|
|
|
|
|
bool
|
|
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
#
|
|
|
|
|
# Generic 64-bit atomic support is selected if needed
|
|
|
|
|
#
|
|
|
|
|
config GENERIC_ATOMIC64
|
|
|
|
|
bool
|
|
|
|
|
|
2009-09-25 16:07:19 -07:00
|
|
|
config LRU_CACHE
|
|
|
|
|
tristate
|
|
|
|
|
|
2012-02-02 00:17:54 +02:00
|
|
|
config CLZ_TAB
|
|
|
|
|
bool
|
|
|
|
|
|
2015-11-10 14:56:14 +01:00
|
|
|
config IRQ_POLL
|
|
|
|
|
bool "IRQ polling library"
|
|
|
|
|
help
|
|
|
|
|
Helper library to poll interrupt mitigation using polling.
|
|
|
|
|
|
2011-08-31 14:05:16 +03:00
|
|
|
config MPILIB
|
2012-01-17 17:12:06 +02:00
|
|
|
tristate
|
2012-02-02 00:17:54 +02:00
|
|
|
select CLZ_TAB
|
2011-08-31 14:05:16 +03:00
|
|
|
help
|
|
|
|
|
Multiprecision maths library from GnuPG.
|
|
|
|
|
It is used to implement RSA digital signature verification,
|
|
|
|
|
which is used by IMA/EVM digital signature extension.
|
|
|
|
|
|
2012-01-17 17:12:03 +02:00
|
|
|
config SIGNATURE
|
2012-01-17 17:12:06 +02:00
|
|
|
tristate
|
2014-07-11 18:59:45 +03:00
|
|
|
depends on KEYS
|
2025-08-14 19:17:33 -07:00
|
|
|
select CRYPTO_LIB_SHA1
|
2011-10-14 15:25:16 +03:00
|
|
|
select MPILIB
|
|
|
|
|
help
|
|
|
|
|
Digital signature verification. Currently only RSA is supported.
|
|
|
|
|
Implementation is done using GnuPG MPI library
|
|
|
|
|
|
2019-01-10 17:33:17 +02:00
|
|
|
config DIMLIB
|
2024-05-06 10:50:40 -07:00
|
|
|
tristate
|
2024-06-21 18:13:50 +08:00
|
|
|
depends on NET
|
2019-01-10 17:33:17 +02:00
|
|
|
help
|
|
|
|
|
Dynamic Interrupt Moderation library.
|
2019-09-25 17:20:42 -07:00
|
|
|
Implements an algorithm for dynamically changing CQ moderation values
|
2019-01-10 17:33:17 +02:00
|
|
|
according to run time performance.
|
|
|
|
|
|
2012-07-05 18:12:38 +02:00
|
|
|
#
|
|
|
|
|
# libfdt files, only selected if needed.
|
|
|
|
|
#
|
|
|
|
|
config LIBFDT
|
|
|
|
|
bool
|
|
|
|
|
|
2012-09-21 23:30:46 +01:00
|
|
|
config OID_REGISTRY
|
|
|
|
|
tristate
|
|
|
|
|
help
|
|
|
|
|
Enable fast lookup object identifier registry.
|
|
|
|
|
|
2013-04-15 13:09:45 -07:00
|
|
|
config UCS2_STRING
|
2019-12-06 17:04:08 -08:00
|
|
|
tristate
|
2013-04-15 13:09:45 -07:00
|
|
|
|
2019-06-21 10:52:29 +01:00
|
|
|
#
|
|
|
|
|
# generic vdso
|
|
|
|
|
#
|
|
|
|
|
source "lib/vdso/Kconfig"
|
|
|
|
|
|
2013-06-09 11:46:43 +02:00
|
|
|
source "lib/fonts/Kconfig"
|
|
|
|
|
|
2015-08-08 10:44:10 +02:00
|
|
|
config SG_SPLIT
|
|
|
|
|
def_bool n
|
|
|
|
|
help
|
2015-09-04 12:45:05 +02:00
|
|
|
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.
|
2015-08-08 10:44:10 +02:00
|
|
|
|
2016-04-04 14:48:11 -07:00
|
|
|
config SG_POOL
|
|
|
|
|
def_bool n
|
|
|
|
|
help
|
|
|
|
|
Provides a helper to allocate chained scatterlists. This should be
|
|
|
|
|
selected by a driver or an API which whishes to allocate chained
|
|
|
|
|
scatterlist.
|
|
|
|
|
|
2014-08-08 14:23:25 -07:00
|
|
|
#
|
|
|
|
|
# sg chaining option
|
|
|
|
|
#
|
|
|
|
|
|
2018-11-09 09:51:00 +01:00
|
|
|
config ARCH_NO_SG_CHAIN
|
2014-08-08 14:23:25 -07:00
|
|
|
def_bool n
|
|
|
|
|
|
2015-06-25 03:08:39 -04:00
|
|
|
config ARCH_HAS_PMEM_API
|
|
|
|
|
bool
|
|
|
|
|
|
2019-11-06 17:43:31 -08:00
|
|
|
config MEMREGION
|
|
|
|
|
bool
|
|
|
|
|
|
2022-10-28 11:34:04 -07:00
|
|
|
config ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION
|
|
|
|
|
bool
|
|
|
|
|
|
2025-11-17 10:47:56 +00:00
|
|
|
config GENERIC_CPU_CACHE_MAINTENANCE
|
|
|
|
|
bool
|
|
|
|
|
|
2020-01-30 12:06:07 -08:00
|
|
|
config ARCH_HAS_MEMREMAP_COMPAT_ALIGN
|
|
|
|
|
bool
|
|
|
|
|
|
2019-04-23 18:38:08 +02:00
|
|
|
# use memcpy to implement user copies for nommu architectures
|
|
|
|
|
config UACCESS_MEMCPY
|
|
|
|
|
bool
|
|
|
|
|
|
2017-05-29 12:22:50 -07:00
|
|
|
config ARCH_HAS_UACCESS_FLUSHCACHE
|
|
|
|
|
bool
|
|
|
|
|
|
2020-10-05 20:40:16 -07:00
|
|
|
# arch has a concept of a recoverable synchronous exception due to a
|
|
|
|
|
# memory-read error like x86 machine-check or ARM data-abort, and
|
|
|
|
|
# implements copy_mc_to_{user,kernel} to abort and report
|
|
|
|
|
# 'bytes-transferred' if that exception fires when accessing the source
|
|
|
|
|
# buffer.
|
|
|
|
|
config ARCH_HAS_COPY_MC
|
2018-05-22 23:17:03 -07:00
|
|
|
bool
|
|
|
|
|
|
2019-04-25 11:45:21 +02:00
|
|
|
# Temporary. Goes away when all archs are cleaned up
|
|
|
|
|
config ARCH_STACKWALK
|
|
|
|
|
bool
|
|
|
|
|
|
2016-03-25 14:22:08 -07:00
|
|
|
config STACKDEPOT
|
|
|
|
|
bool
|
|
|
|
|
select STACKTRACE
|
2023-11-20 18:47:04 +01:00
|
|
|
help
|
|
|
|
|
Stack depot: stack trace storage that avoids duplication
|
2016-03-25 14:22:08 -07:00
|
|
|
|
2022-01-21 22:14:27 -08:00
|
|
|
config STACKDEPOT_ALWAYS_INIT
|
|
|
|
|
bool
|
|
|
|
|
select STACKDEPOT
|
2023-11-20 18:47:04 +01:00
|
|
|
help
|
|
|
|
|
Always initialize stack depot during early boot
|
|
|
|
|
|
|
|
|
|
config STACKDEPOT_MAX_FRAMES
|
|
|
|
|
int "Maximum number of frames in trace saved in stack depot"
|
|
|
|
|
range 1 256
|
|
|
|
|
default 64
|
|
|
|
|
depends on STACKDEPOT
|
2022-01-21 22:14:27 -08:00
|
|
|
|
2021-12-04 20:21:55 -08:00
|
|
|
config REF_TRACKER
|
|
|
|
|
bool
|
|
|
|
|
depends on STACKTRACE_SUPPORT
|
|
|
|
|
select STACKDEPOT
|
|
|
|
|
|
2016-09-17 08:38:44 -06:00
|
|
|
config SBITMAP
|
|
|
|
|
bool
|
|
|
|
|
|
2017-02-03 10:29:06 +01:00
|
|
|
config PARMAN
|
2017-02-24 11:25:55 +01:00
|
|
|
tristate "parman" if COMPILE_TEST
|
2017-02-03 10:29:06 +01:00
|
|
|
|
2019-09-09 14:54:21 -07:00
|
|
|
config OBJAGG
|
|
|
|
|
tristate "objagg" if COMPILE_TEST
|
|
|
|
|
|
2023-09-11 10:39:43 -04:00
|
|
|
config LWQ_TEST
|
|
|
|
|
bool "Boot-time test for lwq queuing"
|
|
|
|
|
help
|
|
|
|
|
Run boot-time test of light-weight queuing.
|
|
|
|
|
|
2005-06-23 20:49:30 -07:00
|
|
|
endmenu
|
2017-05-23 10:28:26 -07:00
|
|
|
|
2019-08-13 11:24:04 +02:00
|
|
|
config GENERIC_IOREMAP
|
|
|
|
|
bool
|
|
|
|
|
|
2018-04-11 08:50:17 +01:00
|
|
|
config GENERIC_LIB_ASHLDI3
|
2017-05-23 10:28:26 -07:00
|
|
|
bool
|
|
|
|
|
|
2018-04-11 08:50:17 +01:00
|
|
|
config GENERIC_LIB_ASHRDI3
|
2017-05-23 10:28:26 -07:00
|
|
|
bool
|
|
|
|
|
|
2018-04-11 08:50:17 +01:00
|
|
|
config GENERIC_LIB_LSHRDI3
|
2017-05-23 10:28:26 -07:00
|
|
|
bool
|
|
|
|
|
|
2018-04-11 08:50:17 +01:00
|
|
|
config GENERIC_LIB_MULDI3
|
2017-05-23 10:28:26 -07:00
|
|
|
bool
|
|
|
|
|
|
2018-04-11 08:50:17 +01:00
|
|
|
config GENERIC_LIB_CMPDI2
|
2017-05-23 10:28:26 -07:00
|
|
|
bool
|
|
|
|
|
|
2018-04-11 08:50:17 +01:00
|
|
|
config GENERIC_LIB_UCMPDI2
|
2017-05-23 10:28:26 -07:00
|
|
|
bool
|
2020-07-23 17:21:59 -07:00
|
|
|
|
2020-07-09 11:43:21 -07:00
|
|
|
config GENERIC_LIB_DEVMEM_IS_ALLOWED
|
|
|
|
|
bool
|
|
|
|
|
|
2020-07-23 17:21:59 -07:00
|
|
|
config PLDMFW
|
|
|
|
|
bool
|
2025-06-13 17:46:20 +01:00
|
|
|
select CRC32
|
2020-07-23 17:21:59 -07:00
|
|
|
default n
|
2021-01-27 11:06:13 -08:00
|
|
|
|
|
|
|
|
config ASN1_ENCODER
|
|
|
|
|
tristate
|
2022-04-01 23:40:29 +02:00
|
|
|
|
2023-10-12 11:53:54 -07:00
|
|
|
config FIRMWARE_TABLE
|
|
|
|
|
bool
|
2024-10-11 22:12:14 +08:00
|
|
|
|
|
|
|
|
config UNION_FIND
|
|
|
|
|
bool
|
2024-10-20 12:01:51 +08:00
|
|
|
|
|
|
|
|
config MIN_HEAP
|
|
|
|
|
bool
|