From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22B09606A325 for ; Mon, 30 Nov 2026 01:00:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=3VfvjMrf; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C95Li8fa DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Date:Message-Id:From:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=OpcEqzJDSJW8NV132V9l+JBv+ZPD/rBb1i31KeBbEXk=; b=3VfvjMrfZGUsWg 8fFL9YWcgR0EidPd9SauHl5zx9qSamHi1D0rkFQ02nxSK2VS2qbbNLtxImUYcvRNhkjMIfexzvr1m AL05FhAmWU+s0qlQpCI21PCqU6m8arJL0+BmfMzRDeeTHC/PTgbsyb3qFbBmvDmYbPlGz85Hw/GCF 3k+dtiHQ38Gja1mWyO15tkhVR1rK5rbw6YFQ2RuYiBDi8rAbdVbjWnPl34F/Bg5IhhUutANuVw8qw 2OY/2Y1Sx859E13bBoCq6tm9tQIbXi2COEzXDtFhRi5ZUgilYi5PBd7ijX1MGG8dieG7IGlZYuTiE PeBt0m7KtV9kwG8yhUaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXpkX-00000002iyW-1nTG; Mon, 30 Nov 2026 01:00:09 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXpkV-00000002ixj-0q3g for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 01:00:07 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 57D1060D33; Mon, 30 Nov 2026 01:00:06 +0000 (UTC) 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-Archived-By: 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 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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