1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 # 2 # 3 # Library configuration 3 # Library configuration 4 # 4 # 5 5 6 config BINARY_PRINTF 6 config BINARY_PRINTF 7 def_bool n 7 def_bool n 8 8 9 menu "Library routines" 9 menu "Library routines" 10 10 11 config RAID6_PQ 11 config RAID6_PQ 12 tristate 12 tristate 13 13 14 config RAID6_PQ_BENCHMARK 14 config RAID6_PQ_BENCHMARK 15 bool "Automatically choose fastest RAI 15 bool "Automatically choose fastest RAID6 PQ functions" 16 depends on RAID6_PQ 16 depends on RAID6_PQ 17 default y 17 default y 18 help 18 help 19 Benchmark all available RAID6 PQ fun 19 Benchmark all available RAID6 PQ functions on init and choose the 20 fastest one. 20 fastest one. 21 21 22 config LINEAR_RANGES 22 config LINEAR_RANGES 23 tristate 23 tristate 24 24 25 config PACKING 25 config PACKING 26 bool "Generic bitfield packing and unp 26 bool "Generic bitfield packing and unpacking" 27 select BITREVERSE 27 select BITREVERSE 28 default n 28 default n 29 help 29 help 30 This option provides the packing() h 30 This option provides the packing() helper function, which permits 31 converting bitfields between a CPU-u 31 converting bitfields between a CPU-usable representation and a 32 memory representation that can have 32 memory representation that can have any combination of these quirks: 33 - Is little endian (bytes are reve 33 - Is little endian (bytes are reversed within a 32-bit group) 34 - The least-significant 32-bit wor 34 - The least-significant 32-bit word comes first (within a 64-bit 35 group) 35 group) 36 - The most significant bit of a by 36 - The most significant bit of a byte is at its right (bit 0 of a 37 register description is numerica 37 register description is numerically 2^7). 38 Drivers may use these helpers to mat 38 Drivers may use these helpers to match the bit indices as described 39 in the data sheets of the peripheral 39 in the data sheets of the peripherals they are in control of. 40 40 41 When in doubt, say N. 41 When in doubt, say N. 42 42 43 config BITREVERSE 43 config BITREVERSE 44 tristate 44 tristate 45 45 46 config HAVE_ARCH_BITREVERSE 46 config HAVE_ARCH_BITREVERSE 47 bool 47 bool 48 default n 48 default n 49 help 49 help 50 This option enables the use of hardw 50 This option enables the use of hardware bit-reversal instructions on 51 architectures which support such ope 51 architectures which support such operations. 52 52 53 config ARCH_HAS_STRNCPY_FROM_USER 53 config ARCH_HAS_STRNCPY_FROM_USER 54 bool 54 bool 55 55 56 config ARCH_HAS_STRNLEN_USER 56 config ARCH_HAS_STRNLEN_USER 57 bool 57 bool 58 58 59 config GENERIC_STRNCPY_FROM_USER 59 config GENERIC_STRNCPY_FROM_USER 60 def_bool !ARCH_HAS_STRNCPY_FROM_USER 60 def_bool !ARCH_HAS_STRNCPY_FROM_USER 61 61 62 config GENERIC_STRNLEN_USER 62 config GENERIC_STRNLEN_USER 63 def_bool !ARCH_HAS_STRNLEN_USER 63 def_bool !ARCH_HAS_STRNLEN_USER 64 64 65 config GENERIC_NET_UTILS 65 config GENERIC_NET_UTILS 66 bool 66 bool 67 67 68 source "lib/math/Kconfig" 68 source "lib/math/Kconfig" 69 69 70 config NO_GENERIC_PCI_IOPORT_MAP 70 config NO_GENERIC_PCI_IOPORT_MAP 71 bool 71 bool 72 72 >> 73 config GENERIC_PCI_IOMAP >> 74 bool >> 75 73 config GENERIC_IOMAP 76 config GENERIC_IOMAP 74 bool 77 bool 75 select GENERIC_PCI_IOMAP 78 select GENERIC_PCI_IOMAP 76 79 77 config STMP_DEVICE 80 config STMP_DEVICE 78 bool 81 bool 79 82 80 config ARCH_USE_CMPXCHG_LOCKREF 83 config ARCH_USE_CMPXCHG_LOCKREF 81 bool 84 bool 82 85 83 config ARCH_HAS_FAST_MULTIPLIER 86 config ARCH_HAS_FAST_MULTIPLIER 84 bool 87 bool 85 88 86 config ARCH_USE_SYM_ANNOTATIONS 89 config ARCH_USE_SYM_ANNOTATIONS 87 bool 90 bool 88 91 89 config INDIRECT_PIO 92 config INDIRECT_PIO 90 bool "Access I/O in non-MMIO mode" 93 bool "Access I/O in non-MMIO mode" 91 depends on ARM64 94 depends on ARM64 92 depends on HAS_IOPORT 95 depends on HAS_IOPORT 93 help 96 help 94 On some platforms where no separate 97 On some platforms where no separate I/O space exists, there are I/O 95 hosts which can not be accessed in M 98 hosts which can not be accessed in MMIO mode. Using the logical PIO 96 mechanism, the host-local I/O resour 99 mechanism, the host-local I/O resource can be mapped into system 97 logic PIO space shared with MMIO hos 100 logic PIO space shared with MMIO hosts, such as PCI/PCIe, then the 98 system can access the I/O devices wi 101 system can access the I/O devices with the mapped-logic PIO through 99 I/O accessors. 102 I/O accessors. 100 103 101 This way has relatively little I/O p 104 This way has relatively little I/O performance cost. Please make 102 sure your devices really need this c 105 sure your devices really need this configure item enabled. 103 106 104 When in doubt, say N. 107 When in doubt, say N. 105 108 106 config INDIRECT_IOMEM 109 config INDIRECT_IOMEM 107 bool 110 bool 108 help 111 help 109 This is selected by other options/ar 112 This is selected by other options/architectures to provide the 110 emulated iomem accessors. 113 emulated iomem accessors. 111 114 112 config INDIRECT_IOMEM_FALLBACK 115 config INDIRECT_IOMEM_FALLBACK 113 bool 116 bool 114 depends on INDIRECT_IOMEM 117 depends on INDIRECT_IOMEM 115 help 118 help 116 If INDIRECT_IOMEM is selected, this 119 If INDIRECT_IOMEM is selected, this enables falling back to plain 117 mmio accesses when the IO memory add 120 mmio accesses when the IO memory address is not a registered 118 emulated region. 121 emulated region. 119 122 120 config TRACE_MMIO_ACCESS 123 config TRACE_MMIO_ACCESS 121 bool "Register read/write tracing" 124 bool "Register read/write tracing" 122 depends on TRACING && ARCH_HAVE_TRACE_ 125 depends on TRACING && ARCH_HAVE_TRACE_MMIO_ACCESS 123 help 126 help 124 Create tracepoints for MMIO read/wri 127 Create tracepoints for MMIO read/write operations. These trace events 125 can be used for logging all MMIO rea 128 can be used for logging all MMIO read/write operations. 126 129 127 source "lib/crypto/Kconfig" 130 source "lib/crypto/Kconfig" 128 131 129 config CRC_CCITT 132 config CRC_CCITT 130 tristate "CRC-CCITT functions" 133 tristate "CRC-CCITT functions" 131 help 134 help 132 This option is provided for the case 135 This option is provided for the case where no in-kernel-tree 133 modules require CRC-CCITT functions, 136 modules require CRC-CCITT functions, but a module built outside 134 the kernel tree does. Such modules t 137 the kernel tree does. Such modules that use library CRC-CCITT 135 functions require M here. 138 functions require M here. 136 139 137 config CRC16 140 config CRC16 138 tristate "CRC16 functions" 141 tristate "CRC16 functions" 139 help 142 help 140 This option is provided for the case 143 This option is provided for the case where no in-kernel-tree 141 modules require CRC16 functions, but 144 modules require CRC16 functions, but a module built outside 142 the kernel tree does. Such modules t 145 the kernel tree does. Such modules that use library CRC16 143 functions require M here. 146 functions require M here. 144 147 145 config CRC_T10DIF 148 config CRC_T10DIF 146 tristate "CRC calculation for the T10 149 tristate "CRC calculation for the T10 Data Integrity Field" 147 select CRYPTO 150 select CRYPTO 148 select CRYPTO_CRCT10DIF 151 select CRYPTO_CRCT10DIF 149 help 152 help 150 This option is only needed if a modu 153 This option is only needed if a module that's not in the 151 kernel tree needs to calculate CRC c 154 kernel tree needs to calculate CRC checks for use with the 152 SCSI data integrity subsystem. 155 SCSI data integrity subsystem. 153 156 154 config CRC64_ROCKSOFT 157 config CRC64_ROCKSOFT 155 tristate "CRC calculation for the Rock 158 tristate "CRC calculation for the Rocksoft model CRC64" 156 select CRC64 159 select CRC64 157 select CRYPTO 160 select CRYPTO 158 select CRYPTO_CRC64_ROCKSOFT 161 select CRYPTO_CRC64_ROCKSOFT 159 help 162 help 160 This option provides a CRC64 API to 163 This option provides a CRC64 API to a registered crypto driver. 161 This is used with the block layer's 164 This is used with the block layer's data integrity subsystem. 162 165 163 config CRC_ITU_T 166 config CRC_ITU_T 164 tristate "CRC ITU-T V.41 functions" 167 tristate "CRC ITU-T V.41 functions" 165 help 168 help 166 This option is provided for the case 169 This option is provided for the case where no in-kernel-tree 167 modules require CRC ITU-T V.41 funct 170 modules require CRC ITU-T V.41 functions, but a module built outside 168 the kernel tree does. Such modules t 171 the kernel tree does. Such modules that use library CRC ITU-T V.41 169 functions require M here. 172 functions require M here. 170 173 171 config CRC32 174 config CRC32 172 tristate "CRC32/CRC32c functions" 175 tristate "CRC32/CRC32c functions" 173 default y 176 default y 174 select BITREVERSE 177 select BITREVERSE 175 help 178 help 176 This option is provided for the case 179 This option is provided for the case where no in-kernel-tree 177 modules require CRC32/CRC32c functio 180 modules require CRC32/CRC32c functions, but a module built outside 178 the kernel tree does. Such modules t 181 the kernel tree does. Such modules that use library CRC32/CRC32c 179 functions require M here. 182 functions require M here. 180 183 181 config CRC32_SELFTEST 184 config CRC32_SELFTEST 182 tristate "CRC32 perform self test on i 185 tristate "CRC32 perform self test on init" 183 depends on CRC32 186 depends on CRC32 184 help 187 help 185 This option enables the CRC32 librar 188 This option enables the CRC32 library functions to perform a 186 self test on initialization. The sel 189 self test on initialization. The self test computes crc32_le 187 and crc32_be over byte strings with 190 and crc32_be over byte strings with random alignment and length 188 and computes the total elapsed time 191 and computes the total elapsed time and number of bytes processed. 189 192 190 choice 193 choice 191 prompt "CRC32 implementation" 194 prompt "CRC32 implementation" 192 depends on CRC32 195 depends on CRC32 193 default CRC32_SLICEBY8 196 default CRC32_SLICEBY8 194 help 197 help 195 This option allows a kernel builder 198 This option allows a kernel builder to override the default choice 196 of CRC32 algorithm. Choose the defa 199 of CRC32 algorithm. Choose the default ("slice by 8") unless you 197 know that you need one of the others 200 know that you need one of the others. 198 201 199 config CRC32_SLICEBY8 202 config CRC32_SLICEBY8 200 bool "Slice by 8 bytes" 203 bool "Slice by 8 bytes" 201 help 204 help 202 Calculate checksum 8 bytes at a time 205 Calculate checksum 8 bytes at a time with a clever slicing algorithm. 203 This is the fastest algorithm, but c 206 This is the fastest algorithm, but comes with a 8KiB lookup table. 204 Most modern processors have enough c 207 Most modern processors have enough cache to hold this table without 205 thrashing the cache. 208 thrashing the cache. 206 209 207 This is the default implementation c 210 This is the default implementation choice. Choose this one unless 208 you have a good reason not to. 211 you have a good reason not to. 209 212 210 config CRC32_SLICEBY4 213 config CRC32_SLICEBY4 211 bool "Slice by 4 bytes" 214 bool "Slice by 4 bytes" 212 help 215 help 213 Calculate checksum 4 bytes at a time 216 Calculate checksum 4 bytes at a time with a clever slicing algorithm. 214 This is a bit slower than slice by 8 217 This is a bit slower than slice by 8, but has a smaller 4KiB lookup 215 table. 218 table. 216 219 217 Only choose this option if you know 220 Only choose this option if you know what you are doing. 218 221 219 config CRC32_SARWATE 222 config CRC32_SARWATE 220 bool "Sarwate's Algorithm (one byte at 223 bool "Sarwate's Algorithm (one byte at a time)" 221 help 224 help 222 Calculate checksum a byte at a time 225 Calculate checksum a byte at a time using Sarwate's algorithm. This 223 is not particularly fast, but has a 226 is not particularly fast, but has a small 256 byte lookup table. 224 227 225 Only choose this option if you know 228 Only choose this option if you know what you are doing. 226 229 227 config CRC32_BIT 230 config CRC32_BIT 228 bool "Classic Algorithm (one bit at a 231 bool "Classic Algorithm (one bit at a time)" 229 help 232 help 230 Calculate checksum one bit at a time 233 Calculate checksum one bit at a time. This is VERY slow, but has 231 no lookup table. This is provided a 234 no lookup table. This is provided as a debugging option. 232 235 233 Only choose this option if you are d 236 Only choose this option if you are debugging crc32. 234 237 235 endchoice 238 endchoice 236 239 237 config CRC64 240 config CRC64 238 tristate "CRC64 functions" 241 tristate "CRC64 functions" 239 help 242 help 240 This option is provided for the case 243 This option is provided for the case where no in-kernel-tree 241 modules require CRC64 functions, but 244 modules require CRC64 functions, but a module built outside 242 the kernel tree does. Such modules t 245 the kernel tree does. Such modules that use library CRC64 243 functions require M here. 246 functions require M here. 244 247 245 config CRC4 248 config CRC4 246 tristate "CRC4 functions" 249 tristate "CRC4 functions" 247 help 250 help 248 This option is provided for the case 251 This option is provided for the case where no in-kernel-tree 249 modules require CRC4 functions, but 252 modules require CRC4 functions, but a module built outside 250 the kernel tree does. Such modules t 253 the kernel tree does. Such modules that use library CRC4 251 functions require M here. 254 functions require M here. 252 255 253 config CRC7 256 config CRC7 254 tristate "CRC7 functions" 257 tristate "CRC7 functions" 255 help 258 help 256 This option is provided for the case 259 This option is provided for the case where no in-kernel-tree 257 modules require CRC7 functions, but 260 modules require CRC7 functions, but a module built outside 258 the kernel tree does. Such modules t 261 the kernel tree does. Such modules that use library CRC7 259 functions require M here. 262 functions require M here. 260 263 261 config LIBCRC32C 264 config LIBCRC32C 262 tristate "CRC32c (Castagnoli, et al) C 265 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" 263 select CRYPTO 266 select CRYPTO 264 select CRYPTO_CRC32C 267 select CRYPTO_CRC32C 265 help 268 help 266 This option is provided for the case 269 This option is provided for the case where no in-kernel-tree 267 modules require CRC32c functions, bu 270 modules require CRC32c functions, but a module built outside the 268 kernel tree does. Such modules that 271 kernel tree does. Such modules that use library CRC32c functions 269 require M here. See Castagnoli93. 272 require M here. See Castagnoli93. 270 Module will be libcrc32c. 273 Module will be libcrc32c. 271 274 272 config CRC8 275 config CRC8 273 tristate "CRC8 function" 276 tristate "CRC8 function" 274 help 277 help 275 This option provides CRC8 function. 278 This option provides CRC8 function. Drivers may select this 276 when they need to do cyclic redundan 279 when they need to do cyclic redundancy check according CRC8 277 algorithm. Module will be called crc 280 algorithm. Module will be called crc8. 278 281 279 config XXHASH 282 config XXHASH 280 tristate 283 tristate 281 284 282 config AUDIT_GENERIC 285 config AUDIT_GENERIC 283 bool 286 bool 284 depends on AUDIT && !AUDIT_ARCH 287 depends on AUDIT && !AUDIT_ARCH 285 default y 288 default y 286 289 287 config AUDIT_ARCH_COMPAT_GENERIC 290 config AUDIT_ARCH_COMPAT_GENERIC 288 bool 291 bool 289 default n 292 default n 290 293 291 config AUDIT_COMPAT_GENERIC 294 config AUDIT_COMPAT_GENERIC 292 bool 295 bool 293 depends on AUDIT_GENERIC && AUDIT_ARCH 296 depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT 294 default y 297 default y 295 298 296 config RANDOM32_SELFTEST 299 config RANDOM32_SELFTEST 297 bool "PRNG perform self test on init" 300 bool "PRNG perform self test on init" 298 help 301 help 299 This option enables the 32 bit PRNG 302 This option enables the 32 bit PRNG library functions to perform a 300 self test on initialization. 303 self test on initialization. 301 304 302 # 305 # 303 # compression support is select'ed if needed 306 # compression support is select'ed if needed 304 # 307 # 305 config 842_COMPRESS 308 config 842_COMPRESS 306 select CRC32 309 select CRC32 307 tristate 310 tristate 308 311 309 config 842_DECOMPRESS 312 config 842_DECOMPRESS 310 select CRC32 313 select CRC32 311 tristate 314 tristate 312 315 313 config ZLIB_INFLATE 316 config ZLIB_INFLATE 314 tristate 317 tristate 315 318 316 config ZLIB_DEFLATE 319 config ZLIB_DEFLATE 317 tristate 320 tristate 318 select BITREVERSE 321 select BITREVERSE 319 322 320 config ZLIB_DFLTCC 323 config ZLIB_DFLTCC 321 def_bool y 324 def_bool y 322 depends on S390 325 depends on S390 323 prompt "Enable s390x DEFLATE CONVERSIO 326 prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib" 324 help 327 help 325 Enable s390x hardware support for zli 328 Enable s390x hardware support for zlib in the kernel. 326 329 327 config LZO_COMPRESS 330 config LZO_COMPRESS 328 tristate 331 tristate 329 332 330 config LZO_DECOMPRESS 333 config LZO_DECOMPRESS 331 tristate 334 tristate 332 335 333 config LZ4_COMPRESS 336 config LZ4_COMPRESS 334 tristate 337 tristate 335 338 336 config LZ4HC_COMPRESS 339 config LZ4HC_COMPRESS 337 tristate 340 tristate 338 341 339 config LZ4_DECOMPRESS 342 config LZ4_DECOMPRESS 340 tristate 343 tristate 341 344 342 config ZSTD_COMMON 345 config ZSTD_COMMON 343 select XXHASH 346 select XXHASH 344 tristate 347 tristate 345 348 346 config ZSTD_COMPRESS 349 config ZSTD_COMPRESS 347 select ZSTD_COMMON 350 select ZSTD_COMMON 348 tristate 351 tristate 349 352 350 config ZSTD_DECOMPRESS 353 config ZSTD_DECOMPRESS 351 select ZSTD_COMMON 354 select ZSTD_COMMON 352 tristate 355 tristate 353 356 354 source "lib/xz/Kconfig" 357 source "lib/xz/Kconfig" 355 358 356 # 359 # 357 # These all provide a common interface (hence 360 # These all provide a common interface (hence the apparent duplication with 358 # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrap 361 # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) 359 # 362 # 360 config DECOMPRESS_GZIP 363 config DECOMPRESS_GZIP 361 select ZLIB_INFLATE 364 select ZLIB_INFLATE 362 tristate 365 tristate 363 366 364 config DECOMPRESS_BZIP2 367 config DECOMPRESS_BZIP2 365 tristate 368 tristate 366 369 367 config DECOMPRESS_LZMA 370 config DECOMPRESS_LZMA 368 tristate 371 tristate 369 372 370 config DECOMPRESS_XZ 373 config DECOMPRESS_XZ 371 select XZ_DEC 374 select XZ_DEC 372 tristate 375 tristate 373 376 374 config DECOMPRESS_LZO 377 config DECOMPRESS_LZO 375 select LZO_DECOMPRESS 378 select LZO_DECOMPRESS 376 tristate 379 tristate 377 380 378 config DECOMPRESS_LZ4 381 config DECOMPRESS_LZ4 379 select LZ4_DECOMPRESS 382 select LZ4_DECOMPRESS 380 tristate 383 tristate 381 384 382 config DECOMPRESS_ZSTD 385 config DECOMPRESS_ZSTD 383 select ZSTD_DECOMPRESS 386 select ZSTD_DECOMPRESS 384 tristate 387 tristate 385 388 386 # 389 # 387 # Generic allocator support is selected if nee 390 # Generic allocator support is selected if needed 388 # 391 # 389 config GENERIC_ALLOCATOR 392 config GENERIC_ALLOCATOR 390 bool 393 bool 391 394 392 # 395 # 393 # reed solomon support is select'ed if needed 396 # reed solomon support is select'ed if needed 394 # 397 # 395 config REED_SOLOMON 398 config REED_SOLOMON 396 tristate 399 tristate 397 400 398 config REED_SOLOMON_ENC8 401 config REED_SOLOMON_ENC8 399 bool 402 bool 400 403 401 config REED_SOLOMON_DEC8 404 config REED_SOLOMON_DEC8 402 bool 405 bool 403 406 404 config REED_SOLOMON_ENC16 407 config REED_SOLOMON_ENC16 405 bool 408 bool 406 409 407 config REED_SOLOMON_DEC16 410 config REED_SOLOMON_DEC16 408 bool 411 bool 409 412 410 # 413 # 411 # BCH support is selected if needed 414 # BCH support is selected if needed 412 # 415 # 413 config BCH 416 config BCH 414 tristate 417 tristate 415 select BITREVERSE << 416 418 417 config BCH_CONST_PARAMS 419 config BCH_CONST_PARAMS 418 bool 420 bool 419 help 421 help 420 Drivers may select this option to fo 422 Drivers may select this option to force specific constant 421 values for parameters 'm' (Galois fi 423 values for parameters 'm' (Galois field order) and 't' 422 (error correction capability). Those 424 (error correction capability). Those specific values must 423 be set by declaring default values f 425 be set by declaring default values for symbols BCH_CONST_M 424 and BCH_CONST_T. 426 and BCH_CONST_T. 425 Doing so will enable extra compiler 427 Doing so will enable extra compiler optimizations, 426 improving encoding and decoding perf 428 improving encoding and decoding performance up to 2x for 427 usual (m,t) values (typically such t 429 usual (m,t) values (typically such that m*t < 200). 428 When this option is selected, the BC 430 When this option is selected, the BCH library supports 429 only a single (m,t) configuration. T 431 only a single (m,t) configuration. This is mainly useful 430 for NAND flash board drivers requiri 432 for NAND flash board drivers requiring known, fixed BCH 431 parameters. 433 parameters. 432 434 433 config BCH_CONST_M 435 config BCH_CONST_M 434 int 436 int 435 range 5 15 437 range 5 15 436 help 438 help 437 Constant value for Galois field orde 439 Constant value for Galois field order 'm'. If 'k' is the 438 number of data bits to protect, 'm' 440 number of data bits to protect, 'm' should be chosen such 439 that (k + m*t) <= 2**m - 1. 441 that (k + m*t) <= 2**m - 1. 440 Drivers should declare a default val 442 Drivers should declare a default value for this symbol if 441 they select option BCH_CONST_PARAMS. 443 they select option BCH_CONST_PARAMS. 442 444 443 config BCH_CONST_T 445 config BCH_CONST_T 444 int 446 int 445 help 447 help 446 Constant value for error correction 448 Constant value for error correction capability in bits 't'. 447 Drivers should declare a default val 449 Drivers should declare a default value for this symbol if 448 they select option BCH_CONST_PARAMS. 450 they select option BCH_CONST_PARAMS. 449 451 450 # 452 # 451 # Textsearch support is select'ed if needed 453 # Textsearch support is select'ed if needed 452 # 454 # 453 config TEXTSEARCH 455 config TEXTSEARCH 454 bool 456 bool 455 457 456 config TEXTSEARCH_KMP 458 config TEXTSEARCH_KMP 457 tristate 459 tristate 458 460 459 config TEXTSEARCH_BM 461 config TEXTSEARCH_BM 460 tristate 462 tristate 461 463 462 config TEXTSEARCH_FSM 464 config TEXTSEARCH_FSM 463 tristate 465 tristate 464 466 465 config BTREE 467 config BTREE 466 bool 468 bool 467 469 468 config INTERVAL_TREE 470 config INTERVAL_TREE 469 bool 471 bool 470 help 472 help 471 Simple, embeddable, interval-tree. C 473 Simple, embeddable, interval-tree. Can find the start of an 472 overlapping range in log(n) time and 474 overlapping range in log(n) time and then iterate over all 473 overlapping nodes. The algorithm is 475 overlapping nodes. The algorithm is implemented as an 474 augmented rbtree. 476 augmented rbtree. 475 477 476 See: 478 See: 477 479 478 Documentation/core-api/rbtree. 480 Documentation/core-api/rbtree.rst 479 481 480 for more information. 482 for more information. 481 483 482 config INTERVAL_TREE_SPAN_ITER 484 config INTERVAL_TREE_SPAN_ITER 483 bool 485 bool 484 depends on INTERVAL_TREE 486 depends on INTERVAL_TREE 485 487 486 config XARRAY_MULTI 488 config XARRAY_MULTI 487 bool 489 bool 488 help 490 help 489 Support entries which occupy multipl 491 Support entries which occupy multiple consecutive indices in the 490 XArray. 492 XArray. 491 493 492 config ASSOCIATIVE_ARRAY 494 config ASSOCIATIVE_ARRAY 493 bool 495 bool 494 help 496 help 495 Generic associative array. Can be s 497 Generic associative array. Can be searched and iterated over whilst 496 it is being modified. It is also re 498 it is being modified. It is also reasonably quick to search and 497 modify. The algorithms are non-recu 499 modify. The algorithms are non-recursive, and the trees are highly 498 capacious. 500 capacious. 499 501 500 See: 502 See: 501 503 502 Documentation/core-api/assoc_a 504 Documentation/core-api/assoc_array.rst 503 505 504 for more information. 506 for more information. 505 507 506 config CLOSURES << 507 bool << 508 << 509 config HAS_IOMEM 508 config HAS_IOMEM 510 bool 509 bool 511 depends on !NO_IOMEM 510 depends on !NO_IOMEM 512 default y 511 default y 513 512 514 config HAS_IOPORT 513 config HAS_IOPORT 515 bool 514 bool 516 515 517 config HAS_IOPORT_MAP 516 config HAS_IOPORT_MAP 518 bool 517 bool 519 depends on HAS_IOMEM && !NO_IOPORT_MAP 518 depends on HAS_IOMEM && !NO_IOPORT_MAP 520 default y 519 default y 521 520 522 source "kernel/dma/Kconfig" 521 source "kernel/dma/Kconfig" 523 522 524 config SGL_ALLOC 523 config SGL_ALLOC 525 bool 524 bool 526 default n 525 default n 527 526 528 config IOMMU_HELPER 527 config IOMMU_HELPER 529 bool 528 bool 530 529 531 config CHECK_SIGNATURE 530 config CHECK_SIGNATURE 532 bool 531 bool 533 532 534 config CPUMASK_OFFSTACK 533 config CPUMASK_OFFSTACK 535 bool "Force CPU masks off stack" if DE 534 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS 536 help 535 help 537 Use dynamic allocation for cpumask_v 536 Use dynamic allocation for cpumask_var_t, instead of putting 538 them on the stack. This is a bit mo 537 them on the stack. This is a bit more expensive, but avoids 539 stack overflow. 538 stack overflow. 540 539 541 config FORCE_NR_CPUS 540 config FORCE_NR_CPUS 542 def_bool !SMP !! 541 bool "Set number of CPUs at compile time" >> 542 depends on SMP && EXPERT && !COMPILE_TEST >> 543 help >> 544 Say Yes if you have NR_CPUS set to an actual number of possible >> 545 CPUs in your system, not to a default value. This forces the core >> 546 code to rely on compile-time value and optimize kernel routines >> 547 better. 543 548 544 config CPU_RMAP 549 config CPU_RMAP 545 bool 550 bool 546 depends on SMP 551 depends on SMP 547 552 548 config DQL 553 config DQL 549 bool 554 bool 550 555 551 config GLOB 556 config GLOB 552 bool 557 bool 553 # This actually supports modular compila 558 # This actually supports modular compilation, but the module overhead 554 # is ridiculous for the amount of code i 559 # is ridiculous for the amount of code involved. Until an out-of-tree 555 # driver asks for it, we'll just link it 560 # driver asks for it, we'll just link it directly it into the kernel 556 # when required. Since we're ignoring o 561 # when required. Since we're ignoring out-of-tree users, there's also 557 # no need bother prompting for a manual 562 # no need bother prompting for a manual decision: 558 # prompt "glob_match() function" 563 # prompt "glob_match() function" 559 help 564 help 560 This option provides a glob_match fu 565 This option provides a glob_match function for performing 561 simple text pattern matching. It or 566 simple text pattern matching. It originated in the ATA code 562 to blacklist particular drive models 567 to blacklist particular drive models, but other device drivers 563 may need similar functionality. 568 may need similar functionality. 564 569 565 All drivers in the Linux kernel tree 570 All drivers in the Linux kernel tree that require this function 566 should automatically select this opt 571 should automatically select this option. Say N unless you 567 are compiling an out-of tree driver 572 are compiling an out-of tree driver which tells you that it 568 depends on this. 573 depends on this. 569 574 570 config GLOB_SELFTEST 575 config GLOB_SELFTEST 571 tristate "glob self-test on init" 576 tristate "glob self-test on init" 572 depends on GLOB 577 depends on GLOB 573 help 578 help 574 This option enables a simple self-te 579 This option enables a simple self-test of the glob_match 575 function on startup. It is primaril 580 function on startup. It is primarily useful for people 576 working on the code to ensure they h 581 working on the code to ensure they haven't introduced any 577 regressions. 582 regressions. 578 583 579 It only adds a little bit of code an 584 It only adds a little bit of code and slows kernel boot (or 580 module load) by a small amount, so y 585 module load) by a small amount, so you're welcome to play with 581 it, but you probably don't need it. 586 it, but you probably don't need it. 582 587 583 # 588 # 584 # Netlink attribute parsing support is select' 589 # Netlink attribute parsing support is select'ed if needed 585 # 590 # 586 config NLATTR 591 config NLATTR 587 bool 592 bool 588 593 589 # 594 # 590 # Generic 64-bit atomic support is selected if 595 # Generic 64-bit atomic support is selected if needed 591 # 596 # 592 config GENERIC_ATOMIC64 597 config GENERIC_ATOMIC64 593 bool 598 bool 594 599 595 config LRU_CACHE 600 config LRU_CACHE 596 tristate 601 tristate 597 602 598 config CLZ_TAB 603 config CLZ_TAB 599 bool 604 bool 600 605 601 config IRQ_POLL 606 config IRQ_POLL 602 bool "IRQ polling library" 607 bool "IRQ polling library" 603 help 608 help 604 Helper library to poll interrupt mit 609 Helper library to poll interrupt mitigation using polling. 605 610 606 config MPILIB 611 config MPILIB 607 tristate 612 tristate 608 select CLZ_TAB 613 select CLZ_TAB 609 help 614 help 610 Multiprecision maths library from Gn 615 Multiprecision maths library from GnuPG. 611 It is used to implement RSA digital 616 It is used to implement RSA digital signature verification, 612 which is used by IMA/EVM digital sig 617 which is used by IMA/EVM digital signature extension. 613 618 614 config SIGNATURE 619 config SIGNATURE 615 tristate 620 tristate 616 depends on KEYS 621 depends on KEYS 617 select CRYPTO 622 select CRYPTO 618 select CRYPTO_SHA1 623 select CRYPTO_SHA1 619 select MPILIB 624 select MPILIB 620 help 625 help 621 Digital signature verification. Curr 626 Digital signature verification. Currently only RSA is supported. 622 Implementation is done using GnuPG M 627 Implementation is done using GnuPG MPI library 623 628 624 config DIMLIB 629 config DIMLIB 625 tristate !! 630 bool 626 depends on NET << 627 help 631 help 628 Dynamic Interrupt Moderation library 632 Dynamic Interrupt Moderation library. 629 Implements an algorithm for dynamica 633 Implements an algorithm for dynamically changing CQ moderation values 630 according to run time performance. 634 according to run time performance. 631 635 632 # 636 # 633 # libfdt files, only selected if needed. 637 # libfdt files, only selected if needed. 634 # 638 # 635 config LIBFDT 639 config LIBFDT 636 bool 640 bool 637 641 638 config OID_REGISTRY 642 config OID_REGISTRY 639 tristate 643 tristate 640 help 644 help 641 Enable fast lookup object identifier 645 Enable fast lookup object identifier registry. 642 646 643 config UCS2_STRING 647 config UCS2_STRING 644 tristate 648 tristate 645 649 646 # 650 # 647 # generic vdso 651 # generic vdso 648 # 652 # 649 source "lib/vdso/Kconfig" 653 source "lib/vdso/Kconfig" 650 654 651 source "lib/fonts/Kconfig" 655 source "lib/fonts/Kconfig" 652 656 653 config SG_SPLIT 657 config SG_SPLIT 654 def_bool n 658 def_bool n 655 help 659 help 656 Provides a helper to split scatterlis 660 Provides a helper to split scatterlists into chunks, each chunk being 657 a scatterlist. This should be selecte 661 a scatterlist. This should be selected by a driver or an API which 658 whishes to split a scatterlist amongs 662 whishes to split a scatterlist amongst multiple DMA channels. 659 663 660 config SG_POOL 664 config SG_POOL 661 def_bool n 665 def_bool n 662 help 666 help 663 Provides a helper to allocate chained 667 Provides a helper to allocate chained scatterlists. This should be 664 selected by a driver or an API which 668 selected by a driver or an API which whishes to allocate chained 665 scatterlist. 669 scatterlist. 666 670 667 # 671 # 668 # sg chaining option 672 # sg chaining option 669 # 673 # 670 674 671 config ARCH_NO_SG_CHAIN 675 config ARCH_NO_SG_CHAIN 672 def_bool n 676 def_bool n 673 677 674 config ARCH_HAS_PMEM_API 678 config ARCH_HAS_PMEM_API 675 bool 679 bool 676 680 677 config MEMREGION 681 config MEMREGION 678 bool 682 bool 679 683 680 config ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION 684 config ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION 681 bool 685 bool 682 686 683 config ARCH_HAS_MEMREMAP_COMPAT_ALIGN 687 config ARCH_HAS_MEMREMAP_COMPAT_ALIGN 684 bool 688 bool 685 689 686 # use memcpy to implement user copies for nomm 690 # use memcpy to implement user copies for nommu architectures 687 config UACCESS_MEMCPY 691 config UACCESS_MEMCPY 688 bool 692 bool 689 693 690 config ARCH_HAS_UACCESS_FLUSHCACHE 694 config ARCH_HAS_UACCESS_FLUSHCACHE 691 bool 695 bool 692 696 693 # arch has a concept of a recoverable synchron 697 # arch has a concept of a recoverable synchronous exception due to a 694 # memory-read error like x86 machine-check or 698 # memory-read error like x86 machine-check or ARM data-abort, and 695 # implements copy_mc_to_{user,kernel} to abort 699 # implements copy_mc_to_{user,kernel} to abort and report 696 # 'bytes-transferred' if that exception fires 700 # 'bytes-transferred' if that exception fires when accessing the source 697 # buffer. 701 # buffer. 698 config ARCH_HAS_COPY_MC 702 config ARCH_HAS_COPY_MC 699 bool 703 bool 700 704 701 # Temporary. Goes away when all archs are clea 705 # Temporary. Goes away when all archs are cleaned up 702 config ARCH_STACKWALK 706 config ARCH_STACKWALK 703 bool 707 bool 704 708 705 config STACKDEPOT 709 config STACKDEPOT 706 bool 710 bool 707 select STACKTRACE 711 select STACKTRACE 708 help << 709 Stack depot: stack trace storage tha << 710 712 711 config STACKDEPOT_ALWAYS_INIT 713 config STACKDEPOT_ALWAYS_INIT 712 bool 714 bool 713 select STACKDEPOT 715 select STACKDEPOT 714 help << 715 Always initialize stack depot during << 716 << 717 config STACKDEPOT_MAX_FRAMES << 718 int "Maximum number of frames in trace << 719 range 1 256 << 720 default 64 << 721 depends on STACKDEPOT << 722 716 723 config REF_TRACKER 717 config REF_TRACKER 724 bool 718 bool 725 depends on STACKTRACE_SUPPORT 719 depends on STACKTRACE_SUPPORT 726 select STACKDEPOT 720 select STACKDEPOT 727 721 728 config SBITMAP 722 config SBITMAP 729 bool 723 bool 730 724 731 config PARMAN 725 config PARMAN 732 tristate "parman" if COMPILE_TEST 726 tristate "parman" if COMPILE_TEST 733 727 734 config OBJAGG 728 config OBJAGG 735 tristate "objagg" if COMPILE_TEST 729 tristate "objagg" if COMPILE_TEST 736 730 737 config LWQ_TEST << 738 bool "Boot-time test for lwq queuing" << 739 help << 740 Run boot-time test of light-weight q << 741 << 742 endmenu 731 endmenu 743 732 744 config GENERIC_IOREMAP 733 config GENERIC_IOREMAP 745 bool 734 bool 746 735 747 config GENERIC_LIB_ASHLDI3 736 config GENERIC_LIB_ASHLDI3 748 bool 737 bool 749 738 750 config GENERIC_LIB_ASHRDI3 739 config GENERIC_LIB_ASHRDI3 751 bool 740 bool 752 741 753 config GENERIC_LIB_LSHRDI3 742 config GENERIC_LIB_LSHRDI3 754 bool 743 bool 755 744 756 config GENERIC_LIB_MULDI3 745 config GENERIC_LIB_MULDI3 757 bool 746 bool 758 747 759 config GENERIC_LIB_CMPDI2 748 config GENERIC_LIB_CMPDI2 760 bool 749 bool 761 750 762 config GENERIC_LIB_UCMPDI2 751 config GENERIC_LIB_UCMPDI2 763 bool 752 bool 764 753 765 config GENERIC_LIB_DEVMEM_IS_ALLOWED 754 config GENERIC_LIB_DEVMEM_IS_ALLOWED 766 bool 755 bool 767 756 768 config PLDMFW 757 config PLDMFW 769 bool 758 bool 770 default n 759 default n 771 760 772 config ASN1_ENCODER 761 config ASN1_ENCODER 773 tristate 762 tristate 774 763 775 config POLYNOMIAL 764 config POLYNOMIAL 776 tristate 765 tristate 777 << 778 config FIRMWARE_TABLE << 779 bool <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.