Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1451492pxb; Sat, 23 Apr 2022 07:04:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlmoB+VNRJ0xOdVJ7vcEzbSO0C+YgzkivyxJW4WvOy3araw/mR7Dl+dUUjL+kyR7U9ZrUX X-Received: by 2002:a17:903:290:b0:15c:1c87:e66c with SMTP id j16-20020a170903029000b0015c1c87e66cmr7758711plr.61.1650722692297; Sat, 23 Apr 2022 07:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650722692; cv=none; d=google.com; s=arc-20160816; b=A5YpnOkN460gGGw40tyekrevbxO+FyVtCUNT8wU4AjmWWC/jA9iUQ4HcFivXta2y9d Chk+nwrwEzbiE2dt2DFybw2uLE79bE7vlZYoSLM6vHO/2eAOC8KO/gFe9awO2msAA+XQ G+atZ2gBO66l+aKQ+jnQ6Oe2KGZ7VpkSj+jFXhfa1NIjWkdZJvC8jftichN7eYXj86Qd JPFbPBCTKIFvXGE363oQttSYcL1J/oFJCmVD82QYDep5MoXKyUC+qyfvJnGYTu9KH/M/ iwznzPT8sNgUET/VHeBNL27mr+k8g4kN2Al1FFKrIFMuqqCLVrjGyrpT3+B1fOiVzscd QQ4A== 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=we2+al8Zdx1FfJtRu0Snpx4fdlp3CN8rpia/QkeDZHc=; b=fOjsVGpmF78g5pH0ulu4tCDDXCxMQELhP4rRIBv3GkUxSDBB5GEP3K+5EWqO0zXoO5 cPHVxOoQotYVwgVn7LyhMtJJiHP4+0Y/SUHixJx0vpNkelQq8dwYqQaOoN5/qQNdpWSa XFUZHRQo2ZMrsFYEL5y4V05WerB/s3gpaZ/5ox2P2q1DaTi2GnsOyTl0wleQ0PZuUSr3 MW9gCuprGdPArmejsXdqSCF8R3KzCEnBTUUgYlXecUtl7suOfftt/fB7cd/0cHflGpLI GpyZjvRace0BooDt+SMVpBJLCVNgR5tdkiOReO3NfL2cpI8QIunmE1OzqXzgkzzzVVix LAXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dn8jAUIz; 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 t14-20020a63dd0e000000b0039cc1700f93si10611165pgg.862.2022.04.23.07.04.35; Sat, 23 Apr 2022 07:04:52 -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=dn8jAUIz; 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 S233839AbiDWHdz (ORCPT + 99 others); Sat, 23 Apr 2022 03:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233589AbiDWHdt (ORCPT ); Sat, 23 Apr 2022 03:33:49 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1257CE04 for ; Sat, 23 Apr 2022 00:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650699052; x=1682235052; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=byW5e7HMBEMlxs4zsMVsZvJMl2G0TfZXEMbM7J374Ck=; b=dn8jAUIzRR8dlRzNNKOpq8kVrurvsf08yyiWFHiyR1KHhVP8fPOuYb7W Lfpzk9L62WoV4+pU2qfHSPonclsdzp91Wixmym19B7EIvek6BfxcxStg6 7SrSEjLDeg3JDpI3tU3nf0LYJZnOanZQlq/eMp043LiydVST//k0Yw2/j csd4IXIq+2kA8xRfyDyr4G1ArVZZyFVBT5HE683ULa/lvefY5gbgTnp7o EE1KoHIb0pVf4lzR4JczOpYnDJsD85+iBKpiHuDMF2Rx0Ad3dvpoWGGzu o/EbVuAD7DVjfGblK6nsSF6dYPldjx7EP3aNvL+AJG4yVdR7HKtkPRq0Z g==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="252196309" X-IronPort-AV: E=Sophos;i="5.90,284,1643702400"; d="scan'208";a="252196309" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2022 00:30:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,284,1643702400"; d="scan'208";a="728858848" Received: from lkp-server01.sh.intel.com (HELO dd58949a6e39) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 23 Apr 2022 00:30:48 -0700 Received: from kbuild by dd58949a6e39 with local (Exim 4.95) (envelope-from ) id 1niAEB-00001S-HQ; Sat, 23 Apr 2022 07:30:47 +0000 Date: Sat, 23 Apr 2022 15:30:18 +0800 From: kernel test robot To: Donghai Qiao , akpm@linux-foundation.org, sfr@canb.auug.org.au, arnd@arndb.de, peterz@infradead.org, heying24@huawei.com, andriy.shevchenko@linux.intel.com, axboe@kernel.dk, rdunlap@infradead.org, tglx@linutronix.de, gor@linux.ibm.com Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, donghai.w.qiao@gmail.com, linux-kernel@vger.kernel.org, Donghai Qiao Subject: Re: [PATCH v2 05/11] smp: replace smp_call_function_single_async() with smp_call_private() Message-ID: <202204231532.nXbSK9Tk-lkp@intel.com> References: <20220422200040.93813-6-dqiao@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220422200040.93813-6-dqiao@redhat.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED 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 Donghai, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on rafael-pm/linux-next linus/master v5.18-rc3 next-20220422] [cannot apply to tip/x86/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] url: https://github.com/intel-lab-lkp/linux/commits/Donghai-Qiao/smp-cross-CPU-call-interface/20220423-060436 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220423/202204231532.nXbSK9Tk-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5bd87350a5ae429baf8f373cb226a57b62f87280) 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/3b8a90029bebdb77e2d5c0cd16f371e83d8ed2e8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Donghai-Qiao/smp-cross-CPU-call-interface/20220423-060436 git checkout 3b8a90029bebdb77e2d5c0cd16f371e83d8ed2e8 # 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=i386 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 >>): >> block/blk-mq.c:1065:39: warning: passing 4-byte aligned argument to 16-byte aligned parameter 2 of 'smp_call_private' may result in an unaligned pointer access [-Walign-mismatch] smp_call_function_single_async(cpu, &rq->csd); ^ 1 warning generated. vim +/smp_call_private +1065 block/blk-mq.c 963395269c7586 Christoph Hellwig 2020-06-11 1055 f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1056 static void blk_mq_complete_send_ipi(struct request *rq) f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1057 { f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1058 struct llist_head *list; f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1059 unsigned int cpu; f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1060 f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1061 cpu = rq->mq_ctx->cpu; f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1062 list = &per_cpu(blk_cpu_done, cpu); f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1063 if (llist_add(&rq->ipi_list, list)) { f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1064 INIT_CSD(&rq->csd, __blk_mq_complete_request_remote, rq); f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 @1065 smp_call_function_single_async(cpu, &rq->csd); f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1066 } f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1067 } f9ab49184af093 Sebastian Andrzej Siewior 2021-01-23 1068 -- 0-DAY CI Kernel Test Service https://01.org/lkp