From: kernel test robot <lkp@intel.com>
To: Yicong Yang <yangyicong@huawei.com>,
catalin.marinas@arm.com, will@kernel.org, sudeep.holla@arm.com,
linux-arm-kernel@lists.infradead.org
Cc: oe-kbuild-all@lists.linux.dev, dietmar.eggemann@arm.com,
gregkh@linuxfoundation.org, rafael@kernel.org,
jonathan.cameron@huawei.com, prime.zeng@hisilicon.com,
linuxarm@huawei.com, yangyicong@hisilicon.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] arch_topology: Support SMT control on arm64
Date: Thu, 12 Oct 2023 23:59:29 +0800 [thread overview]
Message-ID: <202310122334.Q66kv9Wm-lkp@intel.com> (raw)
In-Reply-To: <20231010115335.13862-1-yangyicong@huawei.com>
Hi Yicong,
kernel test robot noticed the following build warnings:
[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus soc/for-next linus/master v6.6-rc5 next-20231012]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Yicong-Yang/arch_topology-Support-SMT-control-on-arm64/20231010-195926
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
patch link: https://lore.kernel.org/r/20231010115335.13862-1-yangyicong%40huawei.com
patch subject: [PATCH v2] arch_topology: Support SMT control on arm64
config: arm64-randconfig-004-20231012 (https://download.01.org/0day-ci/archive/20231012/202310122334.Q66kv9Wm-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231012/202310122334.Q66kv9Wm-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310122334.Q66kv9Wm-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/cpumask.h:12,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:63,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/slab.h:16,
from include/linux/resource_ext.h:11,
from include/linux/acpi.h:13,
from drivers/base/arch_topology.c:9:
In function 'bitmap_or',
inlined from 'cpumask_or' at include/linux/cpumask.h:582:2,
inlined from 'topology_smt_set_num_threads' at drivers/base/arch_topology.c:745:2:
>> include/linux/bitmap.h:330:24: warning: 'to_visit' is used uninitialized [-Wuninitialized]
330 | *dst = *src1 | *src2;
| ^~~~~
drivers/base/arch_topology.c: In function 'topology_smt_set_num_threads':
drivers/base/arch_topology.c:738:23: note: 'to_visit' declared here
738 | cpumask_var_t to_visit;
| ^~~~~~~~
vim +/to_visit +330 include/linux/bitmap.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 325
^1da177e4c3f41 Linus Torvalds 2005-04-16 326 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1,
2f9305eb31097f Rasmus Villemoes 2014-08-06 327 const unsigned long *src2, unsigned int nbits)
^1da177e4c3f41 Linus Torvalds 2005-04-16 328 {
4b0bc0bca83f3f Rusty Russell 2008-12-30 329 if (small_const_nbits(nbits))
^1da177e4c3f41 Linus Torvalds 2005-04-16 @330 *dst = *src1 | *src2;
^1da177e4c3f41 Linus Torvalds 2005-04-16 331 else
^1da177e4c3f41 Linus Torvalds 2005-04-16 332 __bitmap_or(dst, src1, src2, nbits);
^1da177e4c3f41 Linus Torvalds 2005-04-16 333 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 334
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-10-12 16:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-10 11:53 [PATCH v2] arch_topology: Support SMT control on arm64 Yicong Yang
2023-10-10 12:33 ` Greg KH
2023-10-10 13:10 ` Yicong Yang
2023-10-10 14:08 ` Greg KH
2023-10-11 9:33 ` Jonathan Cameron
2023-10-12 15:59 ` kernel test robot [this message]
2023-10-12 16:10 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202310122334.Q66kv9Wm-lkp@intel.com \
--to=lkp@intel.com \
--cc=catalin.marinas@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=gregkh@linuxfoundation.org \
--cc=jonathan.cameron@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=prime.zeng@hisilicon.com \
--cc=rafael@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=will@kernel.org \
--cc=yangyicong@hisilicon.com \
--cc=yangyicong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).