Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Menglong Dong <menglong.dong@linux.dev>
To: "Menglong Dong" <menglong8.dong@gmail.com>,
	"Björn Töpel" <bjorn@kernel.org>
Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org,
	martin.lau@linux.dev, eddyz87@gmail.com, song@kernel.org,
	yonghong.song@linux.dev, john.fastabend@gmail.com,
	kpsingh@kernel.org, sdf@fomichev.me, haoluo@google.com,
	jolsa@kernel.org, pulehui@huawei.com, puranjay@kernel.org,
	pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu,
	alex@ghiti.fr, jiang.biao@linux.dev, bpf@vger.kernel.org,
	linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH bpf-next 2/3] bpf, riscv: add fsession support for trampolines
Date: Fri, 06 Feb 2026 20:07:35 +0800	[thread overview]
Message-ID: <5088614.31r3eYUQgx@7950hx> (raw)
In-Reply-To: <CAJ+HfNizNFc0j_eUNFR3_kO8diQzbjce8oLzBEOK2sWnG=rGhg@mail.gmail.com>

On 2026/2/6 19:22, Björn Töpel wrote:
> On Tue, 3 Feb 2026 at 06:53, Menglong Dong <menglong8.dong@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.

Ah, sorry that I send out the V2 before I saw this email. Let
me spin a V3.

Thanks!
Menglong Dong

> 
> 





_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2026-02-06 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-03  5:52 [PATCH bpf-next 0/3] bpf: fsession support for riscv Menglong Dong
2026-02-03  5:52 ` [PATCH bpf-next 1/3] bpf, riscv: introduce emit_store_stack_imm64() for trampoline Menglong Dong
2026-02-03  5:52 ` [PATCH bpf-next 2/3] bpf, riscv: add fsession support for trampolines Menglong Dong
2026-02-03  6:20   ` Leon Hwang
2026-02-03  6:25     ` Menglong Dong
2026-02-06 11:22   ` Björn Töpel
2026-02-06 12:07     ` Menglong Dong [this message]
2026-02-03  5:52 ` [PATCH bpf-next 3/3] selftests/bpf: enable fsession_test on riscv64 Menglong Dong
2026-02-06 11:20 ` [PATCH bpf-next 0/3] bpf: fsession support for riscv Björn Töpel
2026-02-06 11:29   ` Menglong Dong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5088614.31r3eYUQgx@7950hx \
    --to=menglong.dong@linux.dev \
    --cc=alex@ghiti.fr \
    --cc=andrii@kernel.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=ast@kernel.org \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=haoluo@google.com \
    --cc=jiang.biao@linux.dev \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=martin.lau@linux.dev \
    --cc=menglong8.dong@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=pulehui@huawei.com \
    --cc=puranjay@kernel.org \
    --cc=sdf@fomichev.me \
    --cc=song@kernel.org \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox