Re: [PATCH] riscv: patch: fix handling of bpf-jit execmem addresses
From: Roger洪偉捷
Date: Thu Oct 01 2026 - 02:14:53 EST
On Thu, Sep 25, 2026 at 5:48 AM Alexei Starovoitov
<alexei.starovoitov@xxxxxxxxx> wrote:
>
> Not clear what tree this patch suppose to go to.
> If it's bpf-next then pls respin with correct subj,
It's not bpf-next -- this is a riscv patch for the riscv tree, based on
riscv/fixes (b94cec5761d2). It only touches arch/riscv/kernel/patch.c,
and the "riscv: patch:" prefix matches both the file name and the
previous fix to the same function, commit 8718e5a3090b ("riscv: patch:
skip fixmap mapping when kernel text is already writable").
bpf@xxxxxxxxxxxxxxx is Cc'd because the breakage manifests in the BPF
JIT -- bpf_arch_text_copy() fails and no program is ever JITed -- not
because it should go through a BPF tree. Sorry for the noise in the BPF
queue.
If a respin is wanted for any other reason, I'll carry Pu Lehui's tags.
Thanks,
Wei-Jie