OSDN Git Service

Merge tag 'locks-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton...
[uclinux-h8/linux.git] / lib / Kconfig.debug
index 826a205..7c70521 100644 (file)
@@ -858,9 +858,31 @@ config DEBUG_PER_CPU_MAPS
 
          Say N if unsure.
 
+config DEBUG_KMAP_LOCAL
+       bool "Debug kmap_local temporary mappings"
+       depends on DEBUG_KERNEL && KMAP_LOCAL
+       help
+         This option enables additional error checking for the kmap_local
+         infrastructure.  Disable for production use.
+
+config ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP
+       bool
+
+config DEBUG_KMAP_LOCAL_FORCE_MAP
+       bool "Enforce kmap_local temporary mappings"
+       depends on DEBUG_KERNEL && ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP
+       select KMAP_LOCAL
+       select DEBUG_KMAP_LOCAL
+       help
+         This option enforces temporary mappings through the kmap_local
+         mechanism for non-highmem pages and on non-highmem systems.
+         Disable this for production systems!
+
 config DEBUG_HIGHMEM
        bool "Highmem debugging"
        depends on DEBUG_KERNEL && HIGHMEM
+       select DEBUG_KMAP_LOCAL_FORCE_MAP if ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP
+       select DEBUG_KMAP_LOCAL
        help
          This option enables additional error checking for high memory
          systems.  Disable for production systems.
@@ -1879,7 +1901,6 @@ config KCOV
        depends on CC_HAS_SANCOV_TRACE_PC || GCC_PLUGINS
        select DEBUG_FS
        select GCC_PLUGIN_SANCOV if !CC_HAS_SANCOV_TRACE_PC
-       select SKB_EXTENSIONS if NET
        help
          KCOV exposes kernel code coverage information in a form suitable
          for coverage-guided fuzzing (randomized testing).
@@ -2236,6 +2257,17 @@ config BITFIELD_KUNIT
 
          If unsure, say N.
 
+config RESOURCE_KUNIT_TEST
+       tristate "KUnit test for resource API"
+       depends on KUNIT
+       help
+         This builds the resource API unit test.
+         Tests the logic of API provided by resource.c and ioport.h.
+         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 SYSCTL_KUNIT_TEST
        tristate "KUnit test for sysctl" if !KUNIT_ALL_TESTS
        depends on KUNIT