Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp911900pxf; Wed, 7 Apr 2021 14:53:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzknr/5JJ+9UG+NJ8VEJ1trh0r6Fv//OFwrUdj7wbE8JIqjjoNTZQaYDW0K2EqhO74+rZSR X-Received: by 2002:a17:906:7150:: with SMTP id z16mr6129166ejj.103.1617832394309; Wed, 07 Apr 2021 14:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617832394; cv=none; d=google.com; s=arc-20160816; b=I75Yxza+GuCQBP16dGazovcpbY9bqNOnVnVYFhlyETMvR4RyBU8VIcj+FeSN4I9k2i DXptDZFR9Y19bOw7uTcsZhd29kGG8bHartrinCCv2kn1LSY9jxFkEkPtltVhBlQwMVoG mwcSPV41tkj+tGDCGyemrZ0KbrBWlrPs91KvlE6sQ4Gay+oBG9ezGNvn+e+ZeKAIyfOY ofR338Db8P9aIxY0j1IBciXe2kid89bUuAt+iCofZMEvWJbFjo+uxPE7NsXMamjsI3GD WajrDsERSXxIgxKzh4rSBXop1JwXKaeLUYsisboO8I0pbBz+6Sp52jiI/K/RpLY9+Q+S sUng== 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:dkim-signature; bh=7v85mQ+wtX28y60W6Yh/bCq1NAVwGeh0wdXBOI+Eck0=; b=QqLMgMT1reY6ZAEcDQ8OfZho5CaGiLt0vEXHMTU6qCV/pHh9R1OYFFs9uJyUCQgYYK IBdyeVDHmn+f9WHV6JpzSp59B+EOGzV+kwRnJYlt53EkVoWN46CyWt1XALFgYPYvgxll v9Lg+PMZXmHaC/h4EXoRKm4pw1bmeqUpS+YF2B5tHJLzKZXydXgXue7xrx9wPQv0gi9v uaGQzphjKJCSEt3jzsPxCOHubp8IToMuNKNV5ZCbdW1+4CyiVdm6MUyrS3LWv10N4+rH LBwgDlyjKcimDEMXleMk+szFdox0WKXGQ7E4myBAXTKdHtfCnLhugH155oPChklyrOeV M2dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kBjNpFLv; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c21si1384988edv.530.2021.04.07.14.52.51; Wed, 07 Apr 2021 14:53:14 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=kBjNpFLv; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355366AbhDGS2k (ORCPT + 99 others); Wed, 7 Apr 2021 14:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355341AbhDGS2b (ORCPT ); Wed, 7 Apr 2021 14:28:31 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EDA2C061762 for ; Wed, 7 Apr 2021 11:28:21 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id b14so30055713lfv.8 for ; Wed, 07 Apr 2021 11:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7v85mQ+wtX28y60W6Yh/bCq1NAVwGeh0wdXBOI+Eck0=; b=kBjNpFLvTW7D/TPumXhvrHDqFsUPNEwDiS+AlqiuO4r7zXc9cgGhNChd78+5WzX4c8 yDCoH/37LeKlqj/o4DxbSk2laYG46ruE+Xk3bROAosBDHNEhkvfG+JcHMd0sBqaDU/VA 8r6Ycavg+pdSiM9MwvhTMWTj+5D7PKd5GIb6aONAGR0HkInO4pvDeNnJUWCcBZOpeM84 SFMX/7T2NntN1Z+5PJVWzLHsdRCDQICLo/Tev2QQrntC7y2NeN2WOIIOLkW5EBuWvaJZ MO7OVo/azfhZUNHfw977NNxRUnVltb590RsT+CpmOIcvpekSK64W3KWFDle6YhApaWs2 x+kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7v85mQ+wtX28y60W6Yh/bCq1NAVwGeh0wdXBOI+Eck0=; b=bUKOYTVqlqjaXtQr5IDxOh3GvpgixO8mz5aANmanV5/ORuKOsL3ZK+HVNdt849Y5JJ lw4BEzRA7ftq+2Z56ZYrltmM/fjUreNH4fbqHrK2lcpoOlcSCHwztESbcFtrGSOWUosX DSB1JkyPyD5vFiKCmvnSrBcMPs8A6mSCqIqi94Xl901rUUWESPSutav6SlvuBZNB5zeu Abo7c3NktKAXHnL4k24EIy85ulk3IbMSvHD5AzDuYJlDdTmoKX9+4aKDZtZ6dgSDbBN+ O3lTh6JE5EQuLSlxvsgztLz05VkTIg2/+99wrrsTNITGkCQFOYr6gS6N6yVtXYuE5URB CcWQ== X-Gm-Message-State: AOAM531GVqN2GOWXHvah2jmuUbZAqEyFkIRdbWWla2EaPCxR9uEfTlxJ Kpma4bwtBXxOzn95ThSwLJZkxKEBBqz62jsiHuZcBQ== X-Received: by 2002:a05:6512:3c94:: with SMTP id h20mr3515255lfv.73.1617820099453; Wed, 07 Apr 2021 11:28:19 -0700 (PDT) MIME-Version: 1.0 References: <202104071815.lq85YO6c-lkp@intel.com> In-Reply-To: From: Nick Desaulniers Date: Wed, 7 Apr 2021 11:28:08 -0700 Message-ID: Subject: Re: arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' To: Arnd Bergmann Cc: Kees Cook , Masahiro Yamada , kbuild-all@lists.01.org, LKML , Ingo Molnar , kernel test robot , Linux ARM , Linux Kbuild mailing list , Miguel Ojeda Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 7, 2021 at 11:23 AM Arnd Bergmann wrote: > > On Wed, Apr 7, 2021 at 8:07 PM Nick Desaulniers wrote: > > > > On Wed, Apr 7, 2021 at 3:52 AM kernel test robot wrote: > > > > > > Hi Kees, > > > > > > FYI, the error/warning still remains. > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > > head: 2d743660786ec51f5c1fefd5782bbdee7b227db0 > > > commit: 5a17850e251a55bba6d65aefbfeacfa9888cd2cd arm/build: Warn on orphan section placement > > > date: 7 months ago > > > config: arm-randconfig-r033-20210407 (attached as .config) > > > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > > > reproduce (this is a W=1 build): > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a17850e251a55bba6d65aefbfeacfa9888cd2cd > > > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > > git fetch --no-tags linus master > > > git checkout 5a17850e251a55bba6d65aefbfeacfa9888cd2cd > > > # save the attached .config to linux build tree > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm > > > > > > If you fix the issue, kindly add following tag as appropriate > > > Reported-by: kernel test robot > > > > > > All warnings (new ones prefixed by >>): > > > > > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > > > > Looks like arch/arm/include/asm/cpuidle.h defines > > `CPUIDLE_METHOD_OF_DECLARE` to create a static struct in such a > > section. Only arch/arm/mach-omap2/pm33xx-core.c uses that macro. > > Nick, Kees, > > Should I resend my patch, or are you taking care of it? > > https://lore.kernel.org/lkml/20201230155506.1085689-1-arnd@kernel.org/T/#u Your patch looks like it has multiple reviewed-by tags, so it should be ready to be submitted/merged? Waiting on anything else? -- Thanks, ~Nick Desaulniers