From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796000406; b=C6VwIVzmbM3SmKQy46GBy5JenKwHX41HHQeVYUDTF19VEf0EOayuTya2Fk2TNWvcraRK XNKwyrxJtala45QQjNUP/mVm++O9MtQ2otEQwu+CsidU9zAenFwkBECMh7PbPRqVUzIjT 1avfLWQ2bKzHr3BKcxiN2sS9BmszXB6fFSkyTKy0vvJggyoK6U4NufoGGYSKSTt+EL+5a JkZX6lz99720gCug58TKOPsnLYBFDAIHDIIb1PJHTom1jMY0Mbe8TVUXU9SFHaxnGb++z duuusfWdHrIYvu4MQoLMewtJmKQqWbOpMBqgdXN0ib19Wo3YB6pft/nZ3vzRn9OrIog== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796000406; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=OpcEqzJDSJW8NV132V9l+JBv+ZPD/rBb1i31KeBbEXk=; b=MCDnHIuIqN5uGOU1ctBChm5BXK6uAvj8ODuIAofF0awWvXSG9ZRdf8Y57YTBRaMpp0FK Gs7n+LWziNGdWNYld2Mb7r/oksJvbF7w4raVJBQkEgfgXBmSLM7Gw/oI/47kYT3jq54R8 0z75wNDzUcaBgygoxAPZ9bwhIXHpaOmvqn45qdwlq3ScyzczFKiXT5ElNChS+3itHF+FF JGgNCaotO/bE+w7dUSFn3EVhHhdEslZGQRUHyyE0MlST5VGj0vXlfnbt2tKRkwOuTwOXa k9Db5zf8JO06nykuT7DPtCRphix+7WeTsXMCby/8V6Xq6QViRDoS+8iU5zkEWOe/tNQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C95Li8fa; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CA98606A31C; Mon, 30 Nov 2026 01:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C95Li8fa Received: by smtp.kernel.org (Postfix) with ESMTPSA id 070881F00896; Mon, 30 Nov 2026 01:00:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796000406; bh=OpcEqzJDSJW8NV132V9l+JBv+ZPD/rBb1i31KeBbEXk=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=C95Li8faG2ntzjoNgzVT05uEgm8Dz073GEo+uz0pjkeZUbWzda/FBXCsmEg8r6rjr ChAgN+RbL6eJmj09Mv/BM1NHWDzg2gEYoPxJbqlbX/EdXTh4MLcfXhmughfDpvuR8J brZG/nBqrNmG1p+DDEmN3AcCFhF8+to4kizMdpsp6QzlvNTaykUJvcVxuVGB/QhUyv jlkjvnO2iLclTpQ78xJn2SuvAGY+hO8BkcWpnETO0DympVkwHuhcjZImpNQO0fBPyB 8rB/teFzWLIIb1Sd6EfETl5yLYtb+nEqwYMxShATLzWVjbpQWhKoDEW2aRZ4KuWuy4 ZFAp0cKGQ+2PQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id EB9A0392E9F0; Mon, 30 Nov 2026 01:00:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v3] bpf, arm32: build constants inline instead of using a literal pool From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179600040476.2970245.18262885729694409406.git-patchwork-notify@kernel.org> Date: Mon, 30 Nov 2026 01:00:04 +0000 References: <20261122195600.2573516-1-ramin.moussavi@yacoub.de> In-Reply-To: <20261122195600.2573516-1-ramin.moussavi@yacoub.de> To: Ramin Moussavi Cc: linux@armlinux.org.uk, puranjay@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, nschichan@freebox.fr, bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : 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