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 B29F1CDE008 for ; Fri, 26 Jun 2026 08:22:07 +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:Cc:To:In-Reply-To:References :Date:Message-Id:From:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pRZU8ZxtOY0lRSxM6BMlawMDkS+1j8/GDNqwfO8SsKg=; b=DheH6/gOsSHj+taZF2bFE6Vypi SfK+Ts58bNy9BKUOkSeAzyY7CWS6z/iZB9Ku05HsO0LMM6y1pWQK4Om+UwXpwWs7SVaHgoMPexrz6 ulz5wlzR0aBKGEqtyBOciTwCdgq+3r5+0L8rLNihFaKo24fkgouwlPnNBBf7RsBmkNz0zQlrMYQ09 rlz+/mb18b+ZBG/0pUTYtAa5JdS67OpKq1ufw1toamJZBruQFSOQc5/N/oHUe7zdlRQrs5vcPJ5tm o/vuNavALolRF5fuP94nxJ49I6lGsCWfmqKcbPY7WQP1SMfBNPiv67Mdb0Vr0pCMTM/NUrMZcQh0z 1UN2Xr2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd1p2-0000000Aobe-3AZV; Fri, 26 Jun 2026 08:22:00 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd1od-0000000AndQ-2Fi6; Fri, 26 Jun 2026 08:21:35 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id A4CA760128; Fri, 26 Jun 2026 08:21:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57AFA1F000E9; Fri, 26 Jun 2026 08:21:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782462092; bh=pRZU8ZxtOY0lRSxM6BMlawMDkS+1j8/GDNqwfO8SsKg=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=JWge7yFEcbX5HwC56y6lJf82j8Qk7JIMft0JYjUFwoHLpfWA1I/XbHyXRsjxqH6fe iiTgFW97grIaqYBEx5xGC8Qb5IbWkTAqcb1DWY/TU5mctuDGkrBuEx/2n3stAx16QL mjeKr/CBa3E82xT0SrvsZCLzntztblL6BM8FP8OJGMWziXGpW+UgSKCXitpYcVO7mJ oaiNsiDDD8n180AH0CE37p+mIYqquF392JM6XCpfT9C4VdlcPpeY+1vOfDzbBE+p4f RyyKGEkTgnQdrkh09X+lFxp1hMLp+yGd0p8pNyA1wkj0gSctO4CT27ILMbDDCydUxA fzjBJEGL89sSg== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 938F739389E8; Fri, 26 Jun 2026 08:21:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH 0/4] module: force sh_addr=0 for arch-specific sections From: patchwork-bot+linux-riscv@kernel.org Message-Id: <178246207923.3816447.7091870447864059948.git-patchwork-notify@kernel.org> Date: Fri, 26 Jun 2026 08:21:19 +0000 References: <20260327080023.861105-1-petr.pavlu@suse.com> In-Reply-To: <20260327080023.861105-1-petr.pavlu@suse.com> To: Petr Pavlu Cc: linux-riscv@lists.infradead.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, geert@linux-m68k.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, samitolvanen@google.com, alex@ghiti.fr, mcgrof@kernel.org, da.gomez@kernel.org, atomlin@atomlin.com, joe.lawrence@redhat.com, linux-arm-kernel@lists.infradead.org, linux-m68k@lists.linux-m68k.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org 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 Hello: This series was applied to riscv/linux.git (fixes) by Sami Tolvanen : On Fri, 27 Mar 2026 08:58:59 +0100 you wrote: > When linking modules with 'ld.bfd -r', sections defined without an address > inherit the location counter, resulting in non-zero sh_addr values in the > resulting .ko files. Relocatable objects are expected to have sh_addr=0 for > all sections. Non-zero addresses are confusing in this context, typically > worse compressible, and may cause tools to misbehave [1]. > > Joe Lawrence previously addressed the same issue in the main > scripts/module.lds.S file [2] and we discussed that the same fix should be > also applied to architecture-specific module sections. This series > implements these changes. > > [...] Here is the summary with links: - [1/4] module, arm: force sh_addr=0 for arch-specific sections https://git.kernel.org/riscv/c/ffe1545ce8a0 - [2/4] module, arm64: force sh_addr=0 for arch-specific sections https://git.kernel.org/riscv/c/c5553deb577f - [3/4] module, m68k: force sh_addr=0 for arch-specific sections https://git.kernel.org/riscv/c/9cb4d4dc8227 - [4/4] module, riscv: force sh_addr=0 for arch-specific sections https://git.kernel.org/riscv/c/04e17ca3f77e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html