s390/bpf: Implement bpf_jit_supports_subprog_tailcalls()
authorIlya Leoshkevich <iii@linux.ibm.com>
Sun, 29 Jan 2023 19:04:58 +0000 (20:04 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 30 Jan 2023 03:16:29 +0000 (19:16 -0800)
commitdd691e847d28ac5f8b8e3005be44fd0e46722809
tree4edc33fd69dffa834c71d431d745e6c76dd74480
parent528eb2cb87bc1353235a6384696b4849bde8b0ba
s390/bpf: Implement bpf_jit_supports_subprog_tailcalls()

Allow mixing subprogs and tail calls by passing the current tail
call count to subprogs.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20230129190501.1624747-6-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/s390/net/bpf_jit_comp.c