]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - lib/Kconfig.debug
drm/amd/display: add dal_asic_id for renoir
[linux.git] / lib / Kconfig.debug
index cbdfae37989653410332bc9acd9dd1237ace1712..5960e2980a8a00d536a0d8b1b8f50c5325897ed3 100644 (file)
@@ -305,19 +305,26 @@ config DEBUG_FS
 
          If unsure, say N.
 
-config HEADERS_CHECK
-       bool "Run 'make headers_check' when building vmlinux"
+config HEADERS_INSTALL
+       bool "Install uapi headers to usr/include"
        depends on !UML
        help
-         This option will extract the user-visible kernel headers whenever
-         building the kernel, and will run basic sanity checks on them to
-         ensure that exported files do not attempt to include files which
-         were not exported, etc.
+         This option will install uapi headers (headers exported to user-space)
+         into the usr/include directory for use during the kernel build.
+         This is unneeded for building the kernel itself, but needed for some
+         user-space program samples. It is also needed by some features such
+         as uapi header sanity checks.
+
+config HEADERS_CHECK
+       bool "Run sanity checks on uapi headers when building 'all'"
+       depends on HEADERS_INSTALL
+       help
+         This option will run basic sanity checks on uapi headers when
+         building the 'all' target, for example, ensure that they do not
+         attempt to include files which were not exported, etc.
 
          If you're making modifications to header files which are
-         relevant for userspace, say 'Y', and check the headers
-         exported to $(INSTALL_HDR_PATH) (usually 'usr/include' in
-         your build tree), to make sure they're suitable.
+         relevant for userspace, say 'Y'.
 
 config OPTIMIZE_INLINING
        bool "Allow compiler to uninline functions marked 'inline'"
@@ -346,23 +353,13 @@ config DEBUG_SECTION_MISMATCH
          which results in the code/data being placed in specific sections.
          The section mismatch analysis is always performed after a full
          kernel build, and enabling this option causes the following
-         additional steps to occur:
+         additional step to occur:
          - Add the option -fno-inline-functions-called-once to gcc commands.
            When inlining a function annotated with __init in a non-init
            function, we would lose the section information and thus
            the analysis would not catch the illegal reference.
            This option tells gcc to inline less (but it does result in
            a larger kernel).
-         - Run the section mismatch analysis for each module/built-in.a file.
-           When we run the section mismatch analysis on vmlinux.o, we
-           lose valuable information about where the mismatch was
-           introduced.
-           Running the analysis for each module/built-in.a file
-           tells where the mismatch happens much closer to the
-           source. The drawback is that the same mismatch is
-           reported at least twice.
-         - Enable verbose reporting from modpost in order to help resolve
-           the section mismatches that are reported.
 
 config SECTION_MISMATCH_WARN_ONLY
        bool "Make section mismatch errors non-fatal"
@@ -1095,7 +1092,7 @@ config PROVE_LOCKING
        select DEBUG_SPINLOCK
        select DEBUG_MUTEXES
        select DEBUG_RT_MUTEXES if RT_MUTEXES
-       select DEBUG_RWSEMS if RWSEM_SPIN_ON_OWNER
+       select DEBUG_RWSEMS
        select DEBUG_WW_MUTEX_SLOWPATH
        select DEBUG_LOCK_ALLOC
        select TRACE_IRQFLAGS
@@ -1132,7 +1129,7 @@ config PROVE_LOCKING
         the proof of observed correctness is also maintained for an
         arbitrary combination of these separate locking variants.
 
-        For more details, see Documentation/locking/lockdep-design.txt.
+        For more details, see Documentation/locking/lockdep-design.rst.
 
 config LOCK_STAT
        bool "Lock usage statistics"
@@ -1146,7 +1143,7 @@ config LOCK_STAT
        help
         This feature enables tracking lock contention points
 
-        For more details, see Documentation/locking/lockstat.txt
+        For more details, see Documentation/locking/lockstat.rst
 
         This also enables lock events required by "perf lock",
         subcommand of perf.
@@ -1199,10 +1196,10 @@ config DEBUG_WW_MUTEX_SLOWPATH
 
 config DEBUG_RWSEMS
        bool "RW Semaphore debugging: basic checks"
-       depends on DEBUG_KERNEL && RWSEM_SPIN_ON_OWNER
+       depends on DEBUG_KERNEL
        help
-         This debugging feature allows mismatched rw semaphore locks and unlocks
-         to be detected and reported.
+         This debugging feature allows mismatched rw semaphore locks
+         and unlocks to be detected and reported.
 
 config DEBUG_LOCK_ALLOC
        bool "Lock debugging: detect incorrect freeing of live locks"
@@ -1701,7 +1698,7 @@ config LKDTM
        called lkdtm.
 
        Documentation on how to use the module can be found in
-       Documentation/fault-injection/provoke-crashes.txt
+       Documentation/fault-injection/provoke-crashes.rst
 
 config TEST_LIST_SORT
        tristate "Linked list sorting test"
@@ -1754,6 +1751,18 @@ config RBTREE_TEST
          A benchmark measuring the performance of the rbtree library.
          Also includes rbtree invariant checks.
 
+config REED_SOLOMON_TEST
+       tristate "Reed-Solomon library test"
+       depends on DEBUG_KERNEL || m
+       select REED_SOLOMON
+       select REED_SOLOMON_ENC16
+       select REED_SOLOMON_DEC16
+       help
+         This option enables the self-test function of rslib at boot,
+         or at module load time.
+
+         If unsure, say N.
+
 config INTERVAL_TREE_TEST
        tristate "Interval tree test"
        depends on DEBUG_KERNEL
@@ -1858,6 +1867,14 @@ config TEST_PARMAN
 
          If unsure, say N.
 
+config TEST_IRQ_TIMINGS
+       bool "IRQ timings selftest"
+       depends on IRQ_TIMINGS
+       help
+         Enable this option to test the irq timings code on boot.
+
+         If unsure, say N.
+
 config TEST_LKM
        tristate "Test module loading with 'hello world' module"
        depends on m
@@ -1909,6 +1926,15 @@ config TEST_BPF
 
          If unsure, say N.
 
+config TEST_BLACKHOLE_DEV
+       tristate "Test blackhole netdev functionality"
+       depends on m && NET
+       help
+         This builds the "test_blackhole_dev" module that validates the
+         data path through this blackhole netdev.
+
+         If unsure, say N.
+
 config FIND_BIT_BENCHMARK
        tristate "Test find_bit functions"
        help
@@ -2040,6 +2066,14 @@ config TEST_STACKINIT
 
          If unsure, say N.
 
+config TEST_MEMINIT
+       tristate "Test heap/page initialization"
+       help
+         Test if the kernel is zero-initializing heap and page allocations.
+         This can be useful to test init_on_alloc and init_on_free features.
+
+         If unsure, say N.
+
 endif # RUNTIME_TESTING_MENU
 
 config MEMTEST