Re: [PATCH bpf-next v3] bpf, arm32: build constants inline instead of using a literal pool

From: patchwork-bot+netdevbpf

Date: Sun Nov 29 2026 - 20:00:09 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Sun, 22 Nov 2026 20:56:00 +0100 you wrote:
> Below __LINUX_ARM_ARCH__ 7, where MOVW/MOVT cannot be assumed,
> emit_mov_i_no8m() put every constant that is not an imm8m into a literal
> pool behind the epilogue and loaded it with LDR rX, [pc, #off]. That
> offset field is 12 bits and the pool sits at the end of the image, so
> from roughly 4 KB of JITed code on, the load no longer reaches it.
>
> Commit 0b59d8806a31 ("ARM: net: delegate filter to kernel interpreter
> when imm_offset() return value can't fit into 12bits.") handles that by
> setting FLAG_IMM_OVERFLOW and dropping the whole program to the
> interpreter, and already noted that multiple pools "would better be done
> as a feature instead of fix". That check does not catch every case: imm
> is a u16 in imm_offset(), so
>
> [...]

Here is the summary with links:
- [bpf-next,v3] bpf, arm32: build constants inline instead of using a literal pool
https://git.kernel.org/bpf/bpf-next/c/b7a509bd4470

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