Merge branch 's390-bpf-fix-arch_prepare_bpf_trampoline'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 19 Sep 2023 09:57:30 +0000 (02:57 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 19 Sep 2023 09:59:28 +0000 (02:59 -0700)
commit9032598e9ccbee82140658011ad7808a31a42920
treecc9c6941fc983916828daec9468a9a3a691d73d8
parent8070274b472e2e9f5f67a990f5e697634c415708
parent48f5e7d3f7300ff679dc50bfb7a7451de6f29e4c
Merge branch 's390-bpf-fix-arch_prepare_bpf_trampoline'

Song Liu says:

====================
s390/bpf: Fix arch_prepare_bpf_trampoline

While working on trampoline, I found s390's arch_prepare_bpf_trampoline
returns 0 on success, which breaks struct_ops. However, the CI doesn't
catch this issue. Turns out test_progs:bpf_tcp_ca doesn't really test
members of a struct_ops are actually called via the trampolines.

1/2 fixes arch_prepare_bpf_trampoline for s390.
2/2 adds a check to test_progs:bpf_tcp_ca to verify bpf_cubic_acked() is
indeed called by the trampoline. Without 1/2, this check would fail on
s390.
====================

Link: https://lore.kernel.org/r/20230919060258.3237176-1-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>