dt-binding: can: m_can: fix indention of table in bosch,mram-cfg description
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index c77fe36..1555da6 100644 (file)
@@ -296,7 +296,7 @@ config DEBUG_INFO_DWARF4
 config DEBUG_INFO_DWARF5
        bool "Generate DWARF Version 5 debuginfo"
        depends on !CC_IS_CLANG || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502)))
-       depends on !DEBUG_INFO_BTF
+       depends on !DEBUG_INFO_BTF || PAHOLE_VERSION >= 121
        help
          Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc
          5.0+ accepts the -gdwarf-5 flag but only had partial support for some
@@ -323,7 +323,15 @@ config DEBUG_INFO_BTF
          DWARF type info into equivalent deduplicated BTF type info.
 
 config PAHOLE_HAS_SPLIT_BTF
-       def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119")
+       def_bool PAHOLE_VERSION >= 119
+
+config PAHOLE_HAS_BTF_TAG
+       def_bool PAHOLE_VERSION >= 123
+       depends on CC_IS_CLANG
+       help
+         Decide whether pahole emits btf_tag attributes (btf_type_tag and
+         btf_decl_tag) or not. Currently only clang compiler implements
+         these attributes, so make the config depend on CC_IS_CLANG.
 
 config DEBUG_INFO_BTF_MODULES
        def_bool y
@@ -1984,6 +1992,8 @@ config KCOV
        bool "Code coverage for fuzzing"
        depends on ARCH_HAS_KCOV
        depends on CC_HAS_SANCOV_TRACE_PC || GCC_PLUGINS
+       depends on !ARCH_WANTS_NO_INSTR || STACK_VALIDATION || \
+                  GCC_VERSION >= 120000 || CLANG_VERSION >= 130000
        select DEBUG_FS
        select GCC_PLUGIN_SANCOV if !CC_HAS_SANCOV_TRACE_PC
        help
@@ -2222,12 +2232,11 @@ config TEST_RHASHTABLE
 
          If unsure, say N.
 
-config TEST_HASH
-       tristate "Perform selftest on hash functions"
+config TEST_SIPHASH
+       tristate "Perform selftest on siphash functions"
        help
-         Enable this option to test the kernel's integer (<linux/hash.h>),
-         string (<linux/stringhash.h>), and siphash (<linux/siphash.h>)
-         hash functions on boot (or module load).
+         Enable this option to test the kernel's siphash (<linux/siphash.h>) hash
+         functions on boot (or module load).
 
          This is intended to help people writing architecture-specific
          optimized versions.  If unsure, say N.
@@ -2371,6 +2380,25 @@ config BITFIELD_KUNIT
 
          If unsure, say N.
 
+config HASH_KUNIT_TEST
+       tristate "KUnit Test for integer hash functions" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         Enable this option to test the kernel's string (<linux/stringhash.h>), and
+         integer (<linux/hash.h>) hash functions on boot.
+
+         KUnit tests run during boot and output the results to the debug log
+         in TAP format (https://testanything.org/). Only useful for kernel devs
+         running the KUnit test harness, and not intended for inclusion into a
+         production build.
+
+         For more information on KUnit and unit tests in general please refer
+         to the KUnit documentation in Documentation/dev-tools/kunit/.
+
+         This is intended to help people writing architecture-specific
+         optimized versions. If unsure, say N.
+
 config RESOURCE_KUNIT_TEST
        tristate "KUnit test for resource API"
        depends on KUNIT
@@ -2502,6 +2530,7 @@ config TEST_KMOD
        depends on m
        depends on NETDEVICES && NET_CORE && INET # for TUN
        depends on BLOCK
+       depends on PAGE_SIZE_LESS_THAN_256KB # for BTRFS
        select TEST_LKM
        select XFS_FS
        select TUN