Re: [PATCH 2/2] misc: amd-sp: introduce the AMD Secure Processor device
From: kbuild test robot
Date: Fri Jan 20 2017 - 14:52:09 EST
Hi Brijesh,
[auto build test ERROR on cryptodev/master]
[also build test ERROR on next-20170120]
[cannot apply to char-misc/char-misc-testing v4.10-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Brijesh-Singh/Introduce-AMD-Secure-Processor-device/20170120-185157
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=um
All error/warnings (new ones prefixed by >>):
warning: (AMD_CCP && SND_SOC_SH4_SIU) selects DMADEVICES which has unmet direct dependencies (HAS_DMA)
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0xc9a1): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0xc7ec): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0xcb05): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametoaddr':
(.text+0x1d595): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametonetaddr':
(.text+0x1d635): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametoproto':
(.text+0x1d855): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametoport':
(.text+0x1d687): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
crypto/built-in.o: In function `async_memcpy':
include/linux/dma-mapping.h:257: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:257: undefined reference to `bad_dma_ops'
crypto/built-in.o: In function `async_xor':
include/linux/dma-mapping.h:257: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:257: undefined reference to `bad_dma_ops'
crypto/built-in.o: In function `async_xor_val':
include/linux/dma-mapping.h:257: undefined reference to `bad_dma_ops'
crypto/built-in.o:include/linux/dma-mapping.h:257: more undefined references to `bad_dma_ops' follow
drivers/built-in.o: In function `dwc_desc_get':
>> include/linux/dmapool.h:30: undefined reference to `dma_pool_alloc'
drivers/built-in.o: In function `dwc_desc_put':
>> drivers/dma/dw/core.c:137: undefined reference to `dma_pool_free'
drivers/dma/dw/core.c:133: undefined reference to `dma_pool_free'
drivers/built-in.o: In function `dw_dma_probe':
>> drivers/dma/dw/core.c:1508: undefined reference to `dmam_pool_create'
drivers/built-in.o: In function `dw_probe':
>> drivers/dma/dw/platform.c:192: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `dw_probe':
include/linux/dma-mapping.h:555: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:542: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:542: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `fsl_edma_free_desc':
>> drivers/dma/fsl-edma.c:288: undefined reference to `dma_pool_free'
drivers/built-in.o: In function `fsl_edma_alloc_desc':
>> drivers/dma/fsl-edma.c:525: undefined reference to `dma_pool_alloc'
drivers/dma/fsl-edma.c:525: undefined reference to `dma_pool_free'
drivers/built-in.o: In function `fsl_edma_free_chan_resources':
>> drivers/dma/fsl-edma.c:808: undefined reference to `dma_pool_destroy'
drivers/built-in.o: In function `fsl_edma_alloc_chan_resources':
>> drivers/dma/fsl-edma.c:788: undefined reference to `dma_pool_create'
drivers/built-in.o: In function `fsl_edma_probe':
>> drivers/dma/fsl-edma.c:898: undefined reference to `devm_ioremap_resource'
drivers/dma/fsl-edma.c:906: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `idma64_desc_free':
>> drivers/dma/idma64.c:214: undefined reference to `dma_pool_free'
drivers/built-in.o: In function `idma64_free_chan_resources':
>> drivers/dma/idma64.c:520: undefined reference to `dma_pool_destroy'
drivers/built-in.o: In function `idma64_alloc_chan_resources':
>> drivers/dma/idma64.c:504: undefined reference to `dma_pool_create'
drivers/built-in.o: In function `idma64_platform_probe':
>> drivers/dma/idma64.c:644: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `idma64_platform_probe':
include/linux/dma-mapping.h:555: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:542: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:542: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `idma64_prep_slave_sg':
>> drivers/dma/idma64.c:315: undefined reference to `dma_pool_alloc'
drivers/built-in.o: In function `hidma_mgmt_probe':
>> drivers/dma/qcom/hidma_mgmt.c:165: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `hidma_ll_init':
>> drivers/dma/qcom/hidma_ll.c:749: undefined reference to `dmam_alloc_coherent'
drivers/built-in.o: In function `hidma_probe':
>> drivers/dma/qcom/hidma.c:735: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `hidma_probe':
include/linux/dma-mapping.h:555: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:542: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:542: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
drivers/built-in.o:include/linux/dma-mapping.h:542: more undefined references to `bad_dma_ops' follow
drivers/built-in.o: In function `sp_platform_probe':
>> drivers/misc/amd-sp/sp-platform.c:133: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `sp_platform_probe':
include/linux/dma-mapping.h:555: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:555: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:544: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `ccp_dev_suspend':
>> include/linux/spinlock.h:362: undefined reference to `ccp_queues_suspended'
drivers/built-in.o: In function `ccp_destroy':
drivers/misc/amd-sp/ccp-dev-v3.c:534: undefined reference to `dma_pool_destroy'
drivers/built-in.o: In function `ccp_init':
drivers/misc/amd-sp/ccp-dev-v3.c:370: undefined reference to `dma_pool_create'
drivers/misc/amd-sp/ccp-dev-v3.c:489: undefined reference to `dma_pool_destroy'
drivers/built-in.o: In function `ccp5_destroy':
include/linux/dma-mapping.h:484: undefined reference to `bad_dma_ops'
include/linux/dma-mapping.h:490: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `ccp5_init':
drivers/misc/amd-sp/ccp-dev-v5.c:707: undefined reference to `dma_pool_create'
drivers/built-in.o: In function `ccp5_init':
include/linux/dma-mapping.h:463: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `ccp5_init':
drivers/misc/amd-sp/ccp-dev-v5.c:892: undefined reference to `dma_pool_destroy'
drivers/built-in.o: In function `ccp_init_dm_workarea':
drivers/misc/amd-sp/ccp-ops.c:141: undefined reference to `dma_pool_alloc'
drivers/built-in.o: In function `ccp_init_dm_workarea':
include/linux/dma-mapping.h:190: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `ccp_sg_free':
include/linux/dma-mapping.h:242: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `ccp_dm_free':
drivers/misc/amd-sp/ccp-ops.c:112: undefined reference to `dma_pool_free'
drivers/built-in.o: In function `ccp_dm_free':
include/linux/dma-mapping.h:207: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `ccp_init_data':
include/linux/dma-mapping.h:227: undefined reference to `bad_dma_ops'
drivers/built-in.o: In function `img_ascii_lcd_probe':
drivers/auxdisplay/img-ascii-lcd.c:384: undefined reference to `devm_ioremap_resource'
collect2: error: ld returned 1 exit status
vim +30 include/linux/dmapool.h
dd0fc66f Al Viro 2005-10-07 24 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
3a11ec5e Victor Fusco 2005-09-10 25 dma_addr_t *handle);
^1da177e Linus Torvalds 2005-04-16 26
ad82362b Sean O. Stalley 2015-09-08 27 static inline void *dma_pool_zalloc(struct dma_pool *pool, gfp_t mem_flags,
ad82362b Sean O. Stalley 2015-09-08 28 dma_addr_t *handle)
ad82362b Sean O. Stalley 2015-09-08 29 {
ad82362b Sean O. Stalley 2015-09-08 @30 return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle);
ad82362b Sean O. Stalley 2015-09-08 31 }
ad82362b Sean O. Stalley 2015-09-08 32
^1da177e Linus Torvalds 2005-04-16 33 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t addr);
:::::: The code at line 30 was first introduced by commit
:::::: ad82362b2defd4adad87d8538617b2f51a4bf9c3 mm: add dma_pool_zalloc() call to DMA API
:::::: TO: Sean O. Stalley <sean.stalley@xxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip