2022-06-25 03:33:33

by kernel test robot

[permalink] [raw]
Subject: [remoteproc:rproc-next 4/5] coherent.c:undefined reference to `memunmap'

tree: git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git rproc-next
head: 1404acbb7f68dc0a708091240e75efa5e09b0894
commit: e61c451476e61450f6771ce03bbc01210a09be16 [4/5] dma-mapping: Add dma_release_coherent_memory to DMA API
config: s390-randconfig-r044-20220624
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6fa9120080c35a5ff851c3fc3358692c4ef7ce0d)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git/commit/?id=e61c451476e61450f6771ce03bbc01210a09be16
git remote add remoteproc git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git
git fetch --no-tags remoteproc rproc-next
git checkout e61c451476e61450f6771ce03bbc01210a09be16
# 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=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x48): undefined reference to `memremap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x25e): undefined reference to `memunmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x2e4): undefined reference to `memunmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_release_coherent_memory':
>> coherent.c:(.text+0x372): undefined reference to `memunmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `rmem_dma_device_init':
coherent.c:(.text+0xc42): undefined reference to `memremap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0xe6a): undefined reference to `memunmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `of_fixed_mmio_clk_probe':
clk-fixed-mmio.c:(.text+0x52): undefined reference to `of_iomap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: clk-fixed-mmio.c:(.text+0x8a): undefined reference to `iounmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `of_fixed_mmio_clk_setup':
clk-fixed-mmio.c:(.init.text+0x4a): undefined reference to `of_iomap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: clk-fixed-mmio.c:(.init.text+0x82): undefined reference to `iounmap'
/opt/cross/gcc-11.3.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
idma64.c:(.text+0x9a): undefined reference to `devm_ioremap_resource'

--
0-DAY CI Kernel Test Service
https://01.org/lkp


Attachments:
(No filename) (3.20 kB)
config (82.25 kB)
Download all attachments