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 X-Spam-Level: X-Spam-Status: No, score=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C56CC433B4 for ; Wed, 7 Apr 2021 18:28:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EF559611BD for ; Wed, 7 Apr 2021 18:28:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355308AbhDGS2l (ORCPT ); Wed, 7 Apr 2021 14:28:41 -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-Google-Smtp-Source: ABdhPJzJ6u+bhldxSVexmPg4Ylc3+864a5ow3rqfUvA6j5Kld+Q9PKIhGS2BsFxtsDBG5NcJN8NpPx9zXRv9i6EdDZs= 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