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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45505C433FE for ; Tue, 12 Oct 2021 16:47:58 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1234860295 for ; Tue, 12 Oct 2021 16:47:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1234860295 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=suJTWCeXSefoOu6TUKNJLnOxGfkLDM6vU/c/vZgl5Ps=; b=3+FQg1QUK8NeaG sQIkQhdS2vXIdkPCfEDvDnygODoNbf9PYg75V6wGHPwAFLgIJVRXNKnYmBd/W2SOFuHA3TCMTqh5l fo+0jGVWOk0XBPLxixut8WmjuohaugMPCVi+1cUxkI7YFQjQY5WaQN/BOWf4TYrNu/6HOuXlCzsjK zTRN5pcyi6FR8HKC1txxt6fY3IIVJKDCHEA5W7956hfm9wrEFqWE+mKy6BFdWUs3XP0GKzcJ6+D8u ILCWD8azrXj0oIz/9ZyYEac3q+6bOUVhfjYMVFifhqKIlaLnC5XSb0akfynS2L74VH45gOQIIC5jC +JfIKRtV5CQpJQDRqpng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1maKuN-00DY0n-Af; Tue, 12 Oct 2021 16:45:43 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1maKuJ-00DY0E-0q for linux-arm-kernel@lists.infradead.org; Tue, 12 Oct 2021 16:45:40 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D801A601FA; Tue, 12 Oct 2021 16:45:36 +0000 (UTC) Date: Tue, 12 Oct 2021 17:45:33 +0100 From: Catalin Marinas To: "Rafael J. Wysocki" Cc: Arnd Bergmann , Hanjun Guo , Lorenzo Pieralisi , Sudeep Holla , Len Brown , Arnd Bergmann , Marc Zyngier , ACPI Devel Maling List , Linux ARM , Linux Kernel Mailing List Subject: Re: [PATCH] acpi: arm64: fix section mismatch warning Message-ID: References: <20210927141921.1760209-1-arnd@kernel.org> <988fa24c-76d2-1c9d-9761-b356efb0576c@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211012_094539_101927_9EF43D21 X-CRM114-Status: GOOD ( 19.27 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 12, 2021 at 04:16:09PM +0200, Rafael J. Wysocki wrote: > On Tue, Oct 12, 2021 at 9:20 AM Arnd Bergmann wrote: > > > > On Tue, Oct 12, 2021 at 9:03 AM Hanjun Guo wrote: > > > On 2021/9/27 22:19, Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > > > > > In a gcc-11 randconfig build I came across this warning: > > > > > > > > WARNING: modpost: vmlinux.o(.text.unlikely+0x2c084): Section mismatch in reference from the function next_platform_timer() to the variable .init.data:acpi_gtdt_desc > > > > The function next_platform_timer() references > > > > the variable __initdata acpi_gtdt_desc. > > > > This is often because next_platform_timer lacks a __initdata > > > > annotation or the annotation of acpi_gtdt_desc is wrong. > > > > > > > > This happens when next_platform_timer() fails to get inlined > > > > despite the inline annotation. Adding '__init' solves the issue, > > > > and it seems best to remove the 'inline' in the process seems > > > > better anyway. > > > > > > There was a patch to fix this issue as well [1], > > > but not merged yet. > > > > > > [1]: > > > https://lore.kernel.org/linux-acpi/7f29a149-e005-f13f-2cc4-a9eb737107e1@huawei.com/T/ > > > > Right, either of those patches should be fine. > > > > Rafael, can you pick one of them up? > > I can, but arm54 ACPI changes go in via arm64 as a rule. Queued as https://git.kernel.org/arm64/c/596143e3aec3 -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel