hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/lib/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Library configuration
34 #
....@@ -10,19 +11,43 @@
1011 config RAID6_PQ
1112 tristate
1213
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
+
1342 config BITREVERSE
1443 tristate
1544
1645 config HAVE_ARCH_BITREVERSE
1746 bool
1847 default n
19
- depends on BITREVERSE
2048 help
2149 This option enables the use of hardware bit-reversal instructions on
2250 architectures which support such operations.
23
-
24
-config RATIONAL
25
- bool
2651
2752 config GENERIC_STRNCPY_FROM_USER
2853 bool
....@@ -35,6 +60,8 @@
3560
3661 config GENERIC_FIND_FIRST_BIT
3762 bool
63
+
64
+source "lib/math/Kconfig"
3865
3966 config NO_GENERIC_PCI_IOPORT_MAP
4067 bool
....@@ -55,6 +82,9 @@
5582 config ARCH_HAS_FAST_MULTIPLIER
5683 bool
5784
85
+config ARCH_USE_SYM_ANNOTATIONS
86
+ bool
87
+
5888 config INDIRECT_PIO
5989 bool "Access I/O in non-MMIO mode"
6090 depends on ARM64
....@@ -70,6 +100,11 @@
70100 sure your devices really need this configure item enabled.
71101
72102 When in doubt, say N.
103
+
104
+source "lib/crypto/Kconfig"
105
+
106
+config LIB_MEMNEQ
107
+ bool
73108
74109 config CRC_CCITT
75110 tristate "CRC-CCITT functions"
....@@ -253,6 +288,13 @@
253288 tristate
254289 select BITREVERSE
255290
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
+
256298 config LZO_COMPRESS
257299 tristate
258300
....@@ -302,6 +344,10 @@
302344
303345 config DECOMPRESS_LZ4
304346 select LZ4_DECOMPRESS
347
+ tristate
348
+
349
+config DECOMPRESS_ZSTD
350
+ select ZSTD_DECOMPRESS
305351 tristate
306352
307353 #
....@@ -395,12 +441,15 @@
395441
396442 See:
397443
398
- Documentation/rbtree.txt
444
+ Documentation/core-api/rbtree.rst
399445
400446 for more information.
401447
402
-config RADIX_TREE_MULTIORDER
448
+config XARRAY_MULTI
403449 bool
450
+ help
451
+ Support entries which occupy multiple consecutive indices in the
452
+ XArray.
404453
405454 config ASSOCIATIVE_ARRAY
406455 bool
....@@ -419,7 +468,6 @@
419468 config HAS_IOMEM
420469 bool
421470 depends on !NO_IOMEM
422
- select GENERIC_IO
423471 default y
424472
425473 config HAS_IOPORT_MAP
....@@ -503,20 +551,6 @@
503551 config CLZ_TAB
504552 bool
505553
506
-config CORDIC
507
- tristate "CORDIC algorithm"
508
- help
509
- This option provides an implementation of the CORDIC algorithm;
510
- calculations are in fixed point. Module will be called cordic.
511
-
512
-config DDR
513
- bool "JEDEC DDR data"
514
- help
515
- Data from JEDEC specs for DDR SDRAM memories,
516
- particularly the AC timing parameters and addressing
517
- information. This data is useful for drivers handling
518
- DDR SDRAM controllers.
519
-
520554 config IRQ_POLL
521555 bool "IRQ polling library"
522556 help
....@@ -540,6 +574,13 @@
540574 Digital signature verification. Currently only RSA is supported.
541575 Implementation is done using GnuPG MPI library
542576
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
+
543584 #
544585 # libfdt files, only selected if needed.
545586 #
....@@ -552,7 +593,7 @@
552593 Enable fast lookup object identifier registry.
553594
554595 config UCS2_STRING
555
- tristate
596
+ tristate
556597
557598 #
558599 # generic vdso
....@@ -579,21 +620,49 @@
579620 # sg chaining option
580621 #
581622
582
-config ARCH_HAS_SG_CHAIN
623
+config ARCH_NO_SG_CHAIN
583624 def_bool n
584625
585626 config ARCH_HAS_PMEM_API
586627 bool
587628
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
+
588639 config ARCH_HAS_UACCESS_FLUSHCACHE
589640 bool
590641
591
-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
592648 bool
649
+
650
+# Temporary. Goes away when all archs are cleaned up
651
+config ARCH_STACKWALK
652
+ bool
593653
594654 config STACKDEPOT
595655 bool
596656 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.
597666
598667 config SBITMAP
599668 bool
....@@ -601,13 +670,16 @@
601670 config PARMAN
602671 tristate "parman" if COMPILE_TEST
603672
604
-config PRIME_NUMBERS
605
- tristate
673
+config OBJAGG
674
+ tristate "objagg" if COMPILE_TEST
606675
607676 config STRING_SELFTEST
608677 tristate "Test string functions"
609678
610679 endmenu
680
+
681
+config GENERIC_IOREMAP
682
+ bool
611683
612684 config GENERIC_LIB_ASHLDI3
613685 bool
....@@ -626,3 +698,7 @@
626698
627699 config GENERIC_LIB_UCMPDI2
628700 bool
701
+
702
+config PLDMFW
703
+ bool
704
+ default n