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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 B0729C433B4 for ; Wed, 7 Apr 2021 18:23:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 825CB611C0 for ; Wed, 7 Apr 2021 18:23:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235871AbhDGSYD (ORCPT ); Wed, 7 Apr 2021 14:24:03 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:36571 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbhDGSYC (ORCPT ); Wed, 7 Apr 2021 14:24:02 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MPXxi-1lHTPR1SSY-00MduN; Wed, 07 Apr 2021 20:23:51 +0200 Received: by mail-wr1-f49.google.com with SMTP id y18so2879506wrn.6; Wed, 07 Apr 2021 11:23:51 -0700 (PDT) X-Gm-Message-State: AOAM532w1foSpDlTB29KlKxMqcBby+nuRRt4cSxKKQpscSfRNzQ+LzYj T1PB1WY93OFMlxleK5J4IJ53+8SJv4BfdIa8C9I= X-Google-Smtp-Source: ABdhPJz6wc70W2TXiXomk41RGh1ewR/98GpMkXJ3a/IZ9wfDCtO6JB3ZofStuvB0YyQBAEYNPujhuR/uV9VcGQl0jKM= X-Received: by 2002:adf:c641:: with SMTP id u1mr5997458wrg.332.1617819831064; Wed, 07 Apr 2021 11:23:51 -0700 (PDT) MIME-Version: 1.0 References: <202104071815.lq85YO6c-lkp@intel.com> In-Reply-To: From: Arnd Bergmann Date: Wed, 7 Apr 2021 20:23:34 +0200 X-Gmail-Original-Message-ID: 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: Nick Desaulniers Cc: Kees Cook , Masahiro Yamada , kbuild-all@lists.01.org, LKML , Ingo Molnar , kernel test robot , Linux ARM , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:+SLddVpQRj2EsMpog9Z/APMCoV5pxPANfLH7GBH964/PdlBzEce 9hiN9NMzT3Tyhz1qO4ocY7uy+DEtKqPzDtvsfXCHEYaLH0pRy09VP8MTyJ3FXkWpb7JBGbY D+oH1w54VMrCj2glch60fo8y3vzrtPcOfdGgNmmYxuAnelzgKQU9FgZbHCewxPPi7zq6S8j cH1o6tN1bf5j7/q146+tg== X-UI-Out-Filterresults: notjunk:1;V03:K0:QmfxZLnxNN4=:aQGdhgUtxXxxCbOlWstFG5 4A/I7hhfORzrSbjKmA+lhQf8fKbE4Cv7oXRdANcqI6e+kNkdpuzvSiw7u+Byhko9RxXxFWYGA S+RFeZtuVkMz8Cc5wQuGr461MTniBQRfN/CuDN8CvL9mTLpRdWwGrFxXH1NePzT74ZRP1XGK4 qXZr4PMGjoshG+W032ZuSn8eY4DzaNTInkxrdEELpM63Ml5OmVxchtottIooBaEboPrgofmD2 xaDpRD8xNBz7Pvo7BJzv3zWbXzyD/SNhpRVkTSGpRXNweLDn56How1uMqoaAbv+jx3iFxBaA1 0w7Cs/Snsefy9s14GFXH6kidEbTOjdtzgK47h1Ivf4c0EacdVqK4O4LTOdFaPRSeQrUqKC1c5 LDVQ3cZwxy1q/i/0Mqr88Titijx3KDD2yyeC2+BNdBopvRnGY+nuOmZp2ARxUqoW2xokjPKaN TIlSd/3m/IJJ7oZoWGjSje8z65zkqx86xpG96OxwzZ6XAhD5BjhBkVKHJ7nwQvYm4a/dwxamE /KmvkLOfuZzVftwM7oOM/BeeEyQ+j2ha0JUYFKkpZWoPcb4FXCI8BaZNLwsDJlkFLMMLsm0C/ Bhz8lBJFmmnUdrK3L0RjfUaShuzjAIcPxh Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Arnd 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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 EB315C433ED for ; Wed, 7 Apr 2021 18:26:06 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 8C8DD610FB for ; Wed, 7 Apr 2021 18:26:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C8DD610FB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UW1A49VPD/Mtg6xJuJpDJhi2Xs6fxcmE1zBlMMq4tWY=; b=pGsfNiRGerO3AxoFBrPwqVymt SiJlEAdMH5gN/2bvzM4KhTXK0HDxr2L0lYaJF8yu2E9QoOVe7DyA5VdRsI33LG+lPQZZH5wKi0V78 U0eKlH9kcOBzWS9thFiEU1kePPLd/z8TBmTqLM9rIyvDLmsCv94bq3eZfnmwq6/jCjfoT8u+Ii3ck C1YogfYwqao+h7sIc3cu7cleAi0aYRGnHHT8snZg1jVekqpmAUjF7IBgpmYwqlKOpg6HjMrMwIfVU iUwuhxLfVE9Y8L9DTdcNxYlHXpV64xRQnkRw3FbS3zVmlkcydphtDCLIkODT0dTCkRS8KQYFdjEXv QR1VWQGXA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUCqS-005jpo-Ql; Wed, 07 Apr 2021 18:24:05 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUCqO-005joL-4v for linux-arm-kernel@lists.infradead.org; Wed, 07 Apr 2021 18:24:02 +0000 Received: from mail-wr1-f47.google.com ([209.85.221.47]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1N7AEs-1ldqKB1K72-017Vep for ; Wed, 07 Apr 2021 20:23:51 +0200 Received: by mail-wr1-f47.google.com with SMTP id a6so12971542wrw.8 for ; Wed, 07 Apr 2021 11:23:51 -0700 (PDT) X-Gm-Message-State: AOAM533Tc7/3L5K5Jo96mniysvxhEhx6bJNRRmzJL1w9wCcX0UG8maVD 8k3HzV9dxXH2b4BXaLZgaQFCZo/uBE5IRPZCR7M= X-Google-Smtp-Source: ABdhPJz6wc70W2TXiXomk41RGh1ewR/98GpMkXJ3a/IZ9wfDCtO6JB3ZofStuvB0YyQBAEYNPujhuR/uV9VcGQl0jKM= X-Received: by 2002:adf:c641:: with SMTP id u1mr5997458wrg.332.1617819831064; Wed, 07 Apr 2021 11:23:51 -0700 (PDT) MIME-Version: 1.0 References: <202104071815.lq85YO6c-lkp@intel.com> In-Reply-To: From: Arnd Bergmann Date: Wed, 7 Apr 2021 20:23:34 +0200 X-Gmail-Original-Message-ID: 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: Nick Desaulniers Cc: Kees Cook , Masahiro Yamada , kbuild-all@lists.01.org, LKML , Ingo Molnar , kernel test robot , Linux ARM , Linux Kbuild mailing list X-Provags-ID: V03:K1:Jn0er5fAk3iFS1s77g65yLkrfFAqDjP3o6/1HK5b0fCikwKwuk3 mzzdreY38c4WRk5Z2uk+EEV/P5KzlzjcGG3flRW4I0791iV0a0xsuhUfZ1AQt2Iw27x5H74 5yWppPYverlnsy1bAZbn5QddteZJa4JrrIxcNwXdB4nJr8xlKk6dUoVzpwdQre0IgqIgSLr +OPAlYG0INrRA7XFIsa/Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:E/CjMCDLC+k=:006M5EI0UxNeN1wJXIpkwv UtnqcCcqqJO7PWQyCJ6ZjJNluZSmJMwaZNvfIxkpahEjeRkj+gr2Y2wiU0y8gVFU28lz53r3B RDqxjRRQHQVRTt1eHXK4YdSCzCyVL1evRxogoDzRk4PESOnnscrOKwZj50QmEx6+tGhAeYGAE R9zRSKjZCY1Nn20ISK4OuyW6BIGJ6zsKlVm8us8RgHpo4unn0oTubpBVMVuJVwPlLz9EqnPZz d13iq3LvvBg/TYKslCccWzr0uD3qwBKW087Szrk8ey7L4pLJvopoWgLhJ//jTbVXylcQE87I4 PnuR9vfgujUBJj9XCFrfvJP08JYSvbV5DJkfXSOlLCGrfJLwS2KwnXB8GRPhOJHsivx0v88/e l2AGKKFztAkoaKdXQMqbsGwz0tqiRN5j3q7lRqG57A56Th5hxlumjkJIHRXek/NZTZ3iNGoI/ pRS0T+dN2xsiRcBcqTCaBydtpfn78rTD9pCUvaLtT7bYHXmUwa+J2Wcs+DsIu8uoEM0L4K/23 w6B7af8FSfjjOVBfTyRfK+vlV4OGxq4MsgKK8n/x+v8uMsuza2ELaetstxhATJ8VT0gt8vzzn IyS/IPG+2JS6Bd8cFVts0OBeDj49nzbcpu X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210407_192400_641042_41C229AC X-CRM114-Status: GOOD ( 20.06 ) 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 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 Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0148264723344457717==" MIME-Version: 1.0 From: Arnd Bergmann To: kbuild-all@lists.01.org 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' Date: Wed, 07 Apr 2021 20:23:34 +0200 Message-ID: In-Reply-To: List-Id: --===============0148264723344457717== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 orp= han 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=3D1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linu= x.git/commit/?id=3D5a17850e251a55bba6d65aefbfeacfa9888cd2cd > > git remote add linus https://git.kernel.org/pub/scm/linux/kerne= l/git/torvalds/linux.git > > git fetch --no-tags linus master > > git checkout 5a17850e251a55bba6d65aefbfeacfa9888cd2cd > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cr= oss ARCH=3Darm > > > > 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_t= able' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__c= puidle_method_of_table' > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_t= able' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__c= puidle_method_of_table' > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_t= able' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__c= puidle_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(a)kernel.org/T/#u Arnd --===============0148264723344457717==--