Merge tag 'objtool-core-2025-01-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull objtool updates from Ingo Molnar: - Introduce the generic section-based annotation infrastructure a.k.a. ASM_ANNOTATE/ANNOTATE (Peter Zijlstra) - Convert various facilities to ASM_ANNOTATE/ANNOTATE: (Peter Zijlstra) - ANNOTATE_NOENDBR - ANNOTATE_RETPOLINE_SAFE - instrumentation_{begin,end}() - VALIDATE_UNRET_BEGIN - ANNOTATE_IGNORE_ALTERNATIVE - ANNOTATE_INTRA_FUNCTION_CALL - {.UN}REACHABLE - Optimize the annotation-sections parsing code (Peter Zijlstra) - Centralize annotation definitions in <linux/objtool.h> - Unify & simplify the barrier_before_unreachable()/unreachable() definitions (Peter Zijlstra) - Convert unreachable() calls to BUG() in x86 code, as unreachable() has unreliable code generation (Peter Zijlstra) - Remove annotate_reachable() and annotate_unreachable(), as it's unreliable against compiler optimizations (Peter Zijlstra) - Fix non-standard ANNOTATE_REACHABLE annotation order (Peter Zijlstra) - Robustify the annotation code by warning about unknown annotation types (Peter Zijlstra) - Allow arch code to discover jump table size, in preparation of annotated jump table support (Ard Biesheuvel) * tag 'objtool-core-2025-01-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mm: Convert unreachable() to BUG() objtool: Allow arch code to discover jump table size objtool: Warn about unknown annotation types objtool: Fix ANNOTATE_REACHABLE to be a normal annotation objtool: Convert {.UN}REACHABLE to ANNOTATE objtool: Remove annotate_{,un}reachable() loongarch: Use ASM_REACHABLE x86: Convert unreachable() to BUG() unreachable: Unify objtool: Collect more annotations in objtool.h objtool: Collapse annotate sequences objtool: Convert ANNOTATE_INTRA_FUNCTION_CALL to ANNOTATE objtool: Convert ANNOTATE_IGNORE_ALTERNATIVE to ANNOTATE objtool: Convert VALIDATE_UNRET_BEGIN to ANNOTATE objtool: Convert instrumentation_{begin,end}() to ANNOTATE objtool: Convert ANNOTATE_RETPOLINE_SAFE to ANNOTATE objtool: Convert ANNOTATE_NOENDBR to ANNOTATE objtool: Generic annotation infrastructure
No related branches found
No related tags found
Showing
- arch/loongarch/include/asm/bug.h 7 additions, 6 deletionsarch/loongarch/include/asm/bug.h
- arch/x86/entry/entry_64.S 4 additions, 5 deletionsarch/x86/entry/entry_64.S
- arch/x86/include/asm/alternative.h 1 addition, 21 deletionsarch/x86/include/asm/alternative.h
- arch/x86/include/asm/bug.h 1 addition, 1 deletionarch/x86/include/asm/bug.h
- arch/x86/include/asm/irq_stack.h 2 additions, 2 deletionsarch/x86/include/asm/irq_stack.h
- arch/x86/include/asm/nospec-branch.h 0 additions, 18 deletionsarch/x86/include/asm/nospec-branch.h
- arch/x86/kernel/process.c 1 addition, 1 deletionarch/x86/kernel/process.c
- arch/x86/kernel/reboot.c 1 addition, 1 deletionarch/x86/kernel/reboot.c
- arch/x86/kvm/svm/sev.c 1 addition, 1 deletionarch/x86/kvm/svm/sev.c
- arch/x86/mm/fault.c 1 addition, 1 deletionarch/x86/mm/fault.c
- include/linux/compiler-gcc.h 0 additions, 12 deletionsinclude/linux/compiler-gcc.h
- include/linux/compiler.h 7 additions, 30 deletionsinclude/linux/compiler.h
- include/linux/instrumentation.h 5 additions, 6 deletionsinclude/linux/instrumentation.h
- include/linux/objtool.h 78 additions, 48 deletionsinclude/linux/objtool.h
- include/linux/objtool_types.h 12 additions, 0 deletionsinclude/linux/objtool_types.h
- tools/include/linux/objtool_types.h 12 additions, 0 deletionstools/include/linux/objtool_types.h
- tools/objtool/arch/loongarch/special.c 2 additions, 1 deletiontools/objtool/arch/loongarch/special.c
- tools/objtool/arch/powerpc/special.c 2 additions, 1 deletiontools/objtool/arch/powerpc/special.c
- tools/objtool/arch/x86/special.c 3 additions, 1 deletiontools/objtool/arch/x86/special.c
- tools/objtool/check.c 121 additions, 305 deletionstools/objtool/check.c
Loading
Please register or sign in to comment