Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1091646rdb; Sat, 18 Nov 2023 02:49:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNCDnmMOPCSHNzBAO2sdaEwBoilLDdunMwCYf1aXI1QWXd1qv0k3Uz3EdzUTQTklTufc/k X-Received: by 2002:a17:90b:4d10:b0:27d:c36:e12c with SMTP id mw16-20020a17090b4d1000b0027d0c36e12cmr1777196pjb.9.1700304553374; Sat, 18 Nov 2023 02:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700304553; cv=none; d=google.com; s=arc-20160816; b=ZlC7wluYAgSzq3uLBlsXLXNqCkxr3UhIoPSfNrxocY7OrvKq6yiBj8tj02IvmNjw++ JNyKQ2ffqexS34+0v0tAy+sG8ce5dje6cpe3eBSb+OUTgTShF0akhMeFsPZ2zll0fWme kPIMoWd6UKOmmd8xPhmJkiBjMJ71x+wOoFnX5zoUNUiw3hGkcKjNV/vYCoAAffpBhFKY zupzCkFTERS/hqwvgTgGqDqyxsykzwHeEwNera0It7q3GmkjmzfF+AvRXzxOIbQdX0Ze w8DuPQdckaAoC3c6amHW6Xwru3qDPcv7qCJEzGdySmpEmzgEc8Ls+rWvXhGuUpq60Eml bTXQ== 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=zlYkPiTo1QKBPbFjmTrTeonE3XszCKqpeodcW1hlSwU=; fh=XrhEHtMNS3HyVt4BR1QvI8TETI/F130vUsByK2+WIec=; b=Wl+3IfQjgLVNan6ymGvMcXelpFubmkvLSRZXz7Xwbz1gVD+QPmmDIe74akTGJloxj3 qr3o+PBX8VSeANuF+xwYxjooAx5ZgDWhjqQ637WbPPPjt6bnMIyiRVj3ppF5ubHUQ1rq ztBrAifvjiLKQyMr+jIdsydZUCCNLBD/T3SkYtsNOZa+1uOZqYNNN+s4z55S9JOIQQ3z Zo4xZ8xH46FXJxMHOvHu3uaY8UCYhly3RK7h8c8aTmX4yQgilZ24phfEfrDPgeL6isb6 yvSTFoovLYHKT1v0uiaPn+XgOSFNGjq8x3lW5f3tmrlYNoF9ZFf/mSeTakMY3ntW0JPE K/sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RMNx/d5f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id pi16-20020a17090b1e5000b0027766994586si6984042pjb.71.2023.11.18.02.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 02:49:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RMNx/d5f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 4439C805ECD6; Sat, 18 Nov 2023 02:49:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230241AbjKRKtD (ORCPT + 99 others); Sat, 18 Nov 2023 05:49:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjKRKtC (ORCPT ); Sat, 18 Nov 2023 05:49:02 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A36B6D6C for ; Sat, 18 Nov 2023 02:48:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700304538; x=1731840538; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wVVfhPDwl/dqtOvp2c5T3cYoSRLUsQlhAimKcz+kBlE=; b=RMNx/d5ftWhwa1hW94i1dpx+11TGe4jVRGJghMx4ctx0dKJy6h4iCL78 8voAUHr7yfjX/g7KAiSqG+eb6qqXaMW3rc3qmm1gOoqrh9b1srKVtRLSo dGwVwtG90+U7isjO33p5doxnkkMhbLybQ6Pps/X7GzWdPtjbKg1XlHOtl 7H8APe1AeET42x0A4wpRYRUzo46ah8wL0GAUT0ZVhEvpvRTngNqM5iWUi 1QuxXAzisIFGlWVPcoEsdoaYBHXbPSVDTiNsT59r5ZS+7X4yyudY+7C1m gmNjcd6QdhGxuADSb0VqXz9WFl6YXbv3pqpjpCXCuorVEzkfeHqo22jEK w==; X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="388572655" X-IronPort-AV: E=Sophos;i="6.04,209,1695711600"; d="scan'208";a="388572655" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2023 02:48:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="939382115" X-IronPort-AV: E=Sophos;i="6.04,209,1695711600"; d="scan'208";a="939382115" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 18 Nov 2023 02:48:54 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r4Isd-0003pF-39; Sat, 18 Nov 2023 10:48:51 +0000 Date: Sat, 18 Nov 2023 18:48:45 +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: <202311181807.OhNGAYXK-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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Sat, 18 Nov 2023 02:49:12 -0800 (PST) Hi Cruz, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.7-rc1 next-20231117] [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-randconfig-123-20231118 (https://download.01.org/0day-ci/archive/20231118/202311181807.OhNGAYXK-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231118/202311181807.OhNGAYXK-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/202311181807.OhNGAYXK-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) kernel/sched/fair.c:1178:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_entity const *se @@ got struct sched_entity [noderef] __rcu * @@ kernel/sched/fair.c:1178:34: sparse: expected struct sched_entity const *se kernel/sched/fair.c:1178:34: sparse: got struct sched_entity [noderef] __rcu * kernel/sched/fair.c:2949:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct task_struct *tsk @@ got struct task_struct [noderef] __rcu * @@ kernel/sched/fair.c:2949:13: sparse: expected struct task_struct *tsk kernel/sched/fair.c:2949:13: sparse: got struct task_struct [noderef] __rcu * kernel/sched/fair.c:12185:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@ kernel/sched/fair.c:12185:9: sparse: expected struct sched_domain *[assigned] sd kernel/sched/fair.c:12185:9: sparse: got struct sched_domain [noderef] __rcu *parent kernel/sched/fair.c:7801:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@ kernel/sched/fair.c:7801:20: sparse: expected struct sched_domain *[assigned] sd kernel/sched/fair.c:7801:20: sparse: got struct sched_domain [noderef] __rcu *parent kernel/sched/fair.c:8006:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] tmp @@ got struct sched_domain [noderef] __rcu *parent @@ kernel/sched/fair.c:8006:9: sparse: expected struct sched_domain *[assigned] tmp kernel/sched/fair.c:8006:9: sparse: got struct sched_domain [noderef] __rcu *parent kernel/sched/fair.c:8105:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@ kernel/sched/fair.c:8105:38: sparse: expected struct task_struct *curr kernel/sched/fair.c:8105:38: sparse: got struct task_struct [noderef] __rcu *curr kernel/sched/fair.c:8385:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@ kernel/sched/fair.c:8385:38: sparse: expected struct task_struct *curr kernel/sched/fair.c:8385:38: sparse: got struct task_struct [noderef] __rcu *curr kernel/sched/fair.c:9376:40: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *child @@ got struct sched_domain [noderef] __rcu *child @@ kernel/sched/fair.c:9376:40: sparse: expected struct sched_domain *child kernel/sched/fair.c:9376:40: sparse: got struct sched_domain [noderef] __rcu *child kernel/sched/fair.c:10013:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/fair.c:10013:22: sparse: struct task_struct [noderef] __rcu * kernel/sched/fair.c:10013:22: sparse: struct task_struct * kernel/sched/fair.c:11445:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@ kernel/sched/fair.c:11445:9: sparse: expected struct sched_domain *[assigned] sd kernel/sched/fair.c:11445:9: sparse: got struct sched_domain [noderef] __rcu *parent kernel/sched/fair.c:11102:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *sd_parent @@ got struct sched_domain [noderef] __rcu *parent @@ kernel/sched/fair.c:11102:44: sparse: expected struct sched_domain *sd_parent kernel/sched/fair.c:11102:44: sparse: got struct sched_domain [noderef] __rcu *parent kernel/sched/fair.c:11541:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@ kernel/sched/fair.c:11541:9: sparse: expected struct sched_domain *[assigned] sd kernel/sched/fair.c:11541:9: sparse: got struct sched_domain [noderef] __rcu *parent >> kernel/sched/fair.c:12423:6: sparse: sparse: symbol 'sched_core_init_cfs_rq' was not declared. Should it be static? kernel/sched/fair.c:6418:35: sparse: sparse: marked inline, but without a definition kernel/sched/fair.c: note: in included file: kernel/sched/sched.h:2283:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:2283:9: sparse: struct task_struct [noderef] __rcu * kernel/sched/sched.h:2283:9: sparse: struct task_struct * kernel/sched/sched.h:2119:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:2119:25: sparse: struct task_struct [noderef] __rcu * kernel/sched/sched.h:2119:25: sparse: struct task_struct * kernel/sched/sched.h:2119:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:2119:25: sparse: struct task_struct [noderef] __rcu * kernel/sched/sched.h:2119:25: sparse: struct task_struct * vim +/sched_core_init_cfs_rq +12423 kernel/sched/fair.c 12422 12423 void sched_core_init_cfs_rq(struct task_group *tg, struct cfs_rq *cfs_rq) 12424 { 12425 #ifdef CONFIG_FAIR_GROUP_SCHED 12426 struct rq *rq = rq_of(cfs_rq); 12427 int core_id = rq->core_id; 12428 12429 cfs_rq->core = tg->cfs_rq[core_id]; 12430 #endif 12431 } 12432 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki