Re: [PATCH bpf-next 2/3] bpf, riscv: add fsession support for trampolines

From: Björn Töpel

Date: Fri Feb 06 2026 - 06:27:50 EST


On Tue, 3 Feb 2026 at 06:53, Menglong Dong <menglong8.dong@xxxxxxxxx> wrote:

> diff --git a/arch/riscv/net/bpf_jit_comp64.c b/arch/riscv/net/bpf_jit_comp64.c
> index e4f45e2e7e2f..f10418ff6a9b 100644
> --- a/arch/riscv/net/bpf_jit_comp64.c
> +++ b/arch/riscv/net/bpf_jit_comp64.c

> @@ -1042,10 +1067,14 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im,
> * [ ... ]
> * FP - args_off [ arg1 ]
> *
> - * FP - nregs_off [ regs count ]
> + * FP - func_meta_off [ regs count, etc ] always

Nit: Please remove the "always" comment. It's not helpful.