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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF8D9CDB46E for ; Thu, 12 Oct 2023 16:01:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=D+RaF159MQL6+kpDv09qLpAGJt23CzM5aV4XpRo2Qsg=; b=A4J8uN3rJCjJ2Z ikYs1x335voXragtKNEb1yG2bcehOSIHkXhOiQRm49eNsG8gTA8Vq9vY+PFXD444uTy0M8hNsO0kI k4yIOS/k4K6Ghg4uGQdueCjOvj45vmHeFMPd2C+B/axAj6fO4vuDVQRBtfmUKCug6mjL2+p0ENco1 slGcwd0hITjvccgyY9G/zrRcNzMo9au5iUa1Ox+ytBUscCHvb8WtWYm6BiyDOmcbStDWs77RcXkTl YOQlK7Q+IZt2hFk/ZKoLinlslab8WSITb27zg98Wcc9BEvyQbi2Zn//9harKBQBismt7DiHf5nLbZ nCNqaz1WGQEqHsgKWxMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqy71-001Lcn-1n; Thu, 12 Oct 2023 16:00:35 +0000 Received: from mgamail.intel.com ([192.55.52.151]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqy6y-001Lba-06 for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2023 16:00:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697126432; x=1728662432; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EE7Kfwc3/WWYxUhE2rGqG7qJTjcWD6ipSFp/QHSYaJ4=; b=NK9UL6Shp2D6Qxp+RhxJm0hL/bzShWiH+NMODsGZN6tNUGly+HDEAD6q zSd7Zm3BcERjvQITdghQ70W0oFhxQ1ZE1IQLG0Ddu0TRpOWs5UURTK1ib 9A9frzp2w8cD9uOk74ORIcRldmWLkd/5bWHrp9GQiRN+sGTPfs8BGwUCO eU0m+xIflnA3qbwVqKjuDa4SwE+zj1hlHvpmYyS8eFbbYn0+mD0himKcg QHNE/dvdGtlTyWcyQgKmOShkABDot1GFaZCs/kbjNoYMMi1Eqsof3XGmS 6KaOWWX8hrrfMr2IJEj3/2HGV8e1tx/jrK8L2S/d5ZqvgfeoxK3SNIyLT A==; X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="365225239" X-IronPort-AV: E=Sophos;i="6.03,219,1694761200"; d="scan'208";a="365225239" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2023 09:00:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="878157703" X-IronPort-AV: E=Sophos;i="6.03,219,1694761200"; d="scan'208";a="878157703" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 12 Oct 2023 09:00:24 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qqy6n-0003bF-2E; Thu, 12 Oct 2023 16:00:21 +0000 Date: Thu, 12 Oct 2023 23:59:29 +0800 From: kernel test robot To: Yicong Yang , 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 Message-ID: <202310122334.Q66kv9Wm-lkp@intel.com> References: <20231010115335.13862-1-yangyicong@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231010115335.13862-1-yangyicong@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231012_090032_869897_7F23D3C7 X-CRM114-Status: GOOD ( 13.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 | 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