From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b2-smtp.messagingengine.com (fhigh-b2-smtp.messagingengine.com [202.12.124.153]) (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 87A6B346770; Mon, 18 May 2026 07:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.153 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779090551; cv=none; b=TZh24yNHaz+TZKDdjA+VsJ9JGoKsiaKbZveZJQEkjLbDNEE5vjm/NSfgLIF2SN2bGoOnPV8j9s9fSA8tmaCBtjPUPXHilSY5EAJuNYSmb40iG8SPBu/iSkzi6gv0NwIv+m9ugvWLNuJENbK970ks0c4jiPvEpRIGOIJcXTL4O4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779090551; c=relaxed/simple; bh=ni66H/HXr0umGNjhD/kth7RF0nubzm0rW6EGgyR/pus=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=rRgN/O9D7vbue/GEXKW/cRv/ZJm5kde2Gub9RiA2SzS+O6FMPrds2aOpgzvyAIwXXJPVvvm2duemRZ4k+qA9HFx9t6vwxPmJKFVsQcHEGiQh220cnvZCFZ1TyOC1AaUKGYoguSpqbPE0M8qhkOWm/BRJSblJFsHNrFQOrmY5wLY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=DCrjwSSn; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=XRwCoXAP; arc=none smtp.client-ip=202.12.124.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="DCrjwSSn"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="XRwCoXAP" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 5EDC77A007F; Mon, 18 May 2026 03:49:08 -0400 (EDT) Received: from phl-imap-05 ([10.202.2.95]) by phl-compute-04.internal (MEProxy); Mon, 18 May 2026 03:49:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1779090548; x=1779176948; bh=825z3tcv64EKbJtcUvuJYFiBQTsyBbCrWpsHI1IqtBU=; b= DCrjwSSnV0LyndbKDWhyPXEj5Mivi7N+fm/SgL90OShNC8DrdxhfuaYGd4E4N6HJ qnWmCu4M7ymXMA0Dy0D5uo2idXRdaqJf2ime2N+6O6ZpX7CzoPytZhjUpzTFj7Ph uQTXHBhW4cyLx4CBweZGBoYNUlARevP5v3WOPrzoPe1Bty+GCfkmGjiEX/uhHvhx pKYoZLbtVIFFg8bngCKx3pCGLDsQGy8vBe7VtHSVEvNViUbMhpdEfirrWnV2h+8Z APOMgi+H9UlJeXiML+JQRhsvBaLMldlkO+Nu+05YmesPL6IFb+QyNFJ0hyHGeQaT k+8/mOq4USyS84I2QPQSRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1779090548; x= 1779176948; bh=825z3tcv64EKbJtcUvuJYFiBQTsyBbCrWpsHI1IqtBU=; b=X RwCoXAPA7CdW4xROBXsUBAdSKLtpuJa/QAAwS+2RuaIMc4RCKP4B9FzQIs7Ynf6V W/+7T4aWGbl8KjRspxqWXNd+bzXizsSdC9CZDPyFLwXwLySha1MDUojZ+m+onfUf oszAOVkWdMmO4tVPTHsxtCSu8JVBkec146Kxpz2f8hZxTvr7pUDoGQLjwa38Sael nZGxajb/8YyBt2FbtqUJAPjonnVgVPaZ54Y/f1xbvLVd5fCqq3rINUzQXYHbl522 CWAcuMxjOu7LUDQfrHof7sEvhPrqhbo53BJpO5GtWkhyJdbOcHcz3M7w+HDZ7Tst lANnR43eikw4Wj/tdw6BQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddufeekfeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehrnhgu uceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrthhtvg hrnhepgefgjedujedvieejgeelgfdthfduffeiteefudeghfffkeejfeehtdejfeejteef necuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpegrrhhnugesrghrnhgusgdruggvpdhnsggprhgt phhtthhopeduvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepnhhitghkrdguvg hsrghulhhnihgvrhhsodhlkhhmlhesghhmrghilhdrtghomhdprhgtphhtthhopehjuhhs thhinhhsthhithhtsehgohhoghhlvgdrtghomhdprhgtphhtthhopehmohhrsghosehgoh hoghhlvgdrtghomhdprhgtphhtthhopehguhhsthgrvhhorghrsheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepkhgvvghssehkvghrnhgvlhdrohhrghdprhgtphhtthhopehnrg hthhgrnheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepnhhstgeskhgvrhhnvghlrdho rhhgpdhrtghpthhtoheplhhlvhhmsehlihhsthhsrdhlihhnuhigrdguvghvpdhrtghpth htoheplhhinhhugidqhhgrrhguvghnihhnghesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id CBEFE182007A; Mon, 18 May 2026 03:49:07 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AEmuO4rsN4-N Date: Mon, 18 May 2026 09:48:47 +0200 From: "Arnd Bergmann" To: "Nathan Chancellor" , "Nicolas Schier" , "Bill Wendling" , "Justin Stitt" , "Nick Desaulniers" Cc: linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-kbuild@vger.kernel.org, "Kees Cook" , "Gustavo A. R. Silva" , linux-hardening@vger.kernel.org, linux-security-module@vger.kernel.org Message-Id: <55186588-0cff-4908-923a-d5611707a3b0@app.fastmail.com> In-Reply-To: <20260517-bump-minimum-supported-llvm-version-to-17-v2-2-b3b8cda46bdd@kernel.org> References: <20260517-bump-minimum-supported-llvm-version-to-17-v2-0-b3b8cda46bdd@kernel.org> <20260517-bump-minimum-supported-llvm-version-to-17-v2-2-b3b8cda46bdd@kernel.org> Subject: Re: [PATCH v2 02/16] security/Kconfig.hardening: Remove tautological condition from CC_HAS_ZERO_CALL_USED_REGS Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, May 18, 2026, at 01:05, Nathan Chancellor wrote: > Now that the minimum supported version of LLVM for building the kernel > has been raised to 17.0.1, the '!Clang || Clang > 15.0.6' dependency for > CONFIG_CC_HAS_ZERO_CALL_USED_REGS is always true, so it can be removed. > > Reviewed-by: Nicolas Schier > Signed-off-by: Nathan Chancellor Acked-by: Arnd Bergmann > config CC_HAS_ZERO_CALL_USED_REGS > def_bool $(cc-option,-fzero-call-used-regs=used-gpr) > - # https://github.com/ClangBuiltLinux/linux/issues/1766 > - # https://github.com/llvm/llvm-project/issues/59242 > - depends on !CC_IS_CLANG || CLANG_VERSION > 150006 > Maybe add a comment to mention that this now requires gcc-11, that way we have it easier to remove the check when that becomes the minimum version. Arnd