From: Jisheng Zhang <jszhang@kernel.org>
To: Karl Mehltretter <kmehltretter@gmail.com>
Cc: "Paul Walmsley" <pjw@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Alexandre Ghiti" <alex@ghiti.fr>,
"Mike Rapoport" <rppt@kernel.org>,
"Luis Chamberlain" <mcgrof@kernel.org>,
"Björn Töpel" <bjorn@kernel.org>,
linux-riscv@lists.infradead.org, bpf@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] riscv: mm: Pre-allocate module page tables for execmem
Date: Sun, 15 Nov 2026 21:17:26 +0800 [thread overview]
Message-ID: <avmw5hzuVxEk__WR@xhacker> (raw)
In-Reply-To: <avgpqlpWf01mwo9P@gmail.com>
On Sat, Nov 14, 2026 at 10:29:29AM +0100, Karl Mehltretter wrote:
> On Fri, Oct 16, 2026 at 12:28:47PM +0100, Karl Mehltretter wrote:
> > Unable to handle kernel paging request ...
> > [ffffffff78000000] pgd=0000000000000000
> > ...
> > bpf_jit_fill_hole_with_zero
> > bpf_prog_pack_alloc
> >
> > Use CONFIG_EXECMEM for the module-range pre-allocation, as powerpc does
> > for its execmem page-table setup. Both CONFIG_MODULES and CONFIG_BPF_JIT
> > select it.
> >
> > Fixes: 2c9e5d4a0082 ("bpf: remove CONFIG_BPF_JIT dependency on CONFIG_MODULES of")
> > Cc: stable@vger.kernel.org
> > Assisted-by: LLM
> > Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
> > Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
> > Acked-by: Björn Töpel <bjorn@kernel.org>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
> > ---
> > Changes in v2:
> > - State that the BPF JIT region lies inside the module region (Mike).
> > - Add Acked-by tags from Mike Rapoport and Björn Töpel.
> > - No code changes from v1.
> >
>
> A friendly ping on v2 of this RV64 execmem page-table fix.
>
> Is anything else needed from my side?
>
> Thanks,
> Karl
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
prev parent reply other threads:[~2026-11-15 13:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 10:28 [PATCH v2] riscv: mm: Pre-allocate module page tables for execmem Karl Mehltretter
2026-11-14 9:29 ` Karl Mehltretter
2026-11-15 13:17 ` Jisheng Zhang [this message]
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=avmw5hzuVxEk__WR@xhacker \
--to=jszhang@kernel.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=bjorn@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=kmehltretter@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mcgrof@kernel.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=rppt@kernel.org \
/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