]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Drop noinstr hack for KCSAN_WEAK_MEMORY
authorNathan Chancellor <nathan@kernel.org>
Thu, 21 Aug 2025 21:15:48 +0000 (14:15 -0700)
committerNathan Chancellor <nathan@kernel.org>
Thu, 28 Aug 2025 23:58:46 +0000 (16:58 -0700)
commit573ad421cc551eb45d9ac9008395f93c070789b8
tree9d3adbec7a8ad7669c76912cbc31d34a807a202d
parenta817de20091c3cf6de19d7ddf099b0e35003b7d0
objtool: Drop noinstr hack for KCSAN_WEAK_MEMORY

Now that the minimum supported version of LLVM for building the kernel
has been bumped to 15.0.0, __no_kcsan will always ensure that the thread
sanitizer functions are not generated, so remove the check for tsan
functions in is_profiling_func() and the always true depends and
unnecessary select lines in KCSAN_WEAK_MEMORY.

Acked-by: Marco Elver <elver@google.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infraded.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-11-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
lib/Kconfig.kcsan
tools/objtool/check.c