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

From: Linus Walleij

Date: Mon May 25 2026 - 04:20:54 EST


On Mon, May 18, 2026 at 3:49 AM Ethan Nelson-Moore
<enelsonmoore@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@xxxxxxxxx>

Looks correct to me.
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Please put this into Russell's patch tracker!

Yours,
Linus Walleij