Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2296499pxb; Tue, 23 Feb 2021 03:41:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzh1/bG5NcCGJdMz/zeLdLISHF9mstt+0nlXOkabgAwz5kBAdaD90yJVOt79UQHt3x1Qtak X-Received: by 2002:a17:906:d147:: with SMTP id br7mr13950061ejb.66.1614080498457; Tue, 23 Feb 2021 03:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614080498; cv=none; d=google.com; s=arc-20160816; b=FvrS9e8VOxLWSVMFr/ph6OijUgP3tJNAQZBfhVsNpYkxlR3vFIY08ccITg6UfVienf UfszSDUFWlHPjdHvy3WUTCwbGYOqusj2Q3kCzKvArNnJuHYAuwVe801mAL0P9ftfUUD3 UPY40n9rwFkR9LjqjuoqKoITa6yehvpi1n2YLSEKclR1bzVNEBvP9z5JQSik00PwFZ3a m+HlFUd/4vX2dks42Qq3MTgx+DYlpx1qt6Jn50ZmUdXGDwQ9Yh0uB05t5E4UH2FHK6vY jewD5Oe7gTESK36ayk4YUc3+BebFcWt7OIEDlMGIBTBJE4F9vT8eRu0Nh8zndG5e6/el bd/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=jv9tL4u29gVpzSBS59HCvCUVd6Rj3pWoR+fnneLx15A=; b=wgi83ku7NwaPGtMVdfDzqNorh3F3jWKfSqTFOzSLP0qsx6VCs5dk+c9TUwStaWBHBV RYgfOqkZa32msigC7KBSgRGgjsi732hQ+vWDTIbNouVTglH98jB7L/Nqn/ft0mSbG2UC gdxcI9cc5V/SPYZlU8+sYZJVOPa4EWqUS3T4qVdckEWAfcqHRuoTWbmlB6D3N+Pohg0F vc6Y9xv4dEId9uxcwpc6PAkZny5gG99Xz1rdjIjXId1zKXfx9HtGSOi76P5r62hECd6g gQbRUZC6gpk6u0RV7tlD/DdvvdQW94DsXzbX6k/ObhDH0GcBrLUOR6iXxodD2QWa1j4d HkTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b="VKk652/E"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si4347275eds.511.2021.02.23.03.41.14; Tue, 23 Feb 2021 03:41:38 -0800 (PST) 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=@pm.me header.s=protonmail header.b="VKk652/E"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232394AbhBWLha (ORCPT + 99 others); Tue, 23 Feb 2021 06:37:30 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:10920 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232316AbhBWLh1 (ORCPT ); Tue, 23 Feb 2021 06:37:27 -0500 Date: Tue, 23 Feb 2021 11:36:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1614080204; bh=jv9tL4u29gVpzSBS59HCvCUVd6Rj3pWoR+fnneLx15A=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=VKk652/EGtE5Cpi6lODpKNnBP2HuuuCiPYsjeJ5xh0JzwmeD5ccfJpzDuhf2chAev JVduJgzSNQUq/s3Hi5JFCse15vul4QCHvaVIwNqsNzose3rfHCewveJTeFPZCUjWxR kDWs5ScAJyi2hc6KrmQhB7hRx+4lhRpRcK3aZ3vfz2SuKYdYBWdfqXvopmi6/fzv7x 8NK8o6FJZG5MDjk5IWi+vy5/fxH0is4DbRGn+qnG98buqg3fPg2C8Q2d4fOrCq76nu 4A7iEX+qXYxgAx/pzW96JfahVJoThqVzo4eIyhRexANzcSZ5TPT8vvxeH+mYjIFhwX b4J7SK3WHFMsA== To: Thomas Bogendoerfer From: Alexander Lobakin Cc: Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Sami Tolvanen , Huacai Chen , Pei Huang , Kees Cook , Alexander Lobakin , Fangrui Song , Jiaxun Yang , Corey Minyard , kernel test robot , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Reply-To: Alexander Lobakin Subject: Re: [PATCH mips-fixes] vmlinux.lds.h: catch even more instrumentation symbols into .data Message-ID: <20210223113600.7009-2-alobakin@pm.me> In-Reply-To: <20210223113600.7009-1-alobakin@pm.me> References: <20210223113600.7009-1-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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. > diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmli= nux.lds.h > index 01a3fd6a64d2..c887ac36c1b4 100644 > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -95,7 +95,7 @@ > */ > #ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION > #define TEXT_MAIN .text .text.[0-9a-zA-Z_]* > -#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..L* .data..compoundlit= eral* .data.$__unnamed_* .data.$Lubsan_* > +#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..L* .data..compoundlit= eral* .data.$__unnamed_* .data.$L* > #define SDATA_MAIN .sdata .sdata.[0-9a-zA-Z_]* > #define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]* .rodata..L* > #define BSS_MAIN .bss .bss.[0-9a-zA-Z_]* .bss..compoundliteral* > -- > 2.30.1 Thanks, Al