Objtool updates for easier portability
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
- v2 Latest10 patches 18 repliesApplied
- v110 patches 0 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | objtool: Move header sync-check ealier in buildtools/ | +1 | 5 replies | |
| 2/10 | objtool: check: Remove redundant checks on operand typetools/ | +1 | 0 replies | |
| 3/10 | objtool: check: Clean instruction state before each function validationtools/ | +6 | 0 replies | |
| 4/10 | objtool: check: Ignore empty alternative groupstools/ | +6 | 3 replies | |
| 5/10 | objtool: check: Remove check preventing branches within alternativetools/ | +0 | 0 replies | |
| 6/10 | objtool: check: Use arch specific values in restore_reg()tools/ | +2 | 0 replies | |
| 7/10 | objtool: check: Allow save/restore hint in non standard function symbolstools/ tools/ | +20 | 2 replies | |
| 8/10 | objtool: Add abstraction for computation of symbols offsetstools/ tools/ tools/ | +27 | 0 replies | |
| 9/10 | objtool: Split generic and arch specific CFI definitionstools/ tools/ tools/ | +29 | 0 replies | |
| 10/10 | objtool: Support multiple stack_op per instructiontools/ tools/ tools/ +1 more | +62 | 5 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.
| Patch | Peter Zijlstra (Intel) | Miroslav Benes |
|---|---|---|
| Series | A-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.
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