Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2471127pxb; Tue, 12 Oct 2021 07:19:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz9jlYsrNwzQBXTkvSjS4ag8WRvWHsFMnuCoHMzijE5lLIwBSZaBwYqej5WKPB+0/SCUnX X-Received: by 2002:a62:5209:0:b0:44c:68a7:3a61 with SMTP id g9-20020a625209000000b0044c68a73a61mr31705560pfb.83.1634048380750; Tue, 12 Oct 2021 07:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634048380; cv=none; d=google.com; s=arc-20160816; b=iYkPwwXQuKdt9WTflj2sulBtPgbKtmIGyvNMGrTnLxV/bGZrGLwUU/WyqSpQPkMNfa 32hTbPWlSmVu2wq6LqaxorZad+scspZVic71gtaeOaNspf04rhxvNShp4n6lX5BV2E5J GonW/W3/8jmhWJVPujSFPuvWwUugE74zRmhP5gwR/AMddQx26mb/5KGUQaibmg/T7BAN mjUv3qZBUJQ150V+jAfxmCU/x/QHvLDKtlJxcDokoNtJu3c/Fz1GwBLY9cIfOa5K7IPH RjccRbY6203L6P1LSATC2lYaohbcPtWya7RDV+EzQsJaropAxDSpIac3rt7msLfYRkZT tbwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=i1B87BplSibMGB0bbHJxKqA5PDx9ieQTn2OIC9YZDmo=; b=AID2VrYAp2jmqCpq1H1vfSQ52SLqentBRmwTx4cWFB1cw5OdqKRJUBPTza1E7s+Bhe gzA/7c46ZQmfJQHv2UQ7Y7VfGOAZG9J6m/+fbXA2P0PnZT1Fs772pBugXi2+qKR9Vx1a MQVPy8BKtTrP4IupedOCBDw+zSOl1b6p45txD/lhxWr3iH52abpZ9qVw0ju8d85njo5+ Ohy2UQ29XW34ZHs/9yI4Is4ks/olXRKTCRYzhs+OPQEV259dwhuV6vj2hlQP4Wvd9OPQ m8/EmT5d07uWb4touAgr664WtH0YUICLuyTZUQY0OWmnASDqIeKT3FkjY1k+IgXNGF5r c+Ig== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si3779900pgb.254.2021.10.12.07.19.26; Tue, 12 Oct 2021 07:19:40 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237108AbhJLOSW (ORCPT + 99 others); Tue, 12 Oct 2021 10:18:22 -0400 Received: from mail-ot1-f42.google.com ([209.85.210.42]:35348 "EHLO mail-ot1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237015AbhJLOSW (ORCPT ); Tue, 12 Oct 2021 10:18:22 -0400 Received: by mail-ot1-f42.google.com with SMTP id w12-20020a056830410c00b0054e7ceecd88so8188957ott.2; Tue, 12 Oct 2021 07:16:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i1B87BplSibMGB0bbHJxKqA5PDx9ieQTn2OIC9YZDmo=; b=E7G+d221KsQ1HLBpUYgS86TO9xGhsdQtf7WzHxQzuv6jT1qCq/yQdz8T+Xxo3XrnUm w2xYprVzwOnyHgjxDJIju+N0btlSzeepL0rwJ88KsotegbZz1jXYPZEUVaQK6cU2LKLP Zq39OfFsLT3sWzvBCe4kXERghOb+p8bIvrDuD5pHOYlR6Uh42TWlevD6517gFMWhOs7M 4re6++Z5j1kHYmG8wuRhep22U4sTqFneZHqhSto6WrxatftjyKapyKf87PqgCFG9rUFn fL9rPSN76wFKKKrHHHJqnF/5I/zN4uw8Qkf72LzV5o4Qwi9Idp21QzLkqqOJr6IyQiy2 1x6w== X-Gm-Message-State: AOAM531l9tyO8PecdU62Qr4VQOz/8Ux7f6NJMyrktaJUcqnRBohCUEYF qjvIv44p2u9/Od2Hyv+I+dzuB+rcrdLpUAvhH9s= X-Received: by 2002:a9d:2f24:: with SMTP id h33mr26652764otb.254.1634048180284; Tue, 12 Oct 2021 07:16:20 -0700 (PDT) MIME-Version: 1.0 References: <20210927141921.1760209-1-arnd@kernel.org> <988fa24c-76d2-1c9d-9761-b356efb0576c@huawei.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 12 Oct 2021 16:16:09 +0200 Message-ID: Subject: Re: [PATCH] acpi: arm64: fix section mismatch warning To: Arnd Bergmann Cc: Hanjun Guo , Lorenzo Pieralisi , Sudeep Holla , "Rafael J. Wysocki" , Len Brown , Arnd Bergmann , Catalin Marinas , Marc Zyngier , ACPI Devel Maling List , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.