BPF List
 help / color / mirror / Atom feed
From: Wang Yibo <szwyb123@gmail.com>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: bpf@vger.kernel.org, daniel@iogearbox.net, andrii@kernel.org,
	eddyz87@gmail.com, memxor@gmail.com, yonghong.song@linux.dev
Subject: Re: [PATCH v3 bpf-next 0/6] bpf: Unwinding with unwind_goto and unwind_exit
Date: Wed, 21 Oct 2026 09:12:49 +0800	[thread overview]
Message-ID: <20261021011249.17-1-szwyb123@gmail.com> (raw)
In-Reply-To: <20261020043319.3031996-1-alexei.starovoitov@gmail.com>

Hi Alexei,

I tested v3 on arm64. The cover letter says test_progs was only run on
x86-64 and freplace was not run on arm64, so that is the part I tried to
cover.

The tree is bpf-next master b71326388a (7.3.0-rc5) with 0/6 applied on
top. All six patches applied without conflicts, 18 files changed,
+397/-6. Built for arm64 with gcc 15.2 from defconfig plus
selftests/bpf/config, config.aarch64 and config.vm, with
BPF_JIT_ALWAYS_ON=y. test_progs runs in a qemu guest under KVM, 8G and
4 cpus.

Results:

- verifier_unwind: 41/41 OK, no skips. The jit subtest passes too, so
  unwind_goto and unwind_exit are checked against the arm64 JIT output
  and not only in the verifier.
- unwind_attach: OK. freplace_returns returns 9, freplace_unwinds
  returns 13, and attaching freplace_unwinds to global_never_unwinds is
  rejected with the expected message while the target still returns 15.
- unwind_cxx: OK. Stock clang skips this one because the lowering is
  still in review (LLVM PR 233649), so I built clang from that PR to run
  it. catches/does_not_catch and the aggregate_return case pass on
  arm64, including the destructor order and the u128 return in R0:R2.
- Regression: test_bpffs, global_funcs and exceptions, 148 subtests, no
  failures. data_in_arena is 8/8, including the rust prog.

Two things from the setup that took me a while, in case they are worth a
note somewhere:

- the jit subtest is skipped silently when test_progs is built without
  llvm-dev, because the disassembly helper comes from the LLVM C API. A
  line in the commit message, or a skip message that names the missing
  library, would save the next person the bisect.
- bpf_testmod needs pahole 1.32 or newer on this tree. With 1.30 the
  three i128 kfuncs get no BTF func entry, their ids stay zero, and the
  module fails to load with -22 with nothing in dmesg. Unrelated to this
  series, but it looks like a verifier bug until the build log is found.

I only ran with BPF_JIT_ALWAYS_ON, so the JIT-disabled path reported
earlier in this thread is not covered by my run.

Feel free to add:

Tested-by: Wang Yibo <szwyb123@gmail.com>

Thanks,
Wang Yibo

  parent reply	other threads:[~2026-10-21  1:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-20  4:33 [PATCH v3 bpf-next 0/6] bpf: Unwinding with unwind_goto and unwind_exit Alexei Starovoitov
2026-10-20  4:33 ` [PATCH v3 bpf-next 1/6] bpf: Add unwind_goto and unwind_exit insns Alexei Starovoitov
2026-10-20  8:15   ` sashiko-bot
2026-10-20  4:33 ` [PATCH v3 bpf-next 2/6] bpf, x86: Support unwind_goto and unwind_exit Alexei Starovoitov
2026-10-20  4:33 ` [PATCH v3 bpf-next 3/6] bpf, arm64: " Alexei Starovoitov
2026-10-20  4:33 ` [PATCH v3 bpf-next 4/6] selftests/bpf: Add tests for " Alexei Starovoitov
2026-10-20  5:10   ` bot+bpf-ci
2026-10-20  4:33 ` [PATCH v3 bpf-next 5/6] selftests/bpf: Add a C++ prog with exceptions Alexei Starovoitov
2026-10-20  5:10   ` bot+bpf-ci
2026-10-20  4:33 ` [PATCH v3 bpf-next 6/6] selftests/bpf: Test unwinding from R0:R2 subprog Alexei Starovoitov
2026-10-21  1:12 ` Wang Yibo [this message]
2026-10-21 16:55   ` [PATCH v3 bpf-next 0/6] bpf: Unwinding with unwind_goto and unwind_exit Alexei Starovoitov
2026-10-22  5:21     ` Wang Yibo

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=20261021011249.17-1-szwyb123@gmail.com \
    --to=szwyb123@gmail.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=memxor@gmail.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