Skip to content

bpf: fsession support for s390

Menglong Dong bpf linux-s390 lkml 2 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v13 patches 5 repliesSuperseded

Changes v2 -> v1 from the cover letter

* keep LGHI as it was in the 1st patch
* fix up the comment style
* remove the unnecessary checking of fentry->nr_links and fexit->nr_links in the 2nd patch
* v1: https://lore.kernel.org/bpf/[email protected]/

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3bpf,s390: introduce emit_store_stack_imm64() for trampolinearch/s390/net/bpf_jit_comp.c+10 -110 repliesApplied
2/3bpf,s390: add fsession support for trampolinesarch/s390/net/bpf_jit_comp.c+60 -140 repliesApplied
3/3selftests/bpf: factor out get_func_* tests for fsessiontools/testing/selftests/bpf/prog_tests/get_func_args_test.c tools/testing/selftests/bpf/prog_tests/get_func_ip_test.c tools/testing/selftests/bpf/progs/get_func_args_fsession_test.c +3 more+108 -640 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchIlya Leoshkevich
1/3A-b
2/3
3/3A-b

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

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/3] bpf: fsession support for s390

Implement bpf fsession for the s390 architecture.

Changes v2 -> v1:
* keep LGHI as it was in the 1st patch
* fix up the comment style
* remove the unnecessary checking of fentry->nr_links and fexit->nr_links in the 2nd patch
* v1: https://lore.kernel.org/bpf/[email protected]/

Menglong Dong (3):
bpf,s390: introduce emit_store_stack_imm64() for trampoline bpf,s390: add fsession support for trampolines selftests/bpf: factor out get_func_* tests for fsession

 arch/s390/net/bpf_jit_comp.c                  | 95 ++++++++++++++-----
 .../bpf/prog_tests/get_func_args_test.c       | 25 ++++-
 .../bpf/prog_tests/get_func_ip_test.c         | 28 +++++-
 .../bpf/progs/get_func_args_fsession_test.c   | 37 ++++++++
 .../selftests/bpf/progs/get_func_args_test.c  | 38 --------
 .../bpf/progs/get_func_ip_fsession_test.c     | 21 ++++
 .../selftests/bpf/progs/get_func_ip_test.c    | 23 -----
 7 files changed, 178 insertions(+), 89 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/get_func_args_fsession_test.c
 create mode 100644 tools/testing/selftests/bpf/progs/get_func_ip_fsession_test.c
Signature · 1 line
2.53.0