mbox series

[bpf,0/2] Fix for arm64 jit

Message ID cover.1543237108.git.daniel@iogearbox.net
Headers show
Series Fix for arm64 jit | expand

Message

Daniel Borkmann Nov. 26, 2018, 1:05 p.m. UTC
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(-)

Comments

Alexei Starovoitov Nov. 27, 2018, 1:44 a.m. UTC | #1
On Mon, Nov 26, 2018 at 02:05:37PM +0100, Daniel Borkmann wrote:
> 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!

Applied, Thanks