Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp498810pxb; Fri, 15 Oct 2021 09:45:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyL4Ywifbz65RB4KYJpdyP6lkpk5c2QpL5iMDhx5bme/UiIVkIsMAy597cf7kblctrrEj/G X-Received: by 2002:a05:6a00:23c8:b0:44c:d139:f3a4 with SMTP id g8-20020a056a0023c800b0044cd139f3a4mr12677007pfc.31.1634316341018; Fri, 15 Oct 2021 09:45:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634316341; cv=none; d=google.com; s=arc-20160816; b=N2ftJM1u8hzOaIK9GFoSheLgPhdrERQ2bZYCcacVd1/zvcRWW/677/jY4FDoWiAReA 8n4vh/dThV6JQ7sokk8EzGuv0WKwZtdvCD98oNMDBp9FfUf/kVQQy0Cxha2Y02E2iech Isa6LCayj2rq350O8WoFLpYdXYWPiTEy9A6dngw2hSv+4LCo3LUA3Rn/M24tfSuY5Kgd RVVzeayDeir2JaJ+xMapJGI5nUYGEs18//U3yEr26l4qEQjBz5GGhYMtnjCAz9pD96Rl oBgjD76Rcww1hgsNrbvWoVgg207kdvszrhA+IYziCYNEpjk0nrJzQG1jv1roXhJOtir3 Aedw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=TPfNODPX0JQcmFDw/17dlTHPOVv6ies9WiyXW3SxHi8=; b=iI0G0zxdpzTse8QLAD6bvd7/6Zf+WImHZFUY0GXvLj6D5AkGGPU+Y9h17hBbkZzazz 7lgRI20q87l+WtQG7SUZjgz3fetnuLOEEOEoIFZcCzV7u0pS2Xij7WMBzcqhQkCR9KMM Y3pc2l8+VkFtO4U3/xLXFVOfajye0bHHlIul9n2xWlrgiHE7Ztdvdf6LsOEi30bBo1JJ ym8tl2cPUJVLj5RsHPtFC8z2NC9i88VIXZjFA42v1aVis+GLtNJBfHBGBEonxhOxXTa4 /aO6lfXxOYMGKdZgMnzcTGAjd1eJIevOEWnqpsPzuNwVBkmJWEZ37qn+XUiHdg65XM0v D3hg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w186si8289276pfw.135.2021.10.15.09.45.28; Fri, 15 Oct 2021 09:45:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234744AbhJOI4B (ORCPT + 99 others); Fri, 15 Oct 2021 04:56:01 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:25192 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232271AbhJOI4B (ORCPT ); Fri, 15 Oct 2021 04:56:01 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4HW0Qh4lQ2z8tgb; Fri, 15 Oct 2021 16:52:44 +0800 (CST) Received: from dggpemm500002.china.huawei.com (7.185.36.229) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Fri, 15 Oct 2021 16:53:53 +0800 Received: from [10.174.178.247] (10.174.178.247) by dggpemm500002.china.huawei.com (7.185.36.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Fri, 15 Oct 2021 16:53:52 +0800 Subject: Re: [PATCH] acpi: arm64: fix section mismatch warning To: Lorenzo Pieralisi CC: Arnd Bergmann , Sudeep Holla , "Rafael J. Wysocki" , Len Brown , "Arnd Bergmann" , Catalin Marinas , "Marc Zyngier" , , , References: <20210927141921.1760209-1-arnd@kernel.org> <988fa24c-76d2-1c9d-9761-b356efb0576c@huawei.com> <20211013090254.GA9901@lpieralisi> From: Hanjun Guo Message-ID: <220f6cfb-80b1-44db-ce1d-462af5dbf74e@huawei.com> Date: Fri, 15 Oct 2021 16:53:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20211013090254.GA9901@lpieralisi> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.247] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500002.china.huawei.com (7.185.36.229) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/10/13 17:02, Lorenzo Pieralisi wrote: > On Tue, Oct 12, 2021 at 03:03:29PM +0800, Hanjun Guo wrote: >> Hi Arnd, >> >> 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/ > > My bad, we did not coordinate well - I noticed your Acked-by but as a > rule we should also CC LAKML and Catalin/Will (if they aren't CCed) on > the reply to make sure they can actually see it. It's my bad. I will make sure LAKML and Catalin/Will are CCed next time when I reply the email. Thanks Hanjun