| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # Library configuration |
|---|
| 3 | 4 | # |
|---|
| .. | .. |
|---|
| 10 | 11 | config RAID6_PQ |
|---|
| 11 | 12 | tristate |
|---|
| 12 | 13 | |
|---|
| 14 | +config RAID6_PQ_BENCHMARK |
|---|
| 15 | + bool "Automatically choose fastest RAID6 PQ functions" |
|---|
| 16 | + depends on RAID6_PQ |
|---|
| 17 | + default y |
|---|
| 18 | + help |
|---|
| 19 | + Benchmark all available RAID6 PQ functions on init and choose the |
|---|
| 20 | + fastest one. |
|---|
| 21 | + |
|---|
| 22 | +config LINEAR_RANGES |
|---|
| 23 | + tristate |
|---|
| 24 | + |
|---|
| 25 | +config PACKING |
|---|
| 26 | + bool "Generic bitfield packing and unpacking" |
|---|
| 27 | + default n |
|---|
| 28 | + help |
|---|
| 29 | + This option provides the packing() helper function, which permits |
|---|
| 30 | + converting bitfields between a CPU-usable representation and a |
|---|
| 31 | + memory representation that can have any combination of these quirks: |
|---|
| 32 | + - Is little endian (bytes are reversed within a 32-bit group) |
|---|
| 33 | + - The least-significant 32-bit word comes first (within a 64-bit |
|---|
| 34 | + group) |
|---|
| 35 | + - The most significant bit of a byte is at its right (bit 0 of a |
|---|
| 36 | + register description is numerically 2^7). |
|---|
| 37 | + Drivers may use these helpers to match the bit indices as described |
|---|
| 38 | + in the data sheets of the peripherals they are in control of. |
|---|
| 39 | + |
|---|
| 40 | + When in doubt, say N. |
|---|
| 41 | + |
|---|
| 13 | 42 | config BITREVERSE |
|---|
| 14 | 43 | tristate |
|---|
| 15 | 44 | |
|---|
| 16 | 45 | config HAVE_ARCH_BITREVERSE |
|---|
| 17 | 46 | bool |
|---|
| 18 | 47 | default n |
|---|
| 19 | | - depends on BITREVERSE |
|---|
| 20 | 48 | help |
|---|
| 21 | 49 | This option enables the use of hardware bit-reversal instructions on |
|---|
| 22 | 50 | architectures which support such operations. |
|---|
| 23 | | - |
|---|
| 24 | | -config RATIONAL |
|---|
| 25 | | - bool |
|---|
| 26 | 51 | |
|---|
| 27 | 52 | config GENERIC_STRNCPY_FROM_USER |
|---|
| 28 | 53 | bool |
|---|
| .. | .. |
|---|
| 35 | 60 | |
|---|
| 36 | 61 | config GENERIC_FIND_FIRST_BIT |
|---|
| 37 | 62 | bool |
|---|
| 63 | + |
|---|
| 64 | +source "lib/math/Kconfig" |
|---|
| 38 | 65 | |
|---|
| 39 | 66 | config NO_GENERIC_PCI_IOPORT_MAP |
|---|
| 40 | 67 | bool |
|---|
| .. | .. |
|---|
| 55 | 82 | config ARCH_HAS_FAST_MULTIPLIER |
|---|
| 56 | 83 | bool |
|---|
| 57 | 84 | |
|---|
| 85 | +config ARCH_USE_SYM_ANNOTATIONS |
|---|
| 86 | + bool |
|---|
| 87 | + |
|---|
| 58 | 88 | config INDIRECT_PIO |
|---|
| 59 | 89 | bool "Access I/O in non-MMIO mode" |
|---|
| 60 | 90 | depends on ARM64 |
|---|
| .. | .. |
|---|
| 70 | 100 | sure your devices really need this configure item enabled. |
|---|
| 71 | 101 | |
|---|
| 72 | 102 | When in doubt, say N. |
|---|
| 103 | + |
|---|
| 104 | +source "lib/crypto/Kconfig" |
|---|
| 105 | + |
|---|
| 106 | +config LIB_MEMNEQ |
|---|
| 107 | + bool |
|---|
| 73 | 108 | |
|---|
| 74 | 109 | config CRC_CCITT |
|---|
| 75 | 110 | tristate "CRC-CCITT functions" |
|---|
| .. | .. |
|---|
| 253 | 288 | tristate |
|---|
| 254 | 289 | select BITREVERSE |
|---|
| 255 | 290 | |
|---|
| 291 | +config ZLIB_DFLTCC |
|---|
| 292 | + def_bool y |
|---|
| 293 | + depends on S390 |
|---|
| 294 | + prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib" |
|---|
| 295 | + help |
|---|
| 296 | + Enable s390x hardware support for zlib in the kernel. |
|---|
| 297 | + |
|---|
| 256 | 298 | config LZO_COMPRESS |
|---|
| 257 | 299 | tristate |
|---|
| 258 | 300 | |
|---|
| .. | .. |
|---|
| 302 | 344 | |
|---|
| 303 | 345 | config DECOMPRESS_LZ4 |
|---|
| 304 | 346 | select LZ4_DECOMPRESS |
|---|
| 347 | + tristate |
|---|
| 348 | + |
|---|
| 349 | +config DECOMPRESS_ZSTD |
|---|
| 350 | + select ZSTD_DECOMPRESS |
|---|
| 305 | 351 | tristate |
|---|
| 306 | 352 | |
|---|
| 307 | 353 | # |
|---|
| .. | .. |
|---|
| 395 | 441 | |
|---|
| 396 | 442 | See: |
|---|
| 397 | 443 | |
|---|
| 398 | | - Documentation/rbtree.txt |
|---|
| 444 | + Documentation/core-api/rbtree.rst |
|---|
| 399 | 445 | |
|---|
| 400 | 446 | for more information. |
|---|
| 401 | 447 | |
|---|
| 402 | | -config RADIX_TREE_MULTIORDER |
|---|
| 448 | +config XARRAY_MULTI |
|---|
| 403 | 449 | bool |
|---|
| 450 | + help |
|---|
| 451 | + Support entries which occupy multiple consecutive indices in the |
|---|
| 452 | + XArray. |
|---|
| 404 | 453 | |
|---|
| 405 | 454 | config ASSOCIATIVE_ARRAY |
|---|
| 406 | 455 | bool |
|---|
| .. | .. |
|---|
| 419 | 468 | config HAS_IOMEM |
|---|
| 420 | 469 | bool |
|---|
| 421 | 470 | depends on !NO_IOMEM |
|---|
| 422 | | - select GENERIC_IO |
|---|
| 423 | 471 | default y |
|---|
| 424 | 472 | |
|---|
| 425 | 473 | config HAS_IOPORT_MAP |
|---|
| .. | .. |
|---|
| 441 | 489 | |
|---|
| 442 | 490 | config CPUMASK_OFFSTACK |
|---|
| 443 | 491 | bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS |
|---|
| 444 | | - depends on !PREEMPT_RT_FULL |
|---|
| 445 | 492 | help |
|---|
| 446 | 493 | Use dynamic allocation for cpumask_var_t, instead of putting |
|---|
| 447 | 494 | them on the stack. This is a bit more expensive, but avoids |
|---|
| .. | .. |
|---|
| 504 | 551 | config CLZ_TAB |
|---|
| 505 | 552 | bool |
|---|
| 506 | 553 | |
|---|
| 507 | | -config CORDIC |
|---|
| 508 | | - tristate "CORDIC algorithm" |
|---|
| 509 | | - help |
|---|
| 510 | | - This option provides an implementation of the CORDIC algorithm; |
|---|
| 511 | | - calculations are in fixed point. Module will be called cordic. |
|---|
| 512 | | - |
|---|
| 513 | | -config DDR |
|---|
| 514 | | - bool "JEDEC DDR data" |
|---|
| 515 | | - help |
|---|
| 516 | | - Data from JEDEC specs for DDR SDRAM memories, |
|---|
| 517 | | - particularly the AC timing parameters and addressing |
|---|
| 518 | | - information. This data is useful for drivers handling |
|---|
| 519 | | - DDR SDRAM controllers. |
|---|
| 520 | | - |
|---|
| 521 | 554 | config IRQ_POLL |
|---|
| 522 | 555 | bool "IRQ polling library" |
|---|
| 523 | 556 | help |
|---|
| .. | .. |
|---|
| 541 | 574 | Digital signature verification. Currently only RSA is supported. |
|---|
| 542 | 575 | Implementation is done using GnuPG MPI library |
|---|
| 543 | 576 | |
|---|
| 577 | +config DIMLIB |
|---|
| 578 | + bool |
|---|
| 579 | + help |
|---|
| 580 | + Dynamic Interrupt Moderation library. |
|---|
| 581 | + Implements an algorithm for dynamically changing CQ moderation values |
|---|
| 582 | + according to run time performance. |
|---|
| 583 | + |
|---|
| 544 | 584 | # |
|---|
| 545 | 585 | # libfdt files, only selected if needed. |
|---|
| 546 | 586 | # |
|---|
| .. | .. |
|---|
| 553 | 593 | Enable fast lookup object identifier registry. |
|---|
| 554 | 594 | |
|---|
| 555 | 595 | config UCS2_STRING |
|---|
| 556 | | - tristate |
|---|
| 596 | + tristate |
|---|
| 557 | 597 | |
|---|
| 558 | 598 | # |
|---|
| 559 | 599 | # generic vdso |
|---|
| .. | .. |
|---|
| 580 | 620 | # sg chaining option |
|---|
| 581 | 621 | # |
|---|
| 582 | 622 | |
|---|
| 583 | | -config ARCH_HAS_SG_CHAIN |
|---|
| 623 | +config ARCH_NO_SG_CHAIN |
|---|
| 584 | 624 | def_bool n |
|---|
| 585 | 625 | |
|---|
| 586 | 626 | config ARCH_HAS_PMEM_API |
|---|
| 587 | 627 | bool |
|---|
| 588 | 628 | |
|---|
| 629 | +config MEMREGION |
|---|
| 630 | + bool |
|---|
| 631 | + |
|---|
| 632 | +config ARCH_HAS_MEMREMAP_COMPAT_ALIGN |
|---|
| 633 | + bool |
|---|
| 634 | + |
|---|
| 635 | +# use memcpy to implement user copies for nommu architectures |
|---|
| 636 | +config UACCESS_MEMCPY |
|---|
| 637 | + bool |
|---|
| 638 | + |
|---|
| 589 | 639 | config ARCH_HAS_UACCESS_FLUSHCACHE |
|---|
| 590 | 640 | bool |
|---|
| 591 | 641 | |
|---|
| 592 | | -config ARCH_HAS_UACCESS_MCSAFE |
|---|
| 642 | +# arch has a concept of a recoverable synchronous exception due to a |
|---|
| 643 | +# memory-read error like x86 machine-check or ARM data-abort, and |
|---|
| 644 | +# implements copy_mc_to_{user,kernel} to abort and report |
|---|
| 645 | +# 'bytes-transferred' if that exception fires when accessing the source |
|---|
| 646 | +# buffer. |
|---|
| 647 | +config ARCH_HAS_COPY_MC |
|---|
| 593 | 648 | bool |
|---|
| 649 | + |
|---|
| 650 | +# Temporary. Goes away when all archs are cleaned up |
|---|
| 651 | +config ARCH_STACKWALK |
|---|
| 652 | + bool |
|---|
| 594 | 653 | |
|---|
| 595 | 654 | config STACKDEPOT |
|---|
| 596 | 655 | bool |
|---|
| 597 | 656 | select STACKTRACE |
|---|
| 657 | + |
|---|
| 658 | +config STACK_HASH_ORDER |
|---|
| 659 | + int "stack depot hash size (12 => 4KB, 20 => 1024KB)" |
|---|
| 660 | + range 12 20 |
|---|
| 661 | + default 20 |
|---|
| 662 | + depends on STACKDEPOT |
|---|
| 663 | + help |
|---|
| 664 | + Select the hash size as a power of 2 for the stackdepot hash table. |
|---|
| 665 | + Choose a lower value to reduce the memory impact. |
|---|
| 598 | 666 | |
|---|
| 599 | 667 | config SBITMAP |
|---|
| 600 | 668 | bool |
|---|
| .. | .. |
|---|
| 602 | 670 | config PARMAN |
|---|
| 603 | 671 | tristate "parman" if COMPILE_TEST |
|---|
| 604 | 672 | |
|---|
| 605 | | -config PRIME_NUMBERS |
|---|
| 606 | | - tristate |
|---|
| 673 | +config OBJAGG |
|---|
| 674 | + tristate "objagg" if COMPILE_TEST |
|---|
| 607 | 675 | |
|---|
| 608 | 676 | config STRING_SELFTEST |
|---|
| 609 | 677 | tristate "Test string functions" |
|---|
| 610 | 678 | |
|---|
| 611 | 679 | endmenu |
|---|
| 680 | + |
|---|
| 681 | +config GENERIC_IOREMAP |
|---|
| 682 | + bool |
|---|
| 612 | 683 | |
|---|
| 613 | 684 | config GENERIC_LIB_ASHLDI3 |
|---|
| 614 | 685 | bool |
|---|
| .. | .. |
|---|
| 627 | 698 | |
|---|
| 628 | 699 | config GENERIC_LIB_UCMPDI2 |
|---|
| 629 | 700 | bool |
|---|
| 701 | + |
|---|
| 702 | +config PLDMFW |
|---|
| 703 | + bool |
|---|
| 704 | + default n |
|---|