Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp935137lqc; Fri, 8 Mar 2024 17:15:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXCMxEXUlH88Qz1CyiRee5xKDk97pqCHqpjg2gXWdYbUbyGHyvTwgZ4BCdYuV0L6aoTBjuvJkrdK4VcDP+ZymrLzRT2dcEdn7/mXxIfcA== X-Google-Smtp-Source: AGHT+IEy7IAMeLZf5T8qIRq0jELLk9iC9bP5Vyvp1kTgE7vhJ1wKecK4VyRlODQX5ecPSb6gYbUA X-Received: by 2002:a05:6a00:2d8f:b0:6e5:ea19:bbcb with SMTP id fb15-20020a056a002d8f00b006e5ea19bbcbmr798160pfb.5.1709946909134; Fri, 08 Mar 2024 17:15:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709946909; cv=pass; d=google.com; s=arc-20160816; b=Zt92x1bFCErJo1BSofjZgS/g9oXuyINP6b1zc5+E4NIKXZLnJTf/paBgvzXmajG5Tl IQK6MYHb/FYQjX7JQzTBFCZdwlV5jyDe61WyN9Ww5md74FZqRhvOV1JgexE+1iGDuZu5 mkcwOiBbHLwzh22VVj2mccHB4AFy3bWydpHgXtrb3+3isZ9JloLFLdhuRHcXBw6TiRWd Gek08IV/xeWKA6izufWUhl/QKRZzGuSbHsGTQwrYLtV/aMyXjYeQ2giwgCt/I4b88dfZ Zrr9srKopgWDp3QF1GddPuIpDgnaUY8806X1Zvd+qZjNBpFPF8SDqLoOo86pwEHNli6D g11g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=AtLoa8zacGc0oIyeREeKHPcnZjoGrtMtwWVKHTle0wI=; fh=m8iJwELFrgNUsmmH4r4oDPgzxA+k3+EqsKNiWrzmOZc=; b=jA/baYKR9ZNm9i+4l3uQbUgjgIwvoSKPffzDQHPskDFiO9wuVE1/tRICBLpoJ7LDrm 4p8Cfx53w4+hJdS7AcFZZBRVBxgo77ig8kzq9yCsnmEbeC7aL/bYPLEAGp3NhVgLvus5 in1PvH1p5eEq32155S+6X/7z+HL1gqjng4wpRd7EbEMj8AGqNqStbDIEEKRN7CkfihbB N4hKUCJAJ/xHCwtM0cQ1ta/+00IUNqdhIJ9JduQdPc7KVNz+TOiKlnXNgGZz5qR2b8TT k/j+Lc1/TX3Wq+3TnAa81wyld9f08RngT2rmR9bf7+K8pNO0df9+snarzGZhyVJtZQjr CZuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=Agh3+Jvo; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-97624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97624-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ka33-20020a056a0093a100b006e509a10e22si583363pfb.203.2024.03.08.17.15.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 17:15:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=Agh3+Jvo; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-97624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97624-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 19349B21240 for ; Fri, 8 Mar 2024 22:09:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA69F5FDCF; Fri, 8 Mar 2024 22:09:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="Agh3+Jvo"; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="I2qD65yd" Received: from mailrelay1-1.pub.mailoutpod2-cph3.one.com (mailrelay1-1.pub.mailoutpod2-cph3.one.com [46.30.211.176]) (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 D85EC5FBA3 for ; Fri, 8 Mar 2024 22:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.30.211.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709935768; cv=none; b=GBELePV5mkNqZZCpCbU3qsE4cZOjsXZc7FR7rcAVqDv/C70L+l+idQ72HuR/EBFm4X49Wo0ZlFQHJTU87G8b+6gFdJYa9jmZPIi6JMySFBfAAi99q50b/EztdAYd5gyjT8YSUaVkWJAs7d1GijtszHWQILE/rhj9YHHtpLi8reM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709935768; c=relaxed/simple; bh=834qs+3joZCkbp+FMZGEpLkV7x/MjBrhqaWUUY7wOBk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dt483qEw+u9PxY7sjB2mcaP4C/S/cnUjwNFqvPSOOAtujC/IGJGrKfUXa+0eC/yzBDVt/lUwrEpcROarCG3Vll1wrqVHwEsJkGsukzxHtG3CZiGBgH8PLaLPh9sP0eskRw/GnhYf7C+5zaxxSfk733Q794Ml79MSZBjtR23PIbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org; spf=none smtp.mailfrom=ravnborg.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=Agh3+Jvo; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=I2qD65yd; arc=none smtp.client-ip=46.30.211.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ravnborg.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=AtLoa8zacGc0oIyeREeKHPcnZjoGrtMtwWVKHTle0wI=; b=Agh3+Jvoz+GCNvC+CwlKqVzOUVZ1Z9OZCQraAVQjni7waNpR2PTEc2tUUIXWuIM3HZMcWyxZuF6gK pSpsy6SH0oEXcZBi3VsSzW8iuuJBnHo5TlAiGhCDJlIjT06tFIhS/313awg/JDjy4feI2CZ4cmcfem ds8iBFwfT92aEJGHLBe16ZqdLKKmgeWAPRdUtzHhpxvlUC8XyZRVbgoisaBOd6tMWkzNSZVBZNucJs wrUKZ28IBFPtyTRWJn47jCJw3VMZJoEopRdxRDHGPWhh9D41O+ACJRqM7pbl0BrXuODjcPF+cpVicp KYqMr5rJFoI5P74pSEkTqWJtLNXhINA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=AtLoa8zacGc0oIyeREeKHPcnZjoGrtMtwWVKHTle0wI=; b=I2qD65ydnGFNH7+ZYpW9viE8IvI+NRbisMLG42LjFddJ35JUBJgBAYWASxJzwt/4ETuUou7GLNoHR xyl3y+jBg== X-HalOne-ID: 5a44b079-dd98-11ee-83ef-516168859393 Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay1.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id 5a44b079-dd98-11ee-83ef-516168859393; Fri, 08 Mar 2024 22:08:13 +0000 (UTC) Date: Fri, 8 Mar 2024 23:08:12 +0100 From: Sam Ravnborg To: Andreas Larsson Cc: "Maciej W. Rozycki" , sparclinux@vger.kernel.org, Randy Dunlap , Miquel Raynal , linux-parport@lists.infradead.org, "David S. Miller" , Arnd Bergmann , linux-kernel@vger.kernel.org, Arvind Yadav Subject: Re: [PATCH v2 7/7] sparc32: Fix section mismatch in leon_pci_grpci Message-ID: <20240308220812.GA4091237@ravnborg.org> References: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> <20240224-sam-fix-sparc32-all-builds-v2-7-1f186603c5c4@ravnborg.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Andreas, On Thu, Mar 07, 2024 at 07:20:11PM +0100, Andreas Larsson wrote: > On 2024-03-05 16:06, Andreas Larsson wrote: > > On 2024-02-24 18:42, Sam Ravnborg via B4 Relay wrote: > >> From: Sam Ravnborg > >> > >> Passing a datastructre marked _initconst to platform_driver_register() > >> is wrong. Drop the __initconst notation. > >> > >> This fixes the following warnings: > >> > >> WARNING: modpost: vmlinux: section mismatch in reference: grpci1_of_driver+0x30 (section: .data) -> grpci1_of_match (section: .init.rodata) > >> WARNING: modpost: vmlinux: section mismatch in reference: grpci2_of_driver+0x30 (section: .data) -> grpci2_of_match (section: .init.rodata) > >> > >> Signed-off-by: Sam Ravnborg > >> Cc: "David S. Miller" > >> Cc: Andreas Larsson > > > > Could you also add > > > > Fixes: 4154bb821f0b ("sparc: leon: grpci1: constify of_device_id") > > Fixes: 03949b1cb9f1 ("sparc: leon: grpci2: constify of_device_id") > > > > for these fixes in your v3 of the series as well as CCing stable? > > I'll pick up the whole series apart for the ZONE_DMA removal, so there > is no other need for a v3. I can add the Fixes lines to this one, if it > is ok with you Sam, or take it as is. I did not verify the two fixes lines - but seems legit. So would be super if you add them before applying. Thanks for picking up the other patches, we are now much closer to an all{yes,mod}config that can build (but not link). Sam