Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp401585pxy; Sat, 14 Aug 2021 10:17:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKznIc3Zo0z7caMZn2ga04uqZa1g3FFevNivRP3E+lSPWU2tjdyMt1VIvIfDqRgl14BENc X-Received: by 2002:a92:c68a:: with SMTP id o10mr5768660ilg.163.1628961469749; Sat, 14 Aug 2021 10:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628961469; cv=none; d=google.com; s=arc-20160816; b=eN8grcW6nhMY91Yk/RVxtReFe3vwgFzAhUpGdUvA9xwuC7ZDsa9YSA+haltz95grZm dj3JcC29+KhrdbqyiTU94nJcXKgvtFNkI6rvjB681c8p1kAvYgoCX7N7OfCu3d3seyR4 KlrJv5s/ADsHcJ7S9e71XNNhqanr223qfAmBTL4akWzLA+NfHfFABrNfEg7/UEwV3lS0 7kToualUxL6pu90fZObD3RPSM2RSqdcqAcEE/xuL7Sx/pzGHUOG+vVVu+s5CWe5VQAR5 laUmB9Ec0ku38F4sQrDCX1Z/0i7BXcJpLQMq1xyjvjvYI9aKGEf7v95A2UQb35Zrf66s P8ag== 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=X89ku5IDylZ1zwbfbGJrUBVg0+UG1yM+AcWfc0AL66w=; b=N/aj+MmhKmF1NlQN3bSL8aT3vJi+fOv6A4DANMJx1sfKJ2ej6x1ohWpug82VxwiHXo fbRdKGdHzAFCWQOU+C3FBpeqa/BPtq+exA5H2EchZNzR6VUuXV/SqsHvUSolY+pdGGS5 IsIXfqKQhYgPtfQMMlU21PbkTQdId7iiLB38HggZ0P1fYK1iuaPRf7rtEhBK3bGBOoAh I5+JOeMkIRkeqSc6cJEqnxdL7lverbsDUnaFpQnjXaZsfpuA4kQ9j7jfd+bE+k0pLnjc dAD1H7B3FhyLi+b7SXP3E94AZPN0nPSyqxlG64CcGTdrkME+ysxOHIa0Lw2T+Y11l9K4 sA9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gBCrblHi; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si407826jaq.37.2021.08.14.10.17.38; Sat, 14 Aug 2021 10:17:49 -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=@gmail.com header.s=20161025 header.b=gBCrblHi; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238819AbhHNRQ1 (ORCPT + 99 others); Sat, 14 Aug 2021 13:16:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238803AbhHNRQ1 (ORCPT ); Sat, 14 Aug 2021 13:16:27 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2037C0613CF for ; Sat, 14 Aug 2021 10:15:58 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id w13-20020a17090aea0db029017897a5f7bcso20697761pjy.5 for ; Sat, 14 Aug 2021 10:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X89ku5IDylZ1zwbfbGJrUBVg0+UG1yM+AcWfc0AL66w=; b=gBCrblHim1HHYufy0bB0YT8bU/AcwW0zmJYoIgHaFn2hDS5DYT0RV7fTzwF+1ij3WP BU7mnp58yA6B0PAlbCwUH1bcI0RdNUGVpHsw0kSc3YqEPFQWttK/hm2JQClb8QUnEBuK Mr3ITxtSUiQwxZZMfZnKDF1btrS+hT31QdKgPyUwVk0H/5G+IblAcKR1feOtpxYlwJjs EEbNgIL4pkN9LDxwz2HyhZdD4U3fsN8BfdNhabJaLlM0seCblplq0G9e9m1GAtjZpbN9 OjPnOkokHN28HZaX+9+Qs6E/9l0nhOdFpCtnwChoyE0n/7OESW/p2gHVOvf02v7nvnYM WqGw== 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=X89ku5IDylZ1zwbfbGJrUBVg0+UG1yM+AcWfc0AL66w=; b=iYWaO6jjOslavVLtGsfi8xnnec6ikV9uQF8H5IIFVnkZu/MZ/BCEYa98+joM5/a6Bi sqVfn4m+TXS3cWinu+S/aqmF5xCFFGduUalmaLBGJBVpG8/rg2GZ0oRzsrALQ4Uwg/Yb D9RoRjdg1lw0QgW06sSQzAbOL83aZRv8Ry+I2aECS8A8hfe4+nD5uIUl0ik9++p4u3GY a34579oWiawApigeM0lJZFz2OSE7wmTWWM39ILQicHG1Y6yQNq3F+UL7h6eD8Orx+1JW qxZcDWom8drNKrwAFaFADhpJT9cKcyfpcI6kQ5yxMoPYU+q2iak/RRylnz+YYY+NTGo5 EXAw== X-Gm-Message-State: AOAM5323zACJBByds993iULp7c4+i83vO4d1rJzyNpKbaRTT8iJ9Y+FS cGguS7DQf2vczbb8DqcG+w4pSvILhn+BFzq/lT0= X-Received: by 2002:aa7:800b:0:b029:330:455f:57a8 with SMTP id j11-20020aa7800b0000b0290330455f57a8mr7896925pfi.7.1628961358161; Sat, 14 Aug 2021 10:15:58 -0700 (PDT) MIME-Version: 1.0 References: <202108141955.XlQXw3y4-lkp@intel.com> In-Reply-To: From: Andy Shevchenko Date: Sat, 14 Aug 2021 20:15:21 +0300 Message-ID: Subject: Re: [driver-core:driver-core-testing 28/31] WARNING: modpost: vmlinux.o(.text.unlikely+0x156c): Section mismatch in reference from the function bitmap_equal() to the variable .init.data:initcall_level_names To: Greg Kroah-Hartman , Max Filippov Cc: kernel test robot , Barry Song , "open list:STAGING SUBSYSTEM" , Andy Shevchenko , kbuild-all@lists.01.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 14, 2021 at 4:36 PM Greg Kroah-Hartman wrote: > On Sat, Aug 14, 2021 at 07:03:00PM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing > > head: 3b35f2a6a625126c57475aa56b5357d8e80b404c > > commit: 291f93ca339f5b5e6e90ad037bb8271f0f618165 [28/31] lib: test_bitmap: add bitmap_print_bitmask/list_to_buf test cases > > config: xtensa-randconfig-r004-20210814 (attached as .config) > > compiler: xtensa-linux-gcc (GCC) 11.2.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/gregkh/driver-core.git/commit/?id=291f93ca339f5b5e6e90ad037bb8271f0f618165 > > git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > > git fetch --no-tags driver-core driver-core-testing > > git checkout 291f93ca339f5b5e6e90ad037bb8271f0f618165 > > # save the attached .config to linux build tree > > mkdir build_dir > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>, old ones prefixed by <<): > > > > >> WARNING: modpost: vmlinux.o(.text.unlikely+0x156c): Section mismatch in reference from the function bitmap_equal() to the variable .init.data:initcall_level_names > > The function bitmap_equal() references > > the variable __initdata initcall_level_names. > > This is often because bitmap_equal lacks a __initdata > > annotation or the annotation of initcall_level_names is wrong. > > > > The below error/warnings are from parent commit: > > << WARNING: modpost: vmlinux.o(.data+0x1a86d8): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:__setup_str_initcall_blacklist > > << WARNING: modpost: vmlinux.o(.data+0x1a87c8): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:__setup_str_initcall_blacklist > > << WARNING: modpost: vmlinux.o(.data+0x1a8948): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:__setup_str_initcall_blacklist > Barry, can I get a fix for this? Max already pointed out, but I guess you were not in Cc list, that it's a GCC bug in his opinion, but GCC people don't ack it. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92938 -- With Best Regards, Andy Shevchenko