1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Library configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 64370aa4aSLai Jiangshanconfig BINARY_PRINTF 74370aa4aSLai Jiangshan def_bool n 84370aa4aSLai Jiangshan 91da177e4SLinus Torvaldsmenu "Library routines" 101da177e4SLinus Torvalds 11f5e70d0fSDavid Woodhouseconfig RAID6_PQ 12f5e70d0fSDavid Woodhouse tristate 13f5e70d0fSDavid Woodhouse 14be85f93aSDaniel Verkampconfig RAID6_PQ_BENCHMARK 15be85f93aSDaniel Verkamp bool "Automatically choose fastest RAID6 PQ functions" 16be85f93aSDaniel Verkamp depends on RAID6_PQ 17be85f93aSDaniel Verkamp default y 18be85f93aSDaniel Verkamp help 19be85f93aSDaniel Verkamp Benchmark all available RAID6 PQ functions on init and choose the 20be85f93aSDaniel Verkamp fastest one. 21be85f93aSDaniel Verkamp 22d2218d4eSMatti Vaittinenconfig LINEAR_RANGES 23d2218d4eSMatti Vaittinen tristate 24d2218d4eSMatti Vaittinen 25554aae35SVladimir Olteanconfig PACKING 26554aae35SVladimir Oltean bool "Generic bitfield packing and unpacking" 271280d4b7SUladzislau Koshchanka select BITREVERSE 28554aae35SVladimir Oltean default n 29554aae35SVladimir Oltean help 30554aae35SVladimir Oltean This option provides the packing() helper function, which permits 31554aae35SVladimir Oltean converting bitfields between a CPU-usable representation and a 32554aae35SVladimir Oltean memory representation that can have any combination of these quirks: 33554aae35SVladimir Oltean - Is little endian (bytes are reversed within a 32-bit group) 34554aae35SVladimir Oltean - The least-significant 32-bit word comes first (within a 64-bit 35554aae35SVladimir Oltean group) 36554aae35SVladimir Oltean - The most significant bit of a byte is at its right (bit 0 of a 37554aae35SVladimir Oltean register description is numerically 2^7). 38554aae35SVladimir Oltean Drivers may use these helpers to match the bit indices as described 39554aae35SVladimir Oltean in the data sheets of the peripherals they are in control of. 40554aae35SVladimir Oltean 41554aae35SVladimir Oltean When in doubt, say N. 42554aae35SVladimir Oltean 43e9502ea6SJacob Kellerconfig PACKING_KUNIT_TEST 44e9502ea6SJacob Keller tristate "KUnit tests for packing library" if !KUNIT_ALL_TESTS 45e9502ea6SJacob Keller depends on PACKING && KUNIT 46e9502ea6SJacob Keller default KUNIT_ALL_TESTS 47e9502ea6SJacob Keller help 48e9502ea6SJacob Keller This builds KUnit tests for the packing library. 49e9502ea6SJacob Keller 50e9502ea6SJacob Keller For more information on KUnit and unit tests in general, 51e9502ea6SJacob Keller please refer to the KUnit documentation in Documentation/dev-tools/kunit/. 52e9502ea6SJacob Keller 53e9502ea6SJacob Keller When in doubt, say N. 54e9502ea6SJacob Keller 55a5cfc1ecSAkinobu Mitaconfig BITREVERSE 56a5cfc1ecSAkinobu Mita tristate 57a5cfc1ecSAkinobu Mita 58556d2f05SYalin Wangconfig HAVE_ARCH_BITREVERSE 59841c0090SChristoph Jaeger bool 60556d2f05SYalin Wang default n 61556d2f05SYalin Wang help 629e522c0dSAndrew Morton This option enables the use of hardware bit-reversal instructions on 639e522c0dSAndrew Morton architectures which support such operations. 64556d2f05SYalin Wang 65e6226997SArnd Bergmannconfig ARCH_HAS_STRNCPY_FROM_USER 662922585bSDavid S. Miller bool 672922585bSDavid S. Miller 68e6226997SArnd Bergmannconfig ARCH_HAS_STRNLEN_USER 69a08c5356SLinus Torvalds bool 70a08c5356SLinus Torvalds 71e6226997SArnd Bergmannconfig GENERIC_STRNCPY_FROM_USER 72e6226997SArnd Bergmann def_bool !ARCH_HAS_STRNCPY_FROM_USER 73e6226997SArnd Bergmann 74e6226997SArnd Bergmannconfig GENERIC_STRNLEN_USER 75e6226997SArnd Bergmann def_bool !ARCH_HAS_STRNLEN_USER 76e6226997SArnd Bergmann 774cd5773aSAndy Shevchenkoconfig GENERIC_NET_UTILS 784cd5773aSAndy Shevchenko bool 794cd5773aSAndy Shevchenko 802c64e9cbSAndy Shevchenkosource "lib/math/Kconfig" 812c64e9cbSAndy Shevchenko 82b923650bSMichael S. Tsirkinconfig NO_GENERIC_PCI_IOPORT_MAP 83b923650bSMichael S. Tsirkin bool 84b923650bSMichael S. Tsirkin 854673ca8eSMichael S. Tsirkinconfig GENERIC_IOMAP 864673ca8eSMichael S. Tsirkin bool 8766eab4dfSMichael S. Tsirkin select GENERIC_PCI_IOMAP 884673ca8eSMichael S. Tsirkin 894ccf4beaSWolfram Sangconfig STMP_DEVICE 904ccf4beaSWolfram Sang bool 914ccf4beaSWolfram Sang 92bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF 93bc08b449SLinus Torvalds bool 94bc08b449SLinus Torvalds 9572d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER 9672d93104SLinus Torvalds bool 9772d93104SLinus Torvalds 982ce0d7f9SMark Brownconfig ARCH_USE_SYM_ANNOTATIONS 992ce0d7f9SMark Brown bool 1002ce0d7f9SMark Brown 101031e3601SZhichang Yuanconfig INDIRECT_PIO 102031e3601SZhichang Yuan bool "Access I/O in non-MMIO mode" 103031e3601SZhichang Yuan depends on ARM64 104fcbfe812SNiklas Schnelle depends on HAS_IOPORT 105031e3601SZhichang Yuan help 106031e3601SZhichang Yuan On some platforms where no separate I/O space exists, there are I/O 107031e3601SZhichang Yuan hosts which can not be accessed in MMIO mode. Using the logical PIO 108031e3601SZhichang Yuan mechanism, the host-local I/O resource can be mapped into system 109031e3601SZhichang Yuan logic PIO space shared with MMIO hosts, such as PCI/PCIe, then the 110031e3601SZhichang Yuan system can access the I/O devices with the mapped-logic PIO through 111031e3601SZhichang Yuan I/O accessors. 112031e3601SZhichang Yuan 113031e3601SZhichang Yuan This way has relatively little I/O performance cost. Please make 114031e3601SZhichang Yuan sure your devices really need this configure item enabled. 115031e3601SZhichang Yuan 116031e3601SZhichang Yuan When in doubt, say N. 117031e3601SZhichang Yuan 118ca2e3342SJohannes Bergconfig INDIRECT_IOMEM 119ca2e3342SJohannes Berg bool 120ca2e3342SJohannes Berg help 121ca2e3342SJohannes Berg This is selected by other options/architectures to provide the 122ca2e3342SJohannes Berg emulated iomem accessors. 123ca2e3342SJohannes Berg 124ca2e3342SJohannes Bergconfig INDIRECT_IOMEM_FALLBACK 125ca2e3342SJohannes Berg bool 126ca2e3342SJohannes Berg depends on INDIRECT_IOMEM 127ca2e3342SJohannes Berg help 128ca2e3342SJohannes Berg If INDIRECT_IOMEM is selected, this enables falling back to plain 129ca2e3342SJohannes Berg mmio accesses when the IO memory address is not a registered 130ca2e3342SJohannes Berg emulated region. 131ca2e3342SJohannes Berg 132d593d64fSPrasad Sodagudiconfig TRACE_MMIO_ACCESS 133d593d64fSPrasad Sodagudi bool "Register read/write tracing" 134d593d64fSPrasad Sodagudi depends on TRACING && ARCH_HAVE_TRACE_MMIO_ACCESS 135d593d64fSPrasad Sodagudi help 136d593d64fSPrasad Sodagudi Create tracepoints for MMIO read/write operations. These trace events 137d593d64fSPrasad Sodagudi can be used for logging all MMIO read/write operations. 138d593d64fSPrasad Sodagudi 139*89a51591SEric Biggerssource "lib/crc/Kconfig" 140e56e1898SJustin M. Forbessource "lib/crypto/Kconfig" 141e56e1898SJustin M. Forbes 1425d240522SNick Terrellconfig XXHASH 1435d240522SNick Terrell tristate 1445d240522SNick Terrell 145e65e1fc2SAl Viroconfig AUDIT_GENERIC 146e65e1fc2SAl Viro bool 147e65e1fc2SAl Viro depends on AUDIT && !AUDIT_ARCH 148e65e1fc2SAl Viro default y 149e65e1fc2SAl Viro 1504b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC 1514b588411SAKASHI Takahiro bool 1524b588411SAKASHI Takahiro default n 1534b588411SAKASHI Takahiro 1544b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC 1554b588411SAKASHI Takahiro bool 1564b588411SAKASHI Takahiro depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT 1574b588411SAKASHI Takahiro default y 1584b588411SAKASHI Takahiro 159a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST 160a6a9c0f1SDaniel Borkmann bool "PRNG perform self test on init" 161a6a9c0f1SDaniel Borkmann help 162a6a9c0f1SDaniel Borkmann This option enables the 32 bit PRNG library functions to perform a 163a6a9c0f1SDaniel Borkmann self test on initialization. 164a6a9c0f1SDaniel Borkmann 1651da177e4SLinus Torvalds# 1661da177e4SLinus Torvalds# compression support is select'ed if needed 1671da177e4SLinus Torvalds# 1682da572c9SDan Streetmanconfig 842_COMPRESS 1695b571677SArnd Bergmann select CRC32 1702da572c9SDan Streetman tristate 1712da572c9SDan Streetman 1722da572c9SDan Streetmanconfig 842_DECOMPRESS 1735b571677SArnd Bergmann select CRC32 1742da572c9SDan Streetman tristate 1752da572c9SDan Streetman 1761da177e4SLinus Torvaldsconfig ZLIB_INFLATE 1771da177e4SLinus Torvalds tristate 1781da177e4SLinus Torvalds 1791da177e4SLinus Torvaldsconfig ZLIB_DEFLATE 1801da177e4SLinus Torvalds tristate 1811fd4e5c3SAndrew Morton select BITREVERSE 1821da177e4SLinus Torvalds 183aa5b395bSMikhail Zaslonkoconfig ZLIB_DFLTCC 184aa5b395bSMikhail Zaslonko def_bool y 185aa5b395bSMikhail Zaslonko depends on S390 186aa5b395bSMikhail Zaslonko prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib" 187aa5b395bSMikhail Zaslonko help 188aa5b395bSMikhail Zaslonko Enable s390x hardware support for zlib in the kernel. 189aa5b395bSMikhail Zaslonko 19064c70b1cSRichard Purdieconfig LZO_COMPRESS 19164c70b1cSRichard Purdie tristate 19264c70b1cSRichard Purdie 19364c70b1cSRichard Purdieconfig LZO_DECOMPRESS 19464c70b1cSRichard Purdie tristate 19564c70b1cSRichard Purdie 196c72ac7a1SChanho Minconfig LZ4_COMPRESS 197c72ac7a1SChanho Min tristate 198c72ac7a1SChanho Min 199c72ac7a1SChanho Minconfig LZ4HC_COMPRESS 200c72ac7a1SChanho Min tristate 201c72ac7a1SChanho Min 202e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS 203e76e1fdfSKyungsik Lee tristate 204e76e1fdfSKyungsik Lee 205637a642fSAlexey Kardashevskiyconfig ZSTD_COMMON 20673f3d1b4SNick Terrell select XXHASH 20773f3d1b4SNick Terrell tristate 20873f3d1b4SNick Terrell 209637a642fSAlexey Kardashevskiyconfig ZSTD_COMPRESS 210637a642fSAlexey Kardashevskiy select ZSTD_COMMON 211637a642fSAlexey Kardashevskiy tristate 212637a642fSAlexey Kardashevskiy 21373f3d1b4SNick Terrellconfig ZSTD_DECOMPRESS 214637a642fSAlexey Kardashevskiy select ZSTD_COMMON 21573f3d1b4SNick Terrell tristate 21673f3d1b4SNick Terrell 21724fa0402SLasse Collinsource "lib/xz/Kconfig" 21824fa0402SLasse Collin 2191da177e4SLinus Torvalds# 220c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with 221c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) 222c8531ab3SH. Peter Anvin# 223c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP 2247856a16eSH. Peter Anvin select ZLIB_INFLATE 225c8531ab3SH. Peter Anvin tristate 226c8531ab3SH. Peter Anvin 227c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2 228c8531ab3SH. Peter Anvin tristate 229c8531ab3SH. Peter Anvin 230c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA 231c8531ab3SH. Peter Anvin tristate 232c8531ab3SH. Peter Anvin 2333ebe1243SLasse Collinconfig DECOMPRESS_XZ 2343ebe1243SLasse Collin select XZ_DEC 2353ebe1243SLasse Collin tristate 2363ebe1243SLasse Collin 237cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO 238cacb246fSAlbin Tonnerre select LZO_DECOMPRESS 239cacb246fSAlbin Tonnerre tristate 240cacb246fSAlbin Tonnerre 241e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4 242e76e1fdfSKyungsik Lee select LZ4_DECOMPRESS 243e76e1fdfSKyungsik Lee tristate 244e76e1fdfSKyungsik Lee 2454963bb2bSNick Terrellconfig DECOMPRESS_ZSTD 2464963bb2bSNick Terrell select ZSTD_DECOMPRESS 2474963bb2bSNick Terrell tristate 2484963bb2bSNick Terrell 249c8531ab3SH. Peter Anvin# 250f14f75b8SJes Sorensen# Generic allocator support is selected if needed 251f14f75b8SJes Sorensen# 252f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR 2536341e62bSChristoph Jaeger bool 254f14f75b8SJes Sorensen 255f14f75b8SJes Sorensen# 2561da177e4SLinus Torvalds# reed solomon support is select'ed if needed 2571da177e4SLinus Torvalds# 2581da177e4SLinus Torvaldsconfig REED_SOLOMON 2591da177e4SLinus Torvalds tristate 2601da177e4SLinus Torvalds 2611da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8 2626341e62bSChristoph Jaeger bool 2631da177e4SLinus Torvalds 2641da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8 2656341e62bSChristoph Jaeger bool 2661da177e4SLinus Torvalds 2671da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16 2686341e62bSChristoph Jaeger bool 2691da177e4SLinus Torvalds 2701da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16 2716341e62bSChristoph Jaeger bool 2721da177e4SLinus Torvalds 273f7704347SDavid S. Miller# 274437aa565SIvan Djelic# BCH support is selected if needed 275437aa565SIvan Djelic# 276437aa565SIvan Djelicconfig BCH 277437aa565SIvan Djelic tristate 27802d7f74aSJohn Sanpe select BITREVERSE 279437aa565SIvan Djelic 280437aa565SIvan Djelicconfig BCH_CONST_PARAMS 2816341e62bSChristoph Jaeger bool 282437aa565SIvan Djelic help 283437aa565SIvan Djelic Drivers may select this option to force specific constant 284437aa565SIvan Djelic values for parameters 'm' (Galois field order) and 't' 285437aa565SIvan Djelic (error correction capability). Those specific values must 286437aa565SIvan Djelic be set by declaring default values for symbols BCH_CONST_M 287437aa565SIvan Djelic and BCH_CONST_T. 288437aa565SIvan Djelic Doing so will enable extra compiler optimizations, 289437aa565SIvan Djelic improving encoding and decoding performance up to 2x for 290437aa565SIvan Djelic usual (m,t) values (typically such that m*t < 200). 291437aa565SIvan Djelic When this option is selected, the BCH library supports 292437aa565SIvan Djelic only a single (m,t) configuration. This is mainly useful 293437aa565SIvan Djelic for NAND flash board drivers requiring known, fixed BCH 294437aa565SIvan Djelic parameters. 295437aa565SIvan Djelic 296437aa565SIvan Djelicconfig BCH_CONST_M 297437aa565SIvan Djelic int 298437aa565SIvan Djelic range 5 15 299437aa565SIvan Djelic help 300437aa565SIvan Djelic Constant value for Galois field order 'm'. If 'k' is the 301437aa565SIvan Djelic number of data bits to protect, 'm' should be chosen such 302437aa565SIvan Djelic that (k + m*t) <= 2**m - 1. 303437aa565SIvan Djelic Drivers should declare a default value for this symbol if 304437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 305437aa565SIvan Djelic 306437aa565SIvan Djelicconfig BCH_CONST_T 307437aa565SIvan Djelic int 308437aa565SIvan Djelic help 309437aa565SIvan Djelic Constant value for error correction capability in bits 't'. 310437aa565SIvan Djelic Drivers should declare a default value for this symbol if 311437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 312437aa565SIvan Djelic 313437aa565SIvan Djelic# 314f7704347SDavid S. Miller# Textsearch support is select'ed if needed 315f7704347SDavid S. Miller# 3162de4ff7bSThomas Grafconfig TEXTSEARCH 3176341e62bSChristoph Jaeger bool 3181da177e4SLinus Torvalds 319df3fb93aSThomas Grafconfig TEXTSEARCH_KMP 320f7704347SDavid S. Miller tristate 321df3fb93aSThomas Graf 3228082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM 32329cb9f9cSDavid S. Miller tristate 3248082e4edSPablo Neira Ayuso 3256408f79cSThomas Grafconfig TEXTSEARCH_FSM 326f7704347SDavid S. Miller tristate 3276408f79cSThomas Graf 3285db53f3eSJoern Engelconfig BTREE 3296341e62bSChristoph Jaeger bool 3305db53f3eSJoern Engel 331a88cc108SChris Wilsonconfig INTERVAL_TREE 3326341e62bSChristoph Jaeger bool 333a88cc108SChris Wilson help 334a88cc108SChris Wilson Simple, embeddable, interval-tree. Can find the start of an 335a88cc108SChris Wilson overlapping range in log(n) time and then iterate over all 336a88cc108SChris Wilson overlapping nodes. The algorithm is implemented as an 337a88cc108SChris Wilson augmented rbtree. 338a88cc108SChris Wilson 339a88cc108SChris Wilson See: 340a88cc108SChris Wilson 34114bbe3e3SMatthew Wilcox (Oracle) Documentation/core-api/rbtree.rst 342a88cc108SChris Wilson 343a88cc108SChris Wilson for more information. 344a88cc108SChris Wilson 3455fe93786SJason Gunthorpeconfig INTERVAL_TREE_SPAN_ITER 3465fe93786SJason Gunthorpe bool 3475fe93786SJason Gunthorpe depends on INTERVAL_TREE 3485fe93786SJason Gunthorpe 34902c02bf1SMatthew Wilcoxconfig XARRAY_MULTI 35057578c2eSMatthew Wilcox bool 35102c02bf1SMatthew Wilcox help 35202c02bf1SMatthew Wilcox Support entries which occupy multiple consecutive indices in the 35302c02bf1SMatthew Wilcox XArray. 35457578c2eSMatthew Wilcox 3553cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY 3563cb98950SDavid Howells bool 3573cb98950SDavid Howells help 3583cb98950SDavid Howells Generic associative array. Can be searched and iterated over whilst 3593cb98950SDavid Howells it is being modified. It is also reasonably quick to search and 3603cb98950SDavid Howells modify. The algorithms are non-recursive, and the trees are highly 3613cb98950SDavid Howells capacious. 3623cb98950SDavid Howells 3633cb98950SDavid Howells See: 3643cb98950SDavid Howells 3655fb94e9cSMauro Carvalho Chehab Documentation/core-api/assoc_array.rst 3663cb98950SDavid Howells 3673cb98950SDavid Howells for more information. 3683cb98950SDavid Howells 3698c8d2d96SKent Overstreetconfig CLOSURES 3708c8d2d96SKent Overstreet bool 3718c8d2d96SKent Overstreet 3725ea81769SAl Viroconfig HAS_IOMEM 3736341e62bSChristoph Jaeger bool 3745ea81769SAl Viro depends on !NO_IOMEM 3755ea81769SAl Viro default y 3765ea81769SAl Viro 377fcbfe812SNiklas Schnelleconfig HAS_IOPORT 378fcbfe812SNiklas Schnelle bool 379fcbfe812SNiklas Schnelle 380ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP 3816341e62bSChristoph Jaeger bool 382ce816fa8SUwe Kleine-König depends on HAS_IOMEM && !NO_IOPORT_MAP 383ee36c2bfSAl Viro default y 384ee36c2bfSAl Viro 385cf65a0f6SChristoph Hellwigsource "kernel/dma/Kconfig" 386411f0f3eSHeiko Carstens 387e80a0af4SBart Van Asscheconfig SGL_ALLOC 388e80a0af4SBart Van Assche bool 389e80a0af4SBart Van Assche default n 390e80a0af4SBart Van Assche 391a4ce5a48SChristoph Hellwigconfig IOMMU_HELPER 392a4ce5a48SChristoph Hellwig bool 393a4ce5a48SChristoph Hellwig 394928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE 395928923c7SGeert Uytterhoeven bool 396928923c7SGeert Uytterhoeven 397aab46da0SRusty Russellconfig CPUMASK_OFFSTACK 398aab46da0SRusty Russell bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS 399aab46da0SRusty Russell help 400aab46da0SRusty Russell Use dynamic allocation for cpumask_var_t, instead of putting 401aab46da0SRusty Russell them on the stack. This is a bit more expensive, but avoids 402aab46da0SRusty Russell stack overflow. 403aab46da0SRusty Russell 4046f9c07beSYury Norovconfig FORCE_NR_CPUS 4055d272dd1SLinus Torvalds def_bool !SMP 4066f9c07beSYury Norov 407c39649c3SBen Hutchingsconfig CPU_RMAP 408c39649c3SBen Hutchings bool 409c39649c3SBen Hutchings depends on SMP 410c39649c3SBen Hutchings 41175957ba3STom Herbertconfig DQL 41275957ba3STom Herbert bool 41375957ba3STom Herbert 414b0125085SGeorge Spelvinconfig GLOB 415b0125085SGeorge Spelvin bool 416b0125085SGeorge Spelvin# This actually supports modular compilation, but the module overhead 417b0125085SGeorge Spelvin# is ridiculous for the amount of code involved. Until an out-of-tree 418b0125085SGeorge Spelvin# driver asks for it, we'll just link it directly it into the kernel 419b0125085SGeorge Spelvin# when required. Since we're ignoring out-of-tree users, there's also 420b0125085SGeorge Spelvin# no need bother prompting for a manual decision: 421b0125085SGeorge Spelvin# prompt "glob_match() function" 422b0125085SGeorge Spelvin help 423b0125085SGeorge Spelvin This option provides a glob_match function for performing 424b0125085SGeorge Spelvin simple text pattern matching. It originated in the ATA code 425b0125085SGeorge Spelvin to blacklist particular drive models, but other device drivers 426b0125085SGeorge Spelvin may need similar functionality. 427b0125085SGeorge Spelvin 428b0125085SGeorge Spelvin All drivers in the Linux kernel tree that require this function 429b0125085SGeorge Spelvin should automatically select this option. Say N unless you 430b0125085SGeorge Spelvin are compiling an out-of tree driver which tells you that it 431b0125085SGeorge Spelvin depends on this. 432b0125085SGeorge Spelvin 4335f9be824SGeorge Spelvinconfig GLOB_SELFTEST 434ba95b045SGeert Uytterhoeven tristate "glob self-test on init" 4355f9be824SGeorge Spelvin depends on GLOB 4365f9be824SGeorge Spelvin help 4375f9be824SGeorge Spelvin This option enables a simple self-test of the glob_match 4385f9be824SGeorge Spelvin function on startup. It is primarily useful for people 4395f9be824SGeorge Spelvin working on the code to ensure they haven't introduced any 4405f9be824SGeorge Spelvin regressions. 4415f9be824SGeorge Spelvin 4425f9be824SGeorge Spelvin It only adds a little bit of code and slows kernel boot (or 4435f9be824SGeorge Spelvin module load) by a small amount, so you're welcome to play with 4445f9be824SGeorge Spelvin it, but you probably don't need it. 4455f9be824SGeorge Spelvin 446e9cc8bddSGeert Uytterhoeven# 447e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed 448e9cc8bddSGeert Uytterhoeven# 449e9cc8bddSGeert Uytterhoevenconfig NLATTR 450e9cc8bddSGeert Uytterhoeven bool 451e9cc8bddSGeert Uytterhoeven 45209d4e0edSPaul Mackerras# 45309d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed 45409d4e0edSPaul Mackerras# 45509d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64 45609d4e0edSPaul Mackerras bool 45709d4e0edSPaul Mackerras 458b411b363SPhilipp Reisnerconfig LRU_CACHE 459b411b363SPhilipp Reisner tristate 460b411b363SPhilipp Reisner 461c6df4b17SDavid Millerconfig CLZ_TAB 462c6df4b17SDavid Miller bool 463c6df4b17SDavid Miller 464511cbce2SChristoph Hellwigconfig IRQ_POLL 465511cbce2SChristoph Hellwig bool "IRQ polling library" 466511cbce2SChristoph Hellwig help 467511cbce2SChristoph Hellwig Helper library to poll interrupt mitigation using polling. 468511cbce2SChristoph Hellwig 469d9c46b18SDmitry Kasatkinconfig MPILIB 4702e5f094bSDmitry Kasatkin tristate 471c6df4b17SDavid Miller select CLZ_TAB 472d9c46b18SDmitry Kasatkin help 473d9c46b18SDmitry Kasatkin Multiprecision maths library from GnuPG. 474d9c46b18SDmitry Kasatkin It is used to implement RSA digital signature verification, 475d9c46b18SDmitry Kasatkin which is used by IMA/EVM digital signature extension. 476d9c46b18SDmitry Kasatkin 4775e8898e9SDmitry Kasatkinconfig SIGNATURE 4782e5f094bSDmitry Kasatkin tristate 4790d1f64f6SDmitry Kasatkin depends on KEYS 4800d1f64f6SDmitry Kasatkin select CRYPTO 481be440ec7SDmitry Kasatkin select CRYPTO_SHA1 482051dbb91SDmitry Kasatkin select MPILIB 483051dbb91SDmitry Kasatkin help 484051dbb91SDmitry Kasatkin Digital signature verification. Currently only RSA is supported. 485051dbb91SDmitry Kasatkin Implementation is done using GnuPG MPI library 486051dbb91SDmitry Kasatkin 4874f75da36STal Gilboaconfig DIMLIB 4880d5044b4SFlorian Fainelli tristate 489b65e697aSHeng Qi depends on NET 4904f75da36STal Gilboa help 4914f75da36STal Gilboa Dynamic Interrupt Moderation library. 492991ad2b2SRandy Dunlap Implements an algorithm for dynamically changing CQ moderation values 4934f75da36STal Gilboa according to run time performance. 4944f75da36STal Gilboa 495ab253839SDavid Daney# 496ab253839SDavid Daney# libfdt files, only selected if needed. 497ab253839SDavid Daney# 498ab253839SDavid Daneyconfig LIBFDT 499ab253839SDavid Daney bool 500ab253839SDavid Daney 501a77ad6eaSDavid Howellsconfig OID_REGISTRY 502a77ad6eaSDavid Howells tristate 503a77ad6eaSDavid Howells help 504a77ad6eaSDavid Howells Enable fast lookup object identifier registry. 505a77ad6eaSDavid Howells 5060635eb8aSMatthew Garrettconfig UCS2_STRING 5070635eb8aSMatthew Garrett tristate 5080635eb8aSMatthew Garrett 50900b26474SVincenzo Frascino# 51000b26474SVincenzo Frascino# generic vdso 51100b26474SVincenzo Frascino# 51200b26474SVincenzo Frascinosource "lib/vdso/Kconfig" 51300b26474SVincenzo Frascino 514ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig" 515ee89bd6bSGeert Uytterhoeven 516f8bcbe62SRobert Jarzmikconfig SG_SPLIT 517f8bcbe62SRobert Jarzmik def_bool n 518f8bcbe62SRobert Jarzmik help 5197f7e92f7SGeert Uytterhoeven Provides a helper to split scatterlists into chunks, each chunk being 5207f7e92f7SGeert Uytterhoeven a scatterlist. This should be selected by a driver or an API which 5217f7e92f7SGeert Uytterhoeven whishes to split a scatterlist amongst multiple DMA channels. 522f8bcbe62SRobert Jarzmik 5239b1d6c89SMing Linconfig SG_POOL 5249b1d6c89SMing Lin def_bool n 5259b1d6c89SMing Lin help 5269b1d6c89SMing Lin Provides a helper to allocate chained scatterlists. This should be 5279b1d6c89SMing Lin selected by a driver or an API which whishes to allocate chained 5289b1d6c89SMing Lin scatterlist. 5299b1d6c89SMing Lin 530308c09f1SLaura Abbott# 531308c09f1SLaura Abbott# sg chaining option 532308c09f1SLaura Abbott# 533308c09f1SLaura Abbott 5347c703e54SChristoph Hellwigconfig ARCH_NO_SG_CHAIN 535308c09f1SLaura Abbott def_bool n 536308c09f1SLaura Abbott 53761031952SRoss Zwislerconfig ARCH_HAS_PMEM_API 53861031952SRoss Zwisler bool 53961031952SRoss Zwisler 54033dd7075SDan Williamsconfig MEMREGION 54133dd7075SDan Williams bool 54233dd7075SDan Williams 5431156b441SDavidlohr Buesoconfig ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION 5441156b441SDavidlohr Bueso bool 5451156b441SDavidlohr Bueso 5469ffc1d19SDan Williamsconfig ARCH_HAS_MEMREMAP_COMPAT_ALIGN 5479ffc1d19SDan Williams bool 5489ffc1d19SDan Williams 549bd79f947SChristoph Hellwig# use memcpy to implement user copies for nommu architectures 550bd79f947SChristoph Hellwigconfig UACCESS_MEMCPY 551bd79f947SChristoph Hellwig bool 552bd79f947SChristoph Hellwig 5530aed55afSDan Williamsconfig ARCH_HAS_UACCESS_FLUSHCACHE 5540aed55afSDan Williams bool 5550aed55afSDan Williams 556ec6347bbSDan Williams# arch has a concept of a recoverable synchronous exception due to a 557ec6347bbSDan Williams# memory-read error like x86 machine-check or ARM data-abort, and 558ec6347bbSDan Williams# implements copy_mc_to_{user,kernel} to abort and report 559ec6347bbSDan Williams# 'bytes-transferred' if that exception fires when accessing the source 560ec6347bbSDan Williams# buffer. 561ec6347bbSDan Williamsconfig ARCH_HAS_COPY_MC 562522239b4SDan Williams bool 563522239b4SDan Williams 564214d8ca6SThomas Gleixner# Temporary. Goes away when all archs are cleaned up 565214d8ca6SThomas Gleixnerconfig ARCH_STACKWALK 566214d8ca6SThomas Gleixner bool 567214d8ca6SThomas Gleixner 568cd11016eSAlexander Potapenkoconfig STACKDEPOT 569cd11016eSAlexander Potapenko bool 570cd11016eSAlexander Potapenko select STACKTRACE 571fc60e0caSAndrey Konovalov help 572fc60e0caSAndrey Konovalov Stack depot: stack trace storage that avoids duplication 573cd11016eSAlexander Potapenko 5742dba5eb1SVlastimil Babkaconfig STACKDEPOT_ALWAYS_INIT 5752dba5eb1SVlastimil Babka bool 5762dba5eb1SVlastimil Babka select STACKDEPOT 577fc60e0caSAndrey Konovalov help 578fc60e0caSAndrey Konovalov Always initialize stack depot during early boot 579fc60e0caSAndrey Konovalov 580fc60e0caSAndrey Konovalovconfig STACKDEPOT_MAX_FRAMES 581fc60e0caSAndrey Konovalov int "Maximum number of frames in trace saved in stack depot" 582fc60e0caSAndrey Konovalov range 1 256 583fc60e0caSAndrey Konovalov default 64 584fc60e0caSAndrey Konovalov depends on STACKDEPOT 5852dba5eb1SVlastimil Babka 5864e66934eSEric Dumazetconfig REF_TRACKER 5874e66934eSEric Dumazet bool 5884e66934eSEric Dumazet depends on STACKTRACE_SUPPORT 5894e66934eSEric Dumazet select STACKDEPOT 5904e66934eSEric Dumazet 59188459642SOmar Sandovalconfig SBITMAP 59288459642SOmar Sandoval bool 59388459642SOmar Sandoval 59444091d29SJiri Pirkoconfig PARMAN 5959d25af69SGeert Uytterhoeven tristate "parman" if COMPILE_TEST 59644091d29SJiri Pirko 5973dfdecc6SRandy Dunlapconfig OBJAGG 5983dfdecc6SRandy Dunlap tristate "objagg" if COMPILE_TEST 5993dfdecc6SRandy Dunlap 600de9e82c3SNeilBrownconfig LWQ_TEST 601de9e82c3SNeilBrown bool "Boot-time test for lwq queuing" 602de9e82c3SNeilBrown help 603de9e82c3SNeilBrown Run boot-time test of light-weight queuing. 604de9e82c3SNeilBrown 6052de4ff7bSThomas Grafendmenu 606b35cd988SPalmer Dabbelt 60780b0ca98SChristoph Hellwigconfig GENERIC_IOREMAP 60880b0ca98SChristoph Hellwig bool 60980b0ca98SChristoph Hellwig 610e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHLDI3 611b35cd988SPalmer Dabbelt bool 612b35cd988SPalmer Dabbelt 613e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHRDI3 614b35cd988SPalmer Dabbelt bool 615b35cd988SPalmer Dabbelt 616e3d59805SMatt Redfearnconfig GENERIC_LIB_LSHRDI3 617b35cd988SPalmer Dabbelt bool 618b35cd988SPalmer Dabbelt 619e3d59805SMatt Redfearnconfig GENERIC_LIB_MULDI3 620b35cd988SPalmer Dabbelt bool 621b35cd988SPalmer Dabbelt 622e3d59805SMatt Redfearnconfig GENERIC_LIB_CMPDI2 623b35cd988SPalmer Dabbelt bool 624b35cd988SPalmer Dabbelt 625e3d59805SMatt Redfearnconfig GENERIC_LIB_UCMPDI2 626b35cd988SPalmer Dabbelt bool 627b8265621SJacob Keller 628527701edSPalmer Dabbeltconfig GENERIC_LIB_DEVMEM_IS_ALLOWED 629527701edSPalmer Dabbelt bool 630527701edSPalmer Dabbelt 631b8265621SJacob Kellerconfig PLDMFW 632b8265621SJacob Keller bool 6331224b218SSimon Horman select CRC32 634b8265621SJacob Keller default n 635b0706762SJames Bottomley 636b0706762SJames Bottomleyconfig ASN1_ENCODER 637b0706762SJames Bottomley tristate 638cd705ea8SMichael Walle 639cd705ea8SMichael Walleconfig POLYNOMIAL 640cd705ea8SMichael Walle tristate 641a103f466SDave Jiang 642a103f466SDave Jiangconfig FIRMWARE_TABLE 643a103f466SDave Jiang bool 644bf9850f6SKuan-Wei Chiu 645bf9850f6SKuan-Wei Chiuconfig UNION_FIND 646bf9850f6SKuan-Wei Chiu bool 64792a8b224SKuan-Wei Chiu 64892a8b224SKuan-Wei Chiuconfig MIN_HEAP 64992a8b224SKuan-Wei Chiu bool 650