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