On Thu, 2020-12-17 at 13:23 +0800, kernel test robot wrote:
> tree:   
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> head:   accefff5b547a9a1d959c7e76ad539bf2480e78b
> commit: 88574332451380f4b51f6ca88ab9810e714bfb9b crypto: keembay -
> Add support for Keem Bay OCS AES/SM4
> date:   6 days ago
> config: s390-randconfig-c004-20201217 (attached as .config)
> compiler: s390-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=88574332451380f4b51f6ca88ab9810e714bfb9b
>         git remote add linus 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout 88574332451380f4b51f6ca88ab9810e714bfb9b
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
> make.cross ARCH=s390 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <l...@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    s390-linux-ld: kernel/dma/coherent.o: in function
> `dma_init_coherent_memory':
>    coherent.c:(.text+0x54c): undefined reference to `memremap'
>    s390-linux-ld: coherent.c:(.text+0x67e): undefined reference to
> `memunmap'
>    s390-linux-ld: kernel/dma/coherent.o: in function
> `dma_declare_coherent_memory':
>    coherent.c:(.text+0x8ee): undefined reference to `memunmap'
>    s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function
> `fixed_mmio_clk_setup':
>    clk-fixed-mmio.c:(.text+0x98): undefined reference to `of_iomap'
>    s390-linux-ld: clk-fixed-mmio.c:(.text+0xe8): undefined reference
> to `iounmap'
>    s390-linux-ld: drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.o: in
> function `dw_probe':
>    dw-axi-dmac-platform.c:(.text+0x20ac): undefined reference to
> `devm_ioremap_resource'
>    s390-linux-ld: drivers/dma/fsl-edma.o: in function
> `fsl_edma_probe':
>    fsl-edma.c:(.text+0x1238): undefined reference to
> `devm_ioremap_resource'
>    s390-linux-ld: fsl-edma.c:(.text+0x1628): undefined reference to
> `devm_ioremap_resource'
>    s390-linux-ld: drivers/dma/sf-pdma/sf-pdma.o: in function
> `sf_pdma_probe':
>    sf-pdma.c:(.text+0x92e): undefined reference to
> `devm_ioremap_resource'
>    s390-linux-ld: drivers/crypto/ccree/cc_driver.o: in function
> `init_cc_resources':
>    cc_driver.c:(.text+0x89e): undefined reference to
> `devm_ioremap_resource'
>    s390-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function
> `cc_debugfs_init':
>    cc_debugfs.c:(.text+0x108): undefined reference to
> `debugfs_create_regset32'
>    s390-linux-ld: cc_debugfs.c:(.text+0x206): undefined reference to
> `debugfs_create_regset32'
>    s390-linux-ld: drivers/crypto/keembay/keembay-ocs-aes-core.o: in
> function `kmb_ocs_aes_probe':
> > > keembay-ocs-aes-core.c:(.text+0x1ed2): undefined reference to
> > > `devm_ioremap_resource'

Looks like this is due to a missing HAS_IOMEM dependency.

Herbert, I'll prepare a patch fixing this and I'll send it to you.

> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Reply via email to