mbox series

[bpf-next,0/2] Allow mixing bpf2bpf calls with tail calls on arm64

Message ID 20220617105735.733938-1-jakub@cloudflare.com (mailing list archive)
Headers show
Series Allow mixing bpf2bpf calls with tail calls on arm64 | expand

Message

Jakub Sitnicki June 17, 2022, 10:57 a.m. UTC
This patch set enables using bpf2bpf calls together with tail calls on arm64.
Patch 1 was borrowed from an RFC series for MIPS JIT [1].
Patch 2 gives an explanation of tweaks needed to arm64 BPF JIT.

[1] https://lore.kernel.org/bpf/77dfea2d224e7545e5e4d3f350721d27e5a77b0d.1633392335.git.Tony.Ambardar@gmail.com/#r

Jakub Sitnicki (1):
  bpf: arm64: Keep tail call count across bpf2bpf calls

Tony Ambardar (1):
  bpf: x64: Add predicate for bpf2bpf with tailcalls support in JIT

 arch/arm64/net/bpf_jit_comp.c | 9 ++++++++-
 arch/x86/net/bpf_jit_comp.c   | 6 ++++++
 include/linux/filter.h        | 1 +
 kernel/bpf/core.c             | 6 ++++++
 kernel/bpf/verifier.c         | 3 ++-
 5 files changed, 23 insertions(+), 2 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 21, 2022, 5 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Fri, 17 Jun 2022 12:57:33 +0200 you wrote:
> This patch set enables using bpf2bpf calls together with tail calls on arm64.
> Patch 1 was borrowed from an RFC series for MIPS JIT [1].
> Patch 2 gives an explanation of tweaks needed to arm64 BPF JIT.
> 
> [1] https://lore.kernel.org/bpf/77dfea2d224e7545e5e4d3f350721d27e5a77b0d.1633392335.git.Tony.Ambardar@gmail.com/#r
> 
> Jakub Sitnicki (1):
>   bpf: arm64: Keep tail call count across bpf2bpf calls
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/2] bpf: x64: Add predicate for bpf2bpf with tailcalls support in JIT
    https://git.kernel.org/bpf/bpf-next/c/95acd8817e66
  - [bpf-next,2/2] bpf: arm64: Keep tail call count across bpf2bpf calls
    https://git.kernel.org/bpf/bpf-next/c/d4609a5d8c70

You are awesome, thank you!