bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/3] s390/bpf: Use kernel's expoline thunks
@ 2025-05-19 22:30 Ilya Leoshkevich
  2025-05-19 22:30 ` [PATCH bpf-next 1/3] s390: always declare " Ilya Leoshkevich
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ilya Leoshkevich @ 2025-05-19 22:30 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: bpf, Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Ilya Leoshkevich

Hi,

This series simplifies the s390 JIT by replacing the generation of
expolines (Spectre mitigation) with using the ones from the kernel
text. This is possible thanks to the V!=R s390 kernel rework.
Patch 1 is a small prerequisite for arch/s390 that I would like to
get in via the BPF tree. It has Heiko's Acked-by.
Patches 2 and 3 are the implementation.

Best regards,
Ilya

Ilya Leoshkevich (3):
  s390: always declare expoline thunks
  s390/bpf: Add macros for calling external functions
  s390/bpf: Use kernel's expoline thunks

 arch/s390/include/asm/nospec-branch.h |   4 -
 arch/s390/net/bpf_jit_comp.c          | 121 +++++++++++++-------------
 2 files changed, 59 insertions(+), 66 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-05-22 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-19 22:30 [PATCH bpf-next 0/3] s390/bpf: Use kernel's expoline thunks Ilya Leoshkevich
2025-05-19 22:30 ` [PATCH bpf-next 1/3] s390: always declare " Ilya Leoshkevich
2025-05-19 22:30 ` [PATCH bpf-next 2/3] s390/bpf: Add macros for calling external functions Ilya Leoshkevich
2025-05-19 22:30 ` [PATCH bpf-next 3/3] s390/bpf: Use kernel's expoline thunks Ilya Leoshkevich
2025-05-22 15:50 ` [PATCH bpf-next 0/3] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).