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

Menglong Dong posted 3 patches 4 days, 11 hours ago
There is a newer version of this series
arch/riscv/net/bpf_jit_comp64.c               | 92 +++++++++++++++----
.../selftests/bpf/progs/get_func_args_test.c  |  2 +-
.../selftests/bpf/progs/get_func_ip_test.c    |  2 +-
3 files changed, 74 insertions(+), 22 deletions(-)
[PATCH bpf-next 0/3] bpf: fsession support for riscv
Posted by Menglong Dong 4 days, 11 hours ago
Implement bpf fsession for the riscv architecture.

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               | 92 +++++++++++++++----
 .../selftests/bpf/progs/get_func_args_test.c  |  2 +-
 .../selftests/bpf/progs/get_func_ip_test.c    |  2 +-
 3 files changed, 74 insertions(+), 22 deletions(-)

-- 
2.52.0
Re: [PATCH bpf-next 0/3] bpf: fsession support for riscv
Posted by Björn Töpel 1 day, 6 hours ago
Thank you for working on this!

On Tue, 3 Feb 2026 at 06:52, Menglong Dong <menglong8.dong@gmail.com> wrote:
>
> Implement bpf fsession for the riscv architecture.
>
> 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

I'm happy with either addressing Leon's comment with a follow-up, or
spinning a V2.

For this version plus Leon's nit as a follow-up, or a V2:
Tested-by: Björn Töpel <bjorn@kernel.org> # QEMU/RVA23/DT
Acked-by: Björn Töpel <bjorn@kernel.org>