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 22554aae35SVladimir Olteanconfig PACKING 23554aae35SVladimir Oltean bool "Generic bitfield packing and unpacking" 24554aae35SVladimir Oltean default n 25554aae35SVladimir Oltean help 26554aae35SVladimir Oltean This option provides the packing() helper function, which permits 27554aae35SVladimir Oltean converting bitfields between a CPU-usable representation and a 28554aae35SVladimir Oltean memory representation that can have any combination of these quirks: 29554aae35SVladimir Oltean - Is little endian (bytes are reversed within a 32-bit group) 30554aae35SVladimir Oltean - The least-significant 32-bit word comes first (within a 64-bit 31554aae35SVladimir Oltean group) 32554aae35SVladimir Oltean - The most significant bit of a byte is at its right (bit 0 of a 33554aae35SVladimir Oltean register description is numerically 2^7). 34554aae35SVladimir Oltean Drivers may use these helpers to match the bit indices as described 35554aae35SVladimir Oltean in the data sheets of the peripherals they are in control of. 36554aae35SVladimir Oltean 37554aae35SVladimir Oltean When in doubt, say N. 38554aae35SVladimir Oltean 39a5cfc1ecSAkinobu Mitaconfig BITREVERSE 40a5cfc1ecSAkinobu Mita tristate 41a5cfc1ecSAkinobu Mita 42556d2f05SYalin Wangconfig HAVE_ARCH_BITREVERSE 43841c0090SChristoph Jaeger bool 44556d2f05SYalin Wang default n 45556d2f05SYalin Wang depends on BITREVERSE 46556d2f05SYalin Wang help 479e522c0dSAndrew Morton This option enables the use of hardware bit-reversal instructions on 489e522c0dSAndrew Morton architectures which support such operations. 49556d2f05SYalin Wang 502922585bSDavid S. Millerconfig GENERIC_STRNCPY_FROM_USER 512922585bSDavid S. Miller bool 522922585bSDavid S. Miller 53a08c5356SLinus Torvaldsconfig GENERIC_STRNLEN_USER 54a08c5356SLinus Torvalds bool 55a08c5356SLinus Torvalds 564cd5773aSAndy Shevchenkoconfig GENERIC_NET_UTILS 574cd5773aSAndy Shevchenko bool 584cd5773aSAndy Shevchenko 5919870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT 609ba16087SJan Beulich bool 6119870defSAlexander van Heukelum 622c64e9cbSAndy Shevchenkosource "lib/math/Kconfig" 632c64e9cbSAndy Shevchenko 64b923650bSMichael S. Tsirkinconfig NO_GENERIC_PCI_IOPORT_MAP 65b923650bSMichael S. Tsirkin bool 66b923650bSMichael S. Tsirkin 6766eab4dfSMichael S. Tsirkinconfig GENERIC_PCI_IOMAP 6866eab4dfSMichael S. Tsirkin bool 6966eab4dfSMichael S. Tsirkin 704673ca8eSMichael S. Tsirkinconfig GENERIC_IOMAP 714673ca8eSMichael S. Tsirkin bool 7266eab4dfSMichael S. Tsirkin select GENERIC_PCI_IOMAP 734673ca8eSMichael S. Tsirkin 744ccf4beaSWolfram Sangconfig STMP_DEVICE 754ccf4beaSWolfram Sang bool 764ccf4beaSWolfram Sang 77bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF 78bc08b449SLinus Torvalds bool 79bc08b449SLinus Torvalds 8072d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER 8172d93104SLinus Torvalds bool 8272d93104SLinus Torvalds 83*2ce0d7f9SMark Brownconfig ARCH_USE_SYM_ANNOTATIONS 84*2ce0d7f9SMark Brown bool 85*2ce0d7f9SMark Brown 86031e3601SZhichang Yuanconfig INDIRECT_PIO 87031e3601SZhichang Yuan bool "Access I/O in non-MMIO mode" 88031e3601SZhichang Yuan depends on ARM64 89031e3601SZhichang Yuan help 90031e3601SZhichang Yuan On some platforms where no separate I/O space exists, there are I/O 91031e3601SZhichang Yuan hosts which can not be accessed in MMIO mode. Using the logical PIO 92031e3601SZhichang Yuan mechanism, the host-local I/O resource can be mapped into system 93031e3601SZhichang Yuan logic PIO space shared with MMIO hosts, such as PCI/PCIe, then the 94031e3601SZhichang Yuan system can access the I/O devices with the mapped-logic PIO through 95031e3601SZhichang Yuan I/O accessors. 96031e3601SZhichang Yuan 97031e3601SZhichang Yuan This way has relatively little I/O performance cost. Please make 98031e3601SZhichang Yuan sure your devices really need this configure item enabled. 99031e3601SZhichang Yuan 100031e3601SZhichang Yuan When in doubt, say N. 101031e3601SZhichang Yuan 1021da177e4SLinus Torvaldsconfig CRC_CCITT 1031da177e4SLinus Torvalds tristate "CRC-CCITT functions" 1041da177e4SLinus Torvalds help 1051da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 1061da177e4SLinus Torvalds modules require CRC-CCITT functions, but a module built outside 1071da177e4SLinus Torvalds the kernel tree does. Such modules that use library CRC-CCITT 1081da177e4SLinus Torvalds functions require M here. 1091da177e4SLinus Torvalds 1107657ec1fSEvgeniy Polyakovconfig CRC16 1117657ec1fSEvgeniy Polyakov tristate "CRC16 functions" 1127657ec1fSEvgeniy Polyakov help 1137657ec1fSEvgeniy Polyakov This option is provided for the case where no in-kernel-tree 1147657ec1fSEvgeniy Polyakov modules require CRC16 functions, but a module built outside 1157657ec1fSEvgeniy Polyakov the kernel tree does. Such modules that use library CRC16 1167657ec1fSEvgeniy Polyakov functions require M here. 1177657ec1fSEvgeniy Polyakov 118f11f594eSMartin K. Petersenconfig CRC_T10DIF 119f11f594eSMartin K. Petersen tristate "CRC calculation for the T10 Data Integrity Field" 12068411521SHerbert Xu select CRYPTO 12168411521SHerbert Xu select CRYPTO_CRCT10DIF 122f11f594eSMartin K. Petersen help 123f11f594eSMartin K. Petersen This option is only needed if a module that's not in the 124f11f594eSMartin K. Petersen kernel tree needs to calculate CRC checks for use with the 125f11f594eSMartin K. Petersen SCSI data integrity subsystem. 126f11f594eSMartin K. Petersen 1273e7cbae7SIvo van Doornconfig CRC_ITU_T 1283e7cbae7SIvo van Doorn tristate "CRC ITU-T V.41 functions" 1293e7cbae7SIvo van Doorn help 1303e7cbae7SIvo van Doorn This option is provided for the case where no in-kernel-tree 1313e7cbae7SIvo van Doorn modules require CRC ITU-T V.41 functions, but a module built outside 1323e7cbae7SIvo van Doorn the kernel tree does. Such modules that use library CRC ITU-T V.41 1333e7cbae7SIvo van Doorn functions require M here. 1343e7cbae7SIvo van Doorn 1351da177e4SLinus Torvaldsconfig CRC32 13646c5801eSDarrick J. Wong tristate "CRC32/CRC32c functions" 1371da177e4SLinus Torvalds default y 138906d66dfSAkinobu Mita select BITREVERSE 1391da177e4SLinus Torvalds help 1401da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 14146c5801eSDarrick J. Wong modules require CRC32/CRC32c functions, but a module built outside 14246c5801eSDarrick J. Wong the kernel tree does. Such modules that use library CRC32/CRC32c 14346c5801eSDarrick J. Wong functions require M here. 1441da177e4SLinus Torvalds 1453863ef31SBob Pearsonconfig CRC32_SELFTEST 1465fb7f874SGeert Uytterhoeven tristate "CRC32 perform self test on init" 1473863ef31SBob Pearson depends on CRC32 1483863ef31SBob Pearson help 1493863ef31SBob Pearson This option enables the CRC32 library functions to perform a 1503863ef31SBob Pearson self test on initialization. The self test computes crc32_le 1513863ef31SBob Pearson and crc32_be over byte strings with random alignment and length 1523863ef31SBob Pearson and computes the total elapsed time and number of bytes processed. 1533863ef31SBob Pearson 1545cde7656SDarrick J. Wongchoice 1555cde7656SDarrick J. Wong prompt "CRC32 implementation" 1565cde7656SDarrick J. Wong depends on CRC32 1575cde7656SDarrick J. Wong default CRC32_SLICEBY8 15882edb4baSDarrick J. Wong help 15982edb4baSDarrick J. Wong This option allows a kernel builder to override the default choice 16082edb4baSDarrick J. Wong of CRC32 algorithm. Choose the default ("slice by 8") unless you 16182edb4baSDarrick J. Wong know that you need one of the others. 1625cde7656SDarrick J. Wong 1635cde7656SDarrick J. Wongconfig CRC32_SLICEBY8 1645cde7656SDarrick J. Wong bool "Slice by 8 bytes" 1655cde7656SDarrick J. Wong help 1665cde7656SDarrick J. Wong Calculate checksum 8 bytes at a time with a clever slicing algorithm. 1675cde7656SDarrick J. Wong This is the fastest algorithm, but comes with a 8KiB lookup table. 1685cde7656SDarrick J. Wong Most modern processors have enough cache to hold this table without 1695cde7656SDarrick J. Wong thrashing the cache. 1705cde7656SDarrick J. Wong 1715cde7656SDarrick J. Wong This is the default implementation choice. Choose this one unless 1725cde7656SDarrick J. Wong you have a good reason not to. 1735cde7656SDarrick J. Wong 1745cde7656SDarrick J. Wongconfig CRC32_SLICEBY4 1755cde7656SDarrick J. Wong bool "Slice by 4 bytes" 1765cde7656SDarrick J. Wong help 1775cde7656SDarrick J. Wong Calculate checksum 4 bytes at a time with a clever slicing algorithm. 1785cde7656SDarrick J. Wong This is a bit slower than slice by 8, but has a smaller 4KiB lookup 1795cde7656SDarrick J. Wong table. 1805cde7656SDarrick J. Wong 1815cde7656SDarrick J. Wong Only choose this option if you know what you are doing. 1825cde7656SDarrick J. Wong 1835cde7656SDarrick J. Wongconfig CRC32_SARWATE 1845cde7656SDarrick J. Wong bool "Sarwate's Algorithm (one byte at a time)" 1855cde7656SDarrick J. Wong help 1865cde7656SDarrick J. Wong Calculate checksum a byte at a time using Sarwate's algorithm. This 1875cde7656SDarrick J. Wong is not particularly fast, but has a small 256 byte lookup table. 1885cde7656SDarrick J. Wong 1895cde7656SDarrick J. Wong Only choose this option if you know what you are doing. 1905cde7656SDarrick J. Wong 1915cde7656SDarrick J. Wongconfig CRC32_BIT 1925cde7656SDarrick J. Wong bool "Classic Algorithm (one bit at a time)" 1935cde7656SDarrick J. Wong help 1945cde7656SDarrick J. Wong Calculate checksum one bit at a time. This is VERY slow, but has 1955cde7656SDarrick J. Wong no lookup table. This is provided as a debugging option. 1965cde7656SDarrick J. Wong 1975cde7656SDarrick J. Wong Only choose this option if you are debugging crc32. 1985cde7656SDarrick J. Wong 1995cde7656SDarrick J. Wongendchoice 2005cde7656SDarrick J. Wong 201feba04fdSColy Liconfig CRC64 202feba04fdSColy Li tristate "CRC64 functions" 203feba04fdSColy Li help 204feba04fdSColy Li This option is provided for the case where no in-kernel-tree 205feba04fdSColy Li modules require CRC64 functions, but a module built outside 206feba04fdSColy Li the kernel tree does. Such modules that use library CRC64 207feba04fdSColy Li functions require M here. 208feba04fdSColy Li 2090cbaa448SJeremy Kerrconfig CRC4 2100cbaa448SJeremy Kerr tristate "CRC4 functions" 2110cbaa448SJeremy Kerr help 2120cbaa448SJeremy Kerr This option is provided for the case where no in-kernel-tree 2130cbaa448SJeremy Kerr modules require CRC4 functions, but a module built outside 2140cbaa448SJeremy Kerr the kernel tree does. Such modules that use library CRC4 2150cbaa448SJeremy Kerr functions require M here. 2160cbaa448SJeremy Kerr 217ad241528SJan Nikitenkoconfig CRC7 218ad241528SJan Nikitenko tristate "CRC7 functions" 219ad241528SJan Nikitenko help 220ad241528SJan Nikitenko This option is provided for the case where no in-kernel-tree 221ad241528SJan Nikitenko modules require CRC7 functions, but a module built outside 222ad241528SJan Nikitenko the kernel tree does. Such modules that use library CRC7 223ad241528SJan Nikitenko functions require M here. 224ad241528SJan Nikitenko 2251da177e4SLinus Torvaldsconfig LIBCRC32C 2261da177e4SLinus Torvalds tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" 22793027354SHerbert Xu select CRYPTO 22869c35efcSHerbert Xu select CRYPTO_CRC32C 2291da177e4SLinus Torvalds help 2301da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 2311da177e4SLinus Torvalds modules require CRC32c functions, but a module built outside the 2321da177e4SLinus Torvalds kernel tree does. Such modules that use library CRC32c functions 2331da177e4SLinus Torvalds require M here. See Castagnoli93. 2341da177e4SLinus Torvalds Module will be libcrc32c. 2351da177e4SLinus Torvalds 2367150962dSArend van Sprielconfig CRC8 2377150962dSArend van Spriel tristate "CRC8 function" 2387150962dSArend van Spriel help 2397150962dSArend van Spriel This option provides CRC8 function. Drivers may select this 2407150962dSArend van Spriel when they need to do cyclic redundancy check according CRC8 2417150962dSArend van Spriel algorithm. Module will be called crc8. 2427150962dSArend van Spriel 2435d240522SNick Terrellconfig XXHASH 2445d240522SNick Terrell tristate 2455d240522SNick Terrell 246e65e1fc2SAl Viroconfig AUDIT_GENERIC 247e65e1fc2SAl Viro bool 248e65e1fc2SAl Viro depends on AUDIT && !AUDIT_ARCH 249e65e1fc2SAl Viro default y 250e65e1fc2SAl Viro 2514b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC 2524b588411SAKASHI Takahiro bool 2534b588411SAKASHI Takahiro default n 2544b588411SAKASHI Takahiro 2554b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC 2564b588411SAKASHI Takahiro bool 2574b588411SAKASHI Takahiro depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT 2584b588411SAKASHI Takahiro default y 2594b588411SAKASHI Takahiro 260a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST 261a6a9c0f1SDaniel Borkmann bool "PRNG perform self test on init" 262a6a9c0f1SDaniel Borkmann help 263a6a9c0f1SDaniel Borkmann This option enables the 32 bit PRNG library functions to perform a 264a6a9c0f1SDaniel Borkmann self test on initialization. 265a6a9c0f1SDaniel Borkmann 2661da177e4SLinus Torvalds# 2671da177e4SLinus Torvalds# compression support is select'ed if needed 2681da177e4SLinus Torvalds# 2692da572c9SDan Streetmanconfig 842_COMPRESS 2705b571677SArnd Bergmann select CRC32 2712da572c9SDan Streetman tristate 2722da572c9SDan Streetman 2732da572c9SDan Streetmanconfig 842_DECOMPRESS 2745b571677SArnd Bergmann select CRC32 2752da572c9SDan Streetman tristate 2762da572c9SDan Streetman 2771da177e4SLinus Torvaldsconfig ZLIB_INFLATE 2781da177e4SLinus Torvalds tristate 2791da177e4SLinus Torvalds 2801da177e4SLinus Torvaldsconfig ZLIB_DEFLATE 2811da177e4SLinus Torvalds tristate 2821fd4e5c3SAndrew Morton select BITREVERSE 2831da177e4SLinus Torvalds 284aa5b395bSMikhail Zaslonkoconfig ZLIB_DFLTCC 285aa5b395bSMikhail Zaslonko def_bool y 286aa5b395bSMikhail Zaslonko depends on S390 287aa5b395bSMikhail Zaslonko prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib" 288aa5b395bSMikhail Zaslonko help 289aa5b395bSMikhail Zaslonko Enable s390x hardware support for zlib in the kernel. 290aa5b395bSMikhail Zaslonko 29164c70b1cSRichard Purdieconfig LZO_COMPRESS 29264c70b1cSRichard Purdie tristate 29364c70b1cSRichard Purdie 29464c70b1cSRichard Purdieconfig LZO_DECOMPRESS 29564c70b1cSRichard Purdie tristate 29664c70b1cSRichard Purdie 297c72ac7a1SChanho Minconfig LZ4_COMPRESS 298c72ac7a1SChanho Min tristate 299c72ac7a1SChanho Min 300c72ac7a1SChanho Minconfig LZ4HC_COMPRESS 301c72ac7a1SChanho Min tristate 302c72ac7a1SChanho Min 303e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS 304e76e1fdfSKyungsik Lee tristate 305e76e1fdfSKyungsik Lee 30673f3d1b4SNick Terrellconfig ZSTD_COMPRESS 30773f3d1b4SNick Terrell select XXHASH 30873f3d1b4SNick Terrell tristate 30973f3d1b4SNick Terrell 31073f3d1b4SNick Terrellconfig ZSTD_DECOMPRESS 31173f3d1b4SNick Terrell select XXHASH 31273f3d1b4SNick Terrell tristate 31373f3d1b4SNick Terrell 31424fa0402SLasse Collinsource "lib/xz/Kconfig" 31524fa0402SLasse Collin 3161da177e4SLinus Torvalds# 317c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with 318c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) 319c8531ab3SH. Peter Anvin# 320c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP 3217856a16eSH. Peter Anvin select ZLIB_INFLATE 322c8531ab3SH. Peter Anvin tristate 323c8531ab3SH. Peter Anvin 324c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2 325c8531ab3SH. Peter Anvin tristate 326c8531ab3SH. Peter Anvin 327c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA 328c8531ab3SH. Peter Anvin tristate 329c8531ab3SH. Peter Anvin 3303ebe1243SLasse Collinconfig DECOMPRESS_XZ 3313ebe1243SLasse Collin select XZ_DEC 3323ebe1243SLasse Collin tristate 3333ebe1243SLasse Collin 334cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO 335cacb246fSAlbin Tonnerre select LZO_DECOMPRESS 336cacb246fSAlbin Tonnerre tristate 337cacb246fSAlbin Tonnerre 338e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4 339e76e1fdfSKyungsik Lee select LZ4_DECOMPRESS 340e76e1fdfSKyungsik Lee tristate 341e76e1fdfSKyungsik Lee 342c8531ab3SH. Peter Anvin# 343f14f75b8SJes Sorensen# Generic allocator support is selected if needed 344f14f75b8SJes Sorensen# 345f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR 3466341e62bSChristoph Jaeger bool 347f14f75b8SJes Sorensen 348f14f75b8SJes Sorensen# 3491da177e4SLinus Torvalds# reed solomon support is select'ed if needed 3501da177e4SLinus Torvalds# 3511da177e4SLinus Torvaldsconfig REED_SOLOMON 3521da177e4SLinus Torvalds tristate 3531da177e4SLinus Torvalds 3541da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8 3556341e62bSChristoph Jaeger bool 3561da177e4SLinus Torvalds 3571da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8 3586341e62bSChristoph Jaeger bool 3591da177e4SLinus Torvalds 3601da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16 3616341e62bSChristoph Jaeger bool 3621da177e4SLinus Torvalds 3631da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16 3646341e62bSChristoph Jaeger bool 3651da177e4SLinus Torvalds 366f7704347SDavid S. Miller# 367437aa565SIvan Djelic# BCH support is selected if needed 368437aa565SIvan Djelic# 369437aa565SIvan Djelicconfig BCH 370437aa565SIvan Djelic tristate 371437aa565SIvan Djelic 372437aa565SIvan Djelicconfig BCH_CONST_PARAMS 3736341e62bSChristoph Jaeger bool 374437aa565SIvan Djelic help 375437aa565SIvan Djelic Drivers may select this option to force specific constant 376437aa565SIvan Djelic values for parameters 'm' (Galois field order) and 't' 377437aa565SIvan Djelic (error correction capability). Those specific values must 378437aa565SIvan Djelic be set by declaring default values for symbols BCH_CONST_M 379437aa565SIvan Djelic and BCH_CONST_T. 380437aa565SIvan Djelic Doing so will enable extra compiler optimizations, 381437aa565SIvan Djelic improving encoding and decoding performance up to 2x for 382437aa565SIvan Djelic usual (m,t) values (typically such that m*t < 200). 383437aa565SIvan Djelic When this option is selected, the BCH library supports 384437aa565SIvan Djelic only a single (m,t) configuration. This is mainly useful 385437aa565SIvan Djelic for NAND flash board drivers requiring known, fixed BCH 386437aa565SIvan Djelic parameters. 387437aa565SIvan Djelic 388437aa565SIvan Djelicconfig BCH_CONST_M 389437aa565SIvan Djelic int 390437aa565SIvan Djelic range 5 15 391437aa565SIvan Djelic help 392437aa565SIvan Djelic Constant value for Galois field order 'm'. If 'k' is the 393437aa565SIvan Djelic number of data bits to protect, 'm' should be chosen such 394437aa565SIvan Djelic that (k + m*t) <= 2**m - 1. 395437aa565SIvan Djelic Drivers should declare a default value for this symbol if 396437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 397437aa565SIvan Djelic 398437aa565SIvan Djelicconfig BCH_CONST_T 399437aa565SIvan Djelic int 400437aa565SIvan Djelic help 401437aa565SIvan Djelic Constant value for error correction capability in bits 't'. 402437aa565SIvan Djelic Drivers should declare a default value for this symbol if 403437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 404437aa565SIvan Djelic 405437aa565SIvan Djelic# 406f7704347SDavid S. Miller# Textsearch support is select'ed if needed 407f7704347SDavid S. Miller# 4082de4ff7bSThomas Grafconfig TEXTSEARCH 4096341e62bSChristoph Jaeger bool 4101da177e4SLinus Torvalds 411df3fb93aSThomas Grafconfig TEXTSEARCH_KMP 412f7704347SDavid S. Miller tristate 413df3fb93aSThomas Graf 4148082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM 41529cb9f9cSDavid S. Miller tristate 4168082e4edSPablo Neira Ayuso 4176408f79cSThomas Grafconfig TEXTSEARCH_FSM 418f7704347SDavid S. Miller tristate 4196408f79cSThomas Graf 4205db53f3eSJoern Engelconfig BTREE 4216341e62bSChristoph Jaeger bool 4225db53f3eSJoern Engel 423a88cc108SChris Wilsonconfig INTERVAL_TREE 4246341e62bSChristoph Jaeger bool 425a88cc108SChris Wilson help 426a88cc108SChris Wilson Simple, embeddable, interval-tree. Can find the start of an 427a88cc108SChris Wilson overlapping range in log(n) time and then iterate over all 428a88cc108SChris Wilson overlapping nodes. The algorithm is implemented as an 429a88cc108SChris Wilson augmented rbtree. 430a88cc108SChris Wilson 431a88cc108SChris Wilson See: 432a88cc108SChris Wilson 433a88cc108SChris Wilson Documentation/rbtree.txt 434a88cc108SChris Wilson 435a88cc108SChris Wilson for more information. 436a88cc108SChris Wilson 43702c02bf1SMatthew Wilcoxconfig XARRAY_MULTI 43857578c2eSMatthew Wilcox bool 43902c02bf1SMatthew Wilcox help 44002c02bf1SMatthew Wilcox Support entries which occupy multiple consecutive indices in the 44102c02bf1SMatthew Wilcox XArray. 44257578c2eSMatthew Wilcox 4433cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY 4443cb98950SDavid Howells bool 4453cb98950SDavid Howells help 4463cb98950SDavid Howells Generic associative array. Can be searched and iterated over whilst 4473cb98950SDavid Howells it is being modified. It is also reasonably quick to search and 4483cb98950SDavid Howells modify. The algorithms are non-recursive, and the trees are highly 4493cb98950SDavid Howells capacious. 4503cb98950SDavid Howells 4513cb98950SDavid Howells See: 4523cb98950SDavid Howells 4535fb94e9cSMauro Carvalho Chehab Documentation/core-api/assoc_array.rst 4543cb98950SDavid Howells 4553cb98950SDavid Howells for more information. 4563cb98950SDavid Howells 4575ea81769SAl Viroconfig HAS_IOMEM 4586341e62bSChristoph Jaeger bool 4595ea81769SAl Viro depends on !NO_IOMEM 4605ea81769SAl Viro default y 4615ea81769SAl Viro 462ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP 4636341e62bSChristoph Jaeger bool 464ce816fa8SUwe Kleine-König depends on HAS_IOMEM && !NO_IOPORT_MAP 465ee36c2bfSAl Viro default y 466ee36c2bfSAl Viro 467cf65a0f6SChristoph Hellwigsource "kernel/dma/Kconfig" 468411f0f3eSHeiko Carstens 469e80a0af4SBart Van Asscheconfig SGL_ALLOC 470e80a0af4SBart Van Assche bool 471e80a0af4SBart Van Assche default n 472e80a0af4SBart Van Assche 473a4ce5a48SChristoph Hellwigconfig IOMMU_HELPER 474a4ce5a48SChristoph Hellwig bool 475a4ce5a48SChristoph Hellwig 476928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE 477928923c7SGeert Uytterhoeven bool 478928923c7SGeert Uytterhoeven 479aab46da0SRusty Russellconfig CPUMASK_OFFSTACK 480aab46da0SRusty Russell bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS 481aab46da0SRusty Russell help 482aab46da0SRusty Russell Use dynamic allocation for cpumask_var_t, instead of putting 483aab46da0SRusty Russell them on the stack. This is a bit more expensive, but avoids 484aab46da0SRusty Russell stack overflow. 485aab46da0SRusty Russell 486c39649c3SBen Hutchingsconfig CPU_RMAP 487c39649c3SBen Hutchings bool 488c39649c3SBen Hutchings depends on SMP 489c39649c3SBen Hutchings 49075957ba3STom Herbertconfig DQL 49175957ba3STom Herbert bool 49275957ba3STom Herbert 493b0125085SGeorge Spelvinconfig GLOB 494b0125085SGeorge Spelvin bool 495b0125085SGeorge Spelvin# This actually supports modular compilation, but the module overhead 496b0125085SGeorge Spelvin# is ridiculous for the amount of code involved. Until an out-of-tree 497b0125085SGeorge Spelvin# driver asks for it, we'll just link it directly it into the kernel 498b0125085SGeorge Spelvin# when required. Since we're ignoring out-of-tree users, there's also 499b0125085SGeorge Spelvin# no need bother prompting for a manual decision: 500b0125085SGeorge Spelvin# prompt "glob_match() function" 501b0125085SGeorge Spelvin help 502b0125085SGeorge Spelvin This option provides a glob_match function for performing 503b0125085SGeorge Spelvin simple text pattern matching. It originated in the ATA code 504b0125085SGeorge Spelvin to blacklist particular drive models, but other device drivers 505b0125085SGeorge Spelvin may need similar functionality. 506b0125085SGeorge Spelvin 507b0125085SGeorge Spelvin All drivers in the Linux kernel tree that require this function 508b0125085SGeorge Spelvin should automatically select this option. Say N unless you 509b0125085SGeorge Spelvin are compiling an out-of tree driver which tells you that it 510b0125085SGeorge Spelvin depends on this. 511b0125085SGeorge Spelvin 5125f9be824SGeorge Spelvinconfig GLOB_SELFTEST 513ba95b045SGeert Uytterhoeven tristate "glob self-test on init" 5145f9be824SGeorge Spelvin depends on GLOB 5155f9be824SGeorge Spelvin help 5165f9be824SGeorge Spelvin This option enables a simple self-test of the glob_match 5175f9be824SGeorge Spelvin function on startup. It is primarily useful for people 5185f9be824SGeorge Spelvin working on the code to ensure they haven't introduced any 5195f9be824SGeorge Spelvin regressions. 5205f9be824SGeorge Spelvin 5215f9be824SGeorge Spelvin It only adds a little bit of code and slows kernel boot (or 5225f9be824SGeorge Spelvin module load) by a small amount, so you're welcome to play with 5235f9be824SGeorge Spelvin it, but you probably don't need it. 5245f9be824SGeorge Spelvin 525e9cc8bddSGeert Uytterhoeven# 526e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed 527e9cc8bddSGeert Uytterhoeven# 528e9cc8bddSGeert Uytterhoevenconfig NLATTR 529e9cc8bddSGeert Uytterhoeven bool 530e9cc8bddSGeert Uytterhoeven 53109d4e0edSPaul Mackerras# 53209d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed 53309d4e0edSPaul Mackerras# 53409d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64 53509d4e0edSPaul Mackerras bool 53609d4e0edSPaul Mackerras 537b411b363SPhilipp Reisnerconfig LRU_CACHE 538b411b363SPhilipp Reisner tristate 539b411b363SPhilipp Reisner 540c6df4b17SDavid Millerconfig CLZ_TAB 541c6df4b17SDavid Miller bool 542c6df4b17SDavid Miller 543511cbce2SChristoph Hellwigconfig IRQ_POLL 544511cbce2SChristoph Hellwig bool "IRQ polling library" 545511cbce2SChristoph Hellwig help 546511cbce2SChristoph Hellwig Helper library to poll interrupt mitigation using polling. 547511cbce2SChristoph Hellwig 548d9c46b18SDmitry Kasatkinconfig MPILIB 5492e5f094bSDmitry Kasatkin tristate 550c6df4b17SDavid Miller select CLZ_TAB 551d9c46b18SDmitry Kasatkin help 552d9c46b18SDmitry Kasatkin Multiprecision maths library from GnuPG. 553d9c46b18SDmitry Kasatkin It is used to implement RSA digital signature verification, 554d9c46b18SDmitry Kasatkin which is used by IMA/EVM digital signature extension. 555d9c46b18SDmitry Kasatkin 5565e8898e9SDmitry Kasatkinconfig SIGNATURE 5572e5f094bSDmitry Kasatkin tristate 5580d1f64f6SDmitry Kasatkin depends on KEYS 5590d1f64f6SDmitry Kasatkin select CRYPTO 560be440ec7SDmitry Kasatkin select CRYPTO_SHA1 561051dbb91SDmitry Kasatkin select MPILIB 562051dbb91SDmitry Kasatkin help 563051dbb91SDmitry Kasatkin Digital signature verification. Currently only RSA is supported. 564051dbb91SDmitry Kasatkin Implementation is done using GnuPG MPI library 565051dbb91SDmitry Kasatkin 5664f75da36STal Gilboaconfig DIMLIB 567424adc32SUwe Kleine-König bool 5684f75da36STal Gilboa help 5694f75da36STal Gilboa Dynamic Interrupt Moderation library. 570991ad2b2SRandy Dunlap Implements an algorithm for dynamically changing CQ moderation values 5714f75da36STal Gilboa according to run time performance. 5724f75da36STal Gilboa 573ab253839SDavid Daney# 574ab253839SDavid Daney# libfdt files, only selected if needed. 575ab253839SDavid Daney# 576ab253839SDavid Daneyconfig LIBFDT 577ab253839SDavid Daney bool 578ab253839SDavid Daney 579a77ad6eaSDavid Howellsconfig OID_REGISTRY 580a77ad6eaSDavid Howells tristate 581a77ad6eaSDavid Howells help 582a77ad6eaSDavid Howells Enable fast lookup object identifier registry. 583a77ad6eaSDavid Howells 5840635eb8aSMatthew Garrettconfig UCS2_STRING 5850635eb8aSMatthew Garrett tristate 5860635eb8aSMatthew Garrett 58700b26474SVincenzo Frascino# 58800b26474SVincenzo Frascino# generic vdso 58900b26474SVincenzo Frascino# 59000b26474SVincenzo Frascinosource "lib/vdso/Kconfig" 59100b26474SVincenzo Frascino 592ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig" 593ee89bd6bSGeert Uytterhoeven 594f8bcbe62SRobert Jarzmikconfig SG_SPLIT 595f8bcbe62SRobert Jarzmik def_bool n 596f8bcbe62SRobert Jarzmik help 5977f7e92f7SGeert Uytterhoeven Provides a helper to split scatterlists into chunks, each chunk being 5987f7e92f7SGeert Uytterhoeven a scatterlist. This should be selected by a driver or an API which 5997f7e92f7SGeert Uytterhoeven whishes to split a scatterlist amongst multiple DMA channels. 600f8bcbe62SRobert Jarzmik 6019b1d6c89SMing Linconfig SG_POOL 6029b1d6c89SMing Lin def_bool n 6039b1d6c89SMing Lin help 6049b1d6c89SMing Lin Provides a helper to allocate chained scatterlists. This should be 6059b1d6c89SMing Lin selected by a driver or an API which whishes to allocate chained 6069b1d6c89SMing Lin scatterlist. 6079b1d6c89SMing Lin 608308c09f1SLaura Abbott# 609308c09f1SLaura Abbott# sg chaining option 610308c09f1SLaura Abbott# 611308c09f1SLaura Abbott 6127c703e54SChristoph Hellwigconfig ARCH_NO_SG_CHAIN 613308c09f1SLaura Abbott def_bool n 614308c09f1SLaura Abbott 61561031952SRoss Zwislerconfig ARCH_HAS_PMEM_API 61661031952SRoss Zwisler bool 61761031952SRoss Zwisler 61833dd7075SDan Williamsconfig MEMREGION 61933dd7075SDan Williams bool 62033dd7075SDan Williams 6219ffc1d19SDan Williamsconfig ARCH_HAS_MEMREMAP_COMPAT_ALIGN 6229ffc1d19SDan Williams bool 6239ffc1d19SDan Williams 624bd79f947SChristoph Hellwig# use memcpy to implement user copies for nommu architectures 625bd79f947SChristoph Hellwigconfig UACCESS_MEMCPY 626bd79f947SChristoph Hellwig bool 627bd79f947SChristoph Hellwig 6280aed55afSDan Williamsconfig ARCH_HAS_UACCESS_FLUSHCACHE 6290aed55afSDan Williams bool 6300aed55afSDan Williams 631522239b4SDan Williamsconfig ARCH_HAS_UACCESS_MCSAFE 632522239b4SDan Williams bool 633522239b4SDan Williams 634214d8ca6SThomas Gleixner# Temporary. Goes away when all archs are cleaned up 635214d8ca6SThomas Gleixnerconfig ARCH_STACKWALK 636214d8ca6SThomas Gleixner bool 637214d8ca6SThomas Gleixner 638cd11016eSAlexander Potapenkoconfig STACKDEPOT 639cd11016eSAlexander Potapenko bool 640cd11016eSAlexander Potapenko select STACKTRACE 641cd11016eSAlexander Potapenko 64288459642SOmar Sandovalconfig SBITMAP 64388459642SOmar Sandoval bool 64488459642SOmar Sandoval 64544091d29SJiri Pirkoconfig PARMAN 6469d25af69SGeert Uytterhoeven tristate "parman" if COMPILE_TEST 64744091d29SJiri Pirko 6483dfdecc6SRandy Dunlapconfig OBJAGG 6493dfdecc6SRandy Dunlap tristate "objagg" if COMPILE_TEST 6503dfdecc6SRandy Dunlap 65103270c13SMatthew Wilcoxconfig STRING_SELFTEST 652d6b28e09SGeert Uytterhoeven tristate "Test string functions" 65303270c13SMatthew Wilcox 6542de4ff7bSThomas Grafendmenu 655b35cd988SPalmer Dabbelt 65680b0ca98SChristoph Hellwigconfig GENERIC_IOREMAP 65780b0ca98SChristoph Hellwig bool 65880b0ca98SChristoph Hellwig 659e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHLDI3 660b35cd988SPalmer Dabbelt bool 661b35cd988SPalmer Dabbelt 662e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHRDI3 663b35cd988SPalmer Dabbelt bool 664b35cd988SPalmer Dabbelt 665e3d59805SMatt Redfearnconfig GENERIC_LIB_LSHRDI3 666b35cd988SPalmer Dabbelt bool 667b35cd988SPalmer Dabbelt 668e3d59805SMatt Redfearnconfig GENERIC_LIB_MULDI3 669b35cd988SPalmer Dabbelt bool 670b35cd988SPalmer Dabbelt 671e3d59805SMatt Redfearnconfig GENERIC_LIB_CMPDI2 672b35cd988SPalmer Dabbelt bool 673b35cd988SPalmer Dabbelt 674e3d59805SMatt Redfearnconfig GENERIC_LIB_UCMPDI2 675b35cd988SPalmer Dabbelt bool 676