Skip to content

s390/bpf: Support load-acquire and store-release instructions

Maxim Khmelevskii bpf 1 version 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

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3s390/bpf: Add emit_ldx and emit_stx functionsarch/s390/net/bpf_jit_comp.c+82 -850 repliesApplied
2/3s390/bpf: Support load-acquire and store-release instructionsarch/s390/net/bpf_jit_comp.c+23 -80 repliesApplied
3/3s390/bpf: Enable atomics tests for s390tools/testing/selftests/bpf/progs/arena_atomics.c tools/testing/selftests/bpf/progs/bpf_misc.h+18 -90 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

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

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

Read the v1 thread

Cover letter [PATCH bpf-next 0/3] s390/bpf: Support load-acquire and store-release instructions

Support load-acquire (BPF_LOAD_ACQ) and store-release (BPF_STORE_REL) instructions. Since s390 has strong memory model, implement them as regular BPF_LDX/BPF_STX instructions.

Maxim Khmelevskii (3):
s390/bpf: Add emit_ldx and emit_stx functions s390/bpf: Support load-acquire and store-release instructions s390/bpf: Enable atomics tests for s390

 arch/s390/net/bpf_jit_comp.c                  | 198 ++++++++++--------
 .../selftests/bpf/progs/arena_atomics.c       |  18 +-
 tools/testing/selftests/bpf/progs/bpf_misc.h  |   9 +-
 3 files changed, 123 insertions(+), 102 deletions(-)
Signature · 1 line
2.55.0