Error: Invalid compression type
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b3aa112d57b704441143d84b0475fb633a750035
commit: 493a55f1e7724dee5e71bc726d5b819292094587 powerpc/xmon: Fix compile error in print_insn* functions
date: 10 weeks ago
config: powerpc-randconfig-a001-20200401 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.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 493a55f1e7724dee5e71bc726d5b819292094587
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> Error: Invalid compression type
Usage: /usr/bin/mkimage -l image
-l ==> list image header information
/usr/bin/mkimage -A arch -O os -T type -C comp -a addr -e ep -n name -d image
-A ==> set architecture to 'arch'
-O ==> set operating system to 'os'
-T ==> set image type to 'type'
-C ==> set compression type 'comp'
-a ==> set load address to 'addr' (hex)
==> set entry point to 'ep' (hex)
==> set image name to 'name'-d ==> use image data from 'datafile'
-x ==> set XIP (execute in place)
/usr/bin/mkimage [-D dtc_options] [-f fit-image.its|-f auto|-F] [-b <dtb> [-b <dtb>]] [-i <ramdisk.cpio.gz>] fit-image
<dtb> file is used with -f auto, it may occur multiple times.
-D => set all options for device tree compiler
-f => input filename for FIT source
-i => input filename for ramdisk file
Signing / verified boot not supported (CONFIG_FIT_SIGNATURE undefined)
/usr/bin/mkimage -V ==> print version information and exit
Use '-T list' to see a list of available image types
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[peterz-queue:locking/atomics 6/12] include/linux/dma-resv.h:225: undefined reference to `drm_gem_unlock_reservations'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/atomics
head: 855cb10d1869dc10b2f7b28f6b7ee4dd50d31b27
commit: 83da612ec6ea5b378e2f2161dc1a9a1e172137d6 [6/12] READ_ONCE: Simplify implementations of {READ,WRITE}_ONCE()
config: riscv-randconfig-a001-20200321 (attached as .config)
compiler: riscv32-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
git checkout 83da612ec6ea5b378e2f2161dc1a9a1e172137d6
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_remove':
drivers/gpu/drm/virtio/virtgpu_drv.c:138: undefined reference to `drm_dev_unregister'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.c:140: undefined reference to `drm_dev_put'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_probe':
drivers/gpu/drm/virtio/virtgpu_drv.c:107: undefined reference to `drm_dev_alloc'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_pci_quirk':
drivers/gpu/drm/virtio/virtgpu_drv.c:92: undefined reference to `drm_dev_set_unique'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_probe':
drivers/gpu/drm/virtio/virtgpu_drv.c:115: undefined reference to `drm_dev_put'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.c:122: undefined reference to `drm_dev_register'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `.LANCHOR1':
virtgpu_drv.c:(.data+0xdc): undefined reference to `drm_gem_prime_handle_to_fd'
riscv32-linux-ld: virtgpu_drv.c:(.data+0xe0): undefined reference to `drm_gem_prime_fd_to_handle'
riscv32-linux-ld: virtgpu_drv.c:(.data+0x104): undefined reference to `drm_gem_prime_mmap'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x8): undefined reference to `drm_read'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x24): undefined reference to `drm_poll'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x28): undefined reference to `drm_ioctl'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x30): undefined reference to `drm_gem_mmap'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x38): undefined reference to `drm_open'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x40): undefined reference to `drm_release'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_cancel_event_work':
drivers/scsi/virtio_scsi.c:273: undefined reference to `scsi_remove_host'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_remove':
drivers/scsi/virtio_scsi.c:925: undefined reference to `scsi_host_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_change_queue_depth':
drivers/scsi/virtio_scsi.c:675: undefined reference to `scsi_change_queue_depth'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_abort':
drivers/scsi/virtio_scsi.c:685: undefined reference to `scmd_printk'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_device_reset':
drivers/scsi/virtio_scsi.c:623: undefined reference to `sdev_prefix_printk'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_event':
drivers/scsi/virtio_scsi.c:368: undefined reference to `__scsi_iterate_devices'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_rescan_hotunplug':
drivers/scsi/virtio_scsi.c:356: undefined reference to `scsi_scan_host'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:340: undefined reference to `__scsi_execute'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `scsi_execute_req':
include/scsi/scsi_device.h:455: undefined reference to `scsi_remove_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_rescan_hotunplug':
drivers/scsi/virtio_scsi.c:350: undefined reference to `__scsi_iterate_devices'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_transport_reset':
drivers/scsi/virtio_scsi.c:300: undefined reference to `scsi_add_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:288: undefined reference to `scsi_device_lookup'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_event':
drivers/scsi/virtio_scsi.c:379: undefined reference to `scsi_remove_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_transport_reset':
drivers/scsi/virtio_scsi.c:290: undefined reference to `scsi_device_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_param_change':
drivers/scsi/virtio_scsi.c:312: undefined reference to `scsi_device_lookup'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_event':
drivers/scsi/virtio_scsi.c:382: undefined reference to `scsi_rescan_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:382: undefined reference to `scsi_device_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `set_host_byte':
include/scsi/scsi_cmnd.h:318: undefined reference to `scmd_printk'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtio_cread16':
include/linux/virtio_config.h:405: undefined reference to `scsi_host_alloc'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_probe':
drivers/scsi/virtio_scsi.c:857: undefined reference to `scsi_host_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:877: undefined reference to `scsi_add_host_with_dma'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:902: undefined reference to `scsi_scan_host'
riscv32-linux-ld: 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'
riscv32-linux-ld: 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'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_core.o: in function `virtcrypto_set_affinity':
drivers/crypto/virtio/virtio_crypto_core.c:165: undefined reference to `crypto_engine_start'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_core.o: in function `virtcrypto_probe':
drivers/crypto/virtio/virtio_crypto_core.c:410: undefined reference to `crypto_engine_exit'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_gpu_config_changed_work_func':
drivers/gpu/drm/virtio/virtgpu_kms.c:46: undefined reference to `drm_helper_hpd_irq_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_find_vqs':
include/linux/virtio_config.h:197: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_gpu_init':
drivers/gpu/drm/virtio/virtgpu_kms.c:174: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.c:181: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `kcalloc':
include/linux/slab.h:608: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_gpu_get_capsets':
drivers/gpu/drm/virtio/virtgpu_kms.c:95: undefined reference to `__drm_err'
riscv32-linux-ld: 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'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.c:47: undefined reference to `drm_gem_object_release'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.c:52: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_mode_dumb_mmap':
drivers/gpu/drm/virtio/virtgpu_gem.c:100: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `drm_vma_node_offset_addr':
include/drm/drm_vma_manager.h:204: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_array_lock_resv':
drivers/gpu/drm/virtio/virtgpu_gem.c:211: undefined reference to `drm_gem_lock_reservations'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `dma_resv_unlock':
>> include/linux/dma-resv.h:225: undefined reference to `drm_gem_unlock_reservations'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_array_put_free':
drivers/gpu/drm/virtio/virtgpu_gem.c:239: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_array_from_handles':
drivers/gpu/drm/virtio/virtgpu_gem.c:187: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `vgdev_atomic_commit_tail':
drivers/gpu/drm/virtio/virtgpu_display.c:331: undefined reference to `drm_atomic_helper_commit_modeset_disables'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:332: undefined reference to `drm_atomic_helper_commit_modeset_enables'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:333: undefined reference to `drm_atomic_helper_commit_planes'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:335: undefined reference to `drm_atomic_helper_commit_hw_done'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:337: undefined reference to `drm_atomic_helper_wait_for_vblanks'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:338: undefined reference to `drm_atomic_helper_cleanup_planes'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_conn_mode_valid':
drivers/gpu/drm/virtio/virtgpu_display.c:206: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_conn_get_modes':
drivers/gpu/drm/virtio/virtgpu_display.c:170: undefined reference to `drm_add_modes_noedid'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:175: undefined reference to `drm_set_preferred_mode'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:163: undefined reference to `drm_add_edid_modes'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:177: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:178: undefined reference to `drm_cvt_mode'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:181: undefined reference to `drm_mode_probed_add'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_conn_destroy':
drivers/gpu/drm/virtio/virtgpu_display.c:236: undefined reference to `drm_connector_unregister'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:237: undefined reference to `drm_connector_cleanup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_crtc_atomic_flush':
drivers/gpu/drm/virtio/virtgpu_display.c:128: undefined reference to `drm_crtc_send_vblank_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_user_framebuffer_create':
drivers/gpu/drm/virtio/virtgpu_display.c:304: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_framebuffer_init':
drivers/gpu/drm/virtio/virtgpu_display.c:75: undefined reference to `drm_helper_mode_fill_fb_struct'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:77: undefined reference to `drm_framebuffer_init'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_user_framebuffer_create':
drivers/gpu/drm/virtio/virtgpu_display.c:320: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_modeset_init':
drivers/gpu/drm/virtio/virtgpu_display.c:355: undefined reference to `drm_mode_config_init'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:369: undefined reference to `drm_mode_config_reset'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `vgdev_output_init':
drivers/gpu/drm/virtio/virtgpu_display.c:275: undefined reference to `drm_crtc_init_with_planes'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:279: undefined reference to `drm_connector_init'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:283: undefined reference to `drm_connector_attach_edid_property'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:285: undefined reference to `drm_encoder_init'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:288: undefined reference to `drm_connector_attach_encoder'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:291: undefined reference to `drm_connector_register'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_modeset_fini':
drivers/gpu/drm/virtio/virtgpu_display.c:378: undefined reference to `drm_atomic_helper_shutdown'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:379: undefined reference to `drm_mode_config_cleanup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
drivers/gpu/drm/virtio/virtgpu_display.c:59: undefined reference to `drm_gem_fb_destroy'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
virtgpu_display.c:(.rodata+0x4): undefined reference to `drm_gem_fb_create_handle'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x8): undefined reference to `drm_atomic_helper_dirtyfb'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x1c): undefined reference to `drm_atomic_helper_check'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x20): undefined reference to `drm_atomic_helper_commit'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
drivers/gpu/drm/virtio/virtgpu_display.c:49: undefined reference to `drm_atomic_helper_crtc_reset'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
virtgpu_display.c:(.rodata+0x44): undefined reference to `drm_crtc_cleanup'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x48): undefined reference to `drm_atomic_helper_set_config'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x4c): undefined reference to `drm_atomic_helper_page_flip'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x58): undefined reference to `drm_atomic_helper_crtc_duplicate_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x5c): undefined reference to `drm_atomic_helper_crtc_destroy_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xcc): undefined reference to `drm_atomic_helper_connector_reset'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xd8): undefined reference to `drm_helper_probe_single_connector_modes'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xec): undefined reference to `drm_atomic_helper_connector_duplicate_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xf0): undefined reference to `drm_atomic_helper_connector_destroy_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x128): undefined reference to `drm_encoder_cleanup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `reclaim_vbufs':
drivers/gpu/drm/virtio/virtgpu_vq.c:184: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_cmd_get_display_info_cb':
drivers/gpu/drm/virtio/virtgpu_vq.c:660: undefined reference to `drm_helper_hpd_irq_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:661: undefined reference to `drm_kms_helper_hotplug_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:646: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:652: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_cmd_get_edid_cb':
drivers/gpu/drm/virtio/virtgpu_vq.c:731: undefined reference to `drm_do_get_edid'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:734: undefined reference to `drm_connector_update_edid_property'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_dequeue_ctrl_func':
drivers/gpu/drm/virtio/virtgpu_vq.c:221: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:231: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:215: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_object_attach':
drivers/gpu/drm/virtio/virtgpu_vq.c:1079: undefined reference to `drm_gem_shmem_get_sg_table'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:1079: undefined reference to `drm_gem_shmem_unpin'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `dma_map_sg_attrs':
include/linux/dma-mapping.h:317: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_object_attach':
drivers/gpu/drm/virtio/virtgpu_vq.c:1117: undefined reference to `drm_gem_shmem_pin'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_object_detach':
drivers/gpu/drm/virtio/virtgpu_vq.c:1143: undefined reference to `drm_gem_shmem_unpin'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `virtio_gpu_free_object':
drivers/gpu/drm/virtio/virtgpu_object.c:75: undefined reference to `drm_gem_shmem_free_object'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `virtio_gpu_object_create':
drivers/gpu/drm/virtio/virtgpu_object.c:110: undefined reference to `drm_gem_shmem_create'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.c:126: undefined reference to `drm_gem_shmem_free_object'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `.LANCHOR1':
virtgpu_object.c:(.rodata+0xc): undefined reference to `drm_gem_shmem_print_info'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x14): undefined reference to `drm_gem_shmem_pin'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x18): undefined reference to `drm_gem_shmem_unpin'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x1c): undefined reference to `drm_gem_shmem_get_sg_table'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x20): undefined reference to `drm_gem_shmem_vmap'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x24): undefined reference to `drm_gem_shmem_vunmap'
vim +225 include/linux/dma-resv.h
0dbd555a011c2d include/linux/reservation.h Christian König 2019-07-31 211
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 212 /**
52791eeec1d9f4 include/linux/dma-resv.h Christian König 2019-08-11 213 * dma_resv_unlock - unlock the reservation object
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 214 * @obj: the reservation object
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 215 *
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 216 * Unlocks the reservation object following exclusive access.
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 217 */
52791eeec1d9f4 include/linux/dma-resv.h Christian König 2019-08-11 218 static inline void dma_resv_unlock(struct dma_resv *obj)
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 219 {
99fe21a76f0f2d include/linux/reservation.h Christian König 2018-10-04 220 #ifdef CONFIG_DEBUG_MUTEXES
99fe21a76f0f2d include/linux/reservation.h Christian König 2018-10-04 221 /* Test shared fence slot reservation */
5740671e596bdc include/linux/reservation.h Chris Wilson 2019-06-12 222 if (rcu_access_pointer(obj->fence)) {
52791eeec1d9f4 include/linux/dma-resv.h Christian König 2019-08-11 223 struct dma_resv_list *fence = dma_resv_get_list(obj);
5740671e596bdc include/linux/reservation.h Chris Wilson 2019-06-12 224
5740671e596bdc include/linux/reservation.h Chris Wilson 2019-06-12 @225 fence->shared_max = fence->shared_count;
5740671e596bdc include/linux/reservation.h Chris Wilson 2019-06-12 226 }
99fe21a76f0f2d include/linux/reservation.h Christian König 2018-10-04 227 #endif
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 228 ww_mutex_unlock(&obj->lock);
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 229 }
122020af856181 include/linux/reservation.h Chris Wilson 2016-11-15 230
:::::: The code at line 225 was first introduced by commit
:::::: 5740671e596bdc3986a5391997de194300970201 dma-fence/reservation: Markup rcu protected access for DEBUG_MUTEXES
:::::: TO: Chris Wilson <chris(a)chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris(a)chris-wilson.co.uk>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
undefined reference to `__trace_hardirqs_off'
by kbuild test robot
Hi Mike,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b3aa112d57b704441143d84b0475fb633a750035
commit: 4f0bd808134d73184054ad09173821c84f31dd5d asm-generic/nds32: don't redefine cacheflush primitives
date: 3 months ago
config: nds32-randconfig-a001-20200331 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.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 4f0bd808134d73184054ad09173821c84f31dd5d
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
nds32le-linux-ld: arch/nds32/kernel/ex-entry.o: in function `fucop_ctl_done':
>> (.text+0x11e): undefined reference to `__trace_hardirqs_off'
(.text+0x11e): relocation truncated to fit: R_NDS32_25_PCREL_RELA against undefined symbol `__trace_hardirqs_off'
nds32le-linux-ld: arch/nds32/kernel/ex-exit.o: in function `no_work_pending':
(.text+0xd6): undefined reference to `__trace_hardirqs_off'
>> nds32le-linux-ld: (.text+0xda): undefined reference to `__trace_hardirqs_off'
>> nds32le-linux-ld: (.text+0xde): undefined reference to `__trace_hardirqs_on'
nds32le-linux-ld: (.text+0xe2): undefined reference to `__trace_hardirqs_on'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v11 8/9] KVM: VMX: Enable CET support for nested VM
by kbuild test robot
Hi Yang,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kvm/linux-next]
[also build test ERROR on next-20200331]
[cannot apply to vhost/linux-next tip/auto-latest linus/master linux/master v5.6]
[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/Yang-Weijiang/Introduce-support-...
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/kvm/vmx/nested.c: In function 'nested_vmx_prepare_msr_bitmap':
>> arch/x86/kvm/vmx/nested.c:630:39: error: 'MSR_IA32_U_CET' undeclared (first use in this function); did you mean 'MSR_IA32_TSC'?
if (!msr_write_intercepted_l01(vcpu, MSR_IA32_U_CET))
^~~~~~~~~~~~~~
MSR_IA32_TSC
arch/x86/kvm/vmx/nested.c:630:39: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/kvm/vmx/nested.c:635:39: error: 'MSR_IA32_PL3_SSP' undeclared (first use in this function); did you mean 'MSR_IA32_MCG_ESP'?
if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL3_SSP))
^~~~~~~~~~~~~~~~
MSR_IA32_MCG_ESP
>> arch/x86/kvm/vmx/nested.c:640:39: error: 'MSR_IA32_S_CET' undeclared (first use in this function); did you mean 'MSR_IA32_U_CET'?
if (!msr_write_intercepted_l01(vcpu, MSR_IA32_S_CET))
^~~~~~~~~~~~~~
MSR_IA32_U_CET
>> arch/x86/kvm/vmx/nested.c:645:39: error: 'MSR_IA32_PL0_SSP' undeclared (first use in this function); did you mean 'MSR_IA32_PL3_SSP'?
if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL0_SSP))
^~~~~~~~~~~~~~~~
MSR_IA32_PL3_SSP
>> arch/x86/kvm/vmx/nested.c:650:39: error: 'MSR_IA32_PL1_SSP' undeclared (first use in this function); did you mean 'MSR_IA32_PL0_SSP'?
if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL1_SSP))
^~~~~~~~~~~~~~~~
MSR_IA32_PL0_SSP
>> arch/x86/kvm/vmx/nested.c:655:39: error: 'MSR_IA32_PL2_SSP' undeclared (first use in this function); did you mean 'MSR_IA32_PL1_SSP'?
if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL2_SSP))
^~~~~~~~~~~~~~~~
MSR_IA32_PL1_SSP
>> arch/x86/kvm/vmx/nested.c:660:39: error: 'MSR_IA32_INT_SSP_TAB' undeclared (first use in this function); did you mean 'MSR_IA32_PL2_SSP'?
if (!msr_write_intercepted_l01(vcpu, MSR_IA32_INT_SSP_TAB))
^~~~~~~~~~~~~~~~~~~~
MSR_IA32_PL2_SSP
vim +630 arch/x86/kvm/vmx/nested.c
557
558 /*
559 * Merge L0's and L1's MSR bitmap, return false to indicate that
560 * we do not use the hardware.
561 */
562 static inline bool nested_vmx_prepare_msr_bitmap(struct kvm_vcpu *vcpu,
563 struct vmcs12 *vmcs12)
564 {
565 int msr;
566 unsigned long *msr_bitmap_l1;
567 unsigned long *msr_bitmap_l0 = to_vmx(vcpu)->nested.vmcs02.msr_bitmap;
568 struct kvm_host_map *map = &to_vmx(vcpu)->nested.msr_bitmap_map;
569
570 /* Nothing to do if the MSR bitmap is not in use. */
571 if (!cpu_has_vmx_msr_bitmap() ||
572 !nested_cpu_has(vmcs12, CPU_BASED_USE_MSR_BITMAPS))
573 return false;
574
575 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->msr_bitmap), map))
576 return false;
577
578 msr_bitmap_l1 = (unsigned long *)map->hva;
579
580 /*
581 * To keep the control flow simple, pay eight 8-byte writes (sixteen
582 * 4-byte writes on 32-bit systems) up front to enable intercepts for
583 * the x2APIC MSR range and selectively disable them below.
584 */
585 enable_x2apic_msr_intercepts(msr_bitmap_l0);
586
587 if (nested_cpu_has_virt_x2apic_mode(vmcs12)) {
588 if (nested_cpu_has_apic_reg_virt(vmcs12)) {
589 /*
590 * L0 need not intercept reads for MSRs between 0x800
591 * and 0x8ff, it just lets the processor take the value
592 * from the virtual-APIC page; take those 256 bits
593 * directly from the L1 bitmap.
594 */
595 for (msr = 0x800; msr <= 0x8ff; msr += BITS_PER_LONG) {
596 unsigned word = msr / BITS_PER_LONG;
597
598 msr_bitmap_l0[word] = msr_bitmap_l1[word];
599 }
600 }
601
602 nested_vmx_disable_intercept_for_msr(
603 msr_bitmap_l1, msr_bitmap_l0,
604 X2APIC_MSR(APIC_TASKPRI),
605 MSR_TYPE_R | MSR_TYPE_W);
606
607 if (nested_cpu_has_vid(vmcs12)) {
608 nested_vmx_disable_intercept_for_msr(
609 msr_bitmap_l1, msr_bitmap_l0,
610 X2APIC_MSR(APIC_EOI),
611 MSR_TYPE_W);
612 nested_vmx_disable_intercept_for_msr(
613 msr_bitmap_l1, msr_bitmap_l0,
614 X2APIC_MSR(APIC_SELF_IPI),
615 MSR_TYPE_W);
616 }
617 }
618
619 /* KVM unconditionally exposes the FS/GS base MSRs to L1. */
620 nested_vmx_disable_intercept_for_msr(msr_bitmap_l1, msr_bitmap_l0,
621 MSR_FS_BASE, MSR_TYPE_RW);
622
623 nested_vmx_disable_intercept_for_msr(msr_bitmap_l1, msr_bitmap_l0,
624 MSR_GS_BASE, MSR_TYPE_RW);
625
626 nested_vmx_disable_intercept_for_msr(msr_bitmap_l1, msr_bitmap_l0,
627 MSR_KERNEL_GS_BASE, MSR_TYPE_RW);
628
629 /* Pass CET MSRs to nested VM if L0 and L1 are set to pass-through. */
> 630 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_U_CET))
631 nested_vmx_disable_intercept_for_msr(
632 msr_bitmap_l1, msr_bitmap_l0,
633 MSR_IA32_U_CET, MSR_TYPE_RW);
634
> 635 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL3_SSP))
636 nested_vmx_disable_intercept_for_msr(
637 msr_bitmap_l1, msr_bitmap_l0,
638 MSR_IA32_PL3_SSP, MSR_TYPE_RW);
639
> 640 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_S_CET))
641 nested_vmx_disable_intercept_for_msr(
642 msr_bitmap_l1, msr_bitmap_l0,
643 MSR_IA32_S_CET, MSR_TYPE_RW);
644
> 645 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL0_SSP))
646 nested_vmx_disable_intercept_for_msr(
647 msr_bitmap_l1, msr_bitmap_l0,
648 MSR_IA32_PL0_SSP, MSR_TYPE_RW);
649
> 650 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL1_SSP))
651 nested_vmx_disable_intercept_for_msr(
652 msr_bitmap_l1, msr_bitmap_l0,
653 MSR_IA32_PL1_SSP, MSR_TYPE_RW);
654
> 655 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PL2_SSP))
656 nested_vmx_disable_intercept_for_msr(
657 msr_bitmap_l1, msr_bitmap_l0,
658 MSR_IA32_PL2_SSP, MSR_TYPE_RW);
659
> 660 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_INT_SSP_TAB))
661 nested_vmx_disable_intercept_for_msr(
662 msr_bitmap_l1, msr_bitmap_l0,
663 MSR_IA32_INT_SSP_TAB, MSR_TYPE_RW);
664 /*
665 * Checking the L0->L1 bitmap is trying to verify two things:
666 *
667 * 1. L0 gave a permission to L1 to actually passthrough the MSR. This
668 * ensures that we do not accidentally generate an L02 MSR bitmap
669 * from the L12 MSR bitmap that is too permissive.
670 * 2. That L1 or L2s have actually used the MSR. This avoids
671 * unnecessarily merging of the bitmap if the MSR is unused. This
672 * works properly because we only update the L01 MSR bitmap lazily.
673 * So even if L0 should pass L1 these MSRs, the L01 bitmap is only
674 * updated to reflect this when L1 (or its L2s) actually write to
675 * the MSR.
676 */
677 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_SPEC_CTRL))
678 nested_vmx_disable_intercept_for_msr(
679 msr_bitmap_l1, msr_bitmap_l0,
680 MSR_IA32_SPEC_CTRL,
681 MSR_TYPE_R | MSR_TYPE_W);
682
683 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_PRED_CMD))
684 nested_vmx_disable_intercept_for_msr(
685 msr_bitmap_l1, msr_bitmap_l0,
686 MSR_IA32_PRED_CMD,
687 MSR_TYPE_W);
688
689 kvm_vcpu_unmap(vcpu, &to_vmx(vcpu)->nested.msr_bitmap_map, false);
690
691 return true;
692 }
693
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v3] tpm: Add support for event log pointer found in TPM2 ACPI table
by kbuild test robot
Hi Stefan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v5.6 next-20200331]
[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/Stefan-Berger/tpm-Add-support-fo...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 5caf6102e32ead7ed5d21b5309c1a4a7d70e6a9f
config: x86_64-randconfig-s1-20200401 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/char/tpm/eventlog/acpi.c: In function 'tpm_read_log_acpi':
>> drivers/char/tpm/eventlog/acpi.c:70:12: error: 'struct acpi_table_tpm2' has no member named 'log_area_minimum_length'
len = tbl->log_area_minimum_length;
^~
>> drivers/char/tpm/eventlog/acpi.c:71:14: error: 'struct acpi_table_tpm2' has no member named 'log_area_start_address'
start = tbl->log_area_start_address;
^~
vim +70 drivers/char/tpm/eventlog/acpi.c
43
44 /* read binary bios log */
45 int tpm_read_log_acpi(struct tpm_chip *chip)
46 {
47 struct acpi_tcpa *buff;
48 acpi_status status;
49 void __iomem *virt;
50 u64 len, start;
51 struct tpm_bios_log *log;
52 struct acpi_table_tpm2 *tbl;
53 int format;
54
55 log = &chip->log;
56
57 /* Unfortuntely ACPI does not associate the event log with a specific
58 * TPM, like PPI. Thus all ACPI TPMs will read the same log.
59 */
60 if (!chip->acpi_dev_handle)
61 return -ENODEV;
62
63 if (chip->flags & TPM_CHIP_FLAG_TPM2) {
64 status = acpi_get_table("TPM2", 1,
65 (struct acpi_table_header **)&tbl);
66 if (ACPI_FAILURE(status))
67 return -ENODEV;
68 if (tbl->header.length < sizeof(*tbl))
69 return -ENODEV;
> 70 len = tbl->log_area_minimum_length;
> 71 start = tbl->log_area_start_address;
72 if (!start || !len)
73 return -ENODEV;
74 format = EFI_TCG2_EVENT_LOG_FORMAT_TCG_2;
75 } else {
76 /* Find TCPA entry in RSDT (ACPI_LOGICAL_ADDRESSING) */
77 status = acpi_get_table(ACPI_SIG_TCPA, 1,
78 (struct acpi_table_header **)&buff);
79
80 if (ACPI_FAILURE(status))
81 return -ENODEV;
82
83 switch (buff->platform_class) {
84 case BIOS_SERVER:
85 len = buff->server.log_max_len;
86 start = buff->server.log_start_addr;
87 break;
88 case BIOS_CLIENT:
89 default:
90 len = buff->client.log_max_len;
91 start = buff->client.log_start_addr;
92 break;
93 }
94 format = EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2;
95 }
96 if (!len) {
97 dev_warn(&chip->dev, "%s: TCPA log area empty\n", __func__);
98 return -EIO;
99 }
100
101 /* malloc EventLog space */
102 log->bios_event_log = kmalloc(len, GFP_KERNEL);
103 if (!log->bios_event_log)
104 return -ENOMEM;
105
106 log->bios_event_log_end = log->bios_event_log + len;
107
108 virt = acpi_os_map_iomem(start, len);
109 if (!virt)
110 goto err;
111
112 memcpy_fromio(log->bios_event_log, virt, len);
113
114 acpi_os_unmap_iomem(virt, len);
115 return format;
116
117 err:
118 kfree(log->bios_event_log);
119 log->bios_event_log = NULL;
120 return -EIO;
121
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [Intel-gfx] [PATCH 1/6] drm/i915/display: Move out code to return the digital_port of the aux ch
by kbuild test robot
Hi "José,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20200331]
[cannot apply to v5.6]
[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/Jos-Roberto-de-Souza/drm-i915-di...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-s0-20200401 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/display/intel_display_power.c: In function 'icl_tc_phy_aux_power_well_enable':
>> drivers/gpu/drm/i915/display/intel_display_power.c:561:40: error: implicit declaration of function 'aux_ch_to_digital_port' [-Werror=implicit-function-declaration]
struct intel_digital_port *dig_port = aux_ch_to_digital_port(dev_priv, aux_ch);
^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display_power.c:561:40: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
drivers/gpu/drm/i915/display/intel_display_power.c:564:2: error: too many arguments to function 'icl_tc_port_assert_ref_held'
icl_tc_port_assert_ref_held(dev_priv, power_well, dig_port);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display_power.c:547:13: note: declared here
static void icl_tc_port_assert_ref_held(struct drm_i915_private *dev_priv,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display_power.c: In function 'icl_tc_phy_aux_power_well_disable':
drivers/gpu/drm/i915/display/intel_display_power.c:593:40: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct intel_digital_port *dig_port = aux_ch_to_digital_port(dev_priv, aux_ch);
^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display_power.c:595:2: error: too many arguments to function 'icl_tc_port_assert_ref_held'
icl_tc_port_assert_ref_held(dev_priv, power_well, dig_port);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display_power.c:547:13: note: declared here
static void icl_tc_port_assert_ref_held(struct drm_i915_private *dev_priv,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/aux_ch_to_digital_port +561 drivers/gpu/drm/i915/display/intel_display_power.c
555
556 static void
557 icl_tc_phy_aux_power_well_enable(struct drm_i915_private *dev_priv,
558 struct i915_power_well *power_well)
559 {
560 enum aux_ch aux_ch = icl_tc_phy_aux_ch(dev_priv, power_well);
> 561 struct intel_digital_port *dig_port = aux_ch_to_digital_port(dev_priv, aux_ch);
562 u32 val;
563
564 icl_tc_port_assert_ref_held(dev_priv, power_well, dig_port);
565
566 val = intel_de_read(dev_priv, DP_AUX_CH_CTL(aux_ch));
567 val &= ~DP_AUX_CH_CTL_TBT_IO;
568 if (power_well->desc->hsw.is_tc_tbt)
569 val |= DP_AUX_CH_CTL_TBT_IO;
570 intel_de_write(dev_priv, DP_AUX_CH_CTL(aux_ch), val);
571
572 hsw_power_well_enable(dev_priv, power_well);
573
574 if (INTEL_GEN(dev_priv) >= 12 && !power_well->desc->hsw.is_tc_tbt) {
575 enum tc_port tc_port;
576
577 tc_port = TGL_AUX_PW_TO_TC_PORT(power_well->desc->hsw.idx);
578 intel_de_write(dev_priv, HIP_INDEX_REG(tc_port),
579 HIP_INDEX_VAL(tc_port, 0x2));
580
581 if (intel_de_wait_for_set(dev_priv, DKL_CMN_UC_DW_27(tc_port),
582 DKL_CMN_UC_DW27_UC_HEALTH, 1))
583 drm_warn(&dev_priv->drm,
584 "Timeout waiting TC uC health\n");
585 }
586 }
587
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v11 7/9] KVM: X86: Add userspace access interface for CET MSRs
by kbuild test robot
Hi Yang,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kvm/linux-next]
[also build test ERROR on next-20200331]
[cannot apply to vhost/linux-next tip/auto-latest linus/master linux/master v5.6]
[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/Yang-Weijiang/Introduce-support-...
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/kvm/x86.c: In function 'kvm_set_cr0':
arch/x86/kvm/x86.c:809:53: error: 'X86_CR4_CET' undeclared (first use in this function); did you mean 'X86_CR4_DE'?
if (!(cr0 & X86_CR0_WP) && kvm_read_cr4_bits(vcpu, X86_CR4_CET))
^~~~~~~~~~~
X86_CR4_DE
arch/x86/kvm/x86.c:809:53: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kvm/x86.c: At top level:
>> arch/x86/kvm/x86.c:1233:16: error: 'MSR_IA32_U_CET' undeclared here (not in a function); did you mean 'MSR_IA32_TSC'?
MSR_IA32_XSS, MSR_IA32_U_CET, MSR_IA32_S_CET,
^~~~~~~~~~~~~~
MSR_IA32_TSC
>> arch/x86/kvm/x86.c:1233:32: error: 'MSR_IA32_S_CET' undeclared here (not in a function); did you mean 'MSR_IA32_U_CET'?
MSR_IA32_XSS, MSR_IA32_U_CET, MSR_IA32_S_CET,
^~~~~~~~~~~~~~
MSR_IA32_U_CET
>> arch/x86/kvm/x86.c:1234:2: error: 'MSR_IA32_PL0_SSP' undeclared here (not in a function); did you mean 'MSR_IA32_MCG_ESP'?
MSR_IA32_PL0_SSP, MSR_IA32_PL1_SSP, MSR_IA32_PL2_SSP,
^~~~~~~~~~~~~~~~
MSR_IA32_MCG_ESP
>> arch/x86/kvm/x86.c:1234:20: error: 'MSR_IA32_PL1_SSP' undeclared here (not in a function); did you mean 'MSR_IA32_PL0_SSP'?
MSR_IA32_PL0_SSP, MSR_IA32_PL1_SSP, MSR_IA32_PL2_SSP,
^~~~~~~~~~~~~~~~
MSR_IA32_PL0_SSP
>> arch/x86/kvm/x86.c:1234:38: error: 'MSR_IA32_PL2_SSP' undeclared here (not in a function); did you mean 'MSR_IA32_PL1_SSP'?
MSR_IA32_PL0_SSP, MSR_IA32_PL1_SSP, MSR_IA32_PL2_SSP,
^~~~~~~~~~~~~~~~
MSR_IA32_PL1_SSP
>> arch/x86/kvm/x86.c:1235:2: error: 'MSR_IA32_PL3_SSP' undeclared here (not in a function); did you mean 'MSR_IA32_PL2_SSP'?
MSR_IA32_PL3_SSP, MSR_IA32_INT_SSP_TAB,
^~~~~~~~~~~~~~~~
MSR_IA32_PL2_SSP
arch/x86/kvm/x86.c:1235:20: error: 'MSR_IA32_INT_SSP_TAB' undeclared here (not in a function); did you mean 'MSR_IA32_PL3_SSP'?
MSR_IA32_PL3_SSP, MSR_IA32_INT_SSP_TAB,
^~~~~~~~~~~~~~~~~~~~
MSR_IA32_PL3_SSP
arch/x86/kvm/x86.c: In function 'is_xsaves_msr':
arch/x86/kvm/x86.c:3267:15: error: comparison between pointer and integer [-Werror]
return index == MSR_IA32_U_CET ||
^~
arch/x86/kvm/x86.c:3268:16: error: comparison between pointer and integer [-Werror]
(index >= MSR_IA32_PL0_SSP && index <= MSR_IA32_PL3_SSP);
^~
arch/x86/kvm/x86.c:3268:45: error: comparison between pointer and integer [-Werror]
(index >= MSR_IA32_PL0_SSP && index <= MSR_IA32_PL3_SSP);
^~
arch/x86/kvm/x86.c: In function 'kvm_arch_hardware_setup':
arch/x86/kvm/x86.c:191:28: error: 'XFEATURE_MASK_CET_USER' undeclared (first use in this function); did you mean 'XFEATURE_MASK_BNDCSR'?
#define KVM_SUPPORTED_XSS (XFEATURE_MASK_CET_USER | \
^
arch/x86/kvm/x86.c:9678:30: note: in expansion of macro 'KVM_SUPPORTED_XSS'
supported_xss = host_xss & KVM_SUPPORTED_XSS;
^~~~~~~~~~~~~~~~~
arch/x86/kvm/x86.c:192:6: error: 'XFEATURE_MASK_CET_KERNEL' undeclared (first use in this function); did you mean 'XFEATURE_MASK_CET_USER'?
XFEATURE_MASK_CET_KERNEL)
^
arch/x86/kvm/x86.c:9678:30: note: in expansion of macro 'KVM_SUPPORTED_XSS'
supported_xss = host_xss & KVM_SUPPORTED_XSS;
^~~~~~~~~~~~~~~~~
>> arch/x86/kvm/x86.c:191:51: error: invalid operands to binary | (have 'const u32 * {aka const unsigned int *}' and 'const u32 * {aka const unsigned int *}')
#define KVM_SUPPORTED_XSS (XFEATURE_MASK_CET_USER | \
~ ^
arch/x86/kvm/x86.c:9678:30: note: in expansion of macro 'KVM_SUPPORTED_XSS'
supported_xss = host_xss & KVM_SUPPORTED_XSS;
^~~~~~~~~~~~~~~~~
>> arch/x86/kvm/x86.c:9678:28: error: invalid operands to binary & (have 'u64 {aka long long unsigned int}' and 'const u32 * {aka const unsigned int *}')
supported_xss = host_xss & KVM_SUPPORTED_XSS;
^
arch/x86/kvm/x86.c:9678:17: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
supported_xss = host_xss & KVM_SUPPORTED_XSS;
^
cc1: all warnings being treated as errors
vim +1233 arch/x86/kvm/x86.c
1180
1181 /*
1182 * List of msr numbers which we expose to userspace through KVM_GET_MSRS
1183 * and KVM_SET_MSRS, and KVM_GET_MSR_INDEX_LIST.
1184 *
1185 * The three MSR lists(msrs_to_save, emulated_msrs, msr_based_features)
1186 * extract the supported MSRs from the related const lists.
1187 * msrs_to_save is selected from the msrs_to_save_all to reflect the
1188 * capabilities of the host cpu. This capabilities test skips MSRs that are
1189 * kvm-specific. Those are put in emulated_msrs_all; filtering of emulated_msrs
1190 * may depend on host virtualization features rather than host cpu features.
1191 */
1192
1193 static const u32 msrs_to_save_all[] = {
1194 MSR_IA32_SYSENTER_CS, MSR_IA32_SYSENTER_ESP, MSR_IA32_SYSENTER_EIP,
1195 MSR_STAR,
1196 #ifdef CONFIG_X86_64
1197 MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR,
1198 #endif
1199 MSR_IA32_TSC, MSR_IA32_CR_PAT, MSR_VM_HSAVE_PA,
1200 MSR_IA32_FEAT_CTL, MSR_IA32_BNDCFGS, MSR_TSC_AUX,
1201 MSR_IA32_SPEC_CTRL,
1202 MSR_IA32_RTIT_CTL, MSR_IA32_RTIT_STATUS, MSR_IA32_RTIT_CR3_MATCH,
1203 MSR_IA32_RTIT_OUTPUT_BASE, MSR_IA32_RTIT_OUTPUT_MASK,
1204 MSR_IA32_RTIT_ADDR0_A, MSR_IA32_RTIT_ADDR0_B,
1205 MSR_IA32_RTIT_ADDR1_A, MSR_IA32_RTIT_ADDR1_B,
1206 MSR_IA32_RTIT_ADDR2_A, MSR_IA32_RTIT_ADDR2_B,
1207 MSR_IA32_RTIT_ADDR3_A, MSR_IA32_RTIT_ADDR3_B,
1208 MSR_IA32_UMWAIT_CONTROL,
1209
1210 MSR_ARCH_PERFMON_FIXED_CTR0, MSR_ARCH_PERFMON_FIXED_CTR1,
1211 MSR_ARCH_PERFMON_FIXED_CTR0 + 2, MSR_ARCH_PERFMON_FIXED_CTR0 + 3,
1212 MSR_CORE_PERF_FIXED_CTR_CTRL, MSR_CORE_PERF_GLOBAL_STATUS,
1213 MSR_CORE_PERF_GLOBAL_CTRL, MSR_CORE_PERF_GLOBAL_OVF_CTRL,
1214 MSR_ARCH_PERFMON_PERFCTR0, MSR_ARCH_PERFMON_PERFCTR1,
1215 MSR_ARCH_PERFMON_PERFCTR0 + 2, MSR_ARCH_PERFMON_PERFCTR0 + 3,
1216 MSR_ARCH_PERFMON_PERFCTR0 + 4, MSR_ARCH_PERFMON_PERFCTR0 + 5,
1217 MSR_ARCH_PERFMON_PERFCTR0 + 6, MSR_ARCH_PERFMON_PERFCTR0 + 7,
1218 MSR_ARCH_PERFMON_PERFCTR0 + 8, MSR_ARCH_PERFMON_PERFCTR0 + 9,
1219 MSR_ARCH_PERFMON_PERFCTR0 + 10, MSR_ARCH_PERFMON_PERFCTR0 + 11,
1220 MSR_ARCH_PERFMON_PERFCTR0 + 12, MSR_ARCH_PERFMON_PERFCTR0 + 13,
1221 MSR_ARCH_PERFMON_PERFCTR0 + 14, MSR_ARCH_PERFMON_PERFCTR0 + 15,
1222 MSR_ARCH_PERFMON_PERFCTR0 + 16, MSR_ARCH_PERFMON_PERFCTR0 + 17,
1223 MSR_ARCH_PERFMON_EVENTSEL0, MSR_ARCH_PERFMON_EVENTSEL1,
1224 MSR_ARCH_PERFMON_EVENTSEL0 + 2, MSR_ARCH_PERFMON_EVENTSEL0 + 3,
1225 MSR_ARCH_PERFMON_EVENTSEL0 + 4, MSR_ARCH_PERFMON_EVENTSEL0 + 5,
1226 MSR_ARCH_PERFMON_EVENTSEL0 + 6, MSR_ARCH_PERFMON_EVENTSEL0 + 7,
1227 MSR_ARCH_PERFMON_EVENTSEL0 + 8, MSR_ARCH_PERFMON_EVENTSEL0 + 9,
1228 MSR_ARCH_PERFMON_EVENTSEL0 + 10, MSR_ARCH_PERFMON_EVENTSEL0 + 11,
1229 MSR_ARCH_PERFMON_EVENTSEL0 + 12, MSR_ARCH_PERFMON_EVENTSEL0 + 13,
1230 MSR_ARCH_PERFMON_EVENTSEL0 + 14, MSR_ARCH_PERFMON_EVENTSEL0 + 15,
1231 MSR_ARCH_PERFMON_EVENTSEL0 + 16, MSR_ARCH_PERFMON_EVENTSEL0 + 17,
1232
> 1233 MSR_IA32_XSS, MSR_IA32_U_CET, MSR_IA32_S_CET,
> 1234 MSR_IA32_PL0_SSP, MSR_IA32_PL1_SSP, MSR_IA32_PL2_SSP,
> 1235 MSR_IA32_PL3_SSP, MSR_IA32_INT_SSP_TAB,
1236 };
1237
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v11 5/9] KVM: X86: Refresh CPUID once guest XSS MSR changes
by kbuild test robot
Hi Yang,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kvm/linux-next]
[also build test ERROR on next-20200331]
[cannot apply to vhost/linux-next tip/auto-latest linus/master linux/master v5.6]
[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/Yang-Weijiang/Introduce-support-...
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/kvm/x86.c: In function 'kvm_set_cr0':
arch/x86/kvm/x86.c:807:53: error: 'X86_CR4_CET' undeclared (first use in this function); did you mean 'X86_CR4_DE'?
if (!(cr0 & X86_CR0_WP) && kvm_read_cr4_bits(vcpu, X86_CR4_CET))
^~~~~~~~~~~
X86_CR4_DE
arch/x86/kvm/x86.c:807:53: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kvm/x86.c: In function 'kvm_arch_hardware_setup':
>> arch/x86/kvm/x86.c:189:28: error: 'XFEATURE_MASK_CET_USER' undeclared (first use in this function); did you mean 'XFEATURE_MASK_BNDCSR'?
#define KVM_SUPPORTED_XSS (XFEATURE_MASK_CET_USER | \
^
arch/x86/kvm/x86.c:9650:30: note: in expansion of macro 'KVM_SUPPORTED_XSS'
supported_xss = host_xss & KVM_SUPPORTED_XSS;
^~~~~~~~~~~~~~~~~
>> arch/x86/kvm/x86.c:190:6: error: 'XFEATURE_MASK_CET_KERNEL' undeclared (first use in this function); did you mean 'XFEATURE_MASK_CET_USER'?
XFEATURE_MASK_CET_KERNEL)
^
arch/x86/kvm/x86.c:9650:30: note: in expansion of macro 'KVM_SUPPORTED_XSS'
supported_xss = host_xss & KVM_SUPPORTED_XSS;
^~~~~~~~~~~~~~~~~
vim +189 arch/x86/kvm/x86.c
18863bdd60f895 Avi Kivity 2009-09-07 183
cfc481810c903a Sean Christopherson 2020-03-02 184 #define KVM_SUPPORTED_XCR0 (XFEATURE_MASK_FP | XFEATURE_MASK_SSE \
cfc481810c903a Sean Christopherson 2020-03-02 185 | XFEATURE_MASK_YMM | XFEATURE_MASK_BNDREGS \
cfc481810c903a Sean Christopherson 2020-03-02 186 | XFEATURE_MASK_BNDCSR | XFEATURE_MASK_AVX512 \
cfc481810c903a Sean Christopherson 2020-03-02 187 | XFEATURE_MASK_PKRU)
cfc481810c903a Sean Christopherson 2020-03-02 188
aae536c20cb181 Yang Weijiang 2020-03-26 @189 #define KVM_SUPPORTED_XSS (XFEATURE_MASK_CET_USER | \
aae536c20cb181 Yang Weijiang 2020-03-26 @190 XFEATURE_MASK_CET_KERNEL)
aae536c20cb181 Yang Weijiang 2020-03-26 191
:::::: The code at line 189 was first introduced by commit
:::::: aae536c20cb18180995aae27b30973f60e148ee7 KVM: VMX: Introduce CET VMX fields and flags
:::::: TO: Yang Weijiang <weijiang.yang(a)intel.com>
:::::: CC: 0day robot <lkp(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v4 15/33] media: Kconfig: better support hybrid TV devices
by kbuild test robot
Hi Mauro,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on sunxi/sunxi/for-next linus/master v5.6 next-20200331]
[cannot apply to linux/master]
[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/Mauro-Carvalho-Chehab/Media-Kcon...
base: git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-d002-20200331 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/media/dvb-core/dvbdev.o: in function `dvb_module_probe':
>> drivers/media/dvb-core/dvbdev.c:986: undefined reference to `i2c_new_client_device'
>> ld: drivers/media/dvb-core/dvbdev.c:993: undefined reference to `i2c_unregister_device'
ld: drivers/media/dvb-core/dvbdev.o: in function `dvb_module_release':
>> drivers/media/dvb-core/dvbdev.c:1008: undefined reference to `i2c_unregister_device'
vim +986 drivers/media/dvb-core/dvbdev.c
^1da177e4c3f41 drivers/media/dvb/dvb-core/dvbdev.c Linus Torvalds 2005-04-16 963
1980bfa67f19d6 drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-07 964 #if IS_ENABLED(CONFIG_I2C)
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 965 struct i2c_client *dvb_module_probe(const char *module_name,
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 966 const char *name,
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 967 struct i2c_adapter *adap,
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 968 unsigned char addr,
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 969 void *platform_data)
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 970 {
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 971 struct i2c_client *client;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 972 struct i2c_board_info *board_info;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 973
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 974 board_info = kzalloc(sizeof(*board_info), GFP_KERNEL);
39adb4e739050d drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-22 975 if (!board_info)
39adb4e739050d drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-22 976 return NULL;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 977
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 978 if (name)
c0decac19da390 drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-09-10 979 strscpy(board_info->type, name, I2C_NAME_SIZE);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 980 else
c0decac19da390 drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-09-10 981 strscpy(board_info->type, module_name, I2C_NAME_SIZE);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 982
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 983 board_info->addr = addr;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 984 board_info->platform_data = platform_data;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 985 request_module(module_name);
d928440cf4603b drivers/media/dvb-core/dvbdev.c Wolfram Sang 2019-12-16 @986 client = i2c_new_client_device(adap, board_info);
d928440cf4603b drivers/media/dvb-core/dvbdev.c Wolfram Sang 2019-12-16 987 if (!i2c_client_has_driver(client)) {
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 988 kfree(board_info);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 989 return NULL;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 990 }
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 991
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 992 if (!try_module_get(client->dev.driver->owner)) {
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 @993 i2c_unregister_device(client);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 994 client = NULL;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 995 }
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 996
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 997 kfree(board_info);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 998 return client;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 999 }
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1000 EXPORT_SYMBOL_GPL(dvb_module_probe);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1001
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1002 void dvb_module_release(struct i2c_client *client)
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1003 {
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1004 if (!client)
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1005 return;
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1006
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1007 module_put(client->dev.driver->owner);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 @1008 i2c_unregister_device(client);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1009 }
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1010 EXPORT_SYMBOL_GPL(dvb_module_release);
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1011 #endif
8f569c0b4e6b6b drivers/media/dvb-core/dvbdev.c Mauro Carvalho Chehab 2018-03-02 1012
:::::: The code at line 986 was first introduced by commit
:::::: d928440cf4603b4889af3e6785d9200a626ae0ce media: dvb-core: dvbdev: convert to use i2c_new_client_device()
:::::: TO: Wolfram Sang <wsa+renesas(a)sang-engineering.com>
:::::: CC: Mauro Carvalho Chehab <mchehab+huawei(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year