Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index 1e1bd6f..8acc01d 100644 (file)
@@ -313,6 +313,9 @@ config DEBUG_INFO_BTF
 config PAHOLE_HAS_SPLIT_BTF
        def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119")
 
+config PAHOLE_HAS_ZEROSIZE_PERCPU_SUPPORT
+       def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "122")
+
 config DEBUG_INFO_BTF_MODULES
        def_bool y
        depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
@@ -2046,8 +2049,9 @@ config LKDTM
        Documentation/fault-injection/provoke-crashes.rst
 
 config TEST_LIST_SORT
-       tristate "Linked list sorting test"
-       depends on DEBUG_KERNEL || m
+       tristate "Linked list sorting test" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
        help
          Enable this to turn on 'list_sort()' function test. This test is
          executed only once during system boot (so affects only boot time),
@@ -2180,6 +2184,9 @@ config TEST_KSTRTOX
 config TEST_PRINTF
        tristate "Test printf() family of functions at runtime"
 
+config TEST_SCANF
+       tristate "Test scanf() family of functions at runtime"
+
 config TEST_BITMAP
        tristate "Test bitmap_*() family of functions at runtime"
        help
@@ -2428,6 +2435,30 @@ config BITS_TEST
 
          If unsure, say N.
 
+config SLUB_KUNIT_TEST
+       tristate "KUnit test for SLUB cache error detection" if !KUNIT_ALL_TESTS
+       depends on SLUB_DEBUG && KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         This builds SLUB allocator unit test.
+         Tests SLUB cache debugging functionality.
+         For more information on KUnit and unit tests in general please refer
+         to the KUnit documentation in Documentation/dev-tools/kunit/.
+
+         If unsure, say N.
+
+config RATIONAL_KUNIT_TEST
+       tristate "KUnit test for rational.c" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       select RATIONAL
+       default KUNIT_ALL_TESTS
+       help
+         This builds the rational math unit test.
+         For more information on KUnit and unit tests in general please refer
+         to the KUnit documentation in Documentation/dev-tools/kunit/.
+
+         If unsure, say N.
+
 config TEST_UDELAY
        tristate "udelay test driver"
        help
@@ -2570,6 +2601,18 @@ config TEST_FPU
 
          If unsure, say N.
 
+config TEST_CLOCKSOURCE_WATCHDOG
+       tristate "Test clocksource watchdog in kernel space"
+       depends on CLOCKSOURCE_WATCHDOG
+       help
+         Enable this option to create a kernel module that will trigger
+         a test of the clocksource watchdog.  This module may be loaded
+         via modprobe or insmod in which case it will run upon being
+         loaded, or it may be built in, in which case it will run
+         shortly after boot.
+
+         If unsure, say N.
+
 endif # RUNTIME_TESTING_MENU
 
 config ARCH_USE_MEMTEST