From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F26B8CCF9E0 for ; Tue, 28 Oct 2025 17:52:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9CD5D60704; Tue, 28 Oct 2025 17:52:53 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id o7GIVBs19wMm; Tue, 28 Oct 2025 17:52:52 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D4990606F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1761673972; bh=kGqgCqSj4+eDurNR5uOg2tNpRaSUEQfF3D2HFe5YavY=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=31hKdDe4lPm/H+H54+gwszLGRzbAlV+EzGzI3BQlNZMIt6ddULl7IusjJMcqiicUj IUFmDBqAcX0IffI9EEMeh7Oa3TuXaL+EZ0/euExNPfsat2vxQmIw4UUuItrMWcxVc4 +JnK17tP1rXK147sQHl2EDX1PEKhkwD2X1ElidiLef26erpgbXTP8EOAxTi2aEphsY xdEa6BvTonbSlqN6O5DXlnCVh480ZGXka+p0L7wm+FbUiRGo4SJjkfvVKKkd5MEEsx fjdPnlwL0cwoDDWt06XkVrCeJ8WX3zNQPSMeU8qDdSlK1KsNLoFBpy7YMFGWLIGKaF St/wPHfB++rpg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id D4990606F7; Tue, 28 Oct 2025 17:52:52 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id 5F79C22F for ; Tue, 28 Oct 2025 17:52:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 50C1B80E0E for ; Tue, 28 Oct 2025 17:52:51 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NWuFBG9Xu1kQ for ; Tue, 28 Oct 2025 17:52:50 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.252.31; helo=sea.source.kernel.org; envelope-from=nathan@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 6C2F580E0B DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 6C2F580E0B Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by smtp1.osuosl.org (Postfix) with ESMTPS id 6C2F580E0B for ; Tue, 28 Oct 2025 17:52:50 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 1DAFB449B8; Tue, 28 Oct 2025 17:52:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F24AC4CEE7; Tue, 28 Oct 2025 17:52:45 +0000 (UTC) Date: Tue, 28 Oct 2025 10:52:43 -0700 From: Nathan Chancellor To: Linus Walleij Cc: Sami Tolvanen , Kees Cook , Alexander Lobakin , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Nick Desaulniers , Bill Wendling , Justin Stitt , 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 Message-ID: <20251028175243.GB1548965@ax162> References: <20251025-idpf-fix-arm-kcfi-build-error-v1-0-ec57221153ae@kernel.org> <20251025-idpf-fix-arm-kcfi-build-error-v1-2-ec57221153ae@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761673970; bh=Moq064DwQdSS6qTOYeb42y6SY5Kr7+VDV6iVv9m8xBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jcqim24vkU/lNUAwQO+ySvG//0jPahaWXHXgAox1AfcfBdPxJPT3NTHoljAfIQYGt MaBdO4/AgJqqdZ1woP/x1NfOVWC8yunhevd9di6JM/iv1H0gJ6eqPQxFXzoUHGJ04D scy+VnPKywP5ILoZhGpWVOIRAO5XcBMvpBvKhPZDzpq2NhBpAuqqbUUowFnp8a96KC 4rlVUHFdp71lSRoL2i/I5XpYnhYsLp/3LnWR1D0bbTjC0rcdQNHh9Sjo+1WtXiSX0P yVN+0IeIxy/79PMPodDKBtZBZNCwUeLSgW2NbN9RZOlwk167bZu+8Er41Ugle2BBsI Z3n/fBO32uYAA== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=jcqim24v Subject: Re: [Intel-wired-lan] [PATCH 2/3] ARM: Select ARCH_USES_CFI_GENERIC_LLVM_PASS X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Mon, Oct 27, 2025 at 11:56:21PM +0100, Linus Walleij wrote: > On Mon, Oct 27, 2025 at 4:54 PM Sami Tolvanen wrote: > > Instead of working around issues with the generic pass, would it make > > more sense to just disable arm32 CFI with older Clang versions > > entirely? Linus, any thoughts? > > We have people using this with the default compilers that come with > Debiand and Fedora. I would say as soon as the latest release of > the major distributions supports this, we can drop support for older > compilers. Okay, I think that is reasonable enough. This is not a very large workaround and I do not expect these type of workarounds to be necessary frequently so I think it is worth keeping this working if people are actually using it. That means we could mandate the backend version of kCFI for ARM with Debian Forky in 2027. Cheers, Nathan