Skip to content

powerpc64/bpf: various fixes

Hari Bathini bpf linuxppc-dev stable 4 versions – Applied

Status from this message: Applied to powerpc/fixes.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 1 replyApplied
  2. v36 patches 0 repliesSuperseded
  3. v25 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches3 repliesSuperseded 1 of 2 applied

Changes in v4 from the cover letter

- Fixed a minor issue in zero_extend() helper in patch 6 as pointed out by [email protected].

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/6powerpc64/bpf: do not increment tailcall count when prog is NULLarch/powerpc/net/bpf_jit_comp64.c+21 -180 replies
2/6powerpc64/bpf: fix the address returned by bpf_get_func_iparch/powerpc/net/bpf_jit_comp.c+19 -90 replies
3/6powerpc64/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+9 -130 replies
4/6powerpc64/bpf: remove BPF redzone protection in trampoline stackarch/powerpc/net/bpf_jit_comp.c+33 -560 replies
5/6powerpc64/bpf: fix handling of BPF stack in exception callbackarch/powerpc/net/bpf_jit_comp64.c+25 -110 replies
6/6powerpc64/bpf: fix kfunc call supportarch/powerpc/net/bpf_jit_comp.c arch/powerpc/net/bpf_jit_comp64.c+94 -90 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchVenkat Rao Bagalkote
1/6T-b
2/6T-b
3/6
4/6T-b
5/6
6/6

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/6] powerpc64/bpf: various fixes

List of fixes for powerpc64 BPF JIT:
- Patches 1, 2 & 6 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.

Changes since v3:
- Fixed a minor issue in zero_extend() helper in patch 6 as pointed out by [email protected].

Changes since v2:
- Added Tested-by tag from Venkat on patches 1, 2 & 4.
- Patches 6 added to fix kfunc call ABI issue on powerpc.
- Fixed a few comments on Abhishek's suggestion.

Changes since v1:
- Addressed couple of review comments from [email protected] in patch 3 & 5.

Hari Bathini (6):
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 powerpc64/bpf: fix kfunc call support

 arch/powerpc/net/bpf_jit.h        |   5 -
 arch/powerpc/net/bpf_jit_comp.c   | 127 +++++++++------------
 arch/powerpc/net/bpf_jit_comp64.c | 181 +++++++++++++++++++++++-------
 3 files changed, 199 insertions(+), 114 deletions(-)
Signature · 1 line
2.53.0