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

Pu Lehui pulehui at huawei.com
Tue Sep 29 23:47:08 PDT 2026


This series fail to apply, I have resent a new one.


https://lore.kernel.org/all/20260930064928.1909085-1-pulehui@huaweicloud.com/T/#t

On 2026/9/29 16:54, Pu Lehui wrote:
> From: Pu Lehui <pulehui at huawei.com>
> 
> 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(-)
> 



More information about the linux-riscv mailing list