All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: ast@kernel.org
Cc: sandipan@linux.ibm.com, netdev@vger.kernel.org,
	Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH bpf 0/2] Fix for arm64 jit
Date: Mon, 26 Nov 2018 14:05:37 +0100	[thread overview]
Message-ID: <cover.1543237108.git.daniel@iogearbox.net> (raw)

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(-)

-- 
2.9.5

             reply	other threads:[~2018-11-26 23:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26 13:05 Daniel Borkmann [this message]
2018-11-26 13:05 ` [PATCH bpf 1/2] bpf, ppc64: generalize fetching subprog into bpf_jit_get_func_addr Daniel Borkmann
2018-11-26 13:05 ` [PATCH bpf 2/2] bpf, arm64: fix getting subprog addr from aux for calls Daniel Borkmann
2018-11-27  1:44 ` [PATCH bpf 0/2] Fix for arm64 jit Alexei Starovoitov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1543237108.git.daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=ast@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sandipan@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.