[PATCH bpf-next 0/5] riscv, bpf: Prepare for upcoming daily CI

Pu Lehui pulehui at huaweicloud.com
Tue Sep 29 01:39:19 PDT 2026


From: Pu Lehui <pulehui at huawei.com>

For some time, bpf selftests on riscv64 have suffered from several
silent breakages and test failures. These mainly stemmed from changes
such as riscv ftrace atomic patching [0], qemu pmu behavior changes, and
environment mismatches. While some issues have already been addressed in
previous patches [1-3], the remaining ones are handled in this series.

To catch regressions promptly and close this long-standing riscv bpf CI
gap, the riscv-bpf-daily project [4] is introduced here. With the
assistance of LLMs, putting together this automated workflow was fairly
straightforward. The pipeline pulls the latest bpf-next branch daily,
executes both test_progs and test_verifier, and automatically creates
github issues with brief failure descriptions and sends notifications
when failures occur. It has been running smoothly for over a week and
has already proven its value by catching some real jit bugs.

To pave the way for riscv-bpf-daily, this patchset addresses the
remaining fixes, test adaptations, and environment dependencies.

[0] https://lore.kernel.org/all/20250407180838.42877-5-andybnac@gmail.com/
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2820d227ad4e
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f2aaa6215910
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c7e617552938
[4] https://github.com/pulehui/riscv-bpf-daily

Kumar Kartikeya Dwivedi (1):
  bpf, riscv: Fix stack-passed arguments for indirect trampolines

Pu Lehui (4):
  selftests/bpf: Set CONFIG_HZ_100 for riscv64
  selftests/bpf: Use /tmp for temporary file in d_path
  selftests/bpf: Update qemu config for riscv64 in vmtest.sh
  selftests/bpf: Update DENYLIST.riscv64

 arch/riscv/net/bpf_jit_comp64.c                 | 14 ++++++++++----
 tools/testing/selftests/bpf/DENYLIST.riscv64    |  2 ++
 tools/testing/selftests/bpf/config.riscv64      |  1 +
 tools/testing/selftests/bpf/prog_tests/d_path.c |  2 +-
 tools/testing/selftests/bpf/vmtest.sh           |  4 ++--
 5 files changed, 16 insertions(+), 7 deletions(-)

-- 
2.34.1




More information about the linux-riscv mailing list