From: Tiezhu Yang <yangtiezhu@loongson.cn>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>,
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 10:02:04 +0800 [thread overview]
Message-ID: <d308dec5-a310-344b-7ff5-0e67e118d9b8@loongson.cn> (raw)
In-Reply-To: <DN4QVSWEI27E.32PRRHCUBAZFK@gmail.com>
On 11/26/26 9:17 AM, Alexei Starovoitov wrote:
> 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.
OK, understood, please drop this patch.
Thanks,
Tiezhu
prev parent reply other threads:[~2026-11-26 2:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 10:32 Tiezhu Yang
2026-11-26 1:17 ` Alexei Starovoitov
2026-11-26 2:02 ` Tiezhu Yang [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=d308dec5-a310-344b-7ff5-0e67e118d9b8@loongson.cn \
--to=yangtiezhu@loongson.cn \
--cc=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 \
/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
all inboxes | Powered by JetHome®