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" 27554aae35SVladimir Oltean default n 28554aae35SVladimir Oltean help 29554aae35SVladimir Oltean This option provides the packing() helper function, which permits 30554aae35SVladimir Oltean converting bitfields between a CPU-usable representation and a 31554aae35SVladimir Oltean memory representation that can have any combination of these quirks: 32554aae35SVladimir Oltean - Is little endian (bytes are reversed within a 32-bit group) 33554aae35SVladimir Oltean - The least-significant 32-bit word comes first (within a 64-bit 34554aae35SVladimir Oltean group) 35554aae35SVladimir Oltean - The most significant bit of a byte is at its right (bit 0 of a 36554aae35SVladimir Oltean register description is numerically 2^7). 37554aae35SVladimir Oltean Drivers may use these helpers to match the bit indices as described 38554aae35SVladimir Oltean in the data sheets of the peripherals they are in control of. 39554aae35SVladimir Oltean 40554aae35SVladimir Oltean When in doubt, say N. 41554aae35SVladimir Oltean 42a5cfc1ecSAkinobu Mitaconfig BITREVERSE 43a5cfc1ecSAkinobu Mita tristate 44a5cfc1ecSAkinobu Mita 45556d2f05SYalin Wangconfig HAVE_ARCH_BITREVERSE 46841c0090SChristoph Jaeger bool 47556d2f05SYalin Wang default n 48556d2f05SYalin Wang depends on BITREVERSE 49556d2f05SYalin Wang help 509e522c0dSAndrew Morton This option enables the use of hardware bit-reversal instructions on 519e522c0dSAndrew Morton architectures which support such operations. 52556d2f05SYalin Wang 532922585bSDavid S. Millerconfig GENERIC_STRNCPY_FROM_USER 542922585bSDavid S. Miller bool 552922585bSDavid S. Miller 56a08c5356SLinus Torvaldsconfig GENERIC_STRNLEN_USER 57a08c5356SLinus Torvalds bool 58a08c5356SLinus Torvalds 594cd5773aSAndy Shevchenkoconfig GENERIC_NET_UTILS 604cd5773aSAndy Shevchenko bool 614cd5773aSAndy Shevchenko 6219870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT 639ba16087SJan Beulich bool 6419870defSAlexander van Heukelum 652c64e9cbSAndy Shevchenkosource "lib/math/Kconfig" 662c64e9cbSAndy Shevchenko 67b923650bSMichael S. Tsirkinconfig NO_GENERIC_PCI_IOPORT_MAP 68b923650bSMichael S. Tsirkin bool 69b923650bSMichael S. Tsirkin 7066eab4dfSMichael S. Tsirkinconfig GENERIC_PCI_IOMAP 7166eab4dfSMichael S. Tsirkin bool 7266eab4dfSMichael S. Tsirkin 734673ca8eSMichael S. Tsirkinconfig GENERIC_IOMAP 744673ca8eSMichael S. Tsirkin bool 7566eab4dfSMichael S. Tsirkin select GENERIC_PCI_IOMAP 764673ca8eSMichael S. Tsirkin 774ccf4beaSWolfram Sangconfig STMP_DEVICE 784ccf4beaSWolfram Sang bool 794ccf4beaSWolfram Sang 80bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF 81bc08b449SLinus Torvalds bool 82bc08b449SLinus Torvalds 8372d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER 8472d93104SLinus Torvalds bool 8572d93104SLinus Torvalds 862ce0d7f9SMark Brownconfig ARCH_USE_SYM_ANNOTATIONS 872ce0d7f9SMark Brown bool 882ce0d7f9SMark Brown 89031e3601SZhichang Yuanconfig INDIRECT_PIO 90031e3601SZhichang Yuan bool "Access I/O in non-MMIO mode" 91031e3601SZhichang Yuan depends on ARM64 92031e3601SZhichang Yuan help 93031e3601SZhichang Yuan On some platforms where no separate I/O space exists, there are I/O 94031e3601SZhichang Yuan hosts which can not be accessed in MMIO mode. Using the logical PIO 95031e3601SZhichang Yuan mechanism, the host-local I/O resource can be mapped into system 96031e3601SZhichang Yuan logic PIO space shared with MMIO hosts, such as PCI/PCIe, then the 97031e3601SZhichang Yuan system can access the I/O devices with the mapped-logic PIO through 98031e3601SZhichang Yuan I/O accessors. 99031e3601SZhichang Yuan 100031e3601SZhichang Yuan This way has relatively little I/O performance cost. Please make 101031e3601SZhichang Yuan sure your devices really need this configure item enabled. 102031e3601SZhichang Yuan 103031e3601SZhichang Yuan When in doubt, say N. 104031e3601SZhichang Yuan 1051da177e4SLinus Torvaldsconfig CRC_CCITT 1061da177e4SLinus Torvalds tristate "CRC-CCITT functions" 1071da177e4SLinus Torvalds help 1081da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 1091da177e4SLinus Torvalds modules require CRC-CCITT functions, but a module built outside 1101da177e4SLinus Torvalds the kernel tree does. Such modules that use library CRC-CCITT 1111da177e4SLinus Torvalds functions require M here. 1121da177e4SLinus Torvalds 1137657ec1fSEvgeniy Polyakovconfig CRC16 1147657ec1fSEvgeniy Polyakov tristate "CRC16 functions" 1157657ec1fSEvgeniy Polyakov help 1167657ec1fSEvgeniy Polyakov This option is provided for the case where no in-kernel-tree 1177657ec1fSEvgeniy Polyakov modules require CRC16 functions, but a module built outside 1187657ec1fSEvgeniy Polyakov the kernel tree does. Such modules that use library CRC16 1197657ec1fSEvgeniy Polyakov functions require M here. 1207657ec1fSEvgeniy Polyakov 121f11f594eSMartin K. Petersenconfig CRC_T10DIF 122f11f594eSMartin K. Petersen tristate "CRC calculation for the T10 Data Integrity Field" 12368411521SHerbert Xu select CRYPTO 12468411521SHerbert Xu select CRYPTO_CRCT10DIF 125f11f594eSMartin K. Petersen help 126f11f594eSMartin K. Petersen This option is only needed if a module that's not in the 127f11f594eSMartin K. Petersen kernel tree needs to calculate CRC checks for use with the 128f11f594eSMartin K. Petersen SCSI data integrity subsystem. 129f11f594eSMartin K. Petersen 1303e7cbae7SIvo van Doornconfig CRC_ITU_T 1313e7cbae7SIvo van Doorn tristate "CRC ITU-T V.41 functions" 1323e7cbae7SIvo van Doorn help 1333e7cbae7SIvo van Doorn This option is provided for the case where no in-kernel-tree 1343e7cbae7SIvo van Doorn modules require CRC ITU-T V.41 functions, but a module built outside 1353e7cbae7SIvo van Doorn the kernel tree does. Such modules that use library CRC ITU-T V.41 1363e7cbae7SIvo van Doorn functions require M here. 1373e7cbae7SIvo van Doorn 1381da177e4SLinus Torvaldsconfig CRC32 13946c5801eSDarrick J. Wong tristate "CRC32/CRC32c functions" 1401da177e4SLinus Torvalds default y 141906d66dfSAkinobu Mita select BITREVERSE 1421da177e4SLinus Torvalds help 1431da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 14446c5801eSDarrick J. Wong modules require CRC32/CRC32c functions, but a module built outside 14546c5801eSDarrick J. Wong the kernel tree does. Such modules that use library CRC32/CRC32c 14646c5801eSDarrick J. Wong functions require M here. 1471da177e4SLinus Torvalds 1483863ef31SBob Pearsonconfig CRC32_SELFTEST 1495fb7f874SGeert Uytterhoeven tristate "CRC32 perform self test on init" 1503863ef31SBob Pearson depends on CRC32 1513863ef31SBob Pearson help 1523863ef31SBob Pearson This option enables the CRC32 library functions to perform a 1533863ef31SBob Pearson self test on initialization. The self test computes crc32_le 1543863ef31SBob Pearson and crc32_be over byte strings with random alignment and length 1553863ef31SBob Pearson and computes the total elapsed time and number of bytes processed. 1563863ef31SBob Pearson 1575cde7656SDarrick J. Wongchoice 1585cde7656SDarrick J. Wong prompt "CRC32 implementation" 1595cde7656SDarrick J. Wong depends on CRC32 1605cde7656SDarrick J. Wong default CRC32_SLICEBY8 16182edb4baSDarrick J. Wong help 16282edb4baSDarrick J. Wong This option allows a kernel builder to override the default choice 16382edb4baSDarrick J. Wong of CRC32 algorithm. Choose the default ("slice by 8") unless you 16482edb4baSDarrick J. Wong know that you need one of the others. 1655cde7656SDarrick J. Wong 1665cde7656SDarrick J. Wongconfig CRC32_SLICEBY8 1675cde7656SDarrick J. Wong bool "Slice by 8 bytes" 1685cde7656SDarrick J. Wong help 1695cde7656SDarrick J. Wong Calculate checksum 8 bytes at a time with a clever slicing algorithm. 1705cde7656SDarrick J. Wong This is the fastest algorithm, but comes with a 8KiB lookup table. 1715cde7656SDarrick J. Wong Most modern processors have enough cache to hold this table without 1725cde7656SDarrick J. Wong thrashing the cache. 1735cde7656SDarrick J. Wong 1745cde7656SDarrick J. Wong This is the default implementation choice. Choose this one unless 1755cde7656SDarrick J. Wong you have a good reason not to. 1765cde7656SDarrick J. Wong 1775cde7656SDarrick J. Wongconfig CRC32_SLICEBY4 1785cde7656SDarrick J. Wong bool "Slice by 4 bytes" 1795cde7656SDarrick J. Wong help 1805cde7656SDarrick J. Wong Calculate checksum 4 bytes at a time with a clever slicing algorithm. 1815cde7656SDarrick J. Wong This is a bit slower than slice by 8, but has a smaller 4KiB lookup 1825cde7656SDarrick J. Wong table. 1835cde7656SDarrick J. Wong 1845cde7656SDarrick J. Wong Only choose this option if you know what you are doing. 1855cde7656SDarrick J. Wong 1865cde7656SDarrick J. Wongconfig CRC32_SARWATE 1875cde7656SDarrick J. Wong bool "Sarwate's Algorithm (one byte at a time)" 1885cde7656SDarrick J. Wong help 1895cde7656SDarrick J. Wong Calculate checksum a byte at a time using Sarwate's algorithm. This 1905cde7656SDarrick J. Wong is not particularly fast, but has a small 256 byte lookup table. 1915cde7656SDarrick J. Wong 1925cde7656SDarrick J. Wong Only choose this option if you know what you are doing. 1935cde7656SDarrick J. Wong 1945cde7656SDarrick J. Wongconfig CRC32_BIT 1955cde7656SDarrick J. Wong bool "Classic Algorithm (one bit at a time)" 1965cde7656SDarrick J. Wong help 1975cde7656SDarrick J. Wong Calculate checksum one bit at a time. This is VERY slow, but has 1985cde7656SDarrick J. Wong no lookup table. This is provided as a debugging option. 1995cde7656SDarrick J. Wong 2005cde7656SDarrick J. Wong Only choose this option if you are debugging crc32. 2015cde7656SDarrick J. Wong 2025cde7656SDarrick J. Wongendchoice 2035cde7656SDarrick J. Wong 204feba04fdSColy Liconfig CRC64 205feba04fdSColy Li tristate "CRC64 functions" 206feba04fdSColy Li help 207feba04fdSColy Li This option is provided for the case where no in-kernel-tree 208feba04fdSColy Li modules require CRC64 functions, but a module built outside 209feba04fdSColy Li the kernel tree does. Such modules that use library CRC64 210feba04fdSColy Li functions require M here. 211feba04fdSColy Li 2120cbaa448SJeremy Kerrconfig CRC4 2130cbaa448SJeremy Kerr tristate "CRC4 functions" 2140cbaa448SJeremy Kerr help 2150cbaa448SJeremy Kerr This option is provided for the case where no in-kernel-tree 2160cbaa448SJeremy Kerr modules require CRC4 functions, but a module built outside 2170cbaa448SJeremy Kerr the kernel tree does. Such modules that use library CRC4 2180cbaa448SJeremy Kerr functions require M here. 2190cbaa448SJeremy Kerr 220ad241528SJan Nikitenkoconfig CRC7 221ad241528SJan Nikitenko tristate "CRC7 functions" 222ad241528SJan Nikitenko help 223ad241528SJan Nikitenko This option is provided for the case where no in-kernel-tree 224ad241528SJan Nikitenko modules require CRC7 functions, but a module built outside 225ad241528SJan Nikitenko the kernel tree does. Such modules that use library CRC7 226ad241528SJan Nikitenko functions require M here. 227ad241528SJan Nikitenko 2281da177e4SLinus Torvaldsconfig LIBCRC32C 2291da177e4SLinus Torvalds tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" 23093027354SHerbert Xu select CRYPTO 23169c35efcSHerbert Xu select CRYPTO_CRC32C 2321da177e4SLinus Torvalds help 2331da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 2341da177e4SLinus Torvalds modules require CRC32c functions, but a module built outside the 2351da177e4SLinus Torvalds kernel tree does. Such modules that use library CRC32c functions 2361da177e4SLinus Torvalds require M here. See Castagnoli93. 2371da177e4SLinus Torvalds Module will be libcrc32c. 2381da177e4SLinus Torvalds 2397150962dSArend van Sprielconfig CRC8 2407150962dSArend van Spriel tristate "CRC8 function" 2417150962dSArend van Spriel help 2427150962dSArend van Spriel This option provides CRC8 function. Drivers may select this 2437150962dSArend van Spriel when they need to do cyclic redundancy check according CRC8 2447150962dSArend van Spriel algorithm. Module will be called crc8. 2457150962dSArend van Spriel 2465d240522SNick Terrellconfig XXHASH 2475d240522SNick Terrell tristate 2485d240522SNick Terrell 249e65e1fc2SAl Viroconfig AUDIT_GENERIC 250e65e1fc2SAl Viro bool 251e65e1fc2SAl Viro depends on AUDIT && !AUDIT_ARCH 252e65e1fc2SAl Viro default y 253e65e1fc2SAl Viro 2544b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC 2554b588411SAKASHI Takahiro bool 2564b588411SAKASHI Takahiro default n 2574b588411SAKASHI Takahiro 2584b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC 2594b588411SAKASHI Takahiro bool 2604b588411SAKASHI Takahiro depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT 2614b588411SAKASHI Takahiro default y 2624b588411SAKASHI Takahiro 263a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST 264a6a9c0f1SDaniel Borkmann bool "PRNG perform self test on init" 265a6a9c0f1SDaniel Borkmann help 266a6a9c0f1SDaniel Borkmann This option enables the 32 bit PRNG library functions to perform a 267a6a9c0f1SDaniel Borkmann self test on initialization. 268a6a9c0f1SDaniel Borkmann 2691da177e4SLinus Torvalds# 2701da177e4SLinus Torvalds# compression support is select'ed if needed 2711da177e4SLinus Torvalds# 2722da572c9SDan Streetmanconfig 842_COMPRESS 2735b571677SArnd Bergmann select CRC32 2742da572c9SDan Streetman tristate 2752da572c9SDan Streetman 2762da572c9SDan Streetmanconfig 842_DECOMPRESS 2775b571677SArnd Bergmann select CRC32 2782da572c9SDan Streetman tristate 2792da572c9SDan Streetman 2801da177e4SLinus Torvaldsconfig ZLIB_INFLATE 2811da177e4SLinus Torvalds tristate 2821da177e4SLinus Torvalds 2831da177e4SLinus Torvaldsconfig ZLIB_DEFLATE 2841da177e4SLinus Torvalds tristate 2851fd4e5c3SAndrew Morton select BITREVERSE 2861da177e4SLinus Torvalds 287aa5b395bSMikhail Zaslonkoconfig ZLIB_DFLTCC 288aa5b395bSMikhail Zaslonko def_bool y 289aa5b395bSMikhail Zaslonko depends on S390 290aa5b395bSMikhail Zaslonko prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib" 291aa5b395bSMikhail Zaslonko help 292aa5b395bSMikhail Zaslonko Enable s390x hardware support for zlib in the kernel. 293aa5b395bSMikhail Zaslonko 29464c70b1cSRichard Purdieconfig LZO_COMPRESS 29564c70b1cSRichard Purdie tristate 29664c70b1cSRichard Purdie 29764c70b1cSRichard Purdieconfig LZO_DECOMPRESS 29864c70b1cSRichard Purdie tristate 29964c70b1cSRichard Purdie 300c72ac7a1SChanho Minconfig LZ4_COMPRESS 301c72ac7a1SChanho Min tristate 302c72ac7a1SChanho Min 303c72ac7a1SChanho Minconfig LZ4HC_COMPRESS 304c72ac7a1SChanho Min tristate 305c72ac7a1SChanho Min 306e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS 307e76e1fdfSKyungsik Lee tristate 308e76e1fdfSKyungsik Lee 30973f3d1b4SNick Terrellconfig ZSTD_COMPRESS 31073f3d1b4SNick Terrell select XXHASH 31173f3d1b4SNick Terrell tristate 31273f3d1b4SNick Terrell 31373f3d1b4SNick Terrellconfig ZSTD_DECOMPRESS 31473f3d1b4SNick Terrell select XXHASH 31573f3d1b4SNick Terrell tristate 31673f3d1b4SNick Terrell 31724fa0402SLasse Collinsource "lib/xz/Kconfig" 31824fa0402SLasse Collin 3191da177e4SLinus Torvalds# 320c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with 321c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) 322c8531ab3SH. Peter Anvin# 323c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP 3247856a16eSH. Peter Anvin select ZLIB_INFLATE 325c8531ab3SH. Peter Anvin tristate 326c8531ab3SH. Peter Anvin 327c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2 328c8531ab3SH. Peter Anvin tristate 329c8531ab3SH. Peter Anvin 330c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA 331c8531ab3SH. Peter Anvin tristate 332c8531ab3SH. Peter Anvin 3333ebe1243SLasse Collinconfig DECOMPRESS_XZ 3343ebe1243SLasse Collin select XZ_DEC 3353ebe1243SLasse Collin tristate 3363ebe1243SLasse Collin 337cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO 338cacb246fSAlbin Tonnerre select LZO_DECOMPRESS 339cacb246fSAlbin Tonnerre tristate 340cacb246fSAlbin Tonnerre 341e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4 342e76e1fdfSKyungsik Lee select LZ4_DECOMPRESS 343e76e1fdfSKyungsik Lee tristate 344e76e1fdfSKyungsik Lee 345c8531ab3SH. Peter Anvin# 346f14f75b8SJes Sorensen# Generic allocator support is selected if needed 347f14f75b8SJes Sorensen# 348f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR 3496341e62bSChristoph Jaeger bool 350f14f75b8SJes Sorensen 351f14f75b8SJes Sorensen# 3521da177e4SLinus Torvalds# reed solomon support is select'ed if needed 3531da177e4SLinus Torvalds# 3541da177e4SLinus Torvaldsconfig REED_SOLOMON 3551da177e4SLinus Torvalds tristate 3561da177e4SLinus Torvalds 3571da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8 3586341e62bSChristoph Jaeger bool 3591da177e4SLinus Torvalds 3601da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8 3616341e62bSChristoph Jaeger bool 3621da177e4SLinus Torvalds 3631da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16 3646341e62bSChristoph Jaeger bool 3651da177e4SLinus Torvalds 3661da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16 3676341e62bSChristoph Jaeger bool 3681da177e4SLinus Torvalds 369f7704347SDavid S. Miller# 370437aa565SIvan Djelic# BCH support is selected if needed 371437aa565SIvan Djelic# 372437aa565SIvan Djelicconfig BCH 373437aa565SIvan Djelic tristate 374437aa565SIvan Djelic 375437aa565SIvan Djelicconfig BCH_CONST_PARAMS 3766341e62bSChristoph Jaeger bool 377437aa565SIvan Djelic help 378437aa565SIvan Djelic Drivers may select this option to force specific constant 379437aa565SIvan Djelic values for parameters 'm' (Galois field order) and 't' 380437aa565SIvan Djelic (error correction capability). Those specific values must 381437aa565SIvan Djelic be set by declaring default values for symbols BCH_CONST_M 382437aa565SIvan Djelic and BCH_CONST_T. 383437aa565SIvan Djelic Doing so will enable extra compiler optimizations, 384437aa565SIvan Djelic improving encoding and decoding performance up to 2x for 385437aa565SIvan Djelic usual (m,t) values (typically such that m*t < 200). 386437aa565SIvan Djelic When this option is selected, the BCH library supports 387437aa565SIvan Djelic only a single (m,t) configuration. This is mainly useful 388437aa565SIvan Djelic for NAND flash board drivers requiring known, fixed BCH 389437aa565SIvan Djelic parameters. 390437aa565SIvan Djelic 391437aa565SIvan Djelicconfig BCH_CONST_M 392437aa565SIvan Djelic int 393437aa565SIvan Djelic range 5 15 394437aa565SIvan Djelic help 395437aa565SIvan Djelic Constant value for Galois field order 'm'. If 'k' is the 396437aa565SIvan Djelic number of data bits to protect, 'm' should be chosen such 397437aa565SIvan Djelic that (k + m*t) <= 2**m - 1. 398437aa565SIvan Djelic Drivers should declare a default value for this symbol if 399437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 400437aa565SIvan Djelic 401437aa565SIvan Djelicconfig BCH_CONST_T 402437aa565SIvan Djelic int 403437aa565SIvan Djelic help 404437aa565SIvan Djelic Constant value for error correction capability in bits 't'. 405437aa565SIvan Djelic Drivers should declare a default value for this symbol if 406437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 407437aa565SIvan Djelic 408437aa565SIvan Djelic# 409f7704347SDavid S. Miller# Textsearch support is select'ed if needed 410f7704347SDavid S. Miller# 4112de4ff7bSThomas Grafconfig TEXTSEARCH 4126341e62bSChristoph Jaeger bool 4131da177e4SLinus Torvalds 414df3fb93aSThomas Grafconfig TEXTSEARCH_KMP 415f7704347SDavid S. Miller tristate 416df3fb93aSThomas Graf 4178082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM 41829cb9f9cSDavid S. Miller tristate 4198082e4edSPablo Neira Ayuso 4206408f79cSThomas Grafconfig TEXTSEARCH_FSM 421f7704347SDavid S. Miller tristate 4226408f79cSThomas Graf 4235db53f3eSJoern Engelconfig BTREE 4246341e62bSChristoph Jaeger bool 4255db53f3eSJoern Engel 426a88cc108SChris Wilsonconfig INTERVAL_TREE 4276341e62bSChristoph Jaeger bool 428a88cc108SChris Wilson help 429a88cc108SChris Wilson Simple, embeddable, interval-tree. Can find the start of an 430a88cc108SChris Wilson overlapping range in log(n) time and then iterate over all 431a88cc108SChris Wilson overlapping nodes. The algorithm is implemented as an 432a88cc108SChris Wilson augmented rbtree. 433a88cc108SChris Wilson 434a88cc108SChris Wilson See: 435a88cc108SChris Wilson 43614bbe3e3SMatthew Wilcox (Oracle) Documentation/core-api/rbtree.rst 437a88cc108SChris Wilson 438a88cc108SChris Wilson for more information. 439a88cc108SChris Wilson 44002c02bf1SMatthew Wilcoxconfig XARRAY_MULTI 44157578c2eSMatthew Wilcox bool 44202c02bf1SMatthew Wilcox help 44302c02bf1SMatthew Wilcox Support entries which occupy multiple consecutive indices in the 44402c02bf1SMatthew Wilcox XArray. 44557578c2eSMatthew Wilcox 4463cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY 4473cb98950SDavid Howells bool 4483cb98950SDavid Howells help 4493cb98950SDavid Howells Generic associative array. Can be searched and iterated over whilst 4503cb98950SDavid Howells it is being modified. It is also reasonably quick to search and 4513cb98950SDavid Howells modify. The algorithms are non-recursive, and the trees are highly 4523cb98950SDavid Howells capacious. 4533cb98950SDavid Howells 4543cb98950SDavid Howells See: 4553cb98950SDavid Howells 4565fb94e9cSMauro Carvalho Chehab Documentation/core-api/assoc_array.rst 4573cb98950SDavid Howells 4583cb98950SDavid Howells for more information. 4593cb98950SDavid Howells 4605ea81769SAl Viroconfig HAS_IOMEM 4616341e62bSChristoph Jaeger bool 4625ea81769SAl Viro depends on !NO_IOMEM 4635ea81769SAl Viro default y 4645ea81769SAl Viro 465ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP 4666341e62bSChristoph Jaeger bool 467ce816fa8SUwe Kleine-König depends on HAS_IOMEM && !NO_IOPORT_MAP 468ee36c2bfSAl Viro default y 469ee36c2bfSAl Viro 470cf65a0f6SChristoph Hellwigsource "kernel/dma/Kconfig" 471411f0f3eSHeiko Carstens 472e80a0af4SBart Van Asscheconfig SGL_ALLOC 473e80a0af4SBart Van Assche bool 474e80a0af4SBart Van Assche default n 475e80a0af4SBart Van Assche 476a4ce5a48SChristoph Hellwigconfig IOMMU_HELPER 477a4ce5a48SChristoph Hellwig bool 478a4ce5a48SChristoph Hellwig 479928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE 480928923c7SGeert Uytterhoeven bool 481928923c7SGeert Uytterhoeven 482aab46da0SRusty Russellconfig CPUMASK_OFFSTACK 483aab46da0SRusty Russell bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS 484aab46da0SRusty Russell help 485aab46da0SRusty Russell Use dynamic allocation for cpumask_var_t, instead of putting 486aab46da0SRusty Russell them on the stack. This is a bit more expensive, but avoids 487aab46da0SRusty Russell stack overflow. 488aab46da0SRusty Russell 489c39649c3SBen Hutchingsconfig CPU_RMAP 490c39649c3SBen Hutchings bool 491c39649c3SBen Hutchings depends on SMP 492c39649c3SBen Hutchings 49375957ba3STom Herbertconfig DQL 49475957ba3STom Herbert bool 49575957ba3STom Herbert 496b0125085SGeorge Spelvinconfig GLOB 497b0125085SGeorge Spelvin bool 498b0125085SGeorge Spelvin# This actually supports modular compilation, but the module overhead 499b0125085SGeorge Spelvin# is ridiculous for the amount of code involved. Until an out-of-tree 500b0125085SGeorge Spelvin# driver asks for it, we'll just link it directly it into the kernel 501b0125085SGeorge Spelvin# when required. Since we're ignoring out-of-tree users, there's also 502b0125085SGeorge Spelvin# no need bother prompting for a manual decision: 503b0125085SGeorge Spelvin# prompt "glob_match() function" 504b0125085SGeorge Spelvin help 505b0125085SGeorge Spelvin This option provides a glob_match function for performing 506b0125085SGeorge Spelvin simple text pattern matching. It originated in the ATA code 507b0125085SGeorge Spelvin to blacklist particular drive models, but other device drivers 508b0125085SGeorge Spelvin may need similar functionality. 509b0125085SGeorge Spelvin 510b0125085SGeorge Spelvin All drivers in the Linux kernel tree that require this function 511b0125085SGeorge Spelvin should automatically select this option. Say N unless you 512b0125085SGeorge Spelvin are compiling an out-of tree driver which tells you that it 513b0125085SGeorge Spelvin depends on this. 514b0125085SGeorge Spelvin 5155f9be824SGeorge Spelvinconfig GLOB_SELFTEST 516ba95b045SGeert Uytterhoeven tristate "glob self-test on init" 5175f9be824SGeorge Spelvin depends on GLOB 5185f9be824SGeorge Spelvin help 5195f9be824SGeorge Spelvin This option enables a simple self-test of the glob_match 5205f9be824SGeorge Spelvin function on startup. It is primarily useful for people 5215f9be824SGeorge Spelvin working on the code to ensure they haven't introduced any 5225f9be824SGeorge Spelvin regressions. 5235f9be824SGeorge Spelvin 5245f9be824SGeorge Spelvin It only adds a little bit of code and slows kernel boot (or 5255f9be824SGeorge Spelvin module load) by a small amount, so you're welcome to play with 5265f9be824SGeorge Spelvin it, but you probably don't need it. 5275f9be824SGeorge Spelvin 528e9cc8bddSGeert Uytterhoeven# 529e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed 530e9cc8bddSGeert Uytterhoeven# 531e9cc8bddSGeert Uytterhoevenconfig NLATTR 532e9cc8bddSGeert Uytterhoeven bool 533e9cc8bddSGeert Uytterhoeven 53409d4e0edSPaul Mackerras# 53509d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed 53609d4e0edSPaul Mackerras# 53709d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64 53809d4e0edSPaul Mackerras bool 53909d4e0edSPaul Mackerras 540b411b363SPhilipp Reisnerconfig LRU_CACHE 541b411b363SPhilipp Reisner tristate 542b411b363SPhilipp Reisner 543c6df4b17SDavid Millerconfig CLZ_TAB 544c6df4b17SDavid Miller bool 545c6df4b17SDavid Miller 546511cbce2SChristoph Hellwigconfig IRQ_POLL 547511cbce2SChristoph Hellwig bool "IRQ polling library" 548511cbce2SChristoph Hellwig help 549511cbce2SChristoph Hellwig Helper library to poll interrupt mitigation using polling. 550511cbce2SChristoph Hellwig 551d9c46b18SDmitry Kasatkinconfig MPILIB 5522e5f094bSDmitry Kasatkin tristate 553c6df4b17SDavid Miller select CLZ_TAB 554d9c46b18SDmitry Kasatkin help 555d9c46b18SDmitry Kasatkin Multiprecision maths library from GnuPG. 556d9c46b18SDmitry Kasatkin It is used to implement RSA digital signature verification, 557d9c46b18SDmitry Kasatkin which is used by IMA/EVM digital signature extension. 558d9c46b18SDmitry Kasatkin 5595e8898e9SDmitry Kasatkinconfig SIGNATURE 5602e5f094bSDmitry Kasatkin tristate 5610d1f64f6SDmitry Kasatkin depends on KEYS 5620d1f64f6SDmitry Kasatkin select CRYPTO 563be440ec7SDmitry Kasatkin select CRYPTO_SHA1 564051dbb91SDmitry Kasatkin select MPILIB 565051dbb91SDmitry Kasatkin help 566051dbb91SDmitry Kasatkin Digital signature verification. Currently only RSA is supported. 567051dbb91SDmitry Kasatkin Implementation is done using GnuPG MPI library 568051dbb91SDmitry Kasatkin 5694f75da36STal Gilboaconfig DIMLIB 570424adc32SUwe Kleine-König bool 5714f75da36STal Gilboa help 5724f75da36STal Gilboa Dynamic Interrupt Moderation library. 573991ad2b2SRandy Dunlap Implements an algorithm for dynamically changing CQ moderation values 5744f75da36STal Gilboa according to run time performance. 5754f75da36STal Gilboa 576ab253839SDavid Daney# 577ab253839SDavid Daney# libfdt files, only selected if needed. 578ab253839SDavid Daney# 579ab253839SDavid Daneyconfig LIBFDT 580ab253839SDavid Daney bool 581ab253839SDavid Daney 582a77ad6eaSDavid Howellsconfig OID_REGISTRY 583a77ad6eaSDavid Howells tristate 584a77ad6eaSDavid Howells help 585a77ad6eaSDavid Howells Enable fast lookup object identifier registry. 586a77ad6eaSDavid Howells 5870635eb8aSMatthew Garrettconfig UCS2_STRING 5880635eb8aSMatthew Garrett tristate 5890635eb8aSMatthew Garrett 59000b26474SVincenzo Frascino# 59100b26474SVincenzo Frascino# generic vdso 59200b26474SVincenzo Frascino# 59300b26474SVincenzo Frascinosource "lib/vdso/Kconfig" 59400b26474SVincenzo Frascino 595ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig" 596ee89bd6bSGeert Uytterhoeven 597f8bcbe62SRobert Jarzmikconfig SG_SPLIT 598f8bcbe62SRobert Jarzmik def_bool n 599f8bcbe62SRobert Jarzmik help 6007f7e92f7SGeert Uytterhoeven Provides a helper to split scatterlists into chunks, each chunk being 6017f7e92f7SGeert Uytterhoeven a scatterlist. This should be selected by a driver or an API which 6027f7e92f7SGeert Uytterhoeven whishes to split a scatterlist amongst multiple DMA channels. 603f8bcbe62SRobert Jarzmik 6049b1d6c89SMing Linconfig SG_POOL 6059b1d6c89SMing Lin def_bool n 6069b1d6c89SMing Lin help 6079b1d6c89SMing Lin Provides a helper to allocate chained scatterlists. This should be 6089b1d6c89SMing Lin selected by a driver or an API which whishes to allocate chained 6099b1d6c89SMing Lin scatterlist. 6109b1d6c89SMing Lin 611308c09f1SLaura Abbott# 612308c09f1SLaura Abbott# sg chaining option 613308c09f1SLaura Abbott# 614308c09f1SLaura Abbott 6157c703e54SChristoph Hellwigconfig ARCH_NO_SG_CHAIN 616308c09f1SLaura Abbott def_bool n 617308c09f1SLaura Abbott 61861031952SRoss Zwislerconfig ARCH_HAS_PMEM_API 61961031952SRoss Zwisler bool 62061031952SRoss Zwisler 62133dd7075SDan Williamsconfig MEMREGION 62233dd7075SDan Williams bool 62333dd7075SDan Williams 6249ffc1d19SDan Williamsconfig ARCH_HAS_MEMREMAP_COMPAT_ALIGN 6259ffc1d19SDan Williams bool 6269ffc1d19SDan Williams 627bd79f947SChristoph Hellwig# use memcpy to implement user copies for nommu architectures 628bd79f947SChristoph Hellwigconfig UACCESS_MEMCPY 629bd79f947SChristoph Hellwig bool 630bd79f947SChristoph Hellwig 6310aed55afSDan Williamsconfig ARCH_HAS_UACCESS_FLUSHCACHE 6320aed55afSDan Williams bool 6330aed55afSDan Williams 634522239b4SDan Williamsconfig ARCH_HAS_UACCESS_MCSAFE 635522239b4SDan Williams bool 636522239b4SDan Williams 637214d8ca6SThomas Gleixner# Temporary. Goes away when all archs are cleaned up 638214d8ca6SThomas Gleixnerconfig ARCH_STACKWALK 639214d8ca6SThomas Gleixner bool 640214d8ca6SThomas Gleixner 641cd11016eSAlexander Potapenkoconfig STACKDEPOT 642cd11016eSAlexander Potapenko bool 643cd11016eSAlexander Potapenko select STACKTRACE 644cd11016eSAlexander Potapenko 64588459642SOmar Sandovalconfig SBITMAP 64688459642SOmar Sandoval bool 64788459642SOmar Sandoval 64844091d29SJiri Pirkoconfig PARMAN 6499d25af69SGeert Uytterhoeven tristate "parman" if COMPILE_TEST 65044091d29SJiri Pirko 6513dfdecc6SRandy Dunlapconfig OBJAGG 6523dfdecc6SRandy Dunlap tristate "objagg" if COMPILE_TEST 6533dfdecc6SRandy Dunlap 65403270c13SMatthew Wilcoxconfig STRING_SELFTEST 655d6b28e09SGeert Uytterhoeven tristate "Test string functions" 65603270c13SMatthew Wilcox 6572de4ff7bSThomas Grafendmenu 658b35cd988SPalmer Dabbelt 65980b0ca98SChristoph Hellwigconfig GENERIC_IOREMAP 66080b0ca98SChristoph Hellwig bool 66180b0ca98SChristoph Hellwig 662e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHLDI3 663b35cd988SPalmer Dabbelt bool 664b35cd988SPalmer Dabbelt 665e3d59805SMatt Redfearnconfig GENERIC_LIB_ASHRDI3 666b35cd988SPalmer Dabbelt bool 667b35cd988SPalmer Dabbelt 668e3d59805SMatt Redfearnconfig GENERIC_LIB_LSHRDI3 669b35cd988SPalmer Dabbelt bool 670b35cd988SPalmer Dabbelt 671e3d59805SMatt Redfearnconfig GENERIC_LIB_MULDI3 672b35cd988SPalmer Dabbelt bool 673b35cd988SPalmer Dabbelt 674e3d59805SMatt Redfearnconfig GENERIC_LIB_CMPDI2 675b35cd988SPalmer Dabbelt bool 676b35cd988SPalmer Dabbelt 677e3d59805SMatt Redfearnconfig GENERIC_LIB_UCMPDI2 678b35cd988SPalmer Dabbelt bool 679*b8265621SJacob Keller 680*b8265621SJacob Kellerconfig PLDMFW 681*b8265621SJacob Keller bool 682*b8265621SJacob Keller default n 683