From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BDC02D0636; Thu, 30 Oct 2025 03:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761793574; cv=none; b=NXy7QMs3cpIoXcVYX6z92WzG1JH9xzXU2PFhB6mI0C9wLx1dHZp8pererfoHu4VB+0XsclILdA/UCWEvvN+1ZAE8S0B/yTibRwIzCnAlDUhZ9Mva5jAgt3T6jtD4VnlEopqL2B2FtJOZBbAblXjWuoAmXWeyAYbPdWJDulHQq8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761793574; c=relaxed/simple; bh=dVUd0kxP8SBgNKarJK8Wzf0YKtUqqRpN45iifynlBCo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=mKT2b94EcQeO0/6gOEV14ZMFG6Xp24uJMDRQrQJT/15EbAyqlBkXw5a8FWObed7yPNgTWGbHSktOrhHyafKLdC2UBwwFb0Yp8usVhMn48azvPbgbi49IIE8bxXKT2SDkZ5LrI9dh3XQUBJmDMIxP0VYG/RdSgTYohTzvREMiMSk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G460pf5w; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G460pf5w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1EE2C4CEF7; Thu, 30 Oct 2025 03:06:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761793574; bh=dVUd0kxP8SBgNKarJK8Wzf0YKtUqqRpN45iifynlBCo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G460pf5wZhF+5PaPtXWKUHL7xcNeYSTZq5hk994ffhXrjkGhrgreSpGNZyneEKfoD PwDjfzcQDKLl4mDUwnv0v9ccHu48LXdI+LxeCtNmvPCEEJbLlaZ5k/ZFATc9bxk/79 sPPII1vhsbTRFwgdxKyQnXM61r0Kf2nMvvLB7v5ZWlquSgOxG3zVFqIBiRq6rX+8Ra Bb6lAPLQSaYbv/9J6r8ZAwC066QnJMnbmdK5pTmgaFEDRUdXWwBgrFtkAwDpwHRpZL RyxMPd7Gq4YechklQOWL+7lWM55HuaYxKL1P/QUz7dFcEL2F2C+7l2DQ+Ff9PmgkXg CnMEEcH/JeC3A== From: Kees Cook To: Alexander Lobakin , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Nathan Chancellor Cc: Kees Cook , Simon Horman , Nick Desaulniers , Bill Wendling , Justin Stitt , Sami Tolvanen , Russell King , Tony Nguyen , Michal Kubiak , linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org Subject: Re: [PATCH 0/3] Resolve ARM kCFI build failure in idpf xsk.c Date: Wed, 29 Oct 2025 20:06:09 -0700 Message-Id: <176179356659.2479588.16940248582240491111.b4-ty@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251025-idpf-fix-arm-kcfi-build-error-v1-0-ec57221153ae@kernel.org> References: <20251025-idpf-fix-arm-kcfi-build-error-v1-0-ec57221153ae@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Sat, 25 Oct 2025 21:53:17 +0100, Nathan Chancellor wrote: > This series resolves a build failure that is seen in > drivers/net/ethernet/intel/idpf/xsk.c after commit 9705d6552f58 ("idpf: > implement Rx path for AF_XDP") in 6.18-rc1 with ARCH=arm and > CONFIG_CFI=y. See patch 3 for a simplified reproducer on top of > defconfig. > > I think this could go via hardening or net. > > [...] Applied to for-linus/hardening, thanks! [1/3] compiler_types: Introduce __nocfi_generic https://git.kernel.org/kees/c/39c89ee6e9c4 [2/3] ARM: Select ARCH_USES_CFI_GENERIC_LLVM_PASS https://git.kernel.org/kees/c/1ed9e6b1004f [3/3] libeth: xdp: Disable generic kCFI pass for libeth_xdp_tx_xmit_bulk() https://git.kernel.org/kees/c/c57f5fee54df Take care, -- Kees Cook