Merge branch 'objtool/core'

Bring in the UDB and objtool data annotations to avoid conflicts while further extending the bug exceptions.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
This commit is contained in:
Peter Zijlstra
2025-11-21 11:21:20 +01:00
14201 changed files with 602275 additions and 331950 deletions

View File

@@ -269,7 +269,7 @@ config DEBUG_INFO_NONE
config DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
bool "Rely on the toolchain's implicit default DWARF version"
select DEBUG_INFO
depends on !CC_IS_CLANG || AS_IS_LLVM || CLANG_VERSION < 140000 || (AS_IS_GNU && AS_VERSION >= 23502 && AS_HAS_NON_CONST_ULEB128)
depends on !CC_IS_CLANG || AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502 && AS_HAS_NON_CONST_ULEB128)
help
The implicit default version of DWARF debug info produced by a
toolchain changes over time.
@@ -1077,12 +1077,6 @@ config PANIC_ON_OOPS
Say N if unsure.
config PANIC_ON_OOPS_VALUE
int
range 0 1
default 0 if !PANIC_ON_OOPS
default 1 if PANIC_ON_OOPS
config PANIC_TIMEOUT
int "panic timeout"
default 0
@@ -2489,6 +2483,20 @@ config STRING_HELPERS_KUNIT_TEST
depends on KUNIT
default KUNIT_ALL_TESTS
config FFS_KUNIT_TEST
tristate "KUnit test ffs-family functions at runtime" if !KUNIT_ALL_TESTS
depends on KUNIT
default KUNIT_ALL_TESTS
help
This builds KUnit tests for ffs-family bit manipulation functions
including ffs(), __ffs(), fls(), __fls(), fls64(), and __ffs64().
These tests validate mathematical correctness, edge case handling,
and cross-architecture consistency of bit scanning functions.
For more information on KUnit and unit tests in general,
please refer to Documentation/dev-tools/kunit/.
config TEST_KSTRTOX
tristate "Test kstrto*() family of functions at runtime"
@@ -2617,6 +2625,19 @@ config FIND_BIT_BENCHMARK
If unsure, say N.
config FIND_BIT_BENCHMARK_RUST
tristate "Test find_bit functions in Rust"
depends on RUST
help
This builds the "find_bit_benchmark_rust" module. It is a micro
benchmark that measures the performance of Rust functions that
correspond to the find_*_bit() operations in C. It follows the
FIND_BIT_BENCHMARK closely but will in general not yield same
numbers due to extra bounds checks and overhead of foreign
function calls.
If unsure, say N.
config TEST_FIRMWARE
tristate "Test firmware loading via userspace interface"
depends on FW_LOADER
@@ -2904,7 +2925,7 @@ config FORTIFY_KUNIT_TEST
config LONGEST_SYM_KUNIT_TEST
tristate "Test the longest symbol possible" if !KUNIT_ALL_TESTS
depends on KUNIT && KPROBES
depends on !PREFIX_SYMBOLS && !CFI_CLANG && !GCOV_KERNEL
depends on !PREFIX_SYMBOLS && !CFI && !GCOV_KERNEL
default KUNIT_ALL_TESTS
help
Tests the longest symbol possible
@@ -3224,6 +3245,26 @@ config TEST_OBJPOOL
If unsure, say N.
config TEST_KEXEC_HANDOVER
bool "Test for Kexec HandOver"
default n
depends on KEXEC_HANDOVER
help
This option enables test for Kexec HandOver (KHO).
The test consists of two parts: saving kernel data before kexec and
restoring the data after kexec and verifying that it was properly
handed over. This test module creates and saves data on the boot of
the first kernel and restores and verifies the data on the boot of
kexec'ed kernel.
For detailed documentation about KHO, see Documentation/core-api/kho.
To run the test run:
tools/testing/selftests/kho/vmtest.sh -h
If unsure, say N.
config RATELIMIT_KUNIT_TEST
tristate "KUnit Test for correctness and stress of ratelimit" if !KUNIT_ALL_TESTS
depends on KUNIT