From: kernel test robot <lkp@intel.com>
To: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>,
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: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Subject: Re: [PATCH v5 6/7] remoteproc: qcom: Add support for memory sandbox
Date: Sat, 20 Aug 2022 21:52:06 +0800 [thread overview]
Message-ID: <202208202105.f6q5X3x5-lkp@intel.com> (raw)
In-Reply-To: <1660649034-4303-7-git-send-email-quic_srivasam@quicinc.com>
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 v6.0-rc1 next-20220819]
[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/20220816-195318
base: git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git rproc-next
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220820/202208202105.f6q5X3x5-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c9a41fe60ab62f7a40049c100adcc8087a47669b)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/04dc00863cb7b62aa7e5356f81cad5e7720e17ad
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/20220816-195318
git checkout 04dc00863cb7b62aa7e5356f81cad5e7720e17ad
# 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=arm64 SHELL=/bin/bash drivers/interconnect/imx/ drivers/remoteproc/ drivers/thunderbolt/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/remoteproc/qcom_q6v5_adsp.c:442:54: warning: format specifies type 'void *' but the argument has type 'u32' (aka 'unsigned int') [-Wformat]
pr_err("failed to map addr = %p mem_size = %x\n", rsc_fw->pa, rsc_fw->len);
~~ ^~~~~~~~~~
%u
include/linux/printk.h:518:33: note: expanded from macro 'pr_err'
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
~~~ ^~~~~~~~~~~
include/linux/printk.h:475:60: note: expanded from macro 'printk'
#define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
~~~ ^~~~~~~~~~~
include/linux/printk.h:447:19: note: expanded from macro 'printk_index_wrap'
_p_func(_fmt, ##__VA_ARGS__); \
~~~~ ^~~~~~~~~~~
1 warning generated.
vim +442 drivers/remoteproc/qcom_q6v5_adsp.c
422
423 static int adsp_rproc_map_smmu(struct rproc *rproc, int len)
424 {
425 struct fw_rsc_devmem *rsc_fw;
426 struct fw_rsc_hdr *hdr;
427 int offset;
428 int ret;
429 int i;
430
431 if (!rproc->table_ptr)
432 return 0;
433
434 for (i = 0; i < rproc->table_ptr->num; i++) {
435 offset = rproc->table_ptr->offset[i];
436 hdr = (void *)rproc->table_ptr + offset;
437 rsc_fw = (struct fw_rsc_devmem *)hdr + sizeof(*hdr);
438
439 ret = iommu_map(rproc->domain, rsc_fw->da, rsc_fw->pa,
440 rsc_fw->len, rsc_fw->flags);
441 if (ret) {
> 442 pr_err("failed to map addr = %p mem_size = %x\n", rsc_fw->pa, rsc_fw->len);
443 goto rproc_smmu_unmap;
444 }
445 }
446
447 return 0;
448
449 rproc_smmu_unmap:
450 adsp_rproc_unmap_smmu(rproc, i);
451 return ret;
452 }
453
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-08-20 13:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-16 11:23 [PATCH v5 0/7] Update ADSP pil loader for SC7280 platform Srinivasa Rao Mandadapu
2022-08-16 11:23 ` [PATCH v5 1/7] dt-bindings: remoteproc: qcom: Add SC7280 ADSP support Srinivasa Rao Mandadapu
2022-08-18 15:24 ` Rob Herring
2022-08-16 11:23 ` [PATCH v5 2/7] remoteproc: qcom: Add flag in adsp private data structure Srinivasa Rao Mandadapu
2022-08-16 11:23 ` [PATCH v5 3/7] remoteproc: qcom: Add compatible name for SC7280 ADSP Srinivasa Rao Mandadapu
2022-08-16 11:23 ` [PATCH v5 4/7] remoteproc: qcom: Replace hard coded values with macros Srinivasa Rao Mandadapu
2022-08-16 11:23 ` [PATCH v5 5/7] remoteproc: qcom: Add efuse evb selection control Srinivasa Rao Mandadapu
2022-08-16 11:23 ` [PATCH v5 6/7] remoteproc: qcom: Add support for memory sandbox Srinivasa Rao Mandadapu
2022-08-17 9:25 ` kernel test robot
2022-08-20 13:52 ` kernel test robot [this message]
2022-08-16 11:23 ` [PATCH v5 7/7] remoteproc: qcom: Update QDSP6 out-of-reset timeout value Srinivasa Rao Mandadapu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202208202105.f6q5X3x5-lkp@intel.com \
--to=lkp@intel.com \
--cc=agross@kernel.org \
--cc=bgoswami@quicinc.com \
--cc=bjorn.andersson@linaro.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=judyhsiao@chromium.org \
--cc=kbuild-all@lists.01.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=perex@perex.cz \
--cc=quic_plai@quicinc.com \
--cc=quic_rohkumar@quicinc.com \
--cc=quic_srivasam@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=swboyd@chromium.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).