Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1713680ioo; Mon, 23 May 2022 01:14:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYhVWYNlGBzUT+CRU6n0a1IpZknei7tJsq2NdE5QDmAklC2qjx6Xys+ptaEz0lG/w4m7NQ X-Received: by 2002:a17:90b:4c8f:b0:1e0:5b0e:eddc with SMTP id my15-20020a17090b4c8f00b001e05b0eeddcmr2189493pjb.23.1653293653647; Mon, 23 May 2022 01:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653293653; cv=none; d=google.com; s=arc-20160816; b=NRAXEZOvQjvKptRxfU/AmvYCgG0Pds619j8O5XV8lZPdu78/rMcTxqS34jg4fqhh9P MS5w8Xk91QRoGJc37BV3BdElx9dlm1LCY/TUS2Mq2Q/nAj4QU3TE/Lz7uq+GNP0pcW1R 925ACmnBfMsdWpBE/2VEuMcxeZimS1aeoBN6HvC3SdhrIno4HAHve/hhcPMRuie1esUw /rnHabviiN8iqhDLMYQQzicxIPa80kjeDMbFX6jMqrscWKLnvuGld4VHeKZzd9OwA1M9 LQoqGQT2wP/xaDCTGazI3ujApStgEccJHQf2IoclIKibUK01maK6O7r9wLuTxTTPZA/v 44Tw== 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=HUxbdPD14wjrfvx6kJtv54VsU0KoxHSgiwmCFg6+LS4=; b=cmZIjrD2veSvg8bSmtJHJ9IDbkJIQbr5yChSd5BDzsqjDqT6PtrSr4f+o7o5437u1r iRcyh0s0WAiJx2q7Xme3SEZJP/o6/kZbYp/k4/RDqPn2L5XJrxVayNv8SDtFu4XjEkoQ 4q6k3jATK1y5PPeQFCEi6FgvbOlOnYvDa8qYWqyLzdOCqjOMatuso3r9OG4LrsPZMHAP 1hV4ed2X/DcfVLOIuhQ2YgNobTF0w2aa2yU2tAeK3hVWeQOfMbSG8Gfn0Qfg0+rRfcuf TNmOevME7ByPOYVvyoMIqZhM/xBLztg3PSRASkllFAhFJtvdiWdKiiD09/Cp+8bqtMeG U6rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Ax1/jxOT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i3-20020a170902c28300b00158f3c64e2fsi8738166pld.244.2022.05.23.01.14.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Ax1/jxOT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF3706D96B; Mon, 23 May 2022 00:09:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239004AbiEUBb2 (ORCPT + 99 others); Fri, 20 May 2022 21:31:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232367AbiEUBb1 (ORCPT ); Fri, 20 May 2022 21:31:27 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E7E323BD3 for ; Fri, 20 May 2022 18:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653096686; x=1684632686; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=md3cCOl0EMuZcAaSqgZvOzox2NciGnz8N/r+pU7M6NA=; b=Ax1/jxOTgMwdc6J7emTpzI8Lz5n8Td6I9TKap0vthumuWK71LU98Pb15 bse9RUrKQfv8twPYV2PLB6mv/+oPo6bqA5YGjATh3yw7+fa4mGzKR97lr f2+/ecv47KTgEquvMS6jMqj/opZp9xgPc6VI5u1XeFzlcM4Z1U3EOwSSV W0WDziz6s1jKeEq8YqSywwMMSv6he0UuuG6L8RT1RvaKg+jxDEnGMKnpZ nfq9dqSFDdxhKgZE8N/kirqfunX0NNpLjxuDa9ygvYV+IgM7KuCk+hiyU MxjT9dX0IqsyQwoOoa4zl14JICvx9xlfEbS4dqnJHHleBdLZ7oqQS9CE3 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10353"; a="270369572" X-IronPort-AV: E=Sophos;i="5.91,240,1647327600"; d="scan'208";a="270369572" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 18:31:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,240,1647327600"; d="scan'208";a="571112499" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 20 May 2022 18:31:22 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1nsDxh-0005jC-P5; Sat, 21 May 2022 01:31:21 +0000 Date: Sat, 21 May 2022 09:31:03 +0800 From: kernel test robot To: Josh Don , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Tejun Heo Cc: kbuild-all@lists.01.org, Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org, Cruz Zhao , Josh Don Subject: Re: [PATCH v2] sched/core: add forced idle accounting for cgroups Message-ID: <202205210945.s3TGKFfR-lkp@intel.com> References: <20220520235138.3140590-1-joshdon@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220520235138.3140590-1-joshdon@google.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Josh, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tj-cgroup/for-next] [also build test WARNING on tip/sched/core tip/master v5.18-rc7 next-20220520] [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/intel-lab-lkp/linux/commits/Josh-Don/sched-core-add-forced-idle-accounting-for-cgroups/20220521-075311 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220521/202205210945.s3TGKFfR-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 11.3.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/intel-lab-lkp/linux/commit/0575a42c9f10cda618b09b949cc42fe97abea479 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Josh-Don/sched-core-add-forced-idle-accounting-for-cgroups/20220521-075311 git checkout 0575a42c9f10cda618b09b949cc42fe97abea479 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash kernel/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/math.h:6, from include/linux/math64.h:6, from include/linux/time64.h:5, from include/linux/restart_block.h:10, from include/linux/thread_info.h:14, from include/asm-generic/preempt.h:5, from ./arch/m68k/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from arch/m68k/include/asm/irqflags.h:6, from include/linux/irqflags.h:16, from arch/m68k/include/asm/atomic.h:6, from include/linux/atomic.h:7, from include/linux/rcupdate.h:25, from include/linux/rculist.h:11, from include/linux/pid.h:5, from include/linux/sched.h:14, from include/linux/cgroup.h:12, from kernel/cgroup/cgroup-internal.h:5, from kernel/cgroup/rstat.c:2: kernel/cgroup/rstat.c: In function 'cgroup_base_stat_cputime_show': >> arch/m68k/include/asm/div64.h:21:17: warning: 'forceidle_time' is used uninitialized [-Wuninitialized] 21 | __n.n64 = (n); \ | ^ kernel/cgroup/rstat.c:465:28: note: 'forceidle_time' was declared here 465 | u64 __maybe_unused forceidle_time; | ^~~~~~~~~~~~~~ vim +/forceidle_time +21 arch/m68k/include/asm/div64.h d20f5aa338dc75 Greg Ungerer 2009-02-06 12 d20f5aa338dc75 Greg Ungerer 2009-02-06 13 #define do_div(n, base) ({ \ d20f5aa338dc75 Greg Ungerer 2009-02-06 14 union { \ d20f5aa338dc75 Greg Ungerer 2009-02-06 15 unsigned long n32[2]; \ d20f5aa338dc75 Greg Ungerer 2009-02-06 16 unsigned long long n64; \ d20f5aa338dc75 Greg Ungerer 2009-02-06 17 } __n; \ d20f5aa338dc75 Greg Ungerer 2009-02-06 18 unsigned long __rem, __upper; \ ea077b1b96e073 Andreas Schwab 2013-08-09 19 unsigned long __base = (base); \ d20f5aa338dc75 Greg Ungerer 2009-02-06 20 \ d20f5aa338dc75 Greg Ungerer 2009-02-06 @21 __n.n64 = (n); \ d20f5aa338dc75 Greg Ungerer 2009-02-06 22 if ((__upper = __n.n32[0])) { \ d20f5aa338dc75 Greg Ungerer 2009-02-06 23 asm ("divul.l %2,%1:%0" \ d20f5aa338dc75 Greg Ungerer 2009-02-06 24 : "=d" (__n.n32[0]), "=d" (__upper) \ ea077b1b96e073 Andreas Schwab 2013-08-09 25 : "d" (__base), "0" (__n.n32[0])); \ d20f5aa338dc75 Greg Ungerer 2009-02-06 26 } \ d20f5aa338dc75 Greg Ungerer 2009-02-06 27 asm ("divu.l %2,%1:%0" \ d20f5aa338dc75 Greg Ungerer 2009-02-06 28 : "=d" (__n.n32[1]), "=d" (__rem) \ ea077b1b96e073 Andreas Schwab 2013-08-09 29 : "d" (__base), "1" (__upper), "0" (__n.n32[1])); \ d20f5aa338dc75 Greg Ungerer 2009-02-06 30 (n) = __n.n64; \ d20f5aa338dc75 Greg Ungerer 2009-02-06 31 __rem; \ d20f5aa338dc75 Greg Ungerer 2009-02-06 32 }) d20f5aa338dc75 Greg Ungerer 2009-02-06 33 -- 0-DAY CI Kernel Test Service https://01.org/lkp