Skip to content

s390/bpf: Use kernel's expoline thunks

Ilya Leoshkevich bpf 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3s390: always declare expoline thunksarch/s390/include/asm/nospec-branch.h+0 -40 repliesApplied
2/3s390/bpf: Add macros for calling external functionsarch/s390/net/bpf_jit_comp.c+42 -180 repliesApplied
3/3s390/bpf: Use kernel's expoline thunksarch/s390/net/bpf_jit_comp.c+17 -440 repliesApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchHeiko Carstens
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/3] s390/bpf: Use kernel's expoline thunks

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(-)
Signature · 1 line
2.49.0