[PATCH bpf-next 0/2] riscv, bpf: Support indirect calls to bpf subprogs (callx)

From: Pu Lehui

Date: Tue Sep 29 2026 - 05:04:37 EST


From: Pu Lehui <pulehui@xxxxxxxxxx>

This series implements support for indirect calls to bpf subprogs on
riscv64 and enables the corresponding selftests.

Meanwhile, this series also resolves the test_verifier failures
previously captured by riscv-bpf-daily due to missing callx support [0].

[0] https://github.com/pulehui/riscv-bpf-daily/issues/11

Pu Lehui (2):
riscv, bpf: Support indirect calls to bpf subprogs (callx)
selftests/bpf: Enable callx related testcases for RV64

arch/riscv/net/bpf_jit_comp64.c | 12 ++++++++++++
.../selftests/bpf/prog_tests/callx_func_ptr_map.c | 3 ++-
.../selftests/bpf/prog_tests/callx_rodata_lskel.c | 3 ++-
tools/testing/selftests/bpf/progs/verifier_callx.c | 3 ++-
.../selftests/bpf/progs/verifier_callx_rodata.c | 3 ++-
5 files changed, 20 insertions(+), 4 deletions(-)

--
2.34.1