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

From: Josh Poimboeuf
Date: Thu Jun 27 2019 - 21:51:34 EST


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(-)

--
2.20.1