Re: [PATCH bpf-next v3 0/2] bpf, riscv: Add support for signed arena loads

[email protected]
Newsgroups org.infradead.lists.linux-riscv,org.kernel.vger.bpf,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <178766460914.3460835.2556196507996630304.git-patchwork-notify@kernel.org>
Hello:

This series was applied to bpf/bpf-next.git (master)
by Kumar Kartikeya Dwivedi <[email protected]>:

On Wed, 19 Aug 2026 20:09:22 +0800 you wrote:
> Hi,
> 
> Signed loads from arena memory are currently unsupported on riscv64:
> bpf_jit_supports_insn() rejects BPF_MEMSX loads when in_arena is set,
> so the verifier fails such programs with "sign extending loads from
> arena are not supported yet". The x86 and arm64 JITs gained support
> for them in v6.18 (a91ae3c89311, eab2a71f3a6a). Since compilers are
> free to generate signed loads into arena memory (e.g. GCC-14 was
> reported to do so), otherwise valid BPF programs fail to load on
> riscv64.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/2] bpf, riscv: Add support for signed arena loads
    https://git.kernel.org/bpf/bpf-next/c/b4757714cc63
  - [bpf-next,v3,2/2] selftests/bpf: Enable arena LDSX tests for riscv64
    https://git.kernel.org/bpf/bpf-next/c/8f2087a1b43b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.