Skip to content

powerpc64/bpf: various fixes

Hari Bathini bpf linuxppc-dev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc64/bpf: do not increment tailcall count when prog is NULLarch/powerpc/net/bpf_jit_comp64.c+21 -180 replies
2/5powerpc64/bpf: fix the address returned by bpf_get_func_iparch/powerpc/net/bpf_jit_comp.c+13 -80 replies
3/5powerpc64/bpf: use consistent tailcall offset in trampolinearch/powerpc/net/bpf_jit.h arch/powerpc/net/bpf_jit_comp.c arch/powerpc/net/bpf_jit_comp64.c+8 -120 replies
4/5powerpc64/bpf: remove BPF redzone protection in trampoline stackarch/powerpc/net/bpf_jit_comp.c+30 -540 replies
5/5powerpc64/bpf: fix handling of BPF stack in exception callbackarch/powerpc/net/bpf_jit_comp64.c+22 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] powerpc64/bpf: various fixes

List of fixes for powerpc64 BPF JIT:
- Patches 1 & 2 fix issues with existing powerpc64 JIT and are tagged for -stable.
- Patches 3 & 4 resolve issues with bpf2bpf tailcall support added recently.
- Patch 5 resolves an issue reported by [email protected] while adding exceptions support on powerpc64 BPF JIT.

Hari Bathini (5):
powerpc64/bpf: do not increment tailcall count when prog is NULL powerpc64/bpf: fix the address returned by bpf_get_func_ip powerpc64/bpf: use consistent tailcall offset in trampoline powerpc64/bpf: remove BPF redzone protection in trampoline stack powerpc64/bpf: fix handling of BPF stack in exception callback

 arch/powerpc/net/bpf_jit.h        |   5 --
 arch/powerpc/net/bpf_jit_comp.c   | 113 ++++++++++++------------------
 arch/powerpc/net/bpf_jit_comp64.c |  74 ++++++++++++-------
 3 files changed, 93 insertions(+), 99 deletions(-)
Signature · 1 line
2.53.0