Re: [PATCH bpf-next v3 4/4] bpf/selftests: Verify struct_ops prog sleepable behavior

From: Alexei Starovoitov
Date: Wed Jan 25 2023 - 11:06:46 EST


On Tue, Jan 24, 2023 at 9:04 PM David Vernet <void@xxxxxxxxxxxxx> wrote:
>
> In a set of prior changes, we added the ability for struct_ops programs
> to be sleepable. This patch enhances the dummy_st_ops selftest suite to
> validate this behavior by adding a new sleepable struct_ops entry to
> dummy_st_ops.
>
> Signed-off-by: David Vernet <void@xxxxxxxxxxxxx>
> ---
> include/linux/bpf.h | 1 +
> net/bpf/bpf_dummy_struct_ops.c | 18 +++++++
> .../selftests/bpf/prog_tests/dummy_st_ops.c | 54 ++++++++++++++-----
> .../selftests/bpf/progs/dummy_st_ops_fail.c | 27 ++++++++++
> ...{dummy_st_ops.c => dummy_st_ops_success.c} | 19 +++----
> 5 files changed, 94 insertions(+), 25 deletions(-)
> create mode 100644 tools/testing/selftests/bpf/progs/dummy_st_ops_fail.c
> rename tools/testing/selftests/bpf/progs/{dummy_st_ops.c => dummy_st_ops_success.c} (72%)

It fails on s390:
dummy_st_ops_success/dummy_multiple_args:FAIL

Please add to DENYLIST as part of this patch.