All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sandipan Das <sandipan@linux.vnet.ibm.com>
To: ast@kernel.org, daniel@iogearbox.net
Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	mpe@ellerman.id.au, naveen.n.rao@linux.vnet.ibm.com,
	jakub.kicinski@netronome.com
Subject: [PATCH bpf-next v4 00/10] bpf: enhancements for multi-function programs
Date: Thu, 24 May 2018 12:26:44 +0530	[thread overview]
Message-ID: <cover.1527143877.git.sandipan@linux.vnet.ibm.com> (raw)

[1] Support for bpf-to-bpf function calls in the powerpc64 JIT compiler.

[2] Provide a way for resolving function calls because of the way JITed
    images are allocated in powerpc64.

[3] Fix to get JITed instruction dumps for multi-function programs from
    the bpf system call.

[4] Fix for bpftool to show delimited multi-function JITed image dumps.

v4:
 - Incorporate review comments from Jakub.
 - Fix JSON output for bpftool.

v3:
 - Change base tree tag to bpf-next.
 - Incorporate review comments from Alexei, Daniel and Jakub.
 - Make sure that the JITed image does not grow or shrink after
   the last pass due to the way the instruction sequence used
   to load a callee's address maybe optimized.
 - Make additional changes to the bpf system call and bpftool to
   make multi-function JITed dumps easier to correlate.

v2:
 - Incorporate review comments from Jakub.

Sandipan Das (10):
  bpf: support 64-bit offsets for bpf function calls
  bpf: powerpc64: pad function address loads with NOPs
  bpf: powerpc64: add JIT support for multi-function programs
  bpf: get kernel symbol addresses via syscall
  tools: bpf: sync bpf uapi header
  tools: bpftool: resolve calls without using imm field
  bpf: fix multi-function JITed dump obtained via syscall
  bpf: get JITed image lengths of functions via syscall
  tools: bpf: sync bpf uapi header
  tools: bpftool: add delimiters to multi-function JITed dumps

 arch/powerpc/net/bpf_jit_comp64.c | 110 ++++++++++++++++++++++++++++++--------
 include/uapi/linux/bpf.h          |   4 ++
 kernel/bpf/syscall.c              |  82 ++++++++++++++++++++++++++--
 kernel/bpf/verifier.c             |  22 +++++---
 tools/bpf/bpftool/prog.c          |  97 ++++++++++++++++++++++++++++++++-
 tools/bpf/bpftool/xlated_dumper.c |  14 +++--
 tools/bpf/bpftool/xlated_dumper.h |   3 ++
 tools/include/uapi/linux/bpf.h    |   4 ++
 8 files changed, 301 insertions(+), 35 deletions(-)

-- 
2.14.3

             reply	other threads:[~2018-05-24  6:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24  6:56 Sandipan Das [this message]
2018-05-24  6:56 ` [PATCH bpf-next v4 01/10] bpf: support 64-bit offsets for bpf function calls Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 02/10] bpf: powerpc64: pad function address loads with NOPs Sandipan Das
2018-05-24  7:34   ` Daniel Borkmann
2018-05-24  8:25     ` Sandipan Das
2018-05-24  9:25       ` Daniel Borkmann
2018-05-24  6:56 ` [PATCH bpf-next v4 03/10] bpf: powerpc64: add JIT support for multi-function programs Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 04/10] bpf: get kernel symbol addresses via syscall Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 05/10] tools: bpf: sync bpf uapi header Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 06/10] tools: bpftool: resolve calls without using imm field Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 07/10] bpf: fix multi-function JITed dump obtained via syscall Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 08/10] bpf: get JITed image lengths of functions " Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 09/10] tools: bpf: sync bpf uapi header Sandipan Das
2018-05-24  6:56 ` [PATCH bpf-next v4 10/10] tools: bpftool: add delimiters to multi-function JITed dumps Sandipan Das
2018-05-24  7:04   ` Jakub Kicinski
2018-05-24  7:31 ` [PATCH bpf-next v4 00/10] bpf: enhancements for multi-function programs Daniel Borkmann

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.1527143877.git.sandipan@linux.vnet.ibm.com \
    --to=sandipan@linux.vnet.ibm.com \
    --cc=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=jakub.kicinski@netronome.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=naveen.n.rao@linux.vnet.ibm.com \
    --cc=netdev@vger.kernel.org \
    /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.