[PATCH bpf-next 2/3] bpf, riscv: add fsession support for trampolines
Björn Töpel
bjorn at kernel.org
Fri Feb 6 03:22:35 PST 2026
On Tue, 3 Feb 2026 at 06:53, Menglong Dong <menglong8.dong at gmail.com> 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.
More information about the linux-riscv
mailing list