Merge tag 'objtool-urgent-2022-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull objtool fixes from Thomas Gleixner: - Handle __ubsan_handle_builtin_unreachable() correctly and treat it as noreturn - Allow architectures to select uaccess validation - Use the non-instrumented bit test for test_cpu_has() to prevent escape from non-instrumentable regions - Use arch_ prefixed atomics for JUMP_LABEL=n builds to prevent escape from non-instrumentable regions - Mark a few tiny inline as __always_inline to prevent GCC from bringing them out of line and instrumenting them - Mark the empty stub context_tracking_enabled() as always inline as GCC brings them out of line and instruments the empty shell - Annotate ex_handler_msr_mce() as dead end * tag 'objtool-urgent-2022-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/extable: Annotate ex_handler_msr_mce() as a dead end context_tracking: Always inline empty stubs x86: Always inline on_thread_stack() and current_top_of_stack() jump_label,noinstr: Avoid instrumentation for JUMP_LABEL=n builds x86/cpu: Elide KCSAN for cpu_has() and friends objtool: Mark __ubsan_handle_builtin_unreachable() as noreturn objtool: Add CONFIG_HAVE_UACCESS_VALIDATION
No related branches found
No related tags found
Showing
- arch/Kconfig 4 additions, 0 deletionsarch/Kconfig
- arch/x86/Kconfig 1 addition, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/cpufeature.h 1 addition, 1 deletionarch/x86/include/asm/cpufeature.h
- arch/x86/include/asm/extable.h 6 additions, 2 deletionsarch/x86/include/asm/extable.h
- arch/x86/include/asm/processor.h 2 additions, 2 deletionsarch/x86/include/asm/processor.h
- include/linux/context_tracking_state.h 4 additions, 4 deletionsinclude/linux/context_tracking_state.h
- include/linux/jump_label.h 2 additions, 2 deletionsinclude/linux/jump_label.h
- scripts/Makefile.lib 1 addition, 1 deletionscripts/Makefile.lib
- tools/objtool/check.c 3 additions, 1 deletiontools/objtool/check.c
Loading
Please register or sign in to comment