Skip to content

powerpc/bpf: Various fixes

Naveen N. Rao stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/lib: Add helper to check if offset is within conditional branch rangearch/powerpc/include/asm/code-patching.h arch/powerpc/lib/code-patching.c arch/powerpc/net/bpf_jit.h+8 -70 replies
2/3powerpc/bpf: Validate branch rangesarch/powerpc/net/bpf_jit.h arch/powerpc/net/bpf_jit_comp64.c+27 -90 replies
3/3powerpc/bpf: Fix BPF_SUB when imm == 0x80000000arch/powerpc/net/bpf_jit_comp64.c+17 -100 replies

Reviews trailers per patch

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

PatchChristophe LeroySong LiuJohan Almbladh
1/3R-b A-b
2/3R-b A-b T-b A-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 4.14 0/3] powerpc/bpf: Various fixes

This is a backport of the remaining patches from the below series:
https://lore.kernel.org/all/[email protected]/

Kindly apply to the longterm tree for v4.14

Thanks,
Naveen

Naveen N. Rao (3):
powerpc/lib: Add helper to check if offset is within conditional
branch range
powerpc/bpf: Validate branch ranges
powerpc/bpf: Fix BPF_SUB when imm == 0x80000000

 arch/powerpc/include/asm/code-patching.h |  1 +
 arch/powerpc/lib/code-patching.c         |  7 ++++-
 arch/powerpc/net/bpf_jit.h               | 33 +++++++++++++--------
 arch/powerpc/net/bpf_jit_comp64.c        | 37 +++++++++++++++---------
 4 files changed, 52 insertions(+), 26 deletions(-)

base-commit: 0447aa205abe1c0c016b4f7fa9d7c08d920b5c8e

Signature · 1 line
2.33.1