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" 141*9e229025SChristoph Hellwigsource "lib/raid/Kconfig" 142e56e1898SJustin M. Forbes 1435d240522SNick Terrellconfig XXHASH 1445d240522SNick Terrell tristate 1455d240522SNick Terrell 146e65e1fc2SAl Viroconfig AUDIT_GENERIC 147e65e1fc2SAl Viro bool 148e65e1fc2SAl Viro depends on AUDIT && !AUDIT_ARCH 149e65e1fc2SAl Viro default y 150e65e1fc2SAl Viro 1514b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC 1524b588411SAKASHI Takahiro bool 1534b588411SAKASHI Takahiro default n 1544b588411SAKASHI Takahiro 1554b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC 1564b588411SAKASHI Takahiro bool 1574b588411SAKASHI Takahiro depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT 1584b588411SAKASHI Takahiro default y 1594b588411SAKASHI Takahiro 160a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST 161a6a9c0f1SDaniel Borkmann bool "PRNG perform self test on init" 162a6a9c0f1SDaniel Borkmann help 163a6a9c0f1SDaniel Borkmann This option enables the 32 bit PRNG library functions to perform a 164a6a9c0f1SDaniel Borkmann self test on initialization. 165a6a9c0f1SDaniel Borkmann 1661da177e4SLinus Torvalds# 1671da177e4SLinus Torvalds# compression support is select'ed if needed 1681da177e4SLinus Torvalds# 1692da572c9SDan Streetmanconfig 842_COMPRESS 1705b571677SArnd Bergmann select CRC32 1712da572c9SDan Streetman tristate 1722da572c9SDan Streetman 1732da572c9SDan Streetmanconfig 842_DECOMPRESS 1745b571677SArnd Bergmann select CRC32 1752da572c9SDan Streetman tristate 1762da572c9SDan Streetman 1771da177e4SLinus Torvaldsconfig ZLIB_INFLATE 1781da177e4SLinus Torvalds tristate 1791da177e4SLinus Torvalds 1801da177e4SLinus Torvaldsconfig ZLIB_DEFLATE 1811da177e4SLinus Torvalds tristate 1821fd4e5c3SAndrew Morton select BITREVERSE 1831da177e4SLinus Torvalds 184aa5b395bSMikhail Zaslonkoconfig ZLIB_DFLTCC 185aa5b395bSMikhail Zaslonko def_bool y 186aa5b395bSMikhail Zaslonko depends on S390 187aa5b395bSMikhail Zaslonko prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib" 188aa5b395bSMikhail Zaslonko help 189aa5b395bSMikhail Zaslonko Enable s390x hardware support for zlib in the kernel. 190aa5b395bSMikhail Zaslonko 19164c70b1cSRichard Purdieconfig LZO_COMPRESS 19264c70b1cSRichard Purdie tristate 19364c70b1cSRichard Purdie 19464c70b1cSRichard Purdieconfig LZO_DECOMPRESS 19564c70b1cSRichard Purdie tristate 19664c70b1cSRichard Purdie 197c72ac7a1SChanho Minconfig LZ4_COMPRESS 198c72ac7a1SChanho Min tristate 199c72ac7a1SChanho Min 200c72ac7a1SChanho Minconfig LZ4HC_COMPRESS 201c72ac7a1SChanho Min tristate 202c72ac7a1SChanho Min 203e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS 204e76e1fdfSKyungsik Lee tristate 205e76e1fdfSKyungsik Lee 206637a642fSAlexey Kardashevskiyconfig ZSTD_COMMON 20773f3d1b4SNick Terrell select XXHASH 20873f3d1b4SNick Terrell tristate 20973f3d1b4SNick Terrell 210637a642fSAlexey Kardashevskiyconfig ZSTD_COMPRESS 211637a642fSAlexey Kardashevskiy select ZSTD_COMMON 212637a642fSAlexey Kardashevskiy tristate 213637a642fSAlexey Kardashevskiy 21473f3d1b4SNick Terrellconfig ZSTD_DECOMPRESS 215637a642fSAlexey Kardashevskiy select ZSTD_COMMON 21673f3d1b4SNick Terrell tristate 21773f3d1b4SNick Terrell 21824fa0402SLasse Collinsource "lib/xz/Kconfig" 21924fa0402SLasse Collin 2201da177e4SLinus Torvalds# 221c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with 222c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) 223c8531ab3SH. Peter Anvin# 224c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP 2257856a16eSH. Peter Anvin select ZLIB_INFLATE 226c8531ab3SH. Peter Anvin tristate 227c8531ab3SH. Peter Anvin 228c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2 229c8531ab3SH. Peter Anvin tristate 230c8531ab3SH. Peter Anvin 231c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA 232c8531ab3SH. Peter Anvin tristate 233c8531ab3SH. Peter Anvin 2343ebe1243SLasse Collinconfig DECOMPRESS_XZ 2353ebe1243SLasse Collin select XZ_DEC 2363ebe1243SLasse Collin tristate 2373ebe1243SLasse Collin 238cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO 239cacb246fSAlbin Tonnerre select LZO_DECOMPRESS 240cacb246fSAlbin Tonnerre tristate 241cacb246fSAlbin Tonnerre 242e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4 243e76e1fdfSKyungsik Lee select LZ4_DECOMPRESS 244e76e1fdfSKyungsik Lee tristate 245e76e1fdfSKyungsik Lee 2464963bb2bSNick Terrellconfig DECOMPRESS_ZSTD 2474963bb2bSNick Terrell select ZSTD_DECOMPRESS 2484963bb2bSNick Terrell tristate 2494963bb2bSNick Terrell 250c8531ab3SH. Peter Anvin# 251f14f75b8SJes Sorensen# Generic allocator support is selected if needed 252f14f75b8SJes Sorensen# 253f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR 2546341e62bSChristoph Jaeger bool 255f14f75b8SJes Sorensen 256f14f75b8SJes Sorensen# 2571da177e4SLinus Torvalds# reed solomon support is select'ed if needed 2581da177e4SLinus Torvalds# 2591da177e4SLinus Torvaldsconfig REED_SOLOMON 2601da177e4SLinus Torvalds tristate 2611da177e4SLinus Torvalds 2621da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8 2636341e62bSChristoph Jaeger bool 2641da177e4SLinus Torvalds 2651da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8 2666341e62bSChristoph Jaeger bool 2671da177e4SLinus Torvalds 2681da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16 2696341e62bSChristoph Jaeger bool 2701da177e4SLinus Torvalds 2711da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16 2726341e62bSChristoph Jaeger bool 2731da177e4SLinus Torvalds 274f7704347SDavid S. Miller# 275437aa565SIvan Djelic# BCH support is selected if needed 276437aa565SIvan Djelic# 277437aa565SIvan Djelicconfig BCH 278437aa565SIvan Djelic tristate 27902d7f74aSJohn Sanpe select BITREVERSE 280437aa565SIvan Djelic 281437aa565SIvan Djelicconfig BCH_CONST_PARAMS 2826341e62bSChristoph Jaeger bool 283437aa565SIvan Djelic help 284437aa565SIvan Djelic Drivers may select this option to force specific constant 285437aa565SIvan Djelic values for parameters 'm' (Galois field order) and 't' 286437aa565SIvan Djelic (error correction capability). Those specific values must 287437aa565SIvan Djelic be set by declaring default values for symbols BCH_CONST_M 288437aa565SIvan Djelic and BCH_CONST_T. 289437aa565SIvan Djelic Doing so will enable extra compiler optimizations, 290437aa565SIvan Djelic improving encoding and decoding performance up to 2x for 291437aa565SIvan Djelic usual (m,t) values (typically such that m*t < 200). 292437aa565SIvan Djelic When this option is selected, the BCH library supports 293437aa565SIvan Djelic only a single (m,t) configuration. This is mainly useful 294437aa565SIvan Djelic for NAND flash board drivers requiring known, fixed BCH 295437aa565SIvan Djelic parameters. 296437aa565SIvan Djelic 297437aa565SIvan Djelicconfig BCH_CONST_M 298437aa565SIvan Djelic int 299437aa565SIvan Djelic range 5 15 300437aa565SIvan Djelic help 301437aa565SIvan Djelic Constant value for Galois field order 'm'. If 'k' is the 302437aa565SIvan Djelic number of data bits to protect, 'm' should be chosen such 303437aa565SIvan Djelic that (k + m*t) <= 2**m - 1. 304437aa565SIvan Djelic Drivers should declare a default value for this symbol if 305437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 306437aa565SIvan Djelic 307437aa565SIvan Djelicconfig BCH_CONST_T 308437aa565SIvan Djelic int 309437aa565SIvan Djelic help 310437aa565SIvan Djelic Constant value for error correction capability in bits 't'. 311437aa565SIvan Djelic Drivers should declare a default value for this symbol if 312437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 313437aa565SIvan Djelic 314437aa565SIvan Djelic# 315f7704347SDavid S. Miller# Textsearch support is select'ed if needed 316f7704347SDavid S. Miller# 3172de4ff7bSThomas Grafconfig TEXTSEARCH 3186341e62bSChristoph Jaeger bool 3191da177e4SLinus Torvalds 320df3fb93aSThomas Grafconfig TEXTSEARCH_KMP 321f7704347SDavid S. Miller tristate 322df3fb93aSThomas Graf 3238082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM 32429cb9f9cSDavid S. Miller tristate 3258082e4edSPablo Neira Ayuso 3266408f79cSThomas Grafconfig TEXTSEARCH_FSM 327f7704347SDavid S. Miller tristate 3286408f79cSThomas Graf 3295db53f3eSJoern Engelconfig BTREE 3306341e62bSChristoph Jaeger bool 3315db53f3eSJoern Engel 332a88cc108SChris Wilsonconfig INTERVAL_TREE 3336341e62bSChristoph Jaeger bool 334a88cc108SChris Wilson help 335a88cc108SChris Wilson Simple, embeddable, interval-tree. Can find the start of an 336a88cc108SChris Wilson overlapping range in log(n) time and then iterate over all 337a88cc108SChris Wilson overlapping nodes. The algorithm is implemented as an 338a88cc108SChris Wilson augmented rbtree. 339a88cc108SChris Wilson 340a88cc108SChris Wilson See: 341a88cc108SChris Wilson 34214bbe3e3SMatthew Wilcox (Oracle) Documentation/core-api/rbtree.rst 343a88cc108SChris Wilson 344a88cc108SChris Wilson for more information. 345a88cc108SChris Wilson 3465fe93786SJason Gunthorpeconfig INTERVAL_TREE_SPAN_ITER 3475fe93786SJason Gunthorpe bool 3485fe93786SJason Gunthorpe depends on INTERVAL_TREE 3495fe93786SJason Gunthorpe 35002c02bf1SMatthew Wilcoxconfig XARRAY_MULTI 35157578c2eSMatthew Wilcox bool 35202c02bf1SMatthew Wilcox help 35302c02bf1SMatthew Wilcox Support entries which occupy multiple consecutive indices in the 35402c02bf1SMatthew Wilcox XArray. 35557578c2eSMatthew Wilcox 3563cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY 3573cb98950SDavid Howells bool 3583cb98950SDavid Howells help 3593cb98950SDavid Howells Generic associative array. Can be searched and iterated over whilst 3603cb98950SDavid Howells it is being modified. It is also reasonably quick to search and 3613cb98950SDavid Howells modify. The algorithms are non-recursive, and the trees are highly 3623cb98950SDavid Howells capacious. 3633cb98950SDavid Howells 3643cb98950SDavid Howells See: 3653cb98950SDavid Howells 3665fb94e9cSMauro Carvalho Chehab Documentation/core-api/assoc_array.rst 3673cb98950SDavid Howells 3683cb98950SDavid Howells for more information. 3693cb98950SDavid Howells 3708c8d2d96SKent Overstreetconfig CLOSURES 3718c8d2d96SKent Overstreet bool 3728c8d2d96SKent Overstreet 3735ea81769SAl Viroconfig HAS_IOMEM 3746341e62bSChristoph Jaeger bool 3755ea81769SAl Viro depends on !NO_IOMEM 3765ea81769SAl Viro default y 3775ea81769SAl Viro 378fcbfe812SNiklas Schnelleconfig HAS_IOPORT 379fcbfe812SNiklas Schnelle bool 380fcbfe812SNiklas Schnelle 381ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP 3826341e62bSChristoph Jaeger bool 383ce816fa8SUwe Kleine-König depends on HAS_IOMEM && !NO_IOPORT_MAP 384ee36c2bfSAl Viro default y 385ee36c2bfSAl Viro 386cf65a0f6SChristoph Hellwigsource "kernel/dma/Kconfig" 387411f0f3eSHeiko Carstens 388e80a0af4SBart Van Asscheconfig SGL_ALLOC 389e80a0af4SBart Van Assche bool 390e80a0af4SBart Van Assche default n 391e80a0af4SBart Van Assche 392a4ce5a48SChristoph Hellwigconfig IOMMU_HELPER 393a4ce5a48SChristoph Hellwig bool 394a4ce5a48SChristoph Hellwig 395928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE 396928923c7SGeert Uytterhoeven bool 397928923c7SGeert Uytterhoeven 398aab46da0SRusty Russellconfig CPUMASK_OFFSTACK 399aab46da0SRusty Russell bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS 400aab46da0SRusty Russell help 401aab46da0SRusty Russell Use dynamic allocation for cpumask_var_t, instead of putting 402aab46da0SRusty Russell them on the stack. This is a bit more expensive, but avoids 403aab46da0SRusty Russell stack overflow. 404aab46da0SRusty Russell 4056f9c07beSYury Norovconfig FORCE_NR_CPUS 4065d272dd1SLinus Torvalds def_bool !SMP 4076f9c07beSYury Norov 408c39649c3SBen Hutchingsconfig CPU_RMAP 409c39649c3SBen Hutchings bool 410c39649c3SBen Hutchings depends on SMP 411c39649c3SBen Hutchings 41275957ba3STom Herbertconfig DQL 41375957ba3STom Herbert bool 41475957ba3STom Herbert 415b0125085SGeorge Spelvinconfig GLOB 416b0125085SGeorge Spelvin bool 417b0125085SGeorge Spelvin# This actually supports modular compilation, but the module overhead 418b0125085SGeorge Spelvin# is ridiculous for the amount of code involved. Until an out-of-tree 419b0125085SGeorge Spelvin# driver asks for it, we'll just link it directly it into the kernel 420b0125085SGeorge Spelvin# when required. Since we're ignoring out-of-tree users, there's also 421b0125085SGeorge Spelvin# no need bother prompting for a manual decision: 422b0125085SGeorge Spelvin# prompt "glob_match() function" 423b0125085SGeorge Spelvin help 424b0125085SGeorge Spelvin This option provides a glob_match function for performing 425b0125085SGeorge Spelvin simple text pattern matching. It originated in the ATA code 426b0125085SGeorge Spelvin to blacklist particular drive models, but other device drivers 427b0125085SGeorge Spelvin may need similar functionality. 428b0125085SGeorge Spelvin 429b0125085SGeorge Spelvin All drivers in the Linux kernel tree that require this function 430b0125085SGeorge Spelvin should automatically select this option. Say N unless you 431b0125085SGeorge Spelvin are compiling an out-of tree driver which tells you that it 432b0125085SGeorge Spelvin depends on this. 433b0125085SGeorge Spelvin 434e9cc8bddSGeert Uytterhoeven# 435e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed 436e9cc8bddSGeert Uytterhoeven# 437e9cc8bddSGeert Uytterhoevenconfig NLATTR 438e9cc8bddSGeert Uytterhoeven bool 439e9cc8bddSGeert Uytterhoeven 44009d4e0edSPaul Mackerras# 44109d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed 44209d4e0edSPaul Mackerras# 44309d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64 44409d4e0edSPaul Mackerras bool 44509d4e0edSPaul Mackerras 446b411b363SPhilipp Reisnerconfig LRU_CACHE 447b411b363SPhilipp Reisner tristate 448b411b363SPhilipp Reisner 449c6df4b17SDavid Millerconfig CLZ_TAB 450c6df4b17SDavid Miller bool 451c6df4b17SDavid Miller 452511cbce2SChristoph Hellwigconfig IRQ_POLL 453511cbce2SChristoph Hellwig bool "IRQ polling library" 454511cbce2SChristoph Hellwig help 455511cbce2SChristoph Hellwig Helper library to poll interrupt mitigation using polling. 456511cbce2SChristoph Hellwig 457d9c46b18SDmitry Kasatkinconfig MPILIB 4582e5f094bSDmitry Kasatkin tristate 459c6df4b17SDavid Miller select CLZ_TAB 460d9c46b18SDmitry Kasatkin help 461d9c46b18SDmitry Kasatkin Multiprecision maths library from GnuPG. 462d9c46b18SDmitry Kasatkin It is used to implement RSA digital signature verification, 463d9c46b18SDmitry Kasatkin which is used by IMA/EVM digital signature extension. 464d9c46b18SDmitry Kasatkin 4655e8898e9SDmitry Kasatkinconfig SIGNATURE 4662e5f094bSDmitry Kasatkin tristate 4670d1f64f6SDmitry Kasatkin depends on KEYS 468191cac34SEric Biggers select CRYPTO_LIB_SHA1 469051dbb91SDmitry Kasatkin select MPILIB 470051dbb91SDmitry Kasatkin help 471051dbb91SDmitry Kasatkin Digital signature verification. Currently only RSA is supported. 472051dbb91SDmitry Kasatkin Implementation is done using GnuPG MPI library 473051dbb91SDmitry Kasatkin 4744f75da36STal Gilboaconfig DIMLIB 4750d5044b4SFlorian Fainelli tristate 476b65e697aSHeng Qi depends on NET 4774f75da36STal Gilboa help 4784f75da36STal Gilboa Dynamic Interrupt Moderation library. 479991ad2b2SRandy Dunlap Implements an algorithm for dynamically changing CQ moderation values 4804f75da36STal Gilboa according to run time performance. 4814f75da36STal Gilboa 482ab253839SDavid Daney# 483ab253839SDavid Daney# libfdt files, only selected if needed. 484ab253839SDavid Daney# 485ab253839SDavid Daneyconfig LIBFDT 486ab253839SDavid Daney bool 487ab253839SDavid Daney 488a77ad6eaSDavid Howellsconfig OID_REGISTRY 489a77ad6eaSDavid Howells tristate 490a77ad6eaSDavid Howells help 491a77ad6eaSDavid Howells Enable fast lookup object identifier registry. 492a77ad6eaSDavid Howells 4930635eb8aSMatthew Garrettconfig UCS2_STRING 4940635eb8aSMatthew Garrett tristate 4950635eb8aSMatthew Garrett 49600b26474SVincenzo Frascino# 49700b26474SVincenzo Frascino# generic vdso 49800b26474SVincenzo Frascino# 49900b26474SVincenzo Frascinosource "lib/vdso/Kconfig" 50000b26474SVincenzo Frascino 501ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig" 502ee89bd6bSGeert Uytterhoeven 503f8bcbe62SRobert Jarzmikconfig SG_SPLIT 504f8bcbe62SRobert Jarzmik def_bool n 505f8bcbe62SRobert Jarzmik help 5067f7e92f7SGeert Uytterhoeven Provides a helper to split scatterlists into chunks, each chunk being 5077f7e92f7SGeert Uytterhoeven a scatterlist. This should be selected by a driver or an API which 5087f7e92f7SGeert Uytterhoeven whishes to split a scatterlist amongst multiple DMA channels. 509f8bcbe62SRobert Jarzmik 5109b1d6c89SMing Linconfig SG_POOL 5119b1d6c89SMing Lin def_bool n 5129b1d6c89SMing Lin help 5139b1d6c89SMing Lin Provides a helper to allocate chained scatterlists. This should be 5149b1d6c89SMing Lin selected by a driver or an API which whishes to allocate chained 5159b1d6c89SMing Lin scatterlist. 5169b1d6c89SMing Lin 517308c09f1SLaura Abbott# 518308c09f1SLaura Abbott# sg chaining option 519308c09f1SLaura Abbott# 520308c09f1SLaura Abbott 5217c703e54SChristoph Hellwigconfig ARCH_NO_SG_CHAIN 522308c09f1SLaura Abbott def_bool n 523308c09f1SLaura Abbott 52461031952SRoss Zwislerconfig ARCH_HAS_PMEM_API 52561031952SRoss Zwisler bool 52661031952SRoss Zwisler 52733dd7075SDan Williamsconfig MEMREGION 52833dd7075SDan Williams bool 52933dd7075SDan Williams 5301156b441SDavidlohr Buesoconfig ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION 5311156b441SDavidlohr Bueso bool 5321156b441SDavidlohr Bueso 533c460697dSYicong Yangconfig GENERIC_CPU_CACHE_MAINTENANCE 534c460697dSYicong Yang bool 535c460697dSYicong Yang 5369ffc1d19SDan Williamsconfig ARCH_HAS_MEMREMAP_COMPAT_ALIGN 5379ffc1d19SDan Williams bool 5389ffc1d19SDan Williams 539bd79f947SChristoph Hellwig# use memcpy to implement user copies for nommu architectures 540bd79f947SChristoph Hellwigconfig UACCESS_MEMCPY 541bd79f947SChristoph Hellwig bool 542bd79f947SChristoph Hellwig 5430aed55afSDan Williamsconfig ARCH_HAS_UACCESS_FLUSHCACHE 5440aed55afSDan Williams bool 5450aed55afSDan Williams 546ec6347bbSDan Williams# arch has a concept of a recoverable synchronous exception due to a 547ec6347bbSDan Williams# memory-read error like x86 machine-check or ARM data-abort, and 548ec6347bbSDan Williams# implements copy_mc_to_{user,kernel} to abort and report 549ec6347bbSDan Williams# 'bytes-transferred' if that exception fires when accessing the source 550ec6347bbSDan Williams# buffer. 551ec6347bbSDan Williamsconfig ARCH_HAS_COPY_MC 552522239b4SDan Williams bool 553522239b4SDan Williams 554214d8ca6SThomas Gleixner# Temporary. Goes away when all archs are cleaned up 555214d8ca6SThomas Gleixnerconfig ARCH_STACKWALK 556214d8ca6SThomas Gleixner bool 557214d8ca6SThomas Gleixner 558cd11016eSAlexander Potapenkoconfig STACKDEPOT 559cd11016eSAlexander Potapenko bool 560cd11016eSAlexander Potapenko select STACKTRACE 561fc60e0caSAndrey Konovalov help 562fc60e0caSAndrey Konovalov Stack depot: stack trace storage that avoids duplication 563cd11016eSAlexander Potapenko 5642dba5eb1SVlastimil Babkaconfig STACKDEPOT_ALWAYS_INIT 5652dba5eb1SVlastimil Babka bool 5662dba5eb1SVlastimil Babka select STACKDEPOT 567fc60e0caSAndrey Konovalov help 568fc60e0caSAndrey Konovalov Always initialize stack depot during early boot 569fc60e0caSAndrey Konovalov 570fc60e0caSAndrey Konovalovconfig STACKDEPOT_MAX_FRAMES 571fc60e0caSAndrey Konovalov int "Maximum number of frames in trace saved in stack depot" 572fc60e0caSAndrey Konovalov range 1 256 573fc60e0caSAndrey Konovalov default 64 574fc60e0caSAndrey Konovalov depends on STACKDEPOT 5752dba5eb1SVlastimil Babka 5764e66934eSEric Dumazetconfig REF_TRACKER 5774e66934eSEric Dumazet bool 5784e66934eSEric Dumazet depends on STACKTRACE_SUPPORT 5794e66934eSEric Dumazet select STACKDEPOT 5804e66934eSEric Dumazet 58188459642SOmar Sandovalconfig SBITMAP 58288459642SOmar Sandoval bool 58388459642SOmar Sandoval 58444091d29SJiri Pirkoconfig PARMAN 5859d25af69SGeert Uytterhoeven tristate "parman" if COMPILE_TEST 58644091d29SJiri Pirko 5873dfdecc6SRandy Dunlapconfig OBJAGG 5883dfdecc6SRandy Dunlap tristate "objagg" if COMPILE_TEST 5893dfdecc6SRandy Dunlap 590de9e82c3SNeilBrownconfig LWQ_TEST 591de9e82c3SNeilBrown bool "Boot-time test for lwq queuing" 592de9e82c3SNeilBrown help 593de9e82c3SNeilBrown Run boot-time test of light-weight queuing. 594de9e82c3SNeilBrown 5952de4ff7bSThomas Grafendmenu 596b35cd988SPalmer Dabbelt 59780b0ca98SChristoph Hellwigconfig GENERIC_IOREMAP 59880b0ca98SChristoph Hellwig bool 59980b0ca98SChristoph Hellwig 600e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHLDI3 601b35cd988SPalmer Dabbelt bool 602b35cd988SPalmer Dabbelt 603e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHRDI3 604b35cd988SPalmer Dabbelt bool 605b35cd988SPalmer Dabbelt 606e3d59805SMatt Redfearnconfig GENERIC_LIB_LSHRDI3 607b35cd988SPalmer Dabbelt bool 608b35cd988SPalmer Dabbelt 609e3d59805SMatt Redfearnconfig GENERIC_LIB_MULDI3 610b35cd988SPalmer Dabbelt bool 611b35cd988SPalmer Dabbelt 612e3d59805SMatt Redfearnconfig GENERIC_LIB_CMPDI2 613b35cd988SPalmer Dabbelt bool 614b35cd988SPalmer Dabbelt 615e3d59805SMatt Redfearnconfig GENERIC_LIB_UCMPDI2 616b35cd988SPalmer Dabbelt bool 617b8265621SJacob Keller 618527701edSPalmer Dabbeltconfig GENERIC_LIB_DEVMEM_IS_ALLOWED 619527701edSPalmer Dabbelt bool 620527701edSPalmer Dabbelt 621b8265621SJacob Kellerconfig PLDMFW 622b8265621SJacob Keller bool 6231224b218SSimon Horman select CRC32 624b8265621SJacob Keller default n 625b0706762SJames Bottomley 626b0706762SJames Bottomleyconfig ASN1_ENCODER 627b0706762SJames Bottomley tristate 628cd705ea8SMichael Walle 629a103f466SDave Jiangconfig FIRMWARE_TABLE 630a103f466SDave Jiang bool 631bf9850f6SKuan-Wei Chiu 632bf9850f6SKuan-Wei Chiuconfig UNION_FIND 633bf9850f6SKuan-Wei Chiu bool 63492a8b224SKuan-Wei Chiu 63592a8b224SKuan-Wei Chiuconfig MIN_HEAP 63692a8b224SKuan-Wei Chiu bool 637