Skip to content

Objtool updates for easier portability

Julien Thierry lkml 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 Latest10 patches 18 repliesApplied
  2. v110 patches 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/10objtool: Move header sync-check ealier in buildtools/objtool/Makefile+1 -15 replies
2/10objtool: check: Remove redundant checks on operand typetools/objtool/check.c+1 -30 replies
3/10objtool: check: Clean instruction state before each function validationtools/objtool/check.c+6 -70 replies
4/10objtool: check: Ignore empty alternative groupstools/objtool/check.c+6 -03 replies
5/10objtool: check: Remove check preventing branches within alternativetools/objtool/check.c+0 -60 replies
6/10objtool: check: Use arch specific values in restore_reg()tools/objtool/check.c+2 -20 replies
7/10objtool: check: Allow save/restore hint in non standard function symbolstools/objtool/check.c tools/objtool/check.h+20 -82 replies
8/10objtool: Add abstraction for computation of symbols offsetstools/objtool/arch.h tools/objtool/arch/x86/decode.c tools/objtool/check.c+27 -80 replies
9/10objtool: Split generic and arch specific CFI definitionstools/objtool/Makefile tools/objtool/arch/x86/include/cfi_regs.h tools/objtool/cfi.h+29 -200 replies
10/10objtool: Support multiple stack_op per instructiontools/objtool/arch.h tools/objtool/arch/x86/decode.c tools/objtool/check.c +1 more+62 -315 replies

Reviews trailers per patch

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

PatchPeter Zijlstra (Intel)Miroslav Benes
SeriesA-b R-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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/10] Objtool updates for easier portability

Hi,

This patchset includes some of the least controversial changes that were needed as part of the arm64 port [1].

I'm resending these rebase on top of linux-tip/core/objtool, following the addition of Peter's patches [2]

It consist mostly of small fixes or lifting some limitations to make it easier to support a new architecture in objtool. Of course, these will not be the only required changes, but these are the ones I hope make enough sense to be merged separately from the rest of arm64 port series.

Changes since v1[3]:
- Really just rebased things

[1] https://lkml.org/lkml/2020/1/9/643
[2] https://lkml.org/lkml/2020/3/25/807
[3] https://www.spinics.net/lists/kernel/msg3453718.html

Thanks,

Julien

-->

Julien Thierry (9):
objtool: Move header sync-check ealier in build
objtool: check: Remove redundant checks on operand type
objtool: check: Clean instruction state before each function
validation
objtool: check: Ignore empty alternative groups
objtool: check: Remove check preventing branches within alternative
objtool: check: Use arch specific values in restore_reg()
objtool: check: Allow save/restore hint in non standard function
symbols
objtool: Split generic and arch specific CFI definitions
objtool: Support multiple stack_op per instruction

Raphael Gault (1):
objtool: Add abstraction for computation of symbols offsets

 tools/objtool/Makefile                    |   5 +-
 tools/objtool/arch.h                      |  10 +-
 tools/objtool/arch/x86/decode.c           |  24 +++-
 tools/objtool/arch/x86/include/cfi_regs.h |  25 ++++
 tools/objtool/cfi.h                       |  21 +--
 tools/objtool/check.c                     | 152 +++++++++++++---------
 tools/objtool/check.h                     |   3 +-
 7 files changed, 154 insertions(+), 86 deletions(-)
 create mode 100644 tools/objtool/arch/x86/include/cfi_regs.h

--
2.21.1