ERROR: modpost: ".mutex_unlock" undefined!

From: kernel test robot
Date: Thu Dec 31 2020 - 00:51:51 EST


Hi Zhu,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f6e1ea19649216156576aeafa784e3b4cee45549
commit: 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 vhost_vdpa: implement IRQ offloading in vhost_vdpa
date: 5 months ago
config: powerpc-randconfig-r034-20201225 (attached as .config)
compiler: powerpc64-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=2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: ".module_put" [virt/lib/irqbypass.ko] undefined!
>> ERROR: modpost: ".mutex_unlock" [virt/lib/irqbypass.ko] undefined!
>> ERROR: modpost: ".mutex_lock" [virt/lib/irqbypass.ko] undefined!
>> ERROR: modpost: ".try_module_get" [virt/lib/irqbypass.ko] undefined!
>> ERROR: modpost: ".__might_sleep" [virt/lib/irqbypass.ko] undefined!
ERROR: modpost: ".dev_remove_offload" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".dev_add_offload" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".skb_pull_rcsum" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".__csum_partial" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".pskb_expand_head" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".memcpy" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".skb_push" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".skb_mac_gso_segment" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".__pskb_pull_tail" [net/nsh/nsh.ko] undefined!
ERROR: modpost: ".flush_work" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".vsock_core_unregister" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".destroy_workqueue" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".vsock_core_register" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".__raw_spin_lock_init" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".alloc_workqueue" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".virtio_transport_recv_pkt" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".virtio_transport_deliver_tap_pkt" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".virtio_transport_free_pkt" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".queue_work_on" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: "._raw_spin_unlock_bh" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: "._raw_spin_lock_bh" [net/vmw_vsock/vsock_loopback.ko] undefined!
ERROR: modpost: ".vsock_addr_init" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_deliver_tap" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".cancel_delayed_work" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".release_sock" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: "._copy_to_iter" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".init_timer_key" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_find_bound_socket" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_assign_transport" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".refcount_warn_saturate" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".lock_sock_nested" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_stream_has_data" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_create_connected" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: "._raw_spin_lock_bh" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".queue_delayed_work_on" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".skb_put" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".__kmalloc" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".wait_woken" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_stream_has_space" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".__alloc_skb" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".sk_free" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".__raw_spin_lock_init" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_enqueue_accept" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: "._copy_from_iter_full" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_find_connected_socket" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_core_get_transport" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".memcpy" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".add_wait_queue" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".kmem_cache_alloc" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: "._raw_spin_unlock_bh" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".remove_wait_queue" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_insert_connected" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".vsock_remove_sock" [net/vmw_vsock/vmw_vsock_virtio_transport_common.ko] undefined!
ERROR: modpost: ".virtio_transport_recv_pkt" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".synchronize_rcu" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".vsock_core_unregister" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".__mutex_init" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".release_sock" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".__rcu_read_lock" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".sg_init_one" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".mutex_lock_interruptible" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".destroy_workqueue" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_add_sgs" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".lock_sock_nested" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".vsock_for_each_connected_socket" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".unregister_virtio_driver" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: "._raw_spin_lock_bh" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_add_inbuf" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtio_transport_free_pkt" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_get_buf" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".vsock_core_register" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".mutex_lock" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".__raw_spin_lock_init" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_disable_cb" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".flush_work" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_detach_unused_buf" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_get_vring_size" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".alloc_workqueue" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".queue_work_on" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtio_transport_deliver_tap_pkt" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_kick" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".kmem_cache_alloc" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".virtqueue_enable_cb" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: "._raw_spin_unlock_bh" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".__rcu_read_unlock" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".mutex_unlock" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".register_virtio_driver" [net/vmw_vsock/vmw_vsock_virtio_transport.ko] undefined!
ERROR: modpost: ".sock_diag_register" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: ".__nlmsg_put" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: "._raw_spin_lock_bh" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: ".__netlink_dump_start" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: ".sock_diag_unregister" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: ".sock_i_ino" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: "._raw_spin_unlock_bh" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: ".sock_diag_save_cookie" [net/vmw_vsock/vsock_diag.ko] undefined!
ERROR: modpost: ".skb_queue_purge" [net/vmw_vsock/vsock.ko] undefined!
ERROR: modpost: ".skb_clone" [net/vmw_vsock/vsock.ko] undefined!
ERROR: modpost: ".try_module_get" [net/vmw_vsock/vsock.ko] undefined!
ERROR: modpost: ".consume_skb" [net/vmw_vsock/vsock.ko] undefined!
ERROR: modpost: ".release_sock" [net/vmw_vsock/vsock.ko] undefined!

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

Attachment: .config.gz
Description: application/gzip