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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 407B7CFA466 for ; Fri, 21 Nov 2025 02:09:32 +0000 (UTC) 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:Content-Type:MIME-Version: References:Message-ID:In-Reply-To:Subject:cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WHyOoJhkwc0dLiN8PVK6x+2klPbPMSxlqSrwJgtAi8g=; b=no0TmxvBtMiV7kYkCO+iUBrNE5 4B2KJ9M6q3n8qQ4a0Yce4RMuAkm0Z4EpTMST82y2K5QHNDRS7rwElp+zl10+tUrJz/qM+amOPThwI tOZrjEFUGmsfuBUi9ZVEA7frUfGrq0eTyus0s/zJZiMXHZfUFnQgaqCHke6P6SdWyC7ZS+ku9eJbN AmmbNsLBd2g+HPF5TvylnGyQNlf7GgXYL/l0w1DCHSjWYhKGK62ATdYqX8+ZUNaiFwCQLf/31itCg cAupOM7oS/latPUdIxM9cNsdNQ+FH4mLIolJheTymn0gIv+NcjOc3DEwo2WP2KQ4NAZigvO/duPYM AaGaHQ4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMGaT-00000007gCV-33UT; Fri, 21 Nov 2025 02:09:25 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMGaR-00000007gBj-35yJ; Fri, 21 Nov 2025 02:09:24 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 2282D4445F; Fri, 21 Nov 2025 02:09:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30026C4CEF1; Fri, 21 Nov 2025 02:09:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763690963; bh=Bz7xeF2JFxhA+tr4bBYKwtM1aze7r6fWJHliCqTnUpU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=j3dSOGzTqbCddJGVT5roKZn7ficPkxCfcZaQAbSHTo9ZEpPBpOUx6A+7D3iJGElrS xERwOpb0HglzyK+cyiMtdgu+xzC+v5c2uu28ifTlgYK2Oge6TJdh2knqdBtSef+qsa n4EASFxrLwd1zfxuHQhx80lddfRqlhkum8rXwIpnFiTVaQjEI29yJEKBIpe+M/FWR8 OLEfnFo43eLM03+3tVi64Nr+UnQNI7VzrHe31zP9rsXTL7AzLiKeGnBkSfiX1Gvg3X 9VJ4TWJNC3VVZ1aJwt1vadaOPQj2cIIv/pcsMPa30N8hKbqp7RTHENp04Ckbf6rwHH UvjI8iIQZXrfQ== Date: Thu, 20 Nov 2025 19:09:18 -0700 (MST) From: Paul Walmsley To: Huacai Chen cc: Will Deacon , Josh Poimboeuf , Catalin Marinas , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Madhavan T. Venkataraman" , Tiezhu Yang , Ard Biesheuvel , loongarch@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-efi@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] efistub: Only link libstub to final vmlinux In-Reply-To: Message-ID: References: <33612d85-e70b-26da-8460-ea6b9064ce08@loongson.cn> <421c08e1-255b-447b-b5e3-ee6544fbefd2@loongson.cn> <32s3lvzfu6jkyho7qenrqbsm5wkgjnzn2imdp6tfwycmyxpzgu@kg5367uxmxii> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1623710078-1763690962=:1910464" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251120_180923_817158_BDE0305D X-CRM114-Status: GOOD ( 20.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1623710078-1763690962=:1910464 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Mon, 17 Nov 2025, Will Deacon wrote: > On Sat, Nov 15, 2025 at 11:16:42AM +0800, Huacai Chen wrote: > > On Wed, Nov 12, 2025 at 2:00 AM Josh Poimboeuf wrote: > > > On Mon, Nov 10, 2025 at 03:00:00PM +0800, Huacai Chen wrote: > > > > > > > Changing efistub code and changing objtool (ignore __efistub prefix) > > > > are both workarounds, but I think changing objtool is a little more > > > > reasonable. Maybe Josh has different ideas? > > > > > > I thought the conversation had converged on what Tiezhu mentioned above, > > > which is to skip objtool on libstub for loongarch, but leave the other > > > arches alone. That way objtool behavior is consistent between loongarch > > > and x86, and objtool doesn't need to ignore any prefixes. > > > > > > So basically, the v2 patch minus the arm64/riscv changes. > > > > Hi, ARM64 and RISC-V maintainers, > > > > Would you mind that this patch modifies the three architectures > > together (they are exactly the same style now)? > > > > Madhavan is the author of ARM64's objtool, I think your opinion is > > also very important. > > arm64 doesn't (yet) use objtool. > > I defer to Ard on anything relating to the arm64 efistub. Reading the > start of this thread, it doesn't look like he's convinced and I'm not > surprised if it's purely an issue with objtool. Same for RISC-V. - Paul --8323329-1623710078-1763690962=:1910464--