]> git.baikalelectronics.ru Git - kernel.git/commit
s390/bpf: Add expoline to tail calls
authorIlya Leoshkevich <iii@linux.ibm.com>
Sun, 29 Jan 2023 19:04:55 +0000 (20:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:57 +0000 (09:32 +0100)
commitd1efe17bee73abd6d10942d1ee528692de566abc
treee2ebb0758fa9ce3581ee998f6af2ce5df638da85
parent0257edf85e6581f412000843e24c0807bf8dd2ca
s390/bpf: Add expoline to tail calls

[ Upstream commit 1de209eaab9e7c58524625c57c21142e6beaec41 ]

All the indirect jumps in the eBPF JIT already use expolines, except
for the tail call one.

Fixes: 8d43570dd771 ("s390: use expoline thunks in the BPF JIT")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20230129190501.1624747-3-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/net/bpf_jit_comp.c