Skip to content

objtool: Rewrite annotations

Peter Zijlstra lkml loongarch 2 versions – Applied

Status from this message: The following commit has been merged into the objtool/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest16 patches 2 repliesApplied
  2. v19 patches 12 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/16objtool: Generic annotation infrastructureinclude/linux/objtool.h tools/objtool/check.c+63 -00 replies
2/16objtool: Convert ANNOTATE_NOENDBR to ANNOTATEinclude/linux/objtool.h include/linux/objtool_types.h tools/include/linux/objtool_types.h +1 more+19 -400 replies
3/16objtool: Convert ANNOTATE_RETPOLINE_SAFE to ANNOTATEarch/x86/include/asm/nospec-branch.h include/linux/objtool_types.h tools/include/linux/objtool_types.h +1 more+22 -450 replies
4/16objtool: Convert instrumentation_{begin,end}() to ANNOTATEinclude/linux/instrumentation.h include/linux/objtool.h include/linux/objtool_types.h +2 more+28 -480 replies
5/16objtool: Convert VALIDATE_UNRET_BEGIN to ANNOTATEinclude/linux/objtool.h include/linux/objtool_types.h tools/include/linux/objtool_types.h +1 more+10 -290 replies
6/16objtool: Convert ANNOTATE_IGNORE_ALTERNATIVE to ANNOTATEarch/x86/include/asm/alternative.h include/linux/objtool_types.h tools/include/linux/objtool_types.h +1 more+15 -460 replies
7/16objtool: Convert ANNOTATE_INTRA_FUNCTION_CALL to ANNOTATEinclude/linux/objtool.h include/linux/objtool_types.h tools/include/linux/objtool_types.h +1 more+47 -670 replies
8/16objtool: Collapse annotate sequencestools/objtool/check.c+32 -550 replies
9/16objtool: Collect more annotations in objtool.harch/x86/include/asm/alternative.h arch/x86/include/asm/nospec-branch.h include/linux/instrumentation.h +1 more+55 -500 replies
10/16unreachable: Unifyinclude/linux/compiler-gcc.h include/linux/compiler.h+7 -150 replies
11/16x86: Convert unreachable() to BUG()arch/x86/kernel/process.c arch/x86/kernel/reboot.c arch/x86/kvm/svm/sev.c+3 -31 reply
12/16loongarch: Use ASM_REACHABLEarch/loongarch/include/asm/bug.h+7 -60 replies
13/16objtool: Remove annotate_{,un}reachable()include/linux/compiler.h tools/objtool/check.c+2 -680 replies
14/16objtool: Convert {.UN}REACHABLE to ANNOTATEarch/loongarch/include/asm/bug.h arch/x86/entry/entry_64.S arch/x86/include/asm/bug.h +5 more+36 -760 replies
15/16objtool: Fix ANNOTATE_REACHABLE to be a normal annotationarch/loongarch/include/asm/bug.h arch/x86/entry/entry_64.S arch/x86/include/asm/bug.h +3 more+8 -320 replies
16/16objtool: Warn about unknown annotation typestools/objtool/check.c+13 -00 replies

Reviews trailers per patch

None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosh Poimboeuf
SeriesA-b
1/16
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/16] objtool: Rewrite annotations

Rewrite/unify the objtool instruction based annotations.

Changes since last time:

- removed unreachable annotation
- included reachable annotation
- various smaller things