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=-9.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 5434EC433DB for ; Tue, 22 Dec 2020 18:13:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CCD83224F4 for ; Tue, 22 Dec 2020 18:13:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CCD83224F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E438E8D0016; Tue, 22 Dec 2020 13:13:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DF29B8D0013; Tue, 22 Dec 2020 13:13:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CE1628D0016; Tue, 22 Dec 2020 13:13:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0138.hostedemail.com [216.40.44.138]) by kanga.kvack.org (Postfix) with ESMTP id B8A8E8D0013 for ; Tue, 22 Dec 2020 13:13:14 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 7C0C18249980 for ; Tue, 22 Dec 2020 18:13:14 +0000 (UTC) X-FDA: 77621715108.19.sail74_1701fa827462 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id 57D911AD1B4 for ; Tue, 22 Dec 2020 18:13:14 +0000 (UTC) X-HE-Tag: sail74_1701fa827462 X-Filterd-Recvd-Size: 4876 Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Tue, 22 Dec 2020 18:13:13 +0000 (UTC) Received: by mail-il1-f179.google.com with SMTP id k8so12795164ilr.4 for ; Tue, 22 Dec 2020 10:13:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WUU6BQd9q6kn2A5WELfD/J1sK1vcnhrde0ijHHBkbXU=; b=eKi5VW25usp76duHsu6iYR0REgPD2x1LGA0uSn56hx5IORqEHXxTpE21yQC6xZ4akq MySavpkythppGRTZRuze4xX/cOsmlTMYXAUmRv1nqMNfOkcvGmq6MlpzbKCMmPTSsnZn VXFGA8/1+u0AGNe7z1SNg4XmqXro13wvNz+tabCS1LvGTnc3WNyx8nviNjikl5EuOw4j 11U13A+T2mDimw2qX8UpNNFa9jAAcpn+lDNfn85x1q1wYshwosIi5rkSHHaiIlQWVn90 OiEs1oYUsQJ/xQ89hCSidF6aIsc70COyz8H3iTZSAuKL5K/1PgxY6ZoglJBPR/1jIhUo fzvg== X-Gm-Message-State: AOAM532yJl+xk34SsoWLaoOtPek9AngRRS9WbAcXkyM+k2P7ppqZ1JII EqxqpDo5Pzn4NZ19xigHTsY= X-Google-Smtp-Source: ABdhPJzp1oJPGh7LVcAmiZ8qiIGG5twcdFSUY0YSjWBnohYJ4oxR9QLEqZryqY1YIzBJN8JfS3rIrg== X-Received: by 2002:a92:cec3:: with SMTP id z3mr21438359ilq.256.1608660793277; Tue, 22 Dec 2020 10:13:13 -0800 (PST) Received: from google.com (110.41.72.34.bc.googleusercontent.com. [34.72.41.110]) by smtp.gmail.com with ESMTPSA id x5sm14830112ilp.55.2020.12.22.10.13.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 10:13:12 -0800 (PST) Date: Tue, 22 Dec 2020 18:13:11 +0000 From: Dennis Zhou To: Wonhyuk Yang Cc: kernel test robot , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List Subject: Re: [linux-next:master 1888/14054] WARNING: modpost: vmlinux.o(.text+0x50f236): Section mismatch in reference from the function cpumask_clear_cpu() to the variable .init.data:pcpu_build_alloc_info.mask Message-ID: References: <202012220454.9F6Bkz9q-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202012220454.9F6Bkz9q-lkp@intel.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Wonhyuk, On Tue, Dec 22, 2020 at 04:07:59AM +0800, kernel test robot wrote: > Hi Wonhyuk, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 4c6ed015c2a57c3b385265895a69a87f87da8e28 > commit: 6c207504ae7937ac70a1d753c250eb6ab125d70e [1888/14054] percpu: reduce the number of cpu distance comparisons > config: x86_64-randconfig-a013-20201221 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45) > 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 > # install x86_64 cross compiling tool for clang build > # apt-get install binutils-x86-64-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6c207504ae7937ac70a1d753c250eb6ab125d70e > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 6c207504ae7937ac70a1d753c250eb6ab125d70e > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 > > 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+0x50f236): Section mismatch in reference from the function cpumask_clear_cpu() to the variable .init.data:pcpu_build_alloc_info.mask > The function cpumask_clear_cpu() references > the variable __initdata pcpu_build_alloc_info.mask. > This is often because cpumask_clear_cpu lacks a __initdata > annotation or the annotation of pcpu_build_alloc_info.mask is wrong. > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org This is my fault, I didn't have time to look into this until recently. The issue is that the second call to cpumask_clear_cpu() is not being inlined resulting in the warning above. Because this is purely a qol fix, I'm going to move this from for-5.11 to for-5.12 and figure out the best way to fix this warning. Thanks, Dennis