[PATCH bpf-next v3 0/4] bpf, riscv: Add support for indirect jumps

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sun Oct 11 06:40:11 PDT 2026


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast at kernel.org>:

On Mon, 28 Sep 2026 15:18:41 +0800 you wrote:
> The indirect jump instruction (BPF_JMP | BPF_JA | BPF_X, "gotox") and the
> BPF_MAP_TYPE_INSN_ARRAY jump tables it consumes are core features: the
> verifier accepts them on every architecture, and the x86-64, arm64 and
> powerpc JITs implement them. On riscv64 a program using gotox passes
> verification and then fails to load, because the JIT does not know the
> opcode and CONFIG_BPF_JIT_ALWAYS_ON leaves no interpreter to fall back
> onto.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/4] bpf, riscv: Add support for indirect jumps
    https://git.kernel.org/bpf/bpf-next/c/c0316386fecd
  - [bpf-next,v3,2/4] selftests/bpf: Enable gotox tests for riscv64
    https://git.kernel.org/bpf/bpf-next/c/5f750ad6d675
  - [bpf-next,v3,3/4] selftests/bpf: Enable gotox liveness test for riscv64
    https://git.kernel.org/bpf/bpf-next/c/6ce75af4f59e
  - [bpf-next,v3,4/4] selftests/bpf: Enable instruction array test for riscv64
    https://git.kernel.org/bpf/bpf-next/c/eec2444d9b9d

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





More information about the linux-riscv mailing list