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
....@@ -441,7 +489,6 @@
441489
442490 config CPUMASK_OFFSTACK
443491 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
444
- depends on !PREEMPT_RT_FULL
445492 help
446493 Use dynamic allocation for cpumask_var_t, instead of putting
447494 them on the stack. This is a bit more expensive, but avoids
....@@ -504,20 +551,6 @@
504551 config CLZ_TAB
505552 bool
506553
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
-
521554 config IRQ_POLL
522555 bool "IRQ polling library"
523556 help
....@@ -541,6 +574,13 @@
541574 Digital signature verification. Currently only RSA is supported.
542575 Implementation is done using GnuPG MPI library
543576
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
+
544584 #
545585 # libfdt files, only selected if needed.
546586 #
....@@ -553,7 +593,7 @@
553593 Enable fast lookup object identifier registry.
554594
555595 config UCS2_STRING
556
- tristate
596
+ tristate
557597
558598 #
559599 # generic vdso
....@@ -580,21 +620,49 @@
580620 # sg chaining option
581621 #
582622
583
-config ARCH_HAS_SG_CHAIN
623
+config ARCH_NO_SG_CHAIN
584624 def_bool n
585625
586626 config ARCH_HAS_PMEM_API
587627 bool
588628
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
+
589639 config ARCH_HAS_UACCESS_FLUSHCACHE
590640 bool
591641
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
593648 bool
649
+
650
+# Temporary. Goes away when all archs are cleaned up
651
+config ARCH_STACKWALK
652
+ bool
594653
595654 config STACKDEPOT
596655 bool
597656 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.
598666
599667 config SBITMAP
600668 bool
....@@ -602,13 +670,16 @@
602670 config PARMAN
603671 tristate "parman" if COMPILE_TEST
604672
605
-config PRIME_NUMBERS
606
- tristate
673
+config OBJAGG
674
+ tristate "objagg" if COMPILE_TEST
607675
608676 config STRING_SELFTEST
609677 tristate "Test string functions"
610678
611679 endmenu
680
+
681
+config GENERIC_IOREMAP
682
+ bool
612683
613684 config GENERIC_LIB_ASHLDI3
614685 bool
....@@ -627,3 +698,7 @@
627698
628699 config GENERIC_LIB_UCMPDI2
629700 bool
701
+
702
+config PLDMFW
703
+ bool
704
+ default n