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 13989a51591SEric 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 433e9cc8bddSGeert Uytterhoeven# 434e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed 435e9cc8bddSGeert Uytterhoeven# 436e9cc8bddSGeert Uytterhoevenconfig NLATTR 437e9cc8bddSGeert Uytterhoeven bool 438e9cc8bddSGeert Uytterhoeven 43909d4e0edSPaul Mackerras# 44009d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed 44109d4e0edSPaul Mackerras# 44209d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64 44309d4e0edSPaul Mackerras bool 44409d4e0edSPaul Mackerras 445b411b363SPhilipp Reisnerconfig LRU_CACHE 446b411b363SPhilipp Reisner tristate 447b411b363SPhilipp Reisner 448c6df4b17SDavid Millerconfig CLZ_TAB 449c6df4b17SDavid Miller bool 450c6df4b17SDavid Miller 451511cbce2SChristoph Hellwigconfig IRQ_POLL 452511cbce2SChristoph Hellwig bool "IRQ polling library" 453511cbce2SChristoph Hellwig help 454511cbce2SChristoph Hellwig Helper library to poll interrupt mitigation using polling. 455511cbce2SChristoph Hellwig 456d9c46b18SDmitry Kasatkinconfig MPILIB 4572e5f094bSDmitry Kasatkin tristate 458c6df4b17SDavid Miller select CLZ_TAB 459d9c46b18SDmitry Kasatkin help 460d9c46b18SDmitry Kasatkin Multiprecision maths library from GnuPG. 461d9c46b18SDmitry Kasatkin It is used to implement RSA digital signature verification, 462d9c46b18SDmitry Kasatkin which is used by IMA/EVM digital signature extension. 463d9c46b18SDmitry Kasatkin 4645e8898e9SDmitry Kasatkinconfig SIGNATURE 4652e5f094bSDmitry Kasatkin tristate 4660d1f64f6SDmitry Kasatkin depends on KEYS 467191cac34SEric Biggers select CRYPTO_LIB_SHA1 468051dbb91SDmitry Kasatkin select MPILIB 469051dbb91SDmitry Kasatkin help 470051dbb91SDmitry Kasatkin Digital signature verification. Currently only RSA is supported. 471051dbb91SDmitry Kasatkin Implementation is done using GnuPG MPI library 472051dbb91SDmitry Kasatkin 4734f75da36STal Gilboaconfig DIMLIB 4740d5044b4SFlorian Fainelli tristate 475b65e697aSHeng Qi depends on NET 4764f75da36STal Gilboa help 4774f75da36STal Gilboa Dynamic Interrupt Moderation library. 478991ad2b2SRandy Dunlap Implements an algorithm for dynamically changing CQ moderation values 4794f75da36STal Gilboa according to run time performance. 4804f75da36STal Gilboa 481ab253839SDavid Daney# 482ab253839SDavid Daney# libfdt files, only selected if needed. 483ab253839SDavid Daney# 484ab253839SDavid Daneyconfig LIBFDT 485ab253839SDavid Daney bool 486ab253839SDavid Daney 487a77ad6eaSDavid Howellsconfig OID_REGISTRY 488a77ad6eaSDavid Howells tristate 489a77ad6eaSDavid Howells help 490a77ad6eaSDavid Howells Enable fast lookup object identifier registry. 491a77ad6eaSDavid Howells 4920635eb8aSMatthew Garrettconfig UCS2_STRING 4930635eb8aSMatthew Garrett tristate 4940635eb8aSMatthew Garrett 49500b26474SVincenzo Frascino# 49600b26474SVincenzo Frascino# generic vdso 49700b26474SVincenzo Frascino# 49800b26474SVincenzo Frascinosource "lib/vdso/Kconfig" 49900b26474SVincenzo Frascino 500ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig" 501ee89bd6bSGeert Uytterhoeven 502f8bcbe62SRobert Jarzmikconfig SG_SPLIT 503f8bcbe62SRobert Jarzmik def_bool n 504f8bcbe62SRobert Jarzmik help 5057f7e92f7SGeert Uytterhoeven Provides a helper to split scatterlists into chunks, each chunk being 5067f7e92f7SGeert Uytterhoeven a scatterlist. This should be selected by a driver or an API which 5077f7e92f7SGeert Uytterhoeven whishes to split a scatterlist amongst multiple DMA channels. 508f8bcbe62SRobert Jarzmik 5099b1d6c89SMing Linconfig SG_POOL 5109b1d6c89SMing Lin def_bool n 5119b1d6c89SMing Lin help 5129b1d6c89SMing Lin Provides a helper to allocate chained scatterlists. This should be 5139b1d6c89SMing Lin selected by a driver or an API which whishes to allocate chained 5149b1d6c89SMing Lin scatterlist. 5159b1d6c89SMing Lin 516308c09f1SLaura Abbott# 517308c09f1SLaura Abbott# sg chaining option 518308c09f1SLaura Abbott# 519308c09f1SLaura Abbott 5207c703e54SChristoph Hellwigconfig ARCH_NO_SG_CHAIN 521308c09f1SLaura Abbott def_bool n 522308c09f1SLaura Abbott 52361031952SRoss Zwislerconfig ARCH_HAS_PMEM_API 52461031952SRoss Zwisler bool 52561031952SRoss Zwisler 52633dd7075SDan Williamsconfig MEMREGION 52733dd7075SDan Williams bool 52833dd7075SDan Williams 5291156b441SDavidlohr Buesoconfig ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION 5301156b441SDavidlohr Bueso bool 5311156b441SDavidlohr Bueso 532*c460697dSYicong Yangconfig GENERIC_CPU_CACHE_MAINTENANCE 533*c460697dSYicong Yang bool 534*c460697dSYicong Yang 5359ffc1d19SDan Williamsconfig ARCH_HAS_MEMREMAP_COMPAT_ALIGN 5369ffc1d19SDan Williams bool 5379ffc1d19SDan Williams 538bd79f947SChristoph Hellwig# use memcpy to implement user copies for nommu architectures 539bd79f947SChristoph Hellwigconfig UACCESS_MEMCPY 540bd79f947SChristoph Hellwig bool 541bd79f947SChristoph Hellwig 5420aed55afSDan Williamsconfig ARCH_HAS_UACCESS_FLUSHCACHE 5430aed55afSDan Williams bool 5440aed55afSDan Williams 545ec6347bbSDan Williams# arch has a concept of a recoverable synchronous exception due to a 546ec6347bbSDan Williams# memory-read error like x86 machine-check or ARM data-abort, and 547ec6347bbSDan Williams# implements copy_mc_to_{user,kernel} to abort and report 548ec6347bbSDan Williams# 'bytes-transferred' if that exception fires when accessing the source 549ec6347bbSDan Williams# buffer. 550ec6347bbSDan Williamsconfig ARCH_HAS_COPY_MC 551522239b4SDan Williams bool 552522239b4SDan Williams 553214d8ca6SThomas Gleixner# Temporary. Goes away when all archs are cleaned up 554214d8ca6SThomas Gleixnerconfig ARCH_STACKWALK 555214d8ca6SThomas Gleixner bool 556214d8ca6SThomas Gleixner 557cd11016eSAlexander Potapenkoconfig STACKDEPOT 558cd11016eSAlexander Potapenko bool 559cd11016eSAlexander Potapenko select STACKTRACE 560fc60e0caSAndrey Konovalov help 561fc60e0caSAndrey Konovalov Stack depot: stack trace storage that avoids duplication 562cd11016eSAlexander Potapenko 5632dba5eb1SVlastimil Babkaconfig STACKDEPOT_ALWAYS_INIT 5642dba5eb1SVlastimil Babka bool 5652dba5eb1SVlastimil Babka select STACKDEPOT 566fc60e0caSAndrey Konovalov help 567fc60e0caSAndrey Konovalov Always initialize stack depot during early boot 568fc60e0caSAndrey Konovalov 569fc60e0caSAndrey Konovalovconfig STACKDEPOT_MAX_FRAMES 570fc60e0caSAndrey Konovalov int "Maximum number of frames in trace saved in stack depot" 571fc60e0caSAndrey Konovalov range 1 256 572fc60e0caSAndrey Konovalov default 64 573fc60e0caSAndrey Konovalov depends on STACKDEPOT 5742dba5eb1SVlastimil Babka 5754e66934eSEric Dumazetconfig REF_TRACKER 5764e66934eSEric Dumazet bool 5774e66934eSEric Dumazet depends on STACKTRACE_SUPPORT 5784e66934eSEric Dumazet select STACKDEPOT 5794e66934eSEric Dumazet 58088459642SOmar Sandovalconfig SBITMAP 58188459642SOmar Sandoval bool 58288459642SOmar Sandoval 58344091d29SJiri Pirkoconfig PARMAN 5849d25af69SGeert Uytterhoeven tristate "parman" if COMPILE_TEST 58544091d29SJiri Pirko 5863dfdecc6SRandy Dunlapconfig OBJAGG 5873dfdecc6SRandy Dunlap tristate "objagg" if COMPILE_TEST 5883dfdecc6SRandy Dunlap 589de9e82c3SNeilBrownconfig LWQ_TEST 590de9e82c3SNeilBrown bool "Boot-time test for lwq queuing" 591de9e82c3SNeilBrown help 592de9e82c3SNeilBrown Run boot-time test of light-weight queuing. 593de9e82c3SNeilBrown 5942de4ff7bSThomas Grafendmenu 595b35cd988SPalmer Dabbelt 59680b0ca98SChristoph Hellwigconfig GENERIC_IOREMAP 59780b0ca98SChristoph Hellwig bool 59880b0ca98SChristoph Hellwig 599e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHLDI3 600b35cd988SPalmer Dabbelt bool 601b35cd988SPalmer Dabbelt 602e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHRDI3 603b35cd988SPalmer Dabbelt bool 604b35cd988SPalmer Dabbelt 605e3d59805SMatt Redfearnconfig GENERIC_LIB_LSHRDI3 606b35cd988SPalmer Dabbelt bool 607b35cd988SPalmer Dabbelt 608e3d59805SMatt Redfearnconfig GENERIC_LIB_MULDI3 609b35cd988SPalmer Dabbelt bool 610b35cd988SPalmer Dabbelt 611e3d59805SMatt Redfearnconfig GENERIC_LIB_CMPDI2 612b35cd988SPalmer Dabbelt bool 613b35cd988SPalmer Dabbelt 614e3d59805SMatt Redfearnconfig GENERIC_LIB_UCMPDI2 615b35cd988SPalmer Dabbelt bool 616b8265621SJacob Keller 617527701edSPalmer Dabbeltconfig GENERIC_LIB_DEVMEM_IS_ALLOWED 618527701edSPalmer Dabbelt bool 619527701edSPalmer Dabbelt 620b8265621SJacob Kellerconfig PLDMFW 621b8265621SJacob Keller bool 6221224b218SSimon Horman select CRC32 623b8265621SJacob Keller default n 624b0706762SJames Bottomley 625b0706762SJames Bottomleyconfig ASN1_ENCODER 626b0706762SJames Bottomley tristate 627cd705ea8SMichael Walle 628cd705ea8SMichael Walleconfig POLYNOMIAL 629cd705ea8SMichael Walle tristate 630a103f466SDave Jiang 631a103f466SDave Jiangconfig FIRMWARE_TABLE 632a103f466SDave Jiang bool 633bf9850f6SKuan-Wei Chiu 634bf9850f6SKuan-Wei Chiuconfig UNION_FIND 635bf9850f6SKuan-Wei Chiu bool 63692a8b224SKuan-Wei Chiu 63792a8b224SKuan-Wei Chiuconfig MIN_HEAP 63892a8b224SKuan-Wei Chiu bool 639