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 13D69606A327 for ; Tue, 1 Dec 2026 14:15:09 +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=DMaPYMM2; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=JTNny3Um 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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID: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-Unsubscribe-Post:List-Owner; bh=zIIx6rQvbyc9Q1k+qZSwLSpK0MGzFFoWCPNyEvQmK5A=; b=DMaPYMM2XNBIfRBC4t9EXp/mfe 3PFYWo/kOTxHqsm+h4OMmA7yPpwa/CADHzT8+STvAoXlDdnwq8wuRen8nN7/Nm925qaZ8TXiVTm2v sVzlJ8FUGUkuVL0MG6hFbGeFgC5+xvlzNpxozjDhjuD+jAqbD1laAwjINp49KxcCHtxyLJeSXY4db dBesPWAz6fedNUBaTDr15F9e1viKQ8KCM2YlK6MYUe34sUONCgMkVJHI+RlxNGdPfespjkzrNVpWV 4DyM6SRLLkOUYMR6cvbCZIPtesBJ8gd4bXrwR9lr3XCR4UJvWkgMWBR0SnfJuh5YT79iYh0DFcIb4 KfAoojSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYOdG-00000008MnK-3sE1; Tue, 01 Dec 2026 14:14:58 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYOdE-00000008Mmz-2GHA for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2026 14:14:57 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EDB29152B; Tue, 1 Dec 2026 06:14:52 -0800 (PST) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B006E3F86F; Tue, 1 Dec 2026 06:14:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796134495; bh=JjQ76mNU3ZMX9BOux9o3aGSkd045QgeKaICvgQEkXRk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JTNny3UmAekweYPrIm7gyQ73EpJ0jNH6CO0YkjTVNWRzPPF0yA57Y+n08KRR47aAn d2qdy9tiLU2zj0INytO1EKnMS5C+ROASmy/t9+WH+pu9eK4mBdfjfiPEVW5CypJXN1 8LoW7qlyP3PrftVTEozutTbf1LOTL7aZIxAFvxuA= Date: Tue, 1 Dec 2026 14:14:52 +0000 From: Catalin Marinas To: Ard Biesheuvel Cc: Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, Will Deacon , llvm@lists.linux.dev, Arnd Bergmann , kernel test robot Subject: Re: [PATCH] arm64: Fix transient negative image size observed by the linker Message-ID: References: <20261130175121.1358891-2-ardb+git@google.com> <7ef4ec68-6fee-477c-a270-a3a0eae7bf50@app.fastmail.com> <638a6732-47e1-4efd-868d-53e13eaec4ec@app.fastmail.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <638a6732-47e1-4efd-868d-53e13eaec4ec@app.fastmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_061456_616351_3FBC2D37 X-CRM114-Status: GOOD ( 21.88 ) X-Spam-Score: -4.4 (----) 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=-5.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,SPF_HELO_NONE, SPF_PASS autolearn=no 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 On Tue, Dec 01, 2026 at 02:50:15PM +0100, Ard Biesheuvel wrote: > On Tue, 1 Dec 2026, at 14:29, Ard Biesheuvel wrote: > > On Tue, 1 Dec 2026, at 14:17, Catalin Marinas wrote: > >> On Mon, Nov 30, 2026 at 06:51:22PM +0100, Ard Biesheuvel wrote: > >>> This reverts commit dc0a08394804 ("arm64: Work around convergence > >>> issue with LLD linker"), which is superseded by this change. > >>> > >>> Reported-by: kernel test robot > >>> Closes: https://lore.kernel.org/oe-kbuild-all/20261129124345.eiR8unSx-lkp@intel.com/ > >> > >> Is this happening with your efi-zboot-elf branch only or mainline as > >> well? If the latter, we'd need a Fixes tag and cc stable. I'm not sure > >> what Arnd tested on. > >> > >> Your branch moves the INIT_IDMAP_DIR_SIZE and INIT_DIR_SIZE reservations > >> inside the sections and they depend on _end. IIUC, they become part of > >> the section size and moving '.' backwards is an error. I found another > >> report on your branch, not sure it's related but it looks like it's > >> caused by wrapped values: > >> > >> https://lore.kernel.org/all/20261120005637.8iy6yHZU-lkp@intel.com/ > > > > That just happens to be the branch where it was found this time, but > > it is not related to any of those changes. > > > > Arnd's testing should be entirely unrelated to any of this. > > I double checked: the randconfig from the linked report fails in a > similar way with v7.4-rc1 (but on a different symbol) > > ld.lld-22: error: address (0xfffffff882fb4000) of section '.init.data' does not converge > ld.lld-22: error: assignment to symbol __init_end does not converge Thanks for confirming. Happy to pick it up as a fix but do we need a cc stable and Fixes? There's the early 0370b31e4845 ("arm64: Extend early page table code to allow for larger kernels") which added this linker script dependency on _end. I guess we could also add dc0a08394804 ("arm64: Work around convergence issue with LLD linker") as we are practically reverting it (or just mention it in the commit log, as you did). -- Catalin