[PATCH] ARM: disable broken eBPF JIT on the Risc PC

Linus Walleij linusw at kernel.org
Mon May 25 01:18:45 PDT 2026


On Mon, May 18, 2026 at 3:49 AM Ethan Nelson-Moore
<enelsonmoore at gmail.com> wrote:

> The eBPF JIT unconditionally generates ldrh/strh instructions, which do
> not function correctly on the Risc PC because its bus is unable to
> signal half-word accesses. Work around this issue by disabling the eBPF
> JIT when building for ARMv3 (the Risc PC is the only currently
> supported ARMv3 machine).
>
> Fixes: 39c13c204bb1 ("arm: eBPF JIT compiler")
> Cc: stable at vger.kernel.org
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore at gmail.com>

Looks correct to me.
Reviewed-by: Linus Walleij <linusw at kernel.org>

Please put this into Russell's patch tracker!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list