Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp266429pxb; Tue, 12 Apr 2022 23:51:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyod/19vvFRe/s91QWJzdZ9ovX7ETDHvAMQlpOW4Bv3EvgteEPqCtIemssJLNhMCmrFvE/p X-Received: by 2002:a65:538f:0:b0:382:b4d:bdd8 with SMTP id x15-20020a65538f000000b003820b4dbdd8mr33559141pgq.262.1649832686607; Tue, 12 Apr 2022 23:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649832686; cv=none; d=google.com; s=arc-20160816; b=Hi+9ePYZSF62wGxV4gwUbMsVh61A1OVpNIIM7LF24CbwLFWglyEeUX0pdfq/PAtdvg N2nGyME3GCEobg10LLkKvQY2G3fZ1H1A4B563Xu3kqUGhWDhXcbUJVKHP808qGmAT2BT L3crecFtML+mdMC/mQJhgxxVOGU5g+Q5XkkRtJQI0WPA/yLkHTJjWEBH5ufr4D/3DqWx Y/1HzFAd6rh58O0l0NVrmtAUFgg7HdEsAoan3W14XWMqDxeVITpP4G+np+D0HXUgwqOm Kd9JUSVx225UPcvAu3k543OjBvn2BmJsjONY2VgXZAlwrz6XdP8tt/MRTvETo7qYZVxA bIig== 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=O+vL6GGQHvAzvlf4R6TFEodFSVxQKm5PbH78ugbn47Y=; b=c+KI1uKVzlMjXvOds84MjoM297Tb7Xvx5B5Pyg4fW8HJ128zQyU6sFuZ4OkTn0LO41 ygFMuvQZ5aQLhvj0dhKLdvhjzDxgrcAX/5lPHVby3iSNbg5k3J3+oEIt28bZ7DdcFMwX QY5L/dsEFiAD8of+pH9/eXKrWaq21/I1hJmgMFoV94fsiHpOdfkd7YVh58Z48huKz2yL X6Vg1Bk1lPDZ1dHL9gr2OoIi9FQBA1LgkVwY+YYHJu7/Nj1f6kdCqMDjyJFz5ns7JLr9 uVyPPfeJtYXLWq97BRZFRioPKEibXZBywMZunC/08Kj1W1ZflNx4vQyRQQuC00MNRPXU YI/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HkirIRPd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020a17090aaa8800b001cba831759bsi5836359pjq.119.2022.04.12.23.50.58; Tue, 12 Apr 2022 23:51:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HkirIRPd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231816AbiDMCzy (ORCPT + 99 others); Tue, 12 Apr 2022 22:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229869AbiDMCzu (ORCPT ); Tue, 12 Apr 2022 22:55:50 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14DC5506FB for ; Tue, 12 Apr 2022 19:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649818411; x=1681354411; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=iAv5dkbR0+970v7u956ZWhweZIRufdGjsylm0ge4jKY=; b=HkirIRPdTOCsylo0O12ry/v9ZbYsrX6ZOQYmiJR+jx8vLSO3HvKIkKPg 36rJB4r3Mj0DJLFdtY4HX75ig+WqENOowSU1NOdJaTpx2uuyMPk9v80de nB2ngevhEWLyGEH8EsZM+ohHvKwQilqaPke7OoAwMnGGjkCXAo3cWD5Dq OpNCfuFIop5nSrYelMt24qS6oesx9nivi31dJ6XNhv99Yd6zkO7Bj2OOq uWZQULOIInXAWcEkxyRB7Hk+fxYi0J1ms5LkO5JpEEvIrgDSJckZqDqiv SM/sOGWGUxmMrrpNXVc9OUO6F+YqPL4P5RPZsBk6bi+Vkv8psr+22HkXi A==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="244442982" X-IronPort-AV: E=Sophos;i="5.90,255,1643702400"; d="scan'208";a="244442982" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 19:53:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,255,1643702400"; d="scan'208";a="724719960" Received: from lkp-server02.sh.intel.com (HELO d3fc50ef50de) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 12 Apr 2022 19:53:28 -0700 Received: from kbuild by d3fc50ef50de with local (Exim 4.95) (envelope-from ) id 1neT8K-0003Ni-4f; Wed, 13 Apr 2022 02:53:28 +0000 Date: Wed, 13 Apr 2022 10:52:59 +0800 From: kernel test robot To: Thomas Gleixner , LKML Cc: kbuild-all@lists.01.org, Christoph Hellwig , Sebastian Andrzej Siewior Subject: Re: [patch V4 1/2] smp: Rename flush_smp_call_function_from_idle() Message-ID: <202204131011.m9M80Uip-lkp@intel.com> References: <20220412204353.655068649@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220412204353.655068649@linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) 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,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 Hi Thomas, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on hch-configfs/for-next linus/master linux/master v5.18-rc2 next-20220412] [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/Thomas-Gleixner/smp-Make-softirq-handling-RT-friendly/20220413-045944 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 089c02ae2771a14af2928c59c56abfb9b885a8d7 config: arc-defconfig (https://download.01.org/0day-ci/archive/20220413/202204131011.m9M80Uip-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 11.2.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/7c7c3b99f3599eb409f237b32f330fa06bffcd5d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Gleixner/smp-Make-softirq-handling-RT-friendly/20220413-045944 git checkout 7c7c3b99f3599eb409f237b32f330fa06bffcd5d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/smp.c:697:6: warning: no previous prototype for 'flush_smp_call_function_queue' [-Wmissing-prototypes] 697 | void flush_smp_call_function_queue(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/flush_smp_call_function_queue +697 kernel/smp.c 683 684 685 /** 686 * flush_smp_call_function_queue - Flush pending smp-call-function callbacks 687 * from task context (idle, migration thread) 688 * 689 * When TIF_POLLING_NRFLAG is supported and a CPU is in idle and has it 690 * set, then remote CPUs can avoid sending IPIs and wake the idle CPU by 691 * setting TIF_NEED_RESCHED. The idle task on the woken up CPU has to 692 * handle queued SMP function calls before scheduling. 693 * 694 * The migration thread has to ensure that an eventually pending wakeup has 695 * been handled before it migrates a task. 696 */ > 697 void flush_smp_call_function_queue(void) 698 { 699 unsigned long flags; 700 701 if (llist_empty(this_cpu_ptr(&call_single_queue))) 702 return; 703 704 cfd_seq_store(this_cpu_ptr(&cfd_seq_local)->idle, CFD_SEQ_NOCPU, 705 smp_processor_id(), CFD_SEQ_IDLE); 706 local_irq_save(flags); 707 __flush_smp_call_function_queue(true); 708 if (local_softirq_pending()) 709 do_softirq(); 710 711 local_irq_restore(flags); 712 } 713 -- 0-DAY CI Kernel Test Service https://01.org/lkp