Skip to content

powerpc/bpf: Fix issue with atomic ops

Naveen N. Rao bpf linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/fixes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2powerpc/bpf: Fix detecting BPF atomic instructionsarch/powerpc/net/bpf_jit_comp64.c+2 -24 replies
2/2powerpc/bpf: Reject atomic ops in ppc32 JITarch/powerpc/net/bpf_jit_comp32.c+11 -32 replies

Reviews trailers per patch

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

PatchJiri Olsa
1/2T-b
2/2

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 0/2] powerpc/bpf: Fix issue with atomic ops

The first patch fixes an issue that causes a soft lockup on ppc64 with the BPF_ATOMIC bounds propagation verifier test. The second one updates ppc32 JIT to reject atomic operations properly.

- Naveen

Naveen N. Rao (2):
powerpc/bpf: Fix detecting BPF atomic instructions powerpc/bpf: Reject atomic ops in ppc32 JIT

 arch/powerpc/net/bpf_jit_comp32.c | 14 +++++++++++---
 arch/powerpc/net/bpf_jit_comp64.c |  4 ++--
 2 files changed, 13 insertions(+), 5 deletions(-)

base-commit: 086d9878e1092e7e69a69676ee9ec792690abb1d

Signature · 1 line
2.31.1