Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp530524rwb; Sat, 13 Aug 2022 03:25:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR5vg2aUVuL9hQL3708ptHz3+W15iVJs2SWGStRBQpERQyqzz6+KqdQ/LLiAlYNH8eUU5v7R X-Received: by 2002:a05:6402:524c:b0:43e:aba4:a42d with SMTP id t12-20020a056402524c00b0043eaba4a42dmr7056830edd.328.1660386310319; Sat, 13 Aug 2022 03:25:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660386310; cv=none; d=google.com; s=arc-20160816; b=YA8ZUr93RgkvuTwvBV1aGJZ+UuF01yx+FGbN0tf7RVIpXeYha8OKw61AMIccgh21TJ JVyOKG0g79dIowOky774iMz0Ac9Jzvfvm28YSLZom4I//s20HN7jP3xzZw4ntsjN1wBz 0rT9LRgFn02k+QeSacHWDODjxbK4tDl0mEZ12Hvkg915MPE9l0jSm5DYKLTYysq8k8WY AjkJmh1K4z6/ZsSTNTJjp2hC1qpzBC07/6+q6BwNgpm6coBAbSj5uvKl2mdjlK8qjhKz twEKH7YseOoLDnB/APJdq7qK9tM/zJXgS9lbjOpu2hkpE8+5+5WAFVAFCN/iOxjwfFXI Mpog== 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=rTTAxRtRuBOxzWr5KEgP48JDyhCFkCLu4OQSudX95eE=; b=0KXS0Mo5wy0MuTao+CxhK80c8uwXzBTsFfjd1mVUCafTSMyPJcxf0ABF0pL5ORYq5K mxmaU+ev/lJUkwpCuTA6pOhGxVe09uTEfmI3Mxxu8mmysNmJaHRmh+CNbemzj4GPvmTF z3EZ3zhQxlVKQ447jPbVJVYOnwURP8V4BgZneoSNhCkyjFbZXvNVJSZf8KvFfiN6qpAp al/NpX6Bi7qy+6XxgEqOhhgppwiZ+rl2EC54fc151RTEnhTC4yU/jQiGwYGnPkCqz2lX bE87ANmpy5kwsZrxjb5nTB5/O8ThKnrvr3ruIPhZGfpL2qjiEjHay+m7fMYKtX8afjWk sx8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HxHW4T15; 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 y17-20020a1709063db100b0073114ebf740si3224975ejh.209.2022.08.13.03.24.44; Sat, 13 Aug 2022 03:25:10 -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=HxHW4T15; 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 S238967AbiHMKEV (ORCPT + 99 others); Sat, 13 Aug 2022 06:04:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238659AbiHMKET (ORCPT ); Sat, 13 Aug 2022 06:04:19 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18696B1C8; Sat, 13 Aug 2022 03:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660385059; x=1691921059; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Sx0SSML7cg2bVL2w/xbWJw6733DiD1Fcno0ewbF4vbI=; b=HxHW4T15KDruGk11FntwhvcI9X6tu8+T5C7BmLcQA3KUs7E5ooS4yyAb ei6L1hVDf8le7IwPp9tvioWeIj1DYMVU/zgfhsLiLv3Wis0dQ0YIowmWJ 1cfexE5C6STIyGSo65JrqpAKs85zyv3qFeMWAK9TpHSs0SeI4NbXeUWlu +iTMs1ftEKgSs3urUzLb+omtJWsBdOneeGHzWl5HOIZxkbbtCqOgMHmNy x/vKzXDBhjW/mbUrI/gEoHY6+zHlsdJYBol1rg90dO//ni9V44sxXmLfa /e7TImLDG302MybA9ahnM75/ULi3uy5Kk1XUVen9kvXw91XFPELxIkREg A==; X-IronPort-AV: E=McAfee;i="6400,9594,10437"; a="289312154" X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="289312154" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2022 03:04:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="851807988" Received: from lkp-server02.sh.intel.com (HELO 8745164cafc7) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 13 Aug 2022 03:04:14 -0700 Received: from kbuild by 8745164cafc7 with local (Exim 4.96) (envelope-from ) id 1oMo06-0001YP-0p; Sat, 13 Aug 2022 10:04:14 +0000 Date: Sat, 13 Aug 2022 18:03:23 +0800 From: kernel test robot To: Srinivasa Rao Mandadapu , linux-remoteproc@vger.kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, devicetree@vger.kernel.org Cc: kbuild-all@lists.01.org, Srinivasa Rao Mandadapu Subject: Re: [PATCH v4 6/7] remoteproc: qcom: Add support for memory sandbox Message-ID: <202208131734.HEn8peGd-lkp@intel.com> References: <1660308466-410-7-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1660308466-410-7-git-send-email-quic_srivasam@quicinc.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Srinivasa, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on remoteproc/rproc-next] [also build test WARNING on linus/master v5.19 next-20220812] [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/Srinivasa-Rao-Mandadapu/Update-ADSP-pil-loader-for-SC7280-platform/20220812-205239 base: git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git rproc-next config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220813/202208131734.HEn8peGd-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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/1d330f9a7446932416d55d93ebba00e3d16bbef9 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Srinivasa-Rao-Mandadapu/Update-ADSP-pil-loader-for-SC7280-platform/20220812-205239 git checkout 1d330f9a7446932416d55d93ebba00e3d16bbef9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/remoteproc/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/remoteproc/qcom_q6v5_adsp.c: In function 'adsp_of_unmap_smmu': >> drivers/remoteproc/qcom_q6v5_adsp.c:343:13: warning: variable 'access_level' set but not used [-Wunused-but-set-variable] 343 | int access_level; | ^~~~~~~~~~~~ >> drivers/remoteproc/qcom_q6v5_adsp.c:340:23: warning: variable 'mem_phys' set but not used [-Wunused-but-set-variable] 340 | unsigned long mem_phys; | ^~~~~~~~ vim +/access_level +343 drivers/remoteproc/qcom_q6v5_adsp.c 337 338 static void adsp_of_unmap_smmu(struct iommu_domain *iommu_dom, const __be32 *prop, int len) 339 { > 340 unsigned long mem_phys; 341 unsigned long iova; 342 unsigned int mem_size; > 343 int access_level; 344 int i; 345 346 for (i = 0; i < len; i++) { 347 iova = be32_to_cpu(prop[i++]); 348 mem_phys = be32_to_cpu(prop[i++]); 349 mem_size = be32_to_cpu(prop[i++]); 350 access_level = be32_to_cpu(prop[i]); 351 iommu_unmap(iommu_dom, iova, mem_size); 352 } 353 } 354 -- 0-DAY CI Kernel Test Service https://01.org/lkp