11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Library configuration 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 54370aa4aSLai Jiangshanconfig BINARY_PRINTF 64370aa4aSLai Jiangshan def_bool n 74370aa4aSLai Jiangshan 81da177e4SLinus Torvaldsmenu "Library routines" 91da177e4SLinus Torvalds 10f5e70d0fSDavid Woodhouseconfig RAID6_PQ 11f5e70d0fSDavid Woodhouse tristate 12f5e70d0fSDavid Woodhouse 13a5cfc1ecSAkinobu Mitaconfig BITREVERSE 14a5cfc1ecSAkinobu Mita tristate 15a5cfc1ecSAkinobu Mita 16556d2f05SYalin Wangconfig HAVE_ARCH_BITREVERSE 17841c0090SChristoph Jaeger bool 18556d2f05SYalin Wang default n 19556d2f05SYalin Wang depends on BITREVERSE 20556d2f05SYalin Wang help 219e522c0dSAndrew Morton This option enables the use of hardware bit-reversal instructions on 229e522c0dSAndrew Morton architectures which support such operations. 23556d2f05SYalin Wang 248759ef32SOskar Schirmerconfig RATIONAL 256341e62bSChristoph Jaeger bool 268759ef32SOskar Schirmer 272922585bSDavid S. Millerconfig GENERIC_STRNCPY_FROM_USER 282922585bSDavid S. Miller bool 292922585bSDavid S. Miller 30a08c5356SLinus Torvaldsconfig GENERIC_STRNLEN_USER 31a08c5356SLinus Torvalds bool 32a08c5356SLinus Torvalds 334cd5773aSAndy Shevchenkoconfig GENERIC_NET_UTILS 344cd5773aSAndy Shevchenko bool 354cd5773aSAndy Shevchenko 3619870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT 379ba16087SJan Beulich bool 3819870defSAlexander van Heukelum 39b923650bSMichael S. Tsirkinconfig NO_GENERIC_PCI_IOPORT_MAP 40b923650bSMichael S. Tsirkin bool 41b923650bSMichael S. Tsirkin 4266eab4dfSMichael S. Tsirkinconfig GENERIC_PCI_IOMAP 4366eab4dfSMichael S. Tsirkin bool 4466eab4dfSMichael S. Tsirkin 454673ca8eSMichael S. Tsirkinconfig GENERIC_IOMAP 464673ca8eSMichael S. Tsirkin bool 4766eab4dfSMichael S. Tsirkin select GENERIC_PCI_IOMAP 484673ca8eSMichael S. Tsirkin 494ccf4beaSWolfram Sangconfig STMP_DEVICE 504ccf4beaSWolfram Sang bool 514ccf4beaSWolfram Sang 52bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF 53bc08b449SLinus Torvalds bool 54bc08b449SLinus Torvalds 5572d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER 5672d93104SLinus Torvalds bool 5772d93104SLinus Torvalds 581da177e4SLinus Torvaldsconfig CRC_CCITT 591da177e4SLinus Torvalds tristate "CRC-CCITT functions" 601da177e4SLinus Torvalds help 611da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 621da177e4SLinus Torvalds modules require CRC-CCITT functions, but a module built outside 631da177e4SLinus Torvalds the kernel tree does. Such modules that use library CRC-CCITT 641da177e4SLinus Torvalds functions require M here. 651da177e4SLinus Torvalds 667657ec1fSEvgeniy Polyakovconfig CRC16 677657ec1fSEvgeniy Polyakov tristate "CRC16 functions" 687657ec1fSEvgeniy Polyakov help 697657ec1fSEvgeniy Polyakov This option is provided for the case where no in-kernel-tree 707657ec1fSEvgeniy Polyakov modules require CRC16 functions, but a module built outside 717657ec1fSEvgeniy Polyakov the kernel tree does. Such modules that use library CRC16 727657ec1fSEvgeniy Polyakov functions require M here. 737657ec1fSEvgeniy Polyakov 74f11f594eSMartin K. Petersenconfig CRC_T10DIF 75f11f594eSMartin K. Petersen tristate "CRC calculation for the T10 Data Integrity Field" 7668411521SHerbert Xu select CRYPTO 7768411521SHerbert Xu select CRYPTO_CRCT10DIF 78f11f594eSMartin K. Petersen help 79f11f594eSMartin K. Petersen This option is only needed if a module that's not in the 80f11f594eSMartin K. Petersen kernel tree needs to calculate CRC checks for use with the 81f11f594eSMartin K. Petersen SCSI data integrity subsystem. 82f11f594eSMartin K. Petersen 833e7cbae7SIvo van Doornconfig CRC_ITU_T 843e7cbae7SIvo van Doorn tristate "CRC ITU-T V.41 functions" 853e7cbae7SIvo van Doorn help 863e7cbae7SIvo van Doorn This option is provided for the case where no in-kernel-tree 873e7cbae7SIvo van Doorn modules require CRC ITU-T V.41 functions, but a module built outside 883e7cbae7SIvo van Doorn the kernel tree does. Such modules that use library CRC ITU-T V.41 893e7cbae7SIvo van Doorn functions require M here. 903e7cbae7SIvo van Doorn 911da177e4SLinus Torvaldsconfig CRC32 9246c5801eSDarrick J. Wong tristate "CRC32/CRC32c functions" 931da177e4SLinus Torvalds default y 94906d66dfSAkinobu Mita select BITREVERSE 951da177e4SLinus Torvalds help 961da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 9746c5801eSDarrick J. Wong modules require CRC32/CRC32c functions, but a module built outside 9846c5801eSDarrick J. Wong the kernel tree does. Such modules that use library CRC32/CRC32c 9946c5801eSDarrick J. Wong functions require M here. 1001da177e4SLinus Torvalds 1013863ef31SBob Pearsonconfig CRC32_SELFTEST 1025fb7f874SGeert Uytterhoeven tristate "CRC32 perform self test on init" 1033863ef31SBob Pearson depends on CRC32 1043863ef31SBob Pearson help 1053863ef31SBob Pearson This option enables the CRC32 library functions to perform a 1063863ef31SBob Pearson self test on initialization. The self test computes crc32_le 1073863ef31SBob Pearson and crc32_be over byte strings with random alignment and length 1083863ef31SBob Pearson and computes the total elapsed time and number of bytes processed. 1093863ef31SBob Pearson 1105cde7656SDarrick J. Wongchoice 1115cde7656SDarrick J. Wong prompt "CRC32 implementation" 1125cde7656SDarrick J. Wong depends on CRC32 1135cde7656SDarrick J. Wong default CRC32_SLICEBY8 11482edb4baSDarrick J. Wong help 11582edb4baSDarrick J. Wong This option allows a kernel builder to override the default choice 11682edb4baSDarrick J. Wong of CRC32 algorithm. Choose the default ("slice by 8") unless you 11782edb4baSDarrick J. Wong know that you need one of the others. 1185cde7656SDarrick J. Wong 1195cde7656SDarrick J. Wongconfig CRC32_SLICEBY8 1205cde7656SDarrick J. Wong bool "Slice by 8 bytes" 1215cde7656SDarrick J. Wong help 1225cde7656SDarrick J. Wong Calculate checksum 8 bytes at a time with a clever slicing algorithm. 1235cde7656SDarrick J. Wong This is the fastest algorithm, but comes with a 8KiB lookup table. 1245cde7656SDarrick J. Wong Most modern processors have enough cache to hold this table without 1255cde7656SDarrick J. Wong thrashing the cache. 1265cde7656SDarrick J. Wong 1275cde7656SDarrick J. Wong This is the default implementation choice. Choose this one unless 1285cde7656SDarrick J. Wong you have a good reason not to. 1295cde7656SDarrick J. Wong 1305cde7656SDarrick J. Wongconfig CRC32_SLICEBY4 1315cde7656SDarrick J. Wong bool "Slice by 4 bytes" 1325cde7656SDarrick J. Wong help 1335cde7656SDarrick J. Wong Calculate checksum 4 bytes at a time with a clever slicing algorithm. 1345cde7656SDarrick J. Wong This is a bit slower than slice by 8, but has a smaller 4KiB lookup 1355cde7656SDarrick J. Wong table. 1365cde7656SDarrick J. Wong 1375cde7656SDarrick J. Wong Only choose this option if you know what you are doing. 1385cde7656SDarrick J. Wong 1395cde7656SDarrick J. Wongconfig CRC32_SARWATE 1405cde7656SDarrick J. Wong bool "Sarwate's Algorithm (one byte at a time)" 1415cde7656SDarrick J. Wong help 1425cde7656SDarrick J. Wong Calculate checksum a byte at a time using Sarwate's algorithm. This 1435cde7656SDarrick J. Wong is not particularly fast, but has a small 256 byte lookup table. 1445cde7656SDarrick J. Wong 1455cde7656SDarrick J. Wong Only choose this option if you know what you are doing. 1465cde7656SDarrick J. Wong 1475cde7656SDarrick J. Wongconfig CRC32_BIT 1485cde7656SDarrick J. Wong bool "Classic Algorithm (one bit at a time)" 1495cde7656SDarrick J. Wong help 1505cde7656SDarrick J. Wong Calculate checksum one bit at a time. This is VERY slow, but has 1515cde7656SDarrick J. Wong no lookup table. This is provided as a debugging option. 1525cde7656SDarrick J. Wong 1535cde7656SDarrick J. Wong Only choose this option if you are debugging crc32. 1545cde7656SDarrick J. Wong 1555cde7656SDarrick J. Wongendchoice 1565cde7656SDarrick J. Wong 1570cbaa448SJeremy Kerrconfig CRC4 1580cbaa448SJeremy Kerr tristate "CRC4 functions" 1590cbaa448SJeremy Kerr help 1600cbaa448SJeremy Kerr This option is provided for the case where no in-kernel-tree 1610cbaa448SJeremy Kerr modules require CRC4 functions, but a module built outside 1620cbaa448SJeremy Kerr the kernel tree does. Such modules that use library CRC4 1630cbaa448SJeremy Kerr functions require M here. 1640cbaa448SJeremy Kerr 165ad241528SJan Nikitenkoconfig CRC7 166ad241528SJan Nikitenko tristate "CRC7 functions" 167ad241528SJan Nikitenko help 168ad241528SJan Nikitenko This option is provided for the case where no in-kernel-tree 169ad241528SJan Nikitenko modules require CRC7 functions, but a module built outside 170ad241528SJan Nikitenko the kernel tree does. Such modules that use library CRC7 171ad241528SJan Nikitenko functions require M here. 172ad241528SJan Nikitenko 1731da177e4SLinus Torvaldsconfig LIBCRC32C 1741da177e4SLinus Torvalds tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" 17593027354SHerbert Xu select CRYPTO 17669c35efcSHerbert Xu select CRYPTO_CRC32C 1771da177e4SLinus Torvalds help 1781da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree 1791da177e4SLinus Torvalds modules require CRC32c functions, but a module built outside the 1801da177e4SLinus Torvalds kernel tree does. Such modules that use library CRC32c functions 1811da177e4SLinus Torvalds require M here. See Castagnoli93. 1821da177e4SLinus Torvalds Module will be libcrc32c. 1831da177e4SLinus Torvalds 1847150962dSArend van Sprielconfig CRC8 1857150962dSArend van Spriel tristate "CRC8 function" 1867150962dSArend van Spriel help 1877150962dSArend van Spriel This option provides CRC8 function. Drivers may select this 1887150962dSArend van Spriel when they need to do cyclic redundancy check according CRC8 1897150962dSArend van Spriel algorithm. Module will be called crc8. 1907150962dSArend van Spriel 1915d240522SNick Terrellconfig XXHASH 1925d240522SNick Terrell tristate 1935d240522SNick Terrell 194e65e1fc2SAl Viroconfig AUDIT_GENERIC 195e65e1fc2SAl Viro bool 196e65e1fc2SAl Viro depends on AUDIT && !AUDIT_ARCH 197e65e1fc2SAl Viro default y 198e65e1fc2SAl Viro 1994b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC 2004b588411SAKASHI Takahiro bool 2014b588411SAKASHI Takahiro default n 2024b588411SAKASHI Takahiro 2034b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC 2044b588411SAKASHI Takahiro bool 2054b588411SAKASHI Takahiro depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT 2064b588411SAKASHI Takahiro default y 2074b588411SAKASHI Takahiro 208a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST 209a6a9c0f1SDaniel Borkmann bool "PRNG perform self test on init" 210a6a9c0f1SDaniel Borkmann default n 211a6a9c0f1SDaniel Borkmann help 212a6a9c0f1SDaniel Borkmann This option enables the 32 bit PRNG library functions to perform a 213a6a9c0f1SDaniel Borkmann self test on initialization. 214a6a9c0f1SDaniel Borkmann 2151da177e4SLinus Torvalds# 2161da177e4SLinus Torvalds# compression support is select'ed if needed 2171da177e4SLinus Torvalds# 2182da572c9SDan Streetmanconfig 842_COMPRESS 2195b571677SArnd Bergmann select CRC32 2202da572c9SDan Streetman tristate 2212da572c9SDan Streetman 2222da572c9SDan Streetmanconfig 842_DECOMPRESS 2235b571677SArnd Bergmann select CRC32 2242da572c9SDan Streetman tristate 2252da572c9SDan Streetman 2261da177e4SLinus Torvaldsconfig ZLIB_INFLATE 2271da177e4SLinus Torvalds tristate 2281da177e4SLinus Torvalds 2291da177e4SLinus Torvaldsconfig ZLIB_DEFLATE 2301da177e4SLinus Torvalds tristate 2311fd4e5c3SAndrew Morton select BITREVERSE 2321da177e4SLinus Torvalds 23364c70b1cSRichard Purdieconfig LZO_COMPRESS 23464c70b1cSRichard Purdie tristate 23564c70b1cSRichard Purdie 23664c70b1cSRichard Purdieconfig LZO_DECOMPRESS 23764c70b1cSRichard Purdie tristate 23864c70b1cSRichard Purdie 239c72ac7a1SChanho Minconfig LZ4_COMPRESS 240c72ac7a1SChanho Min tristate 241c72ac7a1SChanho Min 242c72ac7a1SChanho Minconfig LZ4HC_COMPRESS 243c72ac7a1SChanho Min tristate 244c72ac7a1SChanho Min 245e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS 246e76e1fdfSKyungsik Lee tristate 247e76e1fdfSKyungsik Lee 24873f3d1b4SNick Terrellconfig ZSTD_COMPRESS 24973f3d1b4SNick Terrell select XXHASH 25073f3d1b4SNick Terrell tristate 25173f3d1b4SNick Terrell 25273f3d1b4SNick Terrellconfig ZSTD_DECOMPRESS 25373f3d1b4SNick Terrell select XXHASH 25473f3d1b4SNick Terrell tristate 25573f3d1b4SNick Terrell 25624fa0402SLasse Collinsource "lib/xz/Kconfig" 25724fa0402SLasse Collin 2581da177e4SLinus Torvalds# 259c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with 260c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) 261c8531ab3SH. Peter Anvin# 262c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP 2637856a16eSH. Peter Anvin select ZLIB_INFLATE 264c8531ab3SH. Peter Anvin tristate 265c8531ab3SH. Peter Anvin 266c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2 267c8531ab3SH. Peter Anvin tristate 268c8531ab3SH. Peter Anvin 269c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA 270c8531ab3SH. Peter Anvin tristate 271c8531ab3SH. Peter Anvin 2723ebe1243SLasse Collinconfig DECOMPRESS_XZ 2733ebe1243SLasse Collin select XZ_DEC 2743ebe1243SLasse Collin tristate 2753ebe1243SLasse Collin 276cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO 277cacb246fSAlbin Tonnerre select LZO_DECOMPRESS 278cacb246fSAlbin Tonnerre tristate 279cacb246fSAlbin Tonnerre 280e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4 281e76e1fdfSKyungsik Lee select LZ4_DECOMPRESS 282e76e1fdfSKyungsik Lee tristate 283e76e1fdfSKyungsik Lee 284c8531ab3SH. Peter Anvin# 285f14f75b8SJes Sorensen# Generic allocator support is selected if needed 286f14f75b8SJes Sorensen# 287f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR 2886341e62bSChristoph Jaeger bool 289f14f75b8SJes Sorensen 290f14f75b8SJes Sorensen# 2911da177e4SLinus Torvalds# reed solomon support is select'ed if needed 2921da177e4SLinus Torvalds# 2931da177e4SLinus Torvaldsconfig REED_SOLOMON 2941da177e4SLinus Torvalds tristate 2951da177e4SLinus Torvalds 2961da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8 2976341e62bSChristoph Jaeger bool 2981da177e4SLinus Torvalds 2991da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8 3006341e62bSChristoph Jaeger bool 3011da177e4SLinus Torvalds 3021da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16 3036341e62bSChristoph Jaeger bool 3041da177e4SLinus Torvalds 3051da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16 3066341e62bSChristoph Jaeger bool 3071da177e4SLinus Torvalds 308f7704347SDavid S. Miller# 309437aa565SIvan Djelic# BCH support is selected if needed 310437aa565SIvan Djelic# 311437aa565SIvan Djelicconfig BCH 312437aa565SIvan Djelic tristate 313437aa565SIvan Djelic 314437aa565SIvan Djelicconfig BCH_CONST_PARAMS 3156341e62bSChristoph Jaeger bool 316437aa565SIvan Djelic help 317437aa565SIvan Djelic Drivers may select this option to force specific constant 318437aa565SIvan Djelic values for parameters 'm' (Galois field order) and 't' 319437aa565SIvan Djelic (error correction capability). Those specific values must 320437aa565SIvan Djelic be set by declaring default values for symbols BCH_CONST_M 321437aa565SIvan Djelic and BCH_CONST_T. 322437aa565SIvan Djelic Doing so will enable extra compiler optimizations, 323437aa565SIvan Djelic improving encoding and decoding performance up to 2x for 324437aa565SIvan Djelic usual (m,t) values (typically such that m*t < 200). 325437aa565SIvan Djelic When this option is selected, the BCH library supports 326437aa565SIvan Djelic only a single (m,t) configuration. This is mainly useful 327437aa565SIvan Djelic for NAND flash board drivers requiring known, fixed BCH 328437aa565SIvan Djelic parameters. 329437aa565SIvan Djelic 330437aa565SIvan Djelicconfig BCH_CONST_M 331437aa565SIvan Djelic int 332437aa565SIvan Djelic range 5 15 333437aa565SIvan Djelic help 334437aa565SIvan Djelic Constant value for Galois field order 'm'. If 'k' is the 335437aa565SIvan Djelic number of data bits to protect, 'm' should be chosen such 336437aa565SIvan Djelic that (k + m*t) <= 2**m - 1. 337437aa565SIvan Djelic Drivers should declare a default value for this symbol if 338437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 339437aa565SIvan Djelic 340437aa565SIvan Djelicconfig BCH_CONST_T 341437aa565SIvan Djelic int 342437aa565SIvan Djelic help 343437aa565SIvan Djelic Constant value for error correction capability in bits 't'. 344437aa565SIvan Djelic Drivers should declare a default value for this symbol if 345437aa565SIvan Djelic they select option BCH_CONST_PARAMS. 346437aa565SIvan Djelic 347437aa565SIvan Djelic# 348f7704347SDavid S. Miller# Textsearch support is select'ed if needed 349f7704347SDavid S. Miller# 3502de4ff7bSThomas Grafconfig TEXTSEARCH 3516341e62bSChristoph Jaeger bool 3521da177e4SLinus Torvalds 353df3fb93aSThomas Grafconfig TEXTSEARCH_KMP 354f7704347SDavid S. Miller tristate 355df3fb93aSThomas Graf 3568082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM 35729cb9f9cSDavid S. Miller tristate 3588082e4edSPablo Neira Ayuso 3596408f79cSThomas Grafconfig TEXTSEARCH_FSM 360f7704347SDavid S. Miller tristate 3616408f79cSThomas Graf 3625db53f3eSJoern Engelconfig BTREE 3636341e62bSChristoph Jaeger bool 3645db53f3eSJoern Engel 365a88cc108SChris Wilsonconfig INTERVAL_TREE 3666341e62bSChristoph Jaeger bool 367a88cc108SChris Wilson help 368a88cc108SChris Wilson Simple, embeddable, interval-tree. Can find the start of an 369a88cc108SChris Wilson overlapping range in log(n) time and then iterate over all 370a88cc108SChris Wilson overlapping nodes. The algorithm is implemented as an 371a88cc108SChris Wilson augmented rbtree. 372a88cc108SChris Wilson 373a88cc108SChris Wilson See: 374a88cc108SChris Wilson 375a88cc108SChris Wilson Documentation/rbtree.txt 376a88cc108SChris Wilson 377a88cc108SChris Wilson for more information. 378a88cc108SChris Wilson 37957578c2eSMatthew Wilcoxconfig RADIX_TREE_MULTIORDER 38057578c2eSMatthew Wilcox bool 38157578c2eSMatthew Wilcox 3823cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY 3833cb98950SDavid Howells bool 3843cb98950SDavid Howells help 3853cb98950SDavid Howells Generic associative array. Can be searched and iterated over whilst 3863cb98950SDavid Howells it is being modified. It is also reasonably quick to search and 3873cb98950SDavid Howells modify. The algorithms are non-recursive, and the trees are highly 3883cb98950SDavid Howells capacious. 3893cb98950SDavid Howells 3903cb98950SDavid Howells See: 3913cb98950SDavid Howells 3923cb98950SDavid Howells Documentation/assoc_array.txt 3933cb98950SDavid Howells 3943cb98950SDavid Howells for more information. 3953cb98950SDavid Howells 3965ea81769SAl Viroconfig HAS_IOMEM 3976341e62bSChristoph Jaeger bool 3985ea81769SAl Viro depends on !NO_IOMEM 399087fafd1SRichard Weinberger select GENERIC_IO 4005ea81769SAl Viro default y 4015ea81769SAl Viro 402ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP 4036341e62bSChristoph Jaeger bool 404ce816fa8SUwe Kleine-König depends on HAS_IOMEM && !NO_IOPORT_MAP 405ee36c2bfSAl Viro default y 406ee36c2bfSAl Viro 407411f0f3eSHeiko Carstensconfig HAS_DMA 4086341e62bSChristoph Jaeger bool 409411f0f3eSHeiko Carstens depends on !NO_DMA 410411f0f3eSHeiko Carstens default y 411411f0f3eSHeiko Carstens 412*002e6745SChristoph Hellwigconfig DMA_DIRECT_OPS 4137844572cSBart Van Assche bool 4147844572cSBart Van Assche depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT) 4157844572cSBart Van Assche default n 4167844572cSBart Van Assche 417551199acSBart Van Asscheconfig DMA_VIRT_OPS 418551199acSBart Van Assche bool 419551199acSBart Van Assche depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT) 420551199acSBart Van Assche default n 421551199acSBart Van Assche 422928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE 423928923c7SGeert Uytterhoeven bool 424928923c7SGeert Uytterhoeven 425aab46da0SRusty Russellconfig CPUMASK_OFFSTACK 426aab46da0SRusty Russell bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS 427aab46da0SRusty Russell help 428aab46da0SRusty Russell Use dynamic allocation for cpumask_var_t, instead of putting 429aab46da0SRusty Russell them on the stack. This is a bit more expensive, but avoids 430aab46da0SRusty Russell stack overflow. 431aab46da0SRusty Russell 432c39649c3SBen Hutchingsconfig CPU_RMAP 433c39649c3SBen Hutchings bool 434c39649c3SBen Hutchings depends on SMP 435c39649c3SBen Hutchings 43675957ba3STom Herbertconfig DQL 43775957ba3STom Herbert bool 43875957ba3STom Herbert 439b0125085SGeorge Spelvinconfig GLOB 440b0125085SGeorge Spelvin bool 441b0125085SGeorge Spelvin# This actually supports modular compilation, but the module overhead 442b0125085SGeorge Spelvin# is ridiculous for the amount of code involved. Until an out-of-tree 443b0125085SGeorge Spelvin# driver asks for it, we'll just link it directly it into the kernel 444b0125085SGeorge Spelvin# when required. Since we're ignoring out-of-tree users, there's also 445b0125085SGeorge Spelvin# no need bother prompting for a manual decision: 446b0125085SGeorge Spelvin# prompt "glob_match() function" 447b0125085SGeorge Spelvin help 448b0125085SGeorge Spelvin This option provides a glob_match function for performing 449b0125085SGeorge Spelvin simple text pattern matching. It originated in the ATA code 450b0125085SGeorge Spelvin to blacklist particular drive models, but other device drivers 451b0125085SGeorge Spelvin may need similar functionality. 452b0125085SGeorge Spelvin 453b0125085SGeorge Spelvin All drivers in the Linux kernel tree that require this function 454b0125085SGeorge Spelvin should automatically select this option. Say N unless you 455b0125085SGeorge Spelvin are compiling an out-of tree driver which tells you that it 456b0125085SGeorge Spelvin depends on this. 457b0125085SGeorge Spelvin 4585f9be824SGeorge Spelvinconfig GLOB_SELFTEST 459ba95b045SGeert Uytterhoeven tristate "glob self-test on init" 4605f9be824SGeorge Spelvin depends on GLOB 4615f9be824SGeorge Spelvin help 4625f9be824SGeorge Spelvin This option enables a simple self-test of the glob_match 4635f9be824SGeorge Spelvin function on startup. It is primarily useful for people 4645f9be824SGeorge Spelvin working on the code to ensure they haven't introduced any 4655f9be824SGeorge Spelvin regressions. 4665f9be824SGeorge Spelvin 4675f9be824SGeorge Spelvin It only adds a little bit of code and slows kernel boot (or 4685f9be824SGeorge Spelvin module load) by a small amount, so you're welcome to play with 4695f9be824SGeorge Spelvin it, but you probably don't need it. 4705f9be824SGeorge Spelvin 471e9cc8bddSGeert Uytterhoeven# 472e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed 473e9cc8bddSGeert Uytterhoeven# 474e9cc8bddSGeert Uytterhoevenconfig NLATTR 475e9cc8bddSGeert Uytterhoeven bool 476e9cc8bddSGeert Uytterhoeven 47709d4e0edSPaul Mackerras# 47809d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed 47909d4e0edSPaul Mackerras# 48009d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64 48109d4e0edSPaul Mackerras bool 48209d4e0edSPaul Mackerras 483b411b363SPhilipp Reisnerconfig LRU_CACHE 484b411b363SPhilipp Reisner tristate 485b411b363SPhilipp Reisner 486c6df4b17SDavid Millerconfig CLZ_TAB 487c6df4b17SDavid Miller bool 488c6df4b17SDavid Miller 48910f8113eSArend van Sprielconfig CORDIC 490d89ce936SMichael Witten tristate "CORDIC algorithm" 49110f8113eSArend van Spriel help 492435a95c5SMichael Witten This option provides an implementation of the CORDIC algorithm; 493435a95c5SMichael Witten calculations are in fixed point. Module will be called cordic. 49410f8113eSArend van Spriel 4959c1c21a0SAneesh Vconfig DDR 4969c1c21a0SAneesh V bool "JEDEC DDR data" 4979c1c21a0SAneesh V help 4989c1c21a0SAneesh V Data from JEDEC specs for DDR SDRAM memories, 4999c1c21a0SAneesh V particularly the AC timing parameters and addressing 5009c1c21a0SAneesh V information. This data is useful for drivers handling 5019c1c21a0SAneesh V DDR SDRAM controllers. 5029c1c21a0SAneesh V 503511cbce2SChristoph Hellwigconfig IRQ_POLL 504511cbce2SChristoph Hellwig bool "IRQ polling library" 505511cbce2SChristoph Hellwig help 506511cbce2SChristoph Hellwig Helper library to poll interrupt mitigation using polling. 507511cbce2SChristoph Hellwig 508d9c46b18SDmitry Kasatkinconfig MPILIB 5092e5f094bSDmitry Kasatkin tristate 510c6df4b17SDavid Miller select CLZ_TAB 511d9c46b18SDmitry Kasatkin help 512d9c46b18SDmitry Kasatkin Multiprecision maths library from GnuPG. 513d9c46b18SDmitry Kasatkin It is used to implement RSA digital signature verification, 514d9c46b18SDmitry Kasatkin which is used by IMA/EVM digital signature extension. 515d9c46b18SDmitry Kasatkin 5165e8898e9SDmitry Kasatkinconfig SIGNATURE 5172e5f094bSDmitry Kasatkin tristate 5180d1f64f6SDmitry Kasatkin depends on KEYS 5190d1f64f6SDmitry Kasatkin select CRYPTO 520be440ec7SDmitry Kasatkin select CRYPTO_SHA1 521051dbb91SDmitry Kasatkin select MPILIB 522051dbb91SDmitry Kasatkin help 523051dbb91SDmitry Kasatkin Digital signature verification. Currently only RSA is supported. 524051dbb91SDmitry Kasatkin Implementation is done using GnuPG MPI library 525051dbb91SDmitry Kasatkin 526ab253839SDavid Daney# 527ab253839SDavid Daney# libfdt files, only selected if needed. 528ab253839SDavid Daney# 529ab253839SDavid Daneyconfig LIBFDT 530ab253839SDavid Daney bool 531ab253839SDavid Daney 532a77ad6eaSDavid Howellsconfig OID_REGISTRY 533a77ad6eaSDavid Howells tristate 534a77ad6eaSDavid Howells help 535a77ad6eaSDavid Howells Enable fast lookup object identifier registry. 536a77ad6eaSDavid Howells 5370635eb8aSMatthew Garrettconfig UCS2_STRING 5380635eb8aSMatthew Garrett tristate 5390635eb8aSMatthew Garrett 540ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig" 541ee89bd6bSGeert Uytterhoeven 542f8bcbe62SRobert Jarzmikconfig SG_SPLIT 543f8bcbe62SRobert Jarzmik def_bool n 544f8bcbe62SRobert Jarzmik help 5457f7e92f7SGeert Uytterhoeven Provides a helper to split scatterlists into chunks, each chunk being 5467f7e92f7SGeert Uytterhoeven a scatterlist. This should be selected by a driver or an API which 5477f7e92f7SGeert Uytterhoeven whishes to split a scatterlist amongst multiple DMA channels. 548f8bcbe62SRobert Jarzmik 5499b1d6c89SMing Linconfig SG_POOL 5509b1d6c89SMing Lin def_bool n 5519b1d6c89SMing Lin help 5529b1d6c89SMing Lin Provides a helper to allocate chained scatterlists. This should be 5539b1d6c89SMing Lin selected by a driver or an API which whishes to allocate chained 5549b1d6c89SMing Lin scatterlist. 5559b1d6c89SMing Lin 556308c09f1SLaura Abbott# 557308c09f1SLaura Abbott# sg chaining option 558308c09f1SLaura Abbott# 559308c09f1SLaura Abbott 560308c09f1SLaura Abbottconfig ARCH_HAS_SG_CHAIN 561308c09f1SLaura Abbott def_bool n 562308c09f1SLaura Abbott 56361031952SRoss Zwislerconfig ARCH_HAS_PMEM_API 56461031952SRoss Zwisler bool 56561031952SRoss Zwisler 5660aed55afSDan Williamsconfig ARCH_HAS_UACCESS_FLUSHCACHE 5670aed55afSDan Williams bool 5680aed55afSDan Williams 569cd11016eSAlexander Potapenkoconfig STACKDEPOT 570cd11016eSAlexander Potapenko bool 571cd11016eSAlexander Potapenko select STACKTRACE 572cd11016eSAlexander Potapenko 57388459642SOmar Sandovalconfig SBITMAP 57488459642SOmar Sandoval bool 57588459642SOmar Sandoval 57644091d29SJiri Pirkoconfig PARMAN 5779d25af69SGeert Uytterhoeven tristate "parman" if COMPILE_TEST 57844091d29SJiri Pirko 579cf4a7207SChris Wilsonconfig PRIME_NUMBERS 58064a57719SDave Airlie tristate 581cf4a7207SChris Wilson 58203270c13SMatthew Wilcoxconfig STRING_SELFTEST 583d6b28e09SGeert Uytterhoeven tristate "Test string functions" 58403270c13SMatthew Wilcox 5852de4ff7bSThomas Grafendmenu 586b35cd988SPalmer Dabbelt 587b35cd988SPalmer Dabbeltconfig GENERIC_ASHLDI3 588b35cd988SPalmer Dabbelt bool 589b35cd988SPalmer Dabbelt 590b35cd988SPalmer Dabbeltconfig GENERIC_ASHRDI3 591b35cd988SPalmer Dabbelt bool 592b35cd988SPalmer Dabbelt 593b35cd988SPalmer Dabbeltconfig GENERIC_LSHRDI3 594b35cd988SPalmer Dabbelt bool 595b35cd988SPalmer Dabbelt 596b35cd988SPalmer Dabbeltconfig GENERIC_MULDI3 597b35cd988SPalmer Dabbelt bool 598b35cd988SPalmer Dabbelt 599b35cd988SPalmer Dabbeltconfig GENERIC_CMPDI2 600b35cd988SPalmer Dabbelt bool 601b35cd988SPalmer Dabbelt 602b35cd988SPalmer Dabbeltconfig GENERIC_UCMPDI2 603b35cd988SPalmer Dabbelt bool 604