public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Ilya Leoshkevich <iii@linux.ibm.com>
To: Menglong Dong <menglong8.dong@gmail.com>, ast@kernel.org
Cc: daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev,
	eddyz87@gmail.com, song@kernel.org, yonghong.song@linux.dev,
	john.fastabend@gmail.com, kpsingh@kernel.org, sdf@fomichev.me,
	haoluo@google.com, jolsa@kernel.org, hca@linux.ibm.com,
	gor@linux.ibm.com, agordeev@linux.ibm.com,
	borntraeger@linux.ibm.com, svens@linux.ibm.com,
	bpf@vger.kernel.org, linux-s390@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH bpf-next 3/3] selftests/bpf: factor out get_func_* tests for fsession
Date: Mon, 23 Feb 2026 12:44:36 +0100	[thread overview]
Message-ID: <d3f92c01-3915-448b-ae19-ac155188d2ae@linux.ibm.com> (raw)
In-Reply-To: <20260223084022.653186-4-dongml2@chinatelecom.cn>

On 2/23/26 09:40, Menglong Dong wrote:
> The fsession is already supported by x86_64, arm64, riscv and s390, so we
> don't need to disable it in the compile time according to the
> architecture. Factor out the testings for it. Therefore, the testing can
> be disabled for the architecture that doesn't support it manually.
>
> Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
> ---
>   .../bpf/prog_tests/get_func_args_test.c       | 25 +++++++++++-
>   .../bpf/prog_tests/get_func_ip_test.c         | 28 +++++++++++++-
>   .../bpf/progs/get_func_args_fsession_test.c   | 37 ++++++++++++++++++
>   .../selftests/bpf/progs/get_func_args_test.c  | 38 -------------------
>   .../bpf/progs/get_func_ip_fsession_test.c     | 21 ++++++++++
>   .../selftests/bpf/progs/get_func_ip_test.c    | 23 -----------
>   6 files changed, 108 insertions(+), 64 deletions(-)
>   create mode 100644 tools/testing/selftests/bpf/progs/get_func_args_fsession_test.c
>   create mode 100644 tools/testing/selftests/bpf/progs/get_func_ip_fsession_test.c


I personally like the "let the test fail on unsupported architectures" 
philosophy, since it lets architecture maintainers notice missing 
features more easily and take action (even if it's just adding the 
respective test to DENYLIST), so:


Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>


      reply	other threads:[~2026-02-23 11:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23  8:40 [PATCH bpf-next 0/3] bpf: fsession support for s390 Menglong Dong
2026-02-23  8:40 ` [PATCH bpf-next 1/3] bpf,s390: introduce emit_store_stack_imm64() for trampoline Menglong Dong
2026-02-23 11:44   ` Ilya Leoshkevich
2026-02-24  2:48     ` Menglong Dong
2026-02-23  8:40 ` [PATCH bpf-next 2/3] bpf,s390: add fsession support for trampolines Menglong Dong
2026-02-23 12:14   ` Ilya Leoshkevich
2026-02-24  2:53     ` Menglong Dong
2026-02-23  8:40 ` [PATCH bpf-next 3/3] selftests/bpf: factor out get_func_* tests for fsession Menglong Dong
2026-02-23 11:44   ` Ilya Leoshkevich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3f92c01-3915-448b-ae19-ac155188d2ae@linux.ibm.com \
    --to=iii@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=borntraeger@linux.ibm.com \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=gor@linux.ibm.com \
    --cc=haoluo@google.com \
    --cc=hca@linux.ibm.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=menglong8.dong@gmail.com \
    --cc=sdf@fomichev.me \
    --cc=song@kernel.org \
    --cc=svens@linux.ibm.com \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox