All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] Allow mixing bpf2bpf calls with tail calls on arm64
@ 2022-06-17 10:57 Jakub Sitnicki
  2022-06-17 10:57 ` [PATCH bpf-next 1/2] bpf: x64: Add predicate for bpf2bpf with tailcalls support in JIT Jakub Sitnicki
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jakub Sitnicki @ 2022-06-17 10:57 UTC (permalink / raw)
  To: bpf
  Cc: netdev, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	kernel-team, Tony Ambardar

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

-- 
2.35.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-21 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 10:57 [PATCH bpf-next 0/2] Allow mixing bpf2bpf calls with tail calls on arm64 Jakub Sitnicki
2022-06-17 10:57 ` [PATCH bpf-next 1/2] bpf: x64: Add predicate for bpf2bpf with tailcalls support in JIT Jakub Sitnicki
2022-06-17 10:57 ` [PATCH bpf-next 2/2] bpf: arm64: Keep tail call count across bpf2bpf calls Jakub Sitnicki
2022-06-21 17:00 ` [PATCH bpf-next 0/2] Allow mixing bpf2bpf calls with tail calls on arm64 patchwork-bot+netdevbpf

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.