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 CBC90C433F5 for ; Mon, 14 Mar 2022 21:31:41 +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=ssouCWZ7hBnYN+0alFDcHb4Fpoc4O5diRYamibehoEM=; b=WyftzUBf1kpwKG LI22qojuxDClpZnsQagNLkxX0GonBUlbfg7b06bf6zYqb0VyYgMqaKua0z02h++VI9BuQWvk2bLGu b5mreidVQrNpaP/0E5KI0YivX/goJnMo/vABMMBXYMXMHvCNoefzD7um7VEId8UAzfINo7THQLpVt M8W6My54hyKSa+Xwd2VGi2ukXH4b5urfItwq8LWm8UNNnqNxvDmOlVHwPXWVQiBuJZTIif3jbq+og 0aRIJ4fVoXpAQSLfKGZFSPotfn3hSrSSXw831uPsqNuvM5ZItXQrqFTOL3r86Z0gZNZu2T7gzqb96 2nC84SH3NR6wsIomJqUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTsGT-006siB-WC; Mon, 14 Mar 2022 21:30:06 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTsGP-006shS-KU for linux-arm-kernel@lists.infradead.org; Mon, 14 Mar 2022 21:30:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647293401; x=1678829401; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ED1u3tWaXJ8g75RmNW25zxasQx4Y53p5hPpG0scngmM=; b=QdXFsF9PDTTk+qaYTNsACiMeKCp8UwXMXbU/brrks5v2xCIKXBDcZOK6 yTDlRpmaT33vz/Kj6HhPdrYuQrEo8Vy/nMbmEVmprZONbOQbMqxukv/Gn 9KnHZeMaN14FFlB7zSCXJlU5WGXfcUdEPACoZXPhnp/N5oq98tqi+lQUd V2bO5nMCFfFrfTKwQsC4KjV8q3kiCzYZmSCwqemqIAfPuGEUpqBowFTCm RKx2vDPs1q8nd1Gjmm1AarlbD8t2qlyD7Es5w9UgAfAExOMdiX+FpGSln g58DhIEn718TKCgMC4uHr3JZZIi4NBWHLMZiQhkkjp23DJlJXkOkCuVdN g==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="256101894" X-IronPort-AV: E=Sophos;i="5.90,181,1643702400"; d="scan'208";a="256101894" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2022 14:30:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,181,1643702400"; d="scan'208";a="580273053" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 14 Mar 2022 14:29:56 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nTsGJ-000AFK-F1; Mon, 14 Mar 2022 21:29:55 +0000 Date: Tue, 15 Mar 2022 05:29:41 +0800 From: kernel test robot To: Dietmar Eggemann , Darren Hart Cc: kbuild-all@lists.01.org, Vincent Guittot , Will Deacon , LKML , Linux Arm , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , Catalin Marinas , Barry Song , Valentin Schneider , "D . Scott Phillips" , Ilkka Koskinen , stable@vger.kernel.org Subject: Re: [PATCH] arch_topology: Swap MC & CLS SD mask if MC weight==1 & Message-ID: <202203150553.QRvgHFHm-lkp@intel.com> References: <9398d7ad-30e7-890a-3e18-c3011c383585@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9398d7ad-30e7-890a-3e18-c3011c383585@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220314_143001_756262_6EDF2402 X-CRM114-Status: GOOD ( 14.86 ) 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 Dietmar, I love your patch! Perhaps something to improve: [auto build test WARNING on driver-core/driver-core-testing] [also build test WARNING on v5.17-rc8 next-20220310] [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] url: https://github.com/0day-ci/linux/commits/Dietmar-Eggemann/arch_topology-Swap-MC-CLS-SD-mask-if-MC-weight-1/20220315-004742 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 4a248f85b3dd8e010ff8335755c927130e9b0764 config: arm-defconfig (https://download.01.org/0day-ci/archive/20220315/202203150553.QRvgHFHm-lkp@intel.com/config) compiler: arm-linux-gnueabi-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://github.com/0day-ci/linux/commit/7528fb2ea1e30038ee1dcc48df9d413502977895 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dietmar-Eggemann/arch_topology-Swap-MC-CLS-SD-mask-if-MC-weight-1/20220315-004742 git checkout 7528fb2ea1e30038ee1dcc48df9d413502977895 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/base/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/base/arch_topology.c:617:23: warning: no previous prototype for '_cpu_coregroup_mask' [-Wmissing-prototypes] 617 | const struct cpumask *_cpu_coregroup_mask(int cpu) | ^~~~~~~~~~~~~~~~~~~ >> drivers/base/arch_topology.c:634:23: warning: no previous prototype for '_cpu_clustergroup_mask' [-Wmissing-prototypes] 634 | const struct cpumask *_cpu_clustergroup_mask(int cpu) | ^~~~~~~~~~~~~~~~~~~~~~ vim +/_cpu_coregroup_mask +617 drivers/base/arch_topology.c 616 > 617 const struct cpumask *_cpu_coregroup_mask(int cpu) 618 { 619 const cpumask_t *core_mask = cpumask_of_node(cpu_to_node(cpu)); 620 621 /* Find the smaller of NUMA, core or LLC siblings */ 622 if (cpumask_subset(&cpu_topology[cpu].core_sibling, core_mask)) { 623 /* not numa in package, lets use the package siblings */ 624 core_mask = &cpu_topology[cpu].core_sibling; 625 } 626 if (cpu_topology[cpu].llc_id != -1) { 627 if (cpumask_subset(&cpu_topology[cpu].llc_sibling, core_mask)) 628 core_mask = &cpu_topology[cpu].llc_sibling; 629 } 630 631 return core_mask; 632 } 633 > 634 const struct cpumask *_cpu_clustergroup_mask(int cpu) 635 { 636 return &cpu_topology[cpu].cluster_sibling; 637 } 638 --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel