objtool validation of static branches and retpoline
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 23 repliesIn review
- v14 patches 16 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | x86: Reindent _static_cpu_hasarch/ | +39 | 1 reply | |
| 2/10 | x86: Update _static_cpu_has to use all named variablesarch/ | +5 | 3 replies | |
| 3/10 | x86: Add a type field to alt_instrarch/ arch/ arch/ +1 more | +10 | 4 replies | |
| 4/10 | objtool: Implement base jump_assert supporttools/ tools/ | +69 | 0 replies | |
| 5/10 | x86: Annotate static_cpu_has alternativearch/ arch/ | +4 | 1 reply | |
| 6/10 | objtool: Implement jump_assert for _static_cpu_has()tools/ tools/ tools/ | +33 | 5 replies | |
| 7/10 | x86/jump_label: Implement arch_static_assert()arch/ | +23 | 2 replies | |
| 8/10 | objtool: Add retpoline validationscripts/ tools/ tools/ +2 more | +98 | 0 replies | |
| 9/10 | x86: Annotate dynamic jump in head_64.Sarch/ | +4 | 0 replies | |
| 10/10 | objtool: More complex static jump implementationtools/ tools/ | +41 | 3 replies |
Reviews trailers per patch
4 of 10 patches have a Reviewed-by or Acked-by.
| Patch | David Woodhouse | Josh Poimboeuf | Borislav Petkov |
|---|---|---|---|
| 1/10 | R-b | ||
| 2/10 | Requested-by | R-b | |
| 3/10 | R-b | ||
| 4/10 | |||
| 5/10 | R-b | ||
| 6/10 | |||
| 7/10 | |||
| 8/10 | Requested-by | ||
| 9/10 | |||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 00/10] objtool validation of static branches and retpoline
Because dwmw2 is a wee bit paranoid and GCC has a history of being slightly retarded at times; here are a few patches that validate it will in fact generate sensible code for static branches.
Also, per dwmw2's request, code to validate retpoline code does not include dynamic jump or calls.
--- arch/x86/include/asm/alternative-asm.h | 3 +- arch/x86/include/asm/alternative.h | 7 +- arch/x86/include/asm/cpufeature.h | 82 ++++++------ arch/x86/include/asm/jump_label.h | 23 ++++ arch/x86/kernel/head_64.S | 5 +- scripts/Makefile.build | 4 + tools/objtool/builtin-check.c | 5 +- tools/objtool/builtin-orc.c | 4 +- tools/objtool/check.c | 223 +++++++++++++++++++++++++++++++-- tools/objtool/check.h | 3 +- tools/objtool/special.c | 13 +- tools/objtool/special.h | 1 + 12 files changed, 318 insertions(+), 55 deletions(-)