From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796134496; b=wTamf5n5jUjT8bNDu0MKM8YcQ8mS/Y3K+yLU8L188ffxP+x5q/wTKLzAAq64evrb8iMn au3L/ivo03v9wD9HmD+lpZHW6E2b3voUwNsCg+zXgUR2lTWMHWk5QhtfolQLrjdl9/Zus EABXo1OGcRDjOjfujD2pdYxrVd11sXD+EsYq+uzyEgYmI+99hGMb93ornUT4mMMYESuN2 mnWslh8lPyImGQpUqDVnr5aF/JQXDx1hGkOX19k6BFBUoWofgo5Onj6hM4I212RzSYV9A 8gEpD+qr75FIwDEwdYHY6VBvFvaCo/JxwFsC2WwkbSuDBUzSF9xtm/qPgZLOf9hqdmw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796134496; h=DMARC-Filter:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=zIIx6rQvbyc9Q1k+qZSwLSpK0MGzFFoWCPNyEvQmK5A=; b=DDGQGpW3T6Rp0LNU/mVnV7jffGaYyvMlhoV4XHqlaIvsIJNV5HitxNOnJF5U5Uu70W7T L3x46m/quMbATMhjHsJAF1GcGEDyHqsJZmwdslyonjxBcpQBpK9SYXghUEGt8FPfHl4M4 isYkve3DDstw+L4c6GRTdyEHXEvBNGACDZ0UwdY3LnGMn10XXum6/ipVLx5Od/tfCLpMD jGzTcuy/KHx0zwN43Tlz+11pxV+eRObwF1CoQVUwww74612tU/Nj+vBFV2AAbieboPFyD DhrkAB7jKk8Ylltm6NtaKbJ0TPAD49R7kpYstwuUNTrNvnwus/RCDF6YLurfQ/ULLZg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=JTNny3Um; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81B04606A32A for ; Tue, 1 Dec 2026 14:14:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 81B04606A32A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=JTNny3Um 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-Mailing-List: llvm@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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> 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