Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2905884rwd; Fri, 16 Jun 2023 09:36:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qgXWjF7uh9/V4ikfRPBIJ5z8cxcA25TSvI+WMxo4NYKw+8xiGFfolz7r54tbTc2tyfeI3 X-Received: by 2002:a05:6870:e7c5:b0:1a2:7f63:9920 with SMTP id q5-20020a056870e7c500b001a27f639920mr2238066oak.26.1686933392082; Fri, 16 Jun 2023 09:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686933392; cv=none; d=google.com; s=arc-20160816; b=hVbqZMJDbCme4SRas8c796AgDyNJPGAJ0H9kutzNxvEwPFEZjItFoxMH75CVWGwe1S VBd4Uo2zcJ5UeiHbhXLHlUU9+eIQWDms/OxDKfGSHtvkbb3dtaorhR2qCeE0Gg1EQVL8 3JSWaSEKY3BVYnJDM8ReEt/SwfLeUnMZ6wp5qcqVPdqDp+yII5fbJv+F50z6nxeeGcad YR8EVlK7BPUjVBaJV2eF1M+6kXNy5DssPN8JCephMDg1m0ZL/doLLFhpReerP9GaF+aJ ++zqLIGRM55OLQw1c8zFHjh2MF14TWbxJe6sRukOErYu4bWhLRCRz8pRAY4WhgJOn5sk 0eOA== 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=hEhV5iNdmZewWm8jaeZNSv6p79LRMnNplI4ONb23jmw=; b=elPlEYZhmcI79Brs8dR4bPQfSB4fBpjtu3Mq8te+TtdB+TDbplAvAkH7z5CvOx1RX3 AKoBOGWo/M8RyM/8qCt317ygMH31j+t55NSzKchJhiwXPE0urqxTsvL0PKpTUYZKCvy/ BdKQWAhWMqrzP+dltIq8ECNNGPTpgTeiZ6z5Hh7DSSJvc/kk8t47Zkcy3tKw35ZLaUn6 3XjPSAg9IzGz55sSgVOb/Mebg+JvySuERhseq0piyVihSZARiAd49tdyJ6FpAAOlIHCt 6OD9HGiGXC9iJmPEXs9dgg72ADZGDt+GdsXP46iqh0GRejNO5mgRZffgJ2bSMoG4OaPp d7sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=a4uuzBeC; 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 k69-20020a638448000000b0054fd473b82fsi5861242pgd.260.2023.06.16.09.36.14; Fri, 16 Jun 2023 09:36:32 -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=a4uuzBeC; 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 S1345458AbjFPQR2 (ORCPT + 99 others); Fri, 16 Jun 2023 12:17:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345403AbjFPQQL (ORCPT ); Fri, 16 Jun 2023 12:16:11 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF7853C0B for ; Fri, 16 Jun 2023 09:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686932094; x=1718468094; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5FWzSqt1I/6J4IrVSatQT9JGT7XQXXpEiRdTl/Z/lTk=; b=a4uuzBeCShKlAdi8g7GygP27Aa+40oxKBQd/qA/o21KyCILxuX7ldTH/ CXTZ7ARZi/s/cOiIfAihh4ri3EnfqGMBiepTdkm77uMpk1pcGcRICN5Af 2+KiQcetNsMe0xaSTPR+VmxWQGVyPsyy8D9sraY6kd8CEsptX4BLQqpLs lwLwdtVtLlwfqkhqnOMDLcqF30lFrCy58GTA1+zeB4X1o9ATKdOn3d5Lf CMMDcs2I39DGIrEwOKOc7i7oKri3LOxRp+y+RvrkqsRhtkCyhfYv5VhNh SHEhaPLSD7E1H8QhlMCmciHolT4dM33QufHm79VNAH11lK/2SF6ebyJe7 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="362666318" X-IronPort-AV: E=Sophos;i="6.00,247,1681196400"; d="scan'208";a="362666318" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2023 09:14:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="782960761" X-IronPort-AV: E=Sophos;i="6.00,247,1681196400"; d="scan'208";a="782960761" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 16 Jun 2023 09:14:42 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1qAC5x-0001Xg-2Y; Fri, 16 Jun 2023 16:14:41 +0000 Date: Sat, 17 Jun 2023 00:13:41 +0800 From: kernel test robot To: Alison Wang , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, leoyang.li@nxp.com, xuelin.shi@nxp.com, xiaofeng.ren@nxp.com, feng.guo@nxp.com, Alison Wang Subject: Re: [PATCH 7/8] ethosu: Add core message about inference cancellation Message-ID: <202306162318.xhEoGf1L-lkp@intel.com> References: <20230616055913.2360-8-alison.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230616055913.2360-8-alison.wang@nxp.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,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 Alison, kernel test robot noticed the following build warnings: [auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v6.4-rc6 next-20230616] [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/Alison-Wang/ethosu-Add-Arm-Ethos-U-driver/20230616-141036 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20230616055913.2360-8-alison.wang%40nxp.com patch subject: [PATCH 7/8] ethosu: Add core message about inference cancellation config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20230616/202306162318.xhEoGf1L-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230616/202306162318.xhEoGf1L-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306162318.xhEoGf1L-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/firmware/ethosu/ethosu_network.c: In function 'ethosu_network_ioctl': >> drivers/firmware/ethosu/ethosu_network.c:149:1: warning: the frame size of 1580 bytes is larger than 1024 bytes [-Wframe-larger-than=] 149 | } | ^ vim +149 drivers/firmware/ethosu/ethosu_network.c e66deaf1b03f9c Alison Wang 2023-06-16 91 e66deaf1b03f9c Alison Wang 2023-06-16 92 static long ethosu_network_ioctl(struct file *file, e66deaf1b03f9c Alison Wang 2023-06-16 93 unsigned int cmd, e66deaf1b03f9c Alison Wang 2023-06-16 94 unsigned long arg) e66deaf1b03f9c Alison Wang 2023-06-16 95 { e66deaf1b03f9c Alison Wang 2023-06-16 96 struct ethosu_network *net = file->private_data; e66deaf1b03f9c Alison Wang 2023-06-16 97 void __user *udata = (void __user *)arg; e66deaf1b03f9c Alison Wang 2023-06-16 98 int ret = -EINVAL; e66deaf1b03f9c Alison Wang 2023-06-16 99 e66deaf1b03f9c Alison Wang 2023-06-16 100 ret = mutex_lock_interruptible(&net->edev->mutex); e66deaf1b03f9c Alison Wang 2023-06-16 101 if (ret) e66deaf1b03f9c Alison Wang 2023-06-16 102 return ret; e66deaf1b03f9c Alison Wang 2023-06-16 103 5d698f8bcb8aa1 Alison Wang 2023-06-16 104 dev_dbg(net->edev->dev, 5d698f8bcb8aa1 Alison Wang 2023-06-16 105 "Network ioctl: file=0x%pK, net=0x%pK, cmd=0x%x, arg=0x%lx\n", 5d698f8bcb8aa1 Alison Wang 2023-06-16 106 file, net, cmd, arg); e66deaf1b03f9c Alison Wang 2023-06-16 107 e66deaf1b03f9c Alison Wang 2023-06-16 108 switch (cmd) { 9bdfe23d58ca27 Alison Wang 2023-06-16 109 case ETHOSU_IOCTL_NETWORK_INFO: { 9bdfe23d58ca27 Alison Wang 2023-06-16 110 struct ethosu_uapi_network_info uapi; 9bdfe23d58ca27 Alison Wang 2023-06-16 111 9bdfe23d58ca27 Alison Wang 2023-06-16 112 if (copy_from_user(&uapi, udata, sizeof(uapi))) 9bdfe23d58ca27 Alison Wang 2023-06-16 113 break; 9bdfe23d58ca27 Alison Wang 2023-06-16 114 9bdfe23d58ca27 Alison Wang 2023-06-16 115 dev_dbg(net->edev->dev, 9bdfe23d58ca27 Alison Wang 2023-06-16 116 "Network ioctl: Network info. net=0x%pK\n", 9bdfe23d58ca27 Alison Wang 2023-06-16 117 net); 9bdfe23d58ca27 Alison Wang 2023-06-16 118 9bdfe23d58ca27 Alison Wang 2023-06-16 119 ret = ethosu_network_info_request(net, &uapi); 9bdfe23d58ca27 Alison Wang 2023-06-16 120 if (ret) 9bdfe23d58ca27 Alison Wang 2023-06-16 121 break; 9bdfe23d58ca27 Alison Wang 2023-06-16 122 9bdfe23d58ca27 Alison Wang 2023-06-16 123 ret = copy_to_user(udata, &uapi, sizeof(uapi)) ? -EFAULT : 0; 9bdfe23d58ca27 Alison Wang 2023-06-16 124 break; 9bdfe23d58ca27 Alison Wang 2023-06-16 125 } e66deaf1b03f9c Alison Wang 2023-06-16 126 case ETHOSU_IOCTL_INFERENCE_CREATE: { e66deaf1b03f9c Alison Wang 2023-06-16 127 struct ethosu_uapi_inference_create uapi; e66deaf1b03f9c Alison Wang 2023-06-16 128 e66deaf1b03f9c Alison Wang 2023-06-16 129 if (copy_from_user(&uapi, udata, sizeof(uapi))) e66deaf1b03f9c Alison Wang 2023-06-16 130 break; e66deaf1b03f9c Alison Wang 2023-06-16 131 5d698f8bcb8aa1 Alison Wang 2023-06-16 132 dev_dbg(net->edev->dev, 5d698f8bcb8aa1 Alison Wang 2023-06-16 133 "Network ioctl: Inference. ifm_fd=%u, ofm_fd=%u\n", e66deaf1b03f9c Alison Wang 2023-06-16 134 uapi.ifm_fd[0], uapi.ofm_fd[0]); e66deaf1b03f9c Alison Wang 2023-06-16 135 e66deaf1b03f9c Alison Wang 2023-06-16 136 ret = ethosu_inference_create(net->edev, net, &uapi); e66deaf1b03f9c Alison Wang 2023-06-16 137 break; e66deaf1b03f9c Alison Wang 2023-06-16 138 } e66deaf1b03f9c Alison Wang 2023-06-16 139 default: { e66deaf1b03f9c Alison Wang 2023-06-16 140 dev_err(net->edev->dev, "Invalid ioctl. cmd=%u, arg=%lu", e66deaf1b03f9c Alison Wang 2023-06-16 141 cmd, arg); e66deaf1b03f9c Alison Wang 2023-06-16 142 break; e66deaf1b03f9c Alison Wang 2023-06-16 143 } e66deaf1b03f9c Alison Wang 2023-06-16 144 } e66deaf1b03f9c Alison Wang 2023-06-16 145 e66deaf1b03f9c Alison Wang 2023-06-16 146 mutex_unlock(&net->edev->mutex); e66deaf1b03f9c Alison Wang 2023-06-16 147 e66deaf1b03f9c Alison Wang 2023-06-16 148 return ret; e66deaf1b03f9c Alison Wang 2023-06-16 @149 } e66deaf1b03f9c Alison Wang 2023-06-16 150 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki