[PATCH bpf-next v4 0/3] bpf: fsession support for riscv

Pu Lehui pulehui at huawei.com
Mon Feb 9 05:18:52 PST 2026


On 2026/2/8 13:33, Menglong Dong wrote:
> Implement bpf fsession for the riscv architecture.
> 
> Changes v4 -> v3:
> * fix the build error
> * v3: https://lore.kernel.org/bpf/20260206122002.1494125-1-dongml2@chinatelecom.cn/
> 
> Changes v3 -> v2:
> * fix some comments.
> * v2: https://lore.kernel.org/bpf/20260206115823.1070354-1-dongml2@chinatelecom.cn/T/#t
> 
> Changes v2 -> v1:
> * use bpf_prog_calls_session_cookie() in invoke_bpf() in the 2nd patch.
> * v1: https://lore.kernel.org/bpf/20260203055231.1088479-1-dongml2@chinatelecom.cn/
> 
> Menglong Dong (3):
>    bpf, riscv: introduce emit_store_stack_imm64() for trampoline
>    bpf, riscv: add fsession support for trampolines
>    selftests/bpf: enable fsession_test on riscv64
> 
>   arch/riscv/net/bpf_jit_comp64.c               | 97 +++++++++++++++----
>   .../selftests/bpf/progs/get_func_args_test.c  |  2 +-
>   .../selftests/bpf/progs/get_func_ip_test.c    |  2 +-
>   3 files changed, 79 insertions(+), 22 deletions(-)
> 

looks good to me, feel free to add

Reviewed-by: Pu Lehui <pulehui at huawei.com>



More information about the linux-riscv mailing list