Skip to content

x86/crypto/asm: objtool support

Josh Poimboeuf linux-crypto lkml 1 version 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

  1. v1 Latest13 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/13objtool: Support asm jump tablestools/objtool/check.c+13 -10 replies
2/13x86/crypto/aesni-intel_avx: Remove unused macrosarch/x86/crypto/aesni-intel_avx-x86_64.S+0 -80 replies
3/13x86/crypto/aesni-intel_avx: Fix register usage commentsarch/x86/crypto/aesni-intel_avx-x86_64.S+5 -50 replies
4/13x86/crypto/aesni-intel_avx: Standardize stack alignment prologuearch/x86/crypto/aesni-intel_avx-x86_64.S+4 -61 reply
5/13x86/crypto/camellia-aesni-avx2: Unconditionally allocate stack bufferarch/x86/crypto/camellia-aesni-avx2-asm_64.S+2 -30 replies
6/13x86/crypto/crc32c-pcl-intel: Standardize jump tablearch/x86/crypto/crc32c-pcl-intel-asm_64.S+2 -50 replies
7/13x86/crypto/sha_ni: Standardize stack alignment prologuearch/x86/crypto/sha1_ni_asm.S+4 -40 replies
8/13x86/crypto/sha1_avx2: Standardize stack alignment prologuearch/x86/crypto/sha1_avx2_x86_64_asm.S+4 -40 replies
9/13x86/crypto/sha256-avx2: Standardize stack alignment prologuearch/x86/crypto/sha256-avx2-asm.S+6 -70 replies
10/13x86/crypto/sha512-avx: Standardize stack alignment prologuearch/x86/crypto/sha512-avx-asm.S+19 -220 replies
11/13x86/crypto/sha512-avx2: Standardize stack alignment prologuearch/x86/crypto/sha512-avx2-asm.S+20 -220 replies
12/13x86/crypto/sha512-ssse3: Standardize stack alignment prologuearch/x86/crypto/sha512-ssse3-asm.S+19 -220 replies
13/13x86/crypto: Enable objtool in crypto codearch/x86/crypto/Makefile+0 -20 replies

Reviews trailers per patch

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

PatchArd BiesheuvelSami TolvanenPeter Zijlstra (Intel)Herbert Xu
SeriesT-b A-b T-b A-b A-b
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 00/13] x86/crypto/asm: objtool support

Standardize the crypto asm to make it resemble compiler-generated code, so that objtool can understand it.

This magically enables ORC unwinding from crypto code. It also fixes the last known remaining objtool warnings on vmlinux.o, for LTO and more.

Josh Poimboeuf (13):
objtool: Support asm jump tables x86/crypto/aesni-intel_avx: Remove unused macros x86/crypto/aesni-intel_avx: Fix register usage comments x86/crypto/aesni-intel_avx: Standardize stack alignment prologue x86/crypto/camellia-aesni-avx2: Unconditionally allocate stack buffer x86/crypto/crc32c-pcl-intel: Standardize jump table x86/crypto/sha_ni: Standardize stack alignment prologue x86/crypto/sha1_avx2: Standardize stack alignment prologue x86/crypto/sha256-avx2: Standardize stack alignment prologue x86/crypto/sha512-avx: Standardize stack alignment prologue x86/crypto/sha512-avx2: Standardize stack alignment prologue x86/crypto/sha512-ssse3: Standardize stack alignment prologue x86/crypto: Enable objtool in crypto code

 arch/x86/crypto/Makefile                     |  2 -
 arch/x86/crypto/aesni-intel_avx-x86_64.S     | 28 +++++--------
 arch/x86/crypto/camellia-aesni-avx2-asm_64.S |  5 +--
 arch/x86/crypto/crc32c-pcl-intel-asm_64.S    |  7 +---
 arch/x86/crypto/sha1_avx2_x86_64_asm.S       |  8 ++--
 arch/x86/crypto/sha1_ni_asm.S                |  8 ++--
 arch/x86/crypto/sha256-avx2-asm.S            | 13 +++---
 arch/x86/crypto/sha512-avx-asm.S             | 41 +++++++++----------
 arch/x86/crypto/sha512-avx2-asm.S            | 42 ++++++++++----------
 arch/x86/crypto/sha512-ssse3-asm.S           | 41 +++++++++----------
 tools/objtool/check.c                        | 14 ++++++-
 11 files changed, 98 insertions(+), 111 deletions(-)
Signature · 1 line
2.29.2