Skip to content

x86: bpf unwinder fixes

Josh Poimboeuf bpf lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 14 repliesIn review
  2. v34 patches 11 repliesSuperseded
  3. v25 patches 25 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches39 repliesSuperseded

Changes in v4 from the cover letter

- Redesigned the jump table detection mechanism. Instead of requiring the jump table to have a magic name, place it in a special section.

- The other two fixes from v3 have been merged into -tip.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2objtool: Add support for C jump tablesinclude/linux/compiler.h tools/objtool/check.c+25 -70 replies
2/2bpf: Fix ORC unwinding in non-JIT BPF codekernel/bpf/core.c+1 -214 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/2
2/2A-b A-b

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

Read the v4 thread

Cover letter [PATCH v4 0/2] x86: bpf unwinder fixes

Here's the last fix along with its objtool dependency.

For testing I verified that a WARN() in ___bpf_prog_run() now gives a clean stack trace.

v4:
- Redesigned the jump table detection mechanism. Instead of requiring the jump table to have a magic name, place it in a special section.

- The other two fixes from v3 have been merged into -tip.

Josh Poimboeuf (2):
objtool: Add support for C jump tables
bpf: Fix ORC unwinding in non-JIT BPF code

 include/linux/compiler.h |  5 +++++
 kernel/bpf/core.c        |  3 +--
 tools/objtool/check.c    | 27 ++++++++++++++++++++-------
 3 files changed, 26 insertions(+), 9 deletions(-)
Signature · 1 line
2.20.1