Hi Peng, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9e5cff2a1315fec1da1f497714395670366506b6 commit: 2df7062002d0263bde70b453f671bb4f8493e169 [2434/15421] remoteproc: imx_proc: enable virtio/mailbox config: arm-randconfig-s032-20210429 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2df7062002d0263bde70b453f671bb4f8493e169 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 2df7062002d0263bde70b453f671bb4f8493e169 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) drivers/remoteproc/imx_rproc.c:298:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *va @@ got void [noderef] __iomem * @@ drivers/remoteproc/imx_rproc.c:298:12: sparse: expected void *va drivers/remoteproc/imx_rproc.c:298:12: sparse: got void [noderef] __iomem * >> drivers/remoteproc/imx_rproc.c:315:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *va @@ drivers/remoteproc/imx_rproc.c:315:20: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/remoteproc/imx_rproc.c:315:20: sparse: got void *va vim +315 drivers/remoteproc/imx_rproc.c b29b4249f8f0ca Peng Fan 2021-03-06 310 b29b4249f8f0ca Peng Fan 2021-03-06 311 static int imx_rproc_mem_release(struct rproc *rproc, b29b4249f8f0ca Peng Fan 2021-03-06 312 struct rproc_mem_entry *mem) b29b4249f8f0ca Peng Fan 2021-03-06 313 { b29b4249f8f0ca Peng Fan 2021-03-06 314 dev_dbg(rproc->dev.parent, "unmap memory: %pa\n", &mem->dma); b29b4249f8f0ca Peng Fan 2021-03-06 @315 iounmap(mem->va); b29b4249f8f0ca Peng Fan 2021-03-06 316 b29b4249f8f0ca Peng Fan 2021-03-06 317 return 0; b29b4249f8f0ca Peng Fan 2021-03-06 318 } b29b4249f8f0ca Peng Fan 2021-03-06 319 :::::: The code at line 315 was first introduced by commit :::::: b29b4249f8f0cad1a1787cbe59e638ff23d489ed remoteproc: imx_rproc: add i.MX specific parse fw hook :::::: TO: Peng Fan <peng.fan@xxxxxxx> :::::: CC: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip