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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FDD0C636D4 for ; Sun, 5 Feb 2023 05:48:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 48D546B0072; Sun, 5 Feb 2023 00:48:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 43C0C6B0073; Sun, 5 Feb 2023 00:48:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 303B46B0074; Sun, 5 Feb 2023 00:48:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 1D8E06B0072 for ; Sun, 5 Feb 2023 00:48:20 -0500 (EST) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 64026160978 for ; Sun, 5 Feb 2023 05:48:19 +0000 (UTC) X-FDA: 80432157918.09.1A3342B Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf12.hostedemail.com (Postfix) with ESMTP id A1B6A40011 for ; Sun, 5 Feb 2023 05:48:16 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=SXcQqa1S; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675576097; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=RHhclm+7PCfXhI482J5sqoh5Nxfgz0s+flgWAqSKzSM=; b=pgZf+UD2ktMglNAcHAyPWa+r6mHdttyRXllviq9xNBi+WTTKXTX+bLcJaL7/qxJCbDqDwO SHIpvXHkg/Pn9GcCRQy3I5TG79j7JcI5yOirMwkKfsoD+i4PSuiKvwfsJ1kKISdrTcet2Z FV5AmsTp9hyw7c5/7AKHiWbiBzyE1+Y= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=SXcQqa1S; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675576097; a=rsa-sha256; cv=none; b=WWGMMH4a5WCSiUr60uRxDYI/OXHdLQZ5/y2R6/mh9qEIDofs4QjjkR636B/sGJxmC794tT z85EkiTnewYxT4HHQhOhnfU6K6x/BfWWosylfc+5CeFhhoug591XaX1wpfoW8/3gV4RuJN mocig7/37FOaBYb2S1mlPjUSJaLnuoM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675576096; x=1707112096; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=iEw0zlMttW4+qyyZlq9G8QxHxm7XJTMCir7vrzAuEcs=; b=SXcQqa1S4ry1gAicmmFmlQt0D019lzQ46mpYLywLgECOES3Pp0L1nqs3 R7zML14fcUAi4sjcQ7W654SFym3ml5JlMQ76jTDKZWxPIKOhArwr/JgUa TTEVv22dQE36etzMiJIHAGvc6e7BKXrgTD3oxtpDfrMES+YiHAiCnye4T gaRSzw94wxIjjOKGRqrF+7G+98FIWXB+hiLRXWxLDTyvbhH8GIvvjRI6O 3Tc0QWbhDzw1yatinKVhWWRRi1vWZEBG3USMuPe9HuQF40wz8oA2v3wQ/ 94Y9sECuOqp7EiOPLfnO6qmi6u54oMd0VXbiH/cdG52O+u9x/IWRv2urE A==; X-IronPort-AV: E=McAfee;i="6500,9779,10611"; a="317023730" X-IronPort-AV: E=Sophos;i="5.97,274,1669104000"; d="scan'208";a="317023730" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2023 21:48:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10611"; a="696544694" X-IronPort-AV: E=Sophos;i="5.97,274,1669104000"; d="scan'208";a="696544694" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 04 Feb 2023 21:48:09 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pOXsn-0001lo-0V; Sun, 05 Feb 2023 05:48:09 +0000 Date: Sun, 5 Feb 2023 13:47:34 +0800 From: kernel test robot To: Frederic Weisbecker , LKML Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Frederic Weisbecker , Roman Gushchin , Michal Hocko , Marcelo Tosatti , Leonardo , Johannes Weiner , Shakeel Butt , Muchun Song , Andrew Morton , Linux Memory Management List , Peter Zijlstra , Thomas Gleixner , cgroups@vger.kernel.org Subject: Re: [PATCH 2/2] sched/isolation: Add cpu_is_isolated() API Message-ID: <202302051316.1kdX7ylk-lkp@intel.com> References: <20230203232409.163847-3-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230203232409.163847-3-frederic@kernel.org> X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: A1B6A40011 X-Stat-Signature: ihxqqsx89xnjkmrb9y3xnddkmbr6tfrp X-HE-Tag: 1675576096-681453 X-HE-Meta: U2FsdGVkX1/MRno4ybTbOgJ/dCMM/tsEWXlTvyKeKR0oTnaqVoMZuvZp01I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zR5jB1unc2Dn4v76go7MzLjeo9UcIlGy10Ti2Mb8BK30e8Tk66t9/QsFYwWLrxh3v6M2vyCFD4c4oKAzc6+Y9kzS8gf9HDAv0mX3TR3a3tqEmpwskPMLX5Q8TCFnIYCVE8gD4sPY6sPBzmBF+emYfiwoCOB40UmSvekmi537gVOI6vLsyCEdhI91NJy72EG0hah/bZ2oY1R0SxmCBuwC5tjHRX5DKfAAsnjhP1GVtdf92L+hnDX6HIiAEYVbEObJJXoRypTgv/goveuPxj4wARmJlnrWhGwYOlbbplUpLFGiBIY+hWd07u4= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Frederic, I love your patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on horms-ipvs-next/master horms-ipvs/master linus/master v6.2-rc6 next-20230203] [cannot apply to paulmck-rcu/dev] [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/Frederic-Weisbecker/sched-isolation-Merge-individual-nohz_full-features-into-a-common-housekeeping-flag/20230204-072510 patch link: https://lore.kernel.org/r/20230203232409.163847-3-frederic%40kernel.org patch subject: [PATCH 2/2] sched/isolation: Add cpu_is_isolated() API config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20230205/202302051316.1kdX7ylk-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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/89596a035dc10e00cb66d4e75e49d69b75413807 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Frederic-Weisbecker/sched-isolation-Merge-individual-nohz_full-features-into-a-common-housekeeping-flag/20230204-072510 git checkout 89596a035dc10e00cb66d4e75e49d69b75413807 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/pci/pci-driver.c:15: >> include/linux/sched/isolation.h:58:10: error: implicit declaration of function 'housekeeping_test_cpu' is invalid in C99 [-Werror,-Wimplicit-function-declaration] return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) || ^ include/linux/sched/isolation.h:58:10: note: did you mean 'housekeeping_any_cpu'? include/linux/sched/isolation.h:27:19: note: 'housekeeping_any_cpu' declared here static inline int housekeeping_any_cpu(enum hk_type type) ^ 1 error generated. -- In file included from kernel/sched/fair.c:38: >> include/linux/sched/isolation.h:58:10: error: implicit declaration of function 'housekeeping_test_cpu' is invalid in C99 [-Werror,-Wimplicit-function-declaration] return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) || ^ include/linux/sched/isolation.h:58:10: note: did you mean 'housekeeping_any_cpu'? include/linux/sched/isolation.h:27:19: note: 'housekeeping_any_cpu' declared here static inline int housekeeping_any_cpu(enum hk_type type) ^ kernel/sched/fair.c:688:5: warning: no previous prototype for function 'sched_update_scaling' [-Wmissing-prototypes] int sched_update_scaling(void) ^ kernel/sched/fair.c:688:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int sched_update_scaling(void) ^ static 1 warning and 1 error generated. vim +/housekeeping_test_cpu +58 include/linux/sched/isolation.h 55 56 static inline bool cpu_is_isolated(int cpu) 57 { > 58 return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) || 59 !housekeeping_test_cpu(cpu, HK_TYPE_KERNEL_NOISE); 60 } 61 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests