tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b86a6a241b7c60ca7a6ca4fb3c0d2aedbbf2c1b6 commit: 1eb07616e24143e5466fe8a748c160bed627721f [6927/7050] Merge remote-tracking branch 'drm/drm-next' config: riscv-randconfig-a001-20200308 (attached as .config) compiler: riscv64-linux-gcc (GCC) 7.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1eb07616e24143e5466fe8a748c160bed627721f # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=riscv If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/virtio/virtio_balloon.o: In function `leak_balloon': drivers/virtio/virtio_balloon.c:249: undefined reference to `balloon_page_dequeue' drivers/virtio/virtio_balloon.o: In function `virtio_cread32': include/linux/virtio_config.h:424: undefined reference to `balloon_page_alloc' drivers/virtio/virtio_balloon.o: In function `balloon_page_pop': include/linux/balloon_compaction.h:204: undefined reference to `balloon_page_enqueue' drivers/gpu/drm/virtio/virtgpu_drv.o: In function `virtio_gpu_remove': >> drivers/gpu/drm/virtio/virtgpu_drv.c:139: undefined reference to `drm_dev_unplug' >> drivers/gpu/drm/virtio/virtgpu_drv.c:140: undefined reference to `drm_atomic_helper_shutdown' drivers/gpu/drm/virtio/virtgpu_drv.c:141: undefined reference to `drm_dev_put' drivers/gpu/drm/virtio/virtgpu_drv.o: In function `virtio_gpu_probe': drivers/gpu/drm/virtio/virtgpu_drv.c:108: undefined reference to `drm_dev_alloc' drivers/gpu/drm/virtio/virtgpu_drv.o: In function `virtio_gpu_pci_quirk': drivers/gpu/drm/virtio/virtgpu_drv.c:93: undefined reference to `drm_dev_set_unique' drivers/gpu/drm/virtio/virtgpu_drv.c:94: undefined reference to `drm_dev_put' drivers/gpu/drm/virtio/virtgpu_drv.o: In function `virtio_gpu_probe': drivers/gpu/drm/virtio/virtgpu_drv.c:119: undefined reference to `drm_dev_register' drivers/gpu/drm/virtio/virtgpu_drv.o: In function `.LANCHOR0': virtgpu_drv.c:(.data+0x188): undefined reference to `drm_gem_prime_handle_to_fd' virtgpu_drv.c:(.data+0x190): undefined reference to `drm_gem_prime_fd_to_handle' virtgpu_drv.c:(.data+0x1d8): undefined reference to `drm_gem_prime_mmap' drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x10): undefined reference to `drm_read' drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x48): undefined reference to `drm_poll' drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x50): undefined reference to `drm_ioctl' drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x60): undefined reference to `drm_gem_mmap' drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x70): undefined reference to `drm_open' drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x80): undefined reference to `drm_release' drivers/crypto/virtio/virtio_crypto_core.o: In function `virtcrypto_clear_crypto_engines': drivers/crypto/virtio/virtio_crypto_core.c:273: undefined reference to `crypto_engine_exit' drivers/crypto/virtio/virtio_crypto_core.o: In function `virtcrypto_find_vqs': drivers/crypto/virtio/virtio_crypto_core.c:95: undefined reference to `crypto_engine_alloc_init' drivers/crypto/virtio/virtio_crypto_core.o: In function `virtcrypto_start_crypto_engines': drivers/crypto/virtio/virtio_crypto_core.c:249: undefined reference to `crypto_engine_start' drivers/crypto/virtio/virtio_crypto_core.o: In function `virtcrypto_clean_affinity': drivers/crypto/virtio/virtio_crypto_core.c:135: undefined reference to `crypto_engine_exit' drivers/gpu/drm/virtio/virtgpu_kms.o: In function `virtio_gpu_config_changed_work_func': drivers/gpu/drm/virtio/virtgpu_kms.c:48: undefined reference to `drm_helper_hpd_irq_event' drivers/gpu/drm/virtio/virtgpu_kms.o: In function `virtio_find_vqs': include/linux/virtio_config.h:197: undefined reference to `__drm_err' drivers/gpu/drm/virtio/virtgpu_kms.o: In function `virtio_gpu_init': drivers/gpu/drm/virtio/virtgpu_kms.c:167: undefined reference to `__drm_err' drivers/gpu/drm/virtio/virtgpu_kms.c:177: undefined reference to `__drm_err' drivers/gpu/drm/virtio/virtgpu_kms.o: In function `virtio_gpu_get_capsets': drivers/gpu/drm/virtio/virtgpu_kms.c:86: undefined reference to `__drm_err' drivers/gpu/drm/virtio/virtgpu_kms.c:90: undefined reference to `__drm_err' drivers/gpu/drm/virtio/virtgpu_gem.o: In function `virtio_gpu_gem_create': drivers/gpu/drm/virtio/virtgpu_gem.c:46: undefined reference to `drm_gem_handle_create' drivers/gpu/drm/virtio/virtgpu_gem.c:52: undefined reference to `drm_gem_object_put_unlocked' drivers/gpu/drm/virtio/virtgpu_gem.c:48: undefined reference to `drm_gem_object_release' drivers/gpu/drm/virtio/virtgpu_gem.o: In function `virtio_gpu_mode_dumb_mmap': drivers/gpu/drm/virtio/virtgpu_gem.c:97: undefined reference to `drm_gem_object_lookup' drivers/gpu/drm/virtio/virtgpu_gem.c:104: undefined reference to `drm_gem_object_put_unlocked' drivers/gpu/drm/virtio/virtgpu_gem.o: In function `virtio_gpu_gem_object_close': drivers/gpu/drm/virtio/virtgpu_gem.c:148: undefined reference to `drm_gem_lock_reservations' drivers/gpu/drm/virtio/virtgpu_gem.o: In function `virtio_gpu_array_lock_resv': drivers/gpu/drm/virtio/virtgpu_gem.c:213: undefined reference to `drm_gem_unlock_reservations' drivers/gpu/drm/virtio/virtgpu_gem.o: In function `virtio_gpu_array_put_free': drivers/gpu/drm/virtio/virtgpu_gem.c:238: undefined reference to `drm_gem_object_put_unlocked' drivers/gpu/drm/virtio/virtgpu_gem.o: In function `virtio_gpu_array_from_handles': drivers/gpu/drm/virtio/virtgpu_gem.c:171: undefined reference to `drm_gem_object_lookup' drivers/gpu/drm/virtio/virtgpu_display.o: In function `vgdev_atomic_commit_tail': drivers/gpu/drm/virtio/virtgpu_display.c:325: undefined reference to `drm_atomic_helper_commit_modeset_disables' drivers/gpu/drm/virtio/virtgpu_display.c:326: undefined reference to `drm_atomic_helper_commit_modeset_enables' drivers/gpu/drm/virtio/virtgpu_display.c:327: undefined reference to `drm_atomic_helper_commit_planes' >> drivers/gpu/drm/virtio/virtgpu_display.c:329: undefined reference to `drm_atomic_helper_fake_vblank' drivers/gpu/drm/virtio/virtgpu_display.c:330: undefined reference to `drm_atomic_helper_commit_hw_done' drivers/gpu/drm/virtio/virtgpu_display.c:332: undefined reference to `drm_atomic_helper_wait_for_vblanks' drivers/gpu/drm/virtio/virtgpu_display.c:333: undefined reference to `drm_atomic_helper_cleanup_planes' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_conn_mode_valid': drivers/gpu/drm/virtio/virtgpu_display.c:200: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_conn_destroy': drivers/gpu/drm/virtio/virtgpu_display.c:230: undefined reference to `drm_connector_unregister' drivers/gpu/drm/virtio/virtgpu_display.c:231: undefined reference to `drm_connector_cleanup' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_conn_get_modes': drivers/gpu/drm/virtio/virtgpu_display.c:156: undefined reference to `drm_add_edid_modes' drivers/gpu/drm/virtio/virtgpu_display.c:163: undefined reference to `drm_add_modes_noedid' drivers/gpu/drm/virtio/virtgpu_display.c:163: undefined reference to `drm_set_preferred_mode' drivers/gpu/drm/virtio/virtgpu_display.c:180: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_display.c:172: undefined reference to `drm_cvt_mode' drivers/gpu/drm/virtio/virtgpu_display.c:174: undefined reference to `drm_mode_probed_add' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_user_framebuffer_create': drivers/gpu/drm/virtio/virtgpu_display.c:303: undefined reference to `drm_gem_object_lookup' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_framebuffer_init': drivers/gpu/drm/virtio/virtgpu_display.c:72: undefined reference to `drm_helper_mode_fill_fb_struct' drivers/gpu/drm/virtio/virtgpu_display.c:74: undefined reference to `drm_framebuffer_init' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_user_framebuffer_create': drivers/gpu/drm/virtio/virtgpu_display.c:313: undefined reference to `drm_gem_object_put_unlocked' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_modeset_init': drivers/gpu/drm/virtio/virtgpu_display.c:350: undefined reference to `drm_mode_config_init' drivers/gpu/drm/virtio/virtgpu_display.o: In function `vgdev_output_init': drivers/gpu/drm/virtio/virtgpu_display.c:276: undefined reference to `drm_encoder_init' drivers/gpu/drm/virtio/virtgpu_display.c:282: undefined reference to `drm_connector_attach_encoder' drivers/gpu/drm/virtio/virtgpu_display.c:282: undefined reference to `drm_connector_register' drivers/gpu/drm/virtio/virtgpu_display.c:266: undefined reference to `drm_crtc_init_with_planes' drivers/gpu/drm/virtio/virtgpu_display.o: In function `drm_crtc_helper_add': include/drm/drm_modeset_helper_vtables.h:510: undefined reference to `drm_connector_init' drivers/gpu/drm/virtio/virtgpu_display.o: In function `drm_connector_helper_add': >> include/drm/drm_modeset_helper_vtables.h:1092: undefined reference to `drm_connector_attach_edid_property' drivers/gpu/drm/virtio/virtgpu_display.o: In function `vgdev_output_init': drivers/gpu/drm/virtio/virtgpu_display.c:277: undefined reference to `drm_mode_config_reset' drivers/gpu/drm/virtio/virtgpu_display.o: In function `virtio_gpu_modeset_fini': drivers/gpu/drm/virtio/virtgpu_display.c:371: undefined reference to `drm_mode_config_cleanup' drivers/gpu/drm/virtio/virtgpu_display.o: In function `.LANCHOR0': drivers/gpu/drm/virtio/virtgpu_display.c:58: undefined reference to `drm_gem_fb_destroy' drivers/gpu/drm/virtio/virtgpu_display.o: In function `.LANCHOR0': virtgpu_display.c:(.rodata+0x8): undefined reference to `drm_gem_fb_create_handle' virtgpu_display.c:(.rodata+0x10): undefined reference to `drm_atomic_helper_dirtyfb' virtgpu_display.c:(.rodata+0x38): undefined reference to `drm_atomic_helper_check' virtgpu_display.c:(.rodata+0x40): undefined reference to `drm_atomic_helper_commit' drivers/gpu/drm/virtio/virtgpu_display.o: In function `.LANCHOR0': drivers/gpu/drm/virtio/virtgpu_display.c:48: undefined reference to `drm_atomic_helper_crtc_reset' drivers/gpu/drm/virtio/virtgpu_display.o: In function `.LANCHOR0': virtgpu_display.c:(.rodata+0x88): undefined reference to `drm_crtc_cleanup' virtgpu_display.c:(.rodata+0x90): undefined reference to `drm_atomic_helper_set_config' virtgpu_display.c:(.rodata+0x98): undefined reference to `drm_atomic_helper_page_flip' virtgpu_display.c:(.rodata+0xb0): undefined reference to `drm_atomic_helper_crtc_duplicate_state' virtgpu_display.c:(.rodata+0xb8): undefined reference to `drm_atomic_helper_crtc_destroy_state' virtgpu_display.c:(.rodata+0x1a8): undefined reference to `drm_atomic_helper_connector_reset' virtgpu_display.c:(.rodata+0x1c0): undefined reference to `drm_helper_probe_single_connector_modes' virtgpu_display.c:(.rodata+0x1e8): undefined reference to `drm_atomic_helper_connector_duplicate_state' virtgpu_display.c:(.rodata+0x1f0): undefined reference to `drm_atomic_helper_connector_destroy_state' virtgpu_display.c:(.rodata+0x260): undefined reference to `drm_encoder_cleanup' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `virtio_gpu_cmd_get_display_info_cb': drivers/gpu/drm/virtio/virtgpu_vq.c:658: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_vq.c:657: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_vq.c:672: undefined reference to `drm_helper_hpd_irq_event' drivers/gpu/drm/virtio/virtgpu_vq.c:673: undefined reference to `drm_kms_helper_hotplug_event' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `virtio_gpu_cmd_get_edid_cb': drivers/gpu/drm/virtio/virtgpu_vq.c:745: undefined reference to `drm_do_get_edid' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `spin_lock': >> include/linux/spinlock.h:338: undefined reference to `drm_connector_update_edid_property' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `reclaim_vbufs': drivers/gpu/drm/virtio/virtgpu_vq.c:196: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `virtio_gpu_queue_ctrl_sgs': >> drivers/gpu/drm/virtio/virtgpu_vq.c:331: undefined reference to `drm_dev_enter' >> drivers/gpu/drm/virtio/virtgpu_vq.c:366: undefined reference to `drm_dev_exit' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `virtio_gpu_dequeue_ctrl_func': drivers/gpu/drm/virtio/virtgpu_vq.c:244: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_vq.c:219: undefined reference to `__drm_err' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `__write_once_size': >> include/linux/compiler.h:226: undefined reference to `drm_dev_printk' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `virtio_gpu_cmd_resource_attach_backing': drivers/gpu/drm/virtio/virtgpu_vq.c:638: undefined reference to `drm_dev_enter' drivers/gpu/drm/virtio/virtgpu_vq.o: In function `virtio_gpu_queue_cursor': drivers/gpu/drm/virtio/virtgpu_vq.c:461: undefined reference to `drm_dev_exit' drivers/gpu/drm/virtio/virtgpu_object.o: In function `virtio_gpu_cleanup_object': >> drivers/gpu/drm/virtio/virtgpu_object.c:78: undefined reference to `drm_gem_shmem_unpin' drivers/gpu/drm/virtio/virtgpu_object.o: In function `virtio_gpu_resource_id_put': drivers/gpu/drm/virtio/virtgpu_object.c:61: undefined reference to `drm_gem_shmem_free_object' drivers/gpu/drm/virtio/virtgpu_object.o: In function `virtio_gpu_object_create': drivers/gpu/drm/virtio/virtgpu_object.c:190: undefined reference to `drm_gem_shmem_create' drivers/gpu/drm/virtio/virtgpu_object.o: In function `virtio_gpu_resource_id_put': drivers/gpu/drm/virtio/virtgpu_object.c:60: undefined reference to `drm_gem_shmem_free_object' drivers/gpu/drm/virtio/virtgpu_object.o: In function `virtio_gpu_object_create': >> drivers/gpu/drm/virtio/virtgpu_object.c:215: undefined reference to `drm_gem_shmem_pin' drivers/gpu/drm/virtio/virtgpu_object.o: In function `virtio_gpu_object_shmem_init': >> drivers/gpu/drm/virtio/virtgpu_object.c:136: undefined reference to `drm_gem_shmem_get_sg_table' drivers/gpu/drm/virtio/virtgpu_object.o: In function `sg_phys': >> include/linux/scatterlist.h:224: undefined reference to `drm_gem_shmem_unpin' >> include/linux/scatterlist.h:224: undefined reference to `__drm_err' drivers/gpu/drm/virtio/virtgpu_object.o: In function `.LANCHOR0': virtgpu_object.c:(.rodata+0x18): undefined reference to `drm_gem_shmem_print_info' virtgpu_object.c:(.rodata+0x28): undefined reference to `drm_gem_shmem_pin' virtgpu_object.c:(.rodata+0x30): undefined reference to `drm_gem_shmem_unpin' virtgpu_object.c:(.rodata+0x38): undefined reference to `drm_gem_shmem_get_sg_table' virtgpu_object.c:(.rodata+0x40): undefined reference to `drm_gem_shmem_vmap' virtgpu_object.c:(.rodata+0x48): undefined reference to `drm_gem_shmem_vunmap' virtgpu_object.c:(.rodata+0x50): undefined reference to `drm_gem_shmem_mmap' drivers/gpu/drm/virtio/virtgpu_debugfs.o: In function `virtio_gpu_debugfs_init': drivers/gpu/drm/virtio/virtgpu_debugfs.c:78: undefined reference to `drm_debugfs_create_files' drivers/gpu/drm/virtio/virtgpu_plane.o: In function `virtio_gpu_plane_destroy': drivers/gpu/drm/virtio/virtgpu_plane.c:72: undefined reference to `drm_plane_cleanup' drivers/gpu/drm/virtio/virtgpu_plane.o: In function `virtio_gpu_plane_atomic_check': drivers/gpu/drm/virtio/virtgpu_plane.c:95: undefined reference to `drm_atomic_get_crtc_state' drivers/gpu/drm/virtio/virtgpu_plane.c:99: undefined reference to `drm_atomic_helper_check_plane_state' drivers/gpu/drm/virtio/virtgpu_plane.o: In function `virtio_gpu_primary_plane_update': drivers/gpu/drm/virtio/virtgpu_plane.c:146: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_plane.c:189: undefined reference to `drm_atomic_helper_damage_merged' drivers/gpu/drm/virtio/virtgpu_plane.c:167: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_plane.o: In function `virtio_gpu_cursor_plane_update': drivers/gpu/drm/virtio/virtgpu_plane.c:274: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_plane.c:289: undefined reference to `__drm_dbg' drivers/gpu/drm/virtio/virtgpu_plane.o: In function `kmem_cache_alloc_trace': include/linux/slab.h:451: undefined reference to `drm_universal_plane_init' drivers/gpu/drm/virtio/virtgpu_plane.o: In function `.LANCHOR0': drivers/gpu/drm/virtio/virtgpu_plane.c:76: undefined reference to `drm_atomic_helper_update_plane' drivers/gpu/drm/virtio/virtgpu_plane.o: In function `.LANCHOR0': virtgpu_plane.c:(.rodata+0x78): undefined reference to `drm_atomic_helper_disable_plane' virtgpu_plane.c:(.rodata+0x88): undefined reference to `drm_atomic_helper_plane_reset' virtgpu_plane.c:(.rodata+0x98): undefined reference to `drm_atomic_helper_plane_duplicate_state' virtgpu_plane.c:(.rodata+0xa0): undefined reference to `drm_atomic_helper_plane_destroy_state' drivers/gpu/drm/virtio/virtgpu_ioctl.o: In function `virtio_gpu_wait_ioctl': drivers/gpu/drm/virtio/virtgpu_ioctl.c:406: undefined reference to `drm_gem_object_lookup' drivers/gpu/drm/virtio/virtgpu_ioctl.c:416: undefined reference to `drm_gem_object_put_unlocked' drivers/gpu/drm/virtio/virtgpu_ioctl.o: In function `virtio_gpu_resource_info_ioctl': drivers/gpu/drm/virtio/virtgpu_ioctl.c:296: undefined reference to `drm_gem_object_lookup' drivers/gpu/drm/virtio/virtgpu_ioctl.c:303: undefined reference to `drm_gem_object_put_unlocked' drivers/gpu/drm/virtio/virtgpu_ioctl.o: In function `refcount_sub_and_test': include/linux/refcount.h:255: undefined reference to `drm_gem_handle_create' drivers/gpu/drm/virtio/virtgpu_ioctl.o: In function `virtio_gpu_resource_create_ioctl': drivers/gpu/drm/virtio/virtgpu_ioctl.c:275: undefined reference to `drm_gem_object_put_unlocked' drivers/gpu/drm/virtio/virtgpu_ioctl.c:245: undefined reference to `drm_gem_object_release' drivers/crypto/virtio/virtio_crypto_algs.o: In function `virtio_crypto_skcipher_decrypt': drivers/crypto/virtio/virtio_crypto_algs.c:523: undefined reference to `crypto_transfer_skcipher_request_to_engine' drivers/crypto/virtio/virtio_crypto_algs.o: In function `virtio_crypto_skcipher_encrypt': drivers/crypto/virtio/virtio_crypto_algs.c:498: undefined reference to `crypto_transfer_skcipher_request_to_engine' drivers/crypto/virtio/virtio_crypto_algs.o: In function `virtio_crypto_skcipher_finalize_req': drivers/crypto/virtio/virtio_crypto_algs.c:580: undefined reference to `crypto_finalize_skcipher_request' vim +139 drivers/gpu/drm/virtio/virtgpu_drv.c dc5698e80cf7247 Dave Airlie 2013-09-09 134 dc5698e80cf7247 Dave Airlie 2013-09-09 135 static void virtio_gpu_remove(struct virtio_device *vdev) dc5698e80cf7247 Dave Airlie 2013-09-09 136 { dc5698e80cf7247 Dave Airlie 2013-09-09 137 struct drm_device *dev = vdev->priv; 9d492b6bece4ecc Rodrigo Siqueira 2018-02-22 138 b1df3a2b24a917f Gerd Hoffmann 2020-02-11 @139 drm_dev_unplug(dev); b1df3a2b24a917f Gerd Hoffmann 2020-02-11 @140 drm_atomic_helper_shutdown(dev); d516e75c71c9853 Ezequiel Garcia 2019-01-08 141 virtio_gpu_deinit(dev); c8f95a56b6763cd Chuhong Yuan 2019-11-09 142 drm_dev_put(dev); dc5698e80cf7247 Dave Airlie 2013-09-09 143 } dc5698e80cf7247 Dave Airlie 2013-09-09 144 :::::: The code at line 139 was first introduced by commit :::::: b1df3a2b24a917f8853d43fe9683c0e360d2c33a drm/virtio: add drm_driver.release callback. :::::: TO: Gerd Hoffmann <kraxel@xxxxxxxxxx> :::::: CC: Gerd Hoffmann <kraxel@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip