Skip to content

s390/bpf: Tail call counter fixes

Ilya Leoshkevich stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4s390/bpf: Centralize frame offset calculationsarch/s390/net/bpf_jit_comp.c+26 -300 replies
2/4s390/bpf: Describe the frame using a struct instead of constantsarch/s390/net/bpf_jit.h arch/s390/net/bpf_jit_comp.c+47 -770 replies
3/4s390/bpf: Write back tail call counter for BPF_PSEUDO_CALLarch/s390/net/bpf_jit_comp.c+16 -70 replies
4/4s390/bpf: Write back tail call counter for BPF_TRAMP_F_CALL_ORIGarch/s390/net/bpf_jit_comp.c+3 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 6.12.y 0/4] s390/bpf: Tail call counter fixes

Hi,

As discussed in [1], here are the backports of the s390 BPF tail counter fixes. Commits 1-2 are NFC prerequisites, commits 3-4 are fixes themselves.

[1] https://lore.kernel.org/stable/CA+G9fYsdErtgqKuyPfFhMS9haGKavBVCHQnipv2EeXM3OK0-UQ@mail.gmail.com/

Best regards,
Ilya

Ilya Leoshkevich (4):
s390/bpf: Centralize frame offset calculations s390/bpf: Describe the frame using a struct instead of constants s390/bpf: Write back tail call counter for BPF_PSEUDO_CALL s390/bpf: Write back tail call counter for BPF_TRAMP_F_CALL_ORIG

 arch/s390/net/bpf_jit.h      |  55 --------------
 arch/s390/net/bpf_jit_comp.c | 139 ++++++++++++++++++++++-------------
 2 files changed, 86 insertions(+), 108 deletions(-)
 delete mode 100644 arch/s390/net/bpf_jit.h
Signature · 1 line
2.51.0