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=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 5DC62C433E6 for ; Tue, 23 Feb 2021 12:58:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 222C364E60 for ; Tue, 23 Feb 2021 12:58:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232660AbhBWM5x (ORCPT ); Tue, 23 Feb 2021 07:57:53 -0500 Received: from elvis.franken.de ([193.175.24.41]:49459 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232611AbhBWM5v (ORCPT ); Tue, 23 Feb 2021 07:57:51 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lEXFU-0002LK-00; Tue, 23 Feb 2021 13:57:08 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 986DDC07AD; Tue, 23 Feb 2021 13:21:44 +0100 (CET) Date: Tue, 23 Feb 2021 13:21:44 +0100 From: Thomas Bogendoerfer To: Alexander Lobakin Cc: Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Sami Tolvanen , Huacai Chen , Pei Huang , Kees Cook , Fangrui Song , Jiaxun Yang , Corey Minyard , kernel test robot , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH mips-fixes] vmlinux.lds.h: catch even more instrumentation symbols into .data Message-ID: <20210223122144.GA7765@alpha.franken.de> References: <20210223113600.7009-1-alobakin@pm.me> <20210223113600.7009-2-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210223113600.7009-2-alobakin@pm.me> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Tue, Feb 23, 2021 at 11:36:41AM +0000, Alexander Lobakin wrote: > > LKP caught another bunch of orphaned instrumentation symbols [0]: > > > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > > `init/main.o' being placed in section `.data.$LPBX1' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from > > `init/main.o' being placed in section `.data.$LPBX0' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > > `init/do_mounts.o' being placed in section `.data.$LPBX1' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from > > `init/do_mounts.o' being placed in section `.data.$LPBX0' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > > `init/do_mounts_initrd.o' being placed in section `.data.$LPBX1' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from > > `init/do_mounts_initrd.o' being placed in section `.data.$LPBX0' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > > `init/initramfs.o' being placed in section `.data.$LPBX1' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from > > `init/initramfs.o' being placed in section `.data.$LPBX0' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from > > `init/calibrate.o' being placed in section `.data.$LPBX1' > > mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from > > `init/calibrate.o' being placed in section `.data.$LPBX0' > > > > [...] > > > > Soften the wildcard to .data.$L* to grab these ones into .data too. > > > > [0] https://lore.kernel.org/lkml/202102231519.lWPLPveV-lkp@intel.com > > > > Reported-by: kernel test robot > > Signed-off-by: Alexander Lobakin > > --- > > include/asm-generic/vmlinux.lds.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Hi Thomas, > > This applies on top of mips-next or Linus' tree, so you may need to > rebase mips-fixes before taking it. > It's not for mips-next as it should go into this cycle as a [hot]fix. > I haven't added any "Fixes:" tag since these warnings is a result > of merging several sets and of certain build configurations that > almost couldn't be tested separately. no worries, mips-fixes is defunct during merge windows. I'll send another pull request to Linus and will add this patch to it. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]