Re: [PATCH V7 7/8] vdpasim: vDPA device simulator

From: kbuild test robot
Date: Tue Mar 24 2020 - 22:26:39 EST


Hi Jason,

I love your patch! Yet something to improve:

[auto build test ERROR on vhost/linux-next]
[also build test ERROR on linux/master linus/master v5.6-rc7 next-20200324]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Jason-Wang/vDPA-support/20200324-142634
base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=m68k

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_set_map':
vdpa_sim.c:(.text+0x61a): undefined reference to `vhost_iotlb_reset'
>> m68k-linux-ld: vdpa_sim.c:(.text+0x64a): undefined reference to `vhost_iotlb_itree_next'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_unmap_page':
vdpa_sim.c:(.text+0x22c): undefined reference to `vhost_iotlb_del_range'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_dma_unmap':
vdpa_sim.c:(.text+0x278): undefined reference to `vhost_iotlb_del_range'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_dma_map':
vdpa_sim.c:(.text+0x2cc): undefined reference to `vhost_iotlb_add_range'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_map_page':
vdpa_sim.c:(.text+0x392): undefined reference to `vhost_iotlb_add_range'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_free_coherent':
vdpa_sim.c:(.text+0x3e2): undefined reference to `vhost_iotlb_del_range'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_free':
vdpa_sim.c:(.text+0x5fa): undefined reference to `vhost_iotlb_free'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_set_map':
>> vdpa_sim.c:(.text+0x634): undefined reference to `vhost_iotlb_itree_first'
>> m68k-linux-ld: vdpa_sim.c:(.text+0x644): undefined reference to `vhost_iotlb_add_range'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_set_status':
vdpa_sim.c:(.text+0x7b8): undefined reference to `vhost_iotlb_reset'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_alloc_coherent':
vdpa_sim.c:(.text+0x8c2): undefined reference to `vhost_iotlb_add_range'
m68k-linux-ld: drivers/virtio/vdpa/vdpa_sim/vdpa_sim.o: in function `vdpasim_dev_init':
vdpa_sim.c:(.init.text+0x86): undefined reference to `vhost_iotlb_alloc'
m68k-linux-ld: drivers/vhost/vringh.o: in function `iotlb_translate.isra.0':
vringh.c:(.text+0x172): undefined reference to `vhost_iotlb_itree_first'

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

Attachment: .config.gz
Description: application/gzip