Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2849116rdb; Wed, 15 Nov 2023 12:20:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGC5Dxz/XPjfpGnzv8p8Wm/X2jgiZYu1hMv8jiZ6EAAL+5DaBICfUyXNdoCIFEC/rI71hn X-Received: by 2002:a05:6a00:8714:b0:6c4:d78d:498e with SMTP id hj20-20020a056a00871400b006c4d78d498emr8667536pfb.2.1700079651532; Wed, 15 Nov 2023 12:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700079651; cv=none; d=google.com; s=arc-20160816; b=q5ynvnc3W7eBH//m7omiuP5KC904Dl5ZM2wpWXda5fWfeVcYvwrBfpAjur6SqdKXk1 JrBFONMx7yzNsQvAK8tDDZ6WY0ba7piy7VA7Q8K3tEi6lzlJaLGBvDBWaRJBP8B+aXr9 uEezpH4VJsOPD+yaSviHC0H+ZeqGj5sR2VZz9xiDyqxUuP5odGr4XHuM0O9Bxij6dI+n EuBe2hKReK45aawAevOmqPw5XfeRGtq/PogDGbaWUejiz5fi/bttWYkDUOnbD5o16SJr 1odnkKRRmpMQzqvJY6VGXJO6e0+v7G9NrZCOD83CxpKrFgSmf5nRDoBJdkNRnFOp08WN dZeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NHP4rHTa/8rJQ/Z3QB4WtcfXwPqqjpsQxCxJq6AgzZg=; fh=XrhEHtMNS3HyVt4BR1QvI8TETI/F130vUsByK2+WIec=; b=KTAyeDibj7K85RPj/+CQ0h8ZfnwZ8XloUpeIhdooy1NOR7OPOHlM5VUDt4Gg7Rotgo TZH3HctlNjiQbR2IsNCo7a+wc7NHw38VLw0fwCdSeTs7fuyGjKQOHlY05xMkjFByw/vb Y24A8te3KXDR+XnPuCm8oqhPH6QYjfj4rZwkHI6lLuCy0nwPRAnjEG/noLEQWquTB8hu gqHqE/y9bqBhJnc76FNyoJrr1bdonnvW+qKepv0LlJ72iLU6JtoYN/TnH8vYjRUOVHz0 /e9w79rCWAYWYLBYLJCYNItyIA6ROVbU/EHtwjN0jIklshMo8X90rFWCBN+2TzTFeIcA 00Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="SmI/ehJv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u2-20020a056a00098200b006b4d80642bbsi11000847pfg.182.2023.11.15.12.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 12:20:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="SmI/ehJv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 15E69807F66E; Wed, 15 Nov 2023 12:20:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344017AbjKOUUb (ORCPT + 99 others); Wed, 15 Nov 2023 15:20:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230107AbjKOUUa (ORCPT ); Wed, 15 Nov 2023 15:20:30 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4343B8 for ; Wed, 15 Nov 2023 12:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700079626; x=1731615626; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=T1GP7GXoaoIChGMuNLSf49/e9iQXuhmOH31So9M2lVQ=; b=SmI/ehJvmIbM+V3iG5S0DA9kBkXLCfSJSEOkuziJqBaQj0+KRa/IzH9y A16Tyi8CYPtejtFyXLxeIhBX24Pt8LUCJJPDlpTtOvTcderu754BTvH/j +zkCJ9B6d9tiEWqfe+p99CJbrhfffN7AKqFmp3NU0FSND/r5tBsDgNTux iNJu5s5cIKUu6J9vxugwr4l8GOMIRZpVeV15pBeZ8903iz4xtY042Z1PM d/dIzdXgQGuc8tPJ7BjsFSX97531CM9nGPrsVGyaXWi8XQ+MN+xelZ3Jk R8YQ7vXMQr26nvXB7t1hlu46/QD2/qnCE1Oj4ExyDD3AXrs1VCKVu+8EZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="4027460" X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="4027460" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2023 12:20:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="835504492" X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="835504492" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 15 Nov 2023 12:20:22 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r3MN2-0000n2-10; Wed, 15 Nov 2023 20:20:20 +0000 Date: Thu, 16 Nov 2023 04:19:32 +0800 From: kernel test robot To: Cruz Zhao , mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, joel@joelfernandes.org Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] sched/core: introduce core to struct cfs_rq Message-ID: <202311160408.5eq3Ye68-lkp@intel.com> References: <20231115113341.13261-3-CruzZhao@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231115113341.13261-3-CruzZhao@linux.alibaba.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 15 Nov 2023 12:20:44 -0800 (PST) Hi Cruz, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.7-rc1 next-20231115] [cannot apply to tip/sched/core] [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/Cruz-Zhao/sched-core-introduce-core_id-to-struct-rq/20231115-193559 base: linus/master patch link: https://lore.kernel.org/r/20231115113341.13261-3-CruzZhao%40linux.alibaba.com patch subject: [PATCH 2/4] sched/core: introduce core to struct cfs_rq config: x86_64-buildonly-randconfig-004-20231116 (https://download.01.org/0day-ci/archive/20231116/202311160408.5eq3Ye68-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231116/202311160408.5eq3Ye68-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/202311160408.5eq3Ye68-lkp@intel.com/ All errors (new ones prefixed by >>): kernel/sched/fair.c: In function 'alloc_fair_sched_group': >> kernel/sched/fair.c:12728:17: error: implicit declaration of function 'sched_core_init_cfs_rq'; did you mean 'sched_core_idle_cpu'? [-Werror=implicit-function-declaration] 12728 | sched_core_init_cfs_rq(tg, cfs_rq); | ^~~~~~~~~~~~~~~~~~~~~~ | sched_core_idle_cpu cc1: some warnings being treated as errors vim +12728 kernel/sched/fair.c 12697 12698 int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) 12699 { 12700 struct sched_entity *se; 12701 struct cfs_rq *cfs_rq; 12702 int i; 12703 12704 tg->cfs_rq = kcalloc(nr_cpu_ids, sizeof(cfs_rq), GFP_KERNEL); 12705 if (!tg->cfs_rq) 12706 goto err; 12707 tg->se = kcalloc(nr_cpu_ids, sizeof(se), GFP_KERNEL); 12708 if (!tg->se) 12709 goto err; 12710 12711 tg->shares = NICE_0_LOAD; 12712 12713 init_cfs_bandwidth(tg_cfs_bandwidth(tg), tg_cfs_bandwidth(parent)); 12714 12715 for_each_possible_cpu(i) { 12716 cfs_rq = kzalloc_node(sizeof(struct cfs_rq), 12717 GFP_KERNEL, cpu_to_node(i)); 12718 if (!cfs_rq) 12719 goto err; 12720 12721 se = kzalloc_node(sizeof(struct sched_entity_stats), 12722 GFP_KERNEL, cpu_to_node(i)); 12723 if (!se) 12724 goto err_free_rq; 12725 12726 init_cfs_rq(cfs_rq); 12727 init_tg_cfs_entry(tg, cfs_rq, se, i, parent->se[i]); 12728 sched_core_init_cfs_rq(tg, cfs_rq); 12729 init_entity_runnable_average(se); 12730 } 12731 12732 return 1; 12733 12734 err_free_rq: 12735 kfree(cfs_rq); 12736 err: 12737 return 0; 12738 } 12739 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki