mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* keembay-ocs-aes-core.c:undefined reference to `devm_ioremap_resource'
@ 2020-12-17  5:23 kernel test robot
  2020-12-17 16:14 ` Alessandrelli, Daniele
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-12-17  5:23 UTC (permalink / raw)
  To: Mike Healy; +Cc: kbuild-all, linux-kernel, Herbert Xu, Daniele Alessandrelli

[-- Attachment #1: Type: text/plain, Size: 3038 bytes --]

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 <lkp@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'

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 17481 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: keembay-ocs-aes-core.c:undefined reference to `devm_ioremap_resource'
  2020-12-17  5:23 keembay-ocs-aes-core.c:undefined reference to `devm_ioremap_resource' kernel test robot
@ 2020-12-17 16:14 ` Alessandrelli, Daniele
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandrelli, Daniele @ 2020-12-17 16:14 UTC (permalink / raw)
  To: herbert, lkp; +Cc: kbuild-all, Healy, MikeX, linux-kernel

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 <lkp@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-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-17 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17  5:23 keembay-ocs-aes-core.c:undefined reference to `devm_ioremap_resource' kernel test robot
2020-12-17 16:14 ` Alessandrelli, Daniele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome