Re: [PATCH bpf-next v1] selftests/bpf: Restrict JIT tests to 64-bit LoongArch
From: Alexei Starovoitov
Date: Wed Nov 25 2026 - 20:18:03 EST
On Wed, Nov 25, 2026 at 02:32 AM Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> 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@xxxxxxxxxx/
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