Skip to content

Fix for arm64 jit

Daniel Borkmann netdev 1 version Applied

Status from this message: Applied, Thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf, ppc64: generalize fetching subprog into bpf_jit_get_func_addrarch/powerpc/net/bpf_jit_comp64.c include/linux/filter.h kernel/bpf/core.c+76 -190 replies
2/2bpf, arm64: fix getting subprog addr from aux for callsarch/arm64/net/bpf_jit_comp.c+17 -90 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSandipan Das
1/2R-b T-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 bpf 0/2] Fix for arm64 jit

This set contains a fix for arm64 BPF JIT. First patch generalizes ppc64 way of retrieving subprog into bpf_jit_get_func_addr() as core code and uses the same on arm64 in second patch. Tested on both arm64 and ppc64.

Thanks!

Daniel Borkmann (2):
bpf, ppc64: generalize fetching subprog into bpf_jit_get_func_addr bpf, arm64: fix getting subprog addr from aux for calls

 arch/arm64/net/bpf_jit_comp.c     | 26 +++++++++++-------
 arch/powerpc/net/bpf_jit_comp64.c | 57 ++++++++++++++++++++++++++-------------
 include/linux/filter.h            |  4 +++
 kernel/bpf/core.c                 | 34 +++++++++++++++++++++++
 4 files changed, 93 insertions(+), 28 deletions(-)
Signature · 1 line
2.9.5