Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3123688pxm; Mon, 28 Feb 2022 12:31:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLh+d2CgI5CCqTj9oBw0fYWCP3pMsOodf04+un73g/ZSUcc8LIIyE5pyl0XZZdF1OLFxZr X-Received: by 2002:a63:70b:0:b0:373:9e98:d8f9 with SMTP id 11-20020a63070b000000b003739e98d8f9mr18338611pgh.242.1646080318204; Mon, 28 Feb 2022 12:31:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646080318; cv=none; d=google.com; s=arc-20160816; b=t2Wzv9kgQ0+7b1MS2ry+A0zz6uL9OgmsT8rgMLoiR9zp2jMb+MfFndVNza0HjdtJ6z ZsNBoAQREKZfjMkfbwgLUSmfm4dGCJ+rcQIl2r1S5OoM2IlAG52xj/6fDNa8aEYLOY4r xXyXjrvHBkKpWCZ4u+EAYPNMcfdWlpR6AqZVXZVdeVp+BxEg+2HCftMuO8V2v2gYuFWg /qrUjU13HRNnOsTE8ilxtUMO6MRfLsr3PCnCe+/ihLiJ4DUI9tFz6pQk4tnxHlyPkJl1 rdh+GZQXm8QscY0KGsE3gEthQNWJ4x+xuc70r7JM+z1Mj9CLjCFcNThlvVUD88CITtSo fcdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=yU+rRQ8kzjdya62nBNBIIAfVEUN6s05FqPf7QPkIFZA=; b=e2I3Ep2SY31n8UyCiBCt6YDyJ4Y/4zpEgWqMaTw7+2Boe44xkx2SuOGdggPQs7jxkQ 7Edulb1tLlhMuhG97b4eTjRs3dJazxXuIRwMB8Xd9KiUSrB4/VtOdf1qAX7f7CJm7Dje HJyqwI3/w7sg6nTBwbhrzWjrMzz4Id1NVUt4NiD2HbYd8NoC9Zibn5mlrti/bMfaqbmN DYiTzLVx7HmfKkwXx1eV2aysRzEIeT8hSQZK3cmicMLX2PQwxQzx5c4HgCgt+fXWQvOh bHyXVnBhWKSb428q1uUXOvAUnujxJjw4Sg/cYehb2+GHY+uARhybWioT0GGCsjJYZ2K+ ATyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DUC1DxOZ; 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 i23-20020a635417000000b00342b1567fd9si9976687pgb.238.2022.02.28.12.31.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 12:31:58 -0800 (PST) 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=DUC1DxOZ; 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 D5F37113AD8; Mon, 28 Feb 2022 11:51:34 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbiB1TwJ (ORCPT + 99 others); Mon, 28 Feb 2022 14:52:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbiB1Tvq (ORCPT ); Mon, 28 Feb 2022 14:51:46 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB320DF29 for ; Mon, 28 Feb 2022 11:50:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646077823; x=1677613823; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fyMzmzWob5BwLEcRZwKRCLnS0Nzkv/dRn06vcSYOlQM=; b=DUC1DxOZ9b9qtpoVAlOYQssJAZ6Z0Mnhemti5/ealu5BTCxe6nkMnggM 12tvzd6mXjpkxZOGNTbMfaC9Z6rd0In2/XJhc43c3u9pv3RTkXDQyvIN7 UgznB6G2/CIwfLjIP5HMsvqPhrq+Apag+0ZcfdX6HEUvQYhIWxsc7mKQH yssv/vKq7+J/fvedmcwVTcT0do94sN4MhgfdTul4FQh+kwJcYrRIVyXlJ ZtoIxMAQHPxbuAGWllPkXIhvhLgyrhLXia5kzLdz50TfLHDRjPZVxrUcn mHn3t02AqCJJb/7vPR8lVOBHNFhQsaYZg0Es08LKo/TGDkocnjtTqBXwT A==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="232942862" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="232942862" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 11:50:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="492838943" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 28 Feb 2022 11:50:19 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOm2E-0007kJ-LB; Mon, 28 Feb 2022 19:50:18 +0000 Date: Tue, 1 Mar 2022 03:49:36 +0800 From: kernel test robot To: Nicolas Saenz Julienne , mingo@redhat.com, peterz@infradead.org, frederic@kernel.org, rostedt@goodmis.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, tglx@linutronix.de, mtosatti@redhat.com, bristot@redhat.com, linux-kernel@vger.kernel.org, Nicolas Saenz Julienne Subject: Re: [RESEND PATCH 2/2] tracing: Avoid isolated CPUs when queueing fsnotify irqwork Message-ID: <202203010318.S1y5cIXE-lkp@intel.com> References: <20220228141550.260119-2-nsaenzju@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220228141550.260119-2-nsaenzju@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.4 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 Nicolas, I love your patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on next-20220228] [cannot apply to rostedt-trace/for-next linus/master v5.17-rc6] [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/Nicolas-Saenz-Julienne/sched-isolation-Use-raw_smp_processor_id-in-housekeeping_any_cpu/20220228-221742 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 6255b48aebfd4dff375e97fc8b075a235848db0b config: i386-randconfig-a002-20220228 (https://download.01.org/0day-ci/archive/20220301/202203010318.S1y5cIXE-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) 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/e3ec0b4adfed05db0d559d2d5234d6d8f1034985 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Nicolas-Saenz-Julienne/sched-isolation-Use-raw_smp_processor_id-in-housekeeping_any_cpu/20220228-221742 git checkout e3ec0b4adfed05db0d559d2d5234d6d8f1034985 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> kernel/trace/trace.c:1728:64: error: use of undeclared identifier 'HK_FLAG_MISC'; did you mean 'HK_TYPE_MISC'? irq_work_queue_on(&tr->fsnotify_irqwork, housekeeping_any_cpu(HK_FLAG_MISC)); ^~~~~~~~~~~~ HK_TYPE_MISC include/linux/sched/isolation.h:11:2: note: 'HK_TYPE_MISC' declared here HK_TYPE_MISC, ^ 1 error generated. vim +1728 kernel/trace/trace.c 1718 1719 void latency_fsnotify(struct trace_array *tr) 1720 { 1721 if (!fsnotify_wq) 1722 return; 1723 /* 1724 * We cannot call queue_work(&tr->fsnotify_work) from here because it's 1725 * possible that we are called from __schedule() or do_idle(), which 1726 * could cause a deadlock. 1727 */ > 1728 irq_work_queue_on(&tr->fsnotify_irqwork, housekeeping_any_cpu(HK_FLAG_MISC)); 1729 } 1730 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org