All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Tiezhu Yang" <yangtiezhu@loongson.cn>,
	"Daniel Borkmann" <daniel@iogearbox.net>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Kumar Kartikeya Dwivedi" <memxor@gmail.com>
Cc: <bpf@vger.kernel.org>, <loongarch@lists.linux.dev>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH bpf-next v1] selftests/bpf: Restrict JIT tests to 64-bit LoongArch
Date: Thu, 26 Nov 2026 01:17:54 +0000	[thread overview]
Message-ID: <DN4QVSWEI27E.32PRRHCUBAZFK@gmail.com> (raw)
In-Reply-To: <20261125103208.15242-1-yangtiezhu@loongson.cn>

On Wed, Nov 25, 2026 at 02:32 AM Tiezhu Yang <yangtiezhu@loongson.cn> wrote:
> Now that 32-bit LoongArch support has been added to the kernel while the
> eBPF JIT remains 64-bit only (HAVE_EBPF_JIT depends on 64BIT), limit the
> BPF JIT-specific test cases and architecture macros to 64-bit LoongArch.

Most of them are not JIT-specific.
The interpreter runs sdiv, bswap, movsx and gotol.
The default build of test_progs fails against such a kernel anyway.
dummy_st_ops_success.c takes struct bpf_dummy_ops from vmlinux.h,
and that struct is under CONFIG_BPF_JIT.
raw_tp and kprobe progs can't load there either:

  select HAVE_PERF_EVENTS if 64BIT

> This is a cleanup patch, inspired by Sashiko AI review:
> https://lore.kernel.org/bpf/sashiko-outbox-228693@kernel.org/

That comment is about the new guard in bpf_insn_array.c.
Nothing is broken. I don't think we need this patch.
Pls don't change 16 files because a bot said so.

pw-bot: cr

  reply	other threads:[~2026-11-26  1:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 10:32 [PATCH bpf-next v1] selftests/bpf: Restrict JIT tests to 64-bit LoongArch Tiezhu Yang
2026-11-26  1:17 ` Alexei Starovoitov [this message]
2026-11-26  2:02   ` Tiezhu Yang

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=DN4QVSWEI27E.32PRRHCUBAZFK@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=memxor@gmail.com \
    --cc=yangtiezhu@loongson.cn \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.