Merge tag 'kbuild-fixes-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/masah...
[linux-2.6-block.git] / lib / Kconfig.debug
index 9d2685ec459241930472ca966f7670b8a5586982..59b6765d86b8fc6a5f8c55b6daaae545c1c14f7f 100644 (file)
@@ -375,7 +375,7 @@ config DEBUG_INFO_SPLIT
          Incompatible with older versions of ccache.
 
 config DEBUG_INFO_BTF
-       bool "Generate BTF typeinfo"
+       bool "Generate BTF type information"
        depends on !DEBUG_INFO_SPLIT && !DEBUG_INFO_REDUCED
        depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST
        depends on BPF_SYSCALL
@@ -408,7 +408,8 @@ config PAHOLE_HAS_LANG_EXCLUDE
          using DEBUG_INFO_BTF_MODULES.
 
 config DEBUG_INFO_BTF_MODULES
-       def_bool y
+       bool "Generate BTF type information for kernel modules"
+       default y
        depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
        help
          Generate compact split BTF type information for kernel modules.
@@ -1060,6 +1061,20 @@ config SOFTLOCKUP_DETECTOR
          chance to run.  The current stack trace is displayed upon
          detection and the system will stay locked up.
 
+config SOFTLOCKUP_DETECTOR_INTR_STORM
+       bool "Detect Interrupt Storm in Soft Lockups"
+       depends on SOFTLOCKUP_DETECTOR && IRQ_TIME_ACCOUNTING
+       select GENERIC_IRQ_STAT_SNAPSHOT
+       default y if NR_CPUS <= 128
+       help
+         Say Y here to enable the kernel to detect interrupt storm
+         during "soft lockups".
+
+         "soft lockups" can be caused by a variety of reasons. If one is
+         caused by an interrupt storm, then the storming interrupts will not
+         be on the callstack. To detect this case, it is necessary to report
+         the CPU stats and the interrupt counts during the "soft lockups".
+
 config BOOTPARAM_SOFTLOCKUP_PANIC
        bool "Panic (Reboot) On Soft Lockups"
        depends on SOFTLOCKUP_DETECTOR
@@ -1281,7 +1296,7 @@ config SCHED_INFO
 
 config SCHEDSTATS
        bool "Collect scheduler statistics"
-       depends on DEBUG_KERNEL && PROC_FS
+       depends on PROC_FS
        select SCHED_INFO
        help
          If you say Y here, additional code will be inserted into the
@@ -2467,7 +2482,6 @@ config TEST_LKM
 
 config TEST_BITOPS
        tristate "Test module for compilation of bitops operations"
-       depends on m
        help
          This builds the "test_bitops" module that is much like the
          TEST_LKM module except that it does a basic exercise of the
@@ -2789,16 +2803,6 @@ config HW_BREAKPOINT_KUNIT_TEST
 
          If unsure, say N.
 
-config STRCAT_KUNIT_TEST
-       tristate "Test strcat() family of functions at runtime" if !KUNIT_ALL_TESTS
-       depends on KUNIT
-       default KUNIT_ALL_TESTS
-
-config STRSCPY_KUNIT_TEST
-       tristate "Test strscpy*() family of functions at runtime" if !KUNIT_ALL_TESTS
-       depends on KUNIT
-       default KUNIT_ALL_TESTS
-
 config SIPHASH_KUNIT_TEST
        tristate "Perform selftest on siphash functions" if !KUNIT_ALL_TESTS
        depends on KUNIT
@@ -2921,7 +2925,7 @@ config TEST_FREE_PAGES
 
 config TEST_FPU
        tristate "Test floating point operations in kernel space"
-       depends on X86 && !KCOV_INSTRUMENT_ALL
+       depends on ARCH_HAS_KERNEL_FPU_SUPPORT && !KCOV_INSTRUMENT_ALL
        help
          Enable this option to add /sys/kernel/debug/selftest_helpers/test_fpu
          which will trigger a sequence of floating point operations. This is used