[Intel-gfx] [PATCH 8/9] drm/i915: switch intel_wait_for_register to uncore

kbuild test robot lkp at intel.com
Tue Mar 26 19:17:44 UTC 2019


Hi Daniele,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20190326]
[cannot apply to v5.1-rc2]
[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/Daniele-Ceraolo-Spurio/more-uncore-rework/20190326-110805
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   kernel/rcu/tree.c:711: warning: Excess function parameter 'irq' description in 'rcu_nmi_exit'
   include/linux/dma-buf.h:304: warning: Function parameter or member 'cb_excl.cb' not described in 'dma_buf'
   include/linux/dma-buf.h:304: warning: Function parameter or member 'cb_excl.poll' not described in 'dma_buf'
   include/linux/dma-buf.h:304: warning: Function parameter or member 'cb_excl.active' not described in 'dma_buf'
   include/linux/dma-buf.h:304: warning: Function parameter or member 'cb_shared.cb' not described in 'dma_buf'
   include/linux/dma-buf.h:304: warning: Function parameter or member 'cb_shared.poll' not described in 'dma_buf'
   include/linux/dma-buf.h:304: warning: Function parameter or member 'cb_shared.active' not described in 'dma_buf'
   include/linux/firmware/intel/stratix10-svc-client.h:1: warning: no structured comments found
   include/linux/gpio/driver.h:371: warning: Function parameter or member 'init_valid_mask' not described in 'gpio_chip'
   include/linux/iio/hw-consumer.h:1: warning: no structured comments found
   include/linux/input/sparse-keymap.h:46: warning: Function parameter or member 'sw' not described in 'key_entry'
   include/linux/regulator/machine.h:199: warning: Function parameter or member 'max_uV_step' not described in 'regulation_constraints'
   include/linux/regulator/driver.h:228: warning: Function parameter or member 'resume' not described in 'regulator_ops'
   arch/s390/include/asm/cio.h:245: warning: Function parameter or member 'esw.esw0' not described in 'irb'
   arch/s390/include/asm/cio.h:245: warning: Function parameter or member 'esw.esw1' not described in 'irb'
   arch/s390/include/asm/cio.h:245: warning: Function parameter or member 'esw.esw2' not described in 'irb'
   arch/s390/include/asm/cio.h:245: warning: Function parameter or member 'esw.esw3' not described in 'irb'
   arch/s390/include/asm/cio.h:245: warning: Function parameter or member 'esw.eadm' not described in 'irb'
   drivers/slimbus/stream.c:1: warning: no structured comments found
   include/linux/spi/spi.h:180: warning: Function parameter or member 'driver_override' not described in 'spi_device'
   drivers/target/target_core_device.c:1: warning: no structured comments found
   drivers/usb/typec/bus.c:1: warning: no structured comments found
   drivers/usb/typec/class.c:1: warning: no structured comments found
   include/linux/w1.h:281: warning: Function parameter or member 'of_match_table' not described in 'w1_family'
   fs/direct-io.c:257: warning: Excess function parameter 'offset' description in 'dio_complete'
   fs/file_table.c:1: warning: no structured comments found
   fs/libfs.c:477: warning: Excess function parameter 'available' description in 'simple_write_end'
   fs/posix_acl.c:646: warning: Function parameter or member 'inode' not described in 'posix_acl_update_mode'
   fs/posix_acl.c:646: warning: Function parameter or member 'mode_p' not described in 'posix_acl_update_mode'
   fs/posix_acl.c:646: warning: Function parameter or member 'acl' not described in 'posix_acl_update_mode'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:294: warning: Excess function parameter 'mm' description in 'amdgpu_mn_invalidate_range_start_hsa'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:294: warning: Excess function parameter 'start' description in 'amdgpu_mn_invalidate_range_start_hsa'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:294: warning: Excess function parameter 'end' description in 'amdgpu_mn_invalidate_range_start_hsa'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:343: warning: Excess function parameter 'mm' description in 'amdgpu_mn_invalidate_range_end'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:343: warning: Excess function parameter 'start' description in 'amdgpu_mn_invalidate_range_end'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:343: warning: Excess function parameter 'end' description in 'amdgpu_mn_invalidate_range_end'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:183: warning: Function parameter or member 'blockable' not described in 'amdgpu_mn_read_lock'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:295: warning: Function parameter or member 'range' not described in 'amdgpu_mn_invalidate_range_start_hsa'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:295: warning: Excess function parameter 'mm' description in 'amdgpu_mn_invalidate_range_start_hsa'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:295: warning: Excess function parameter 'start' description in 'amdgpu_mn_invalidate_range_start_hsa'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:295: warning: Excess function parameter 'end' description in 'amdgpu_mn_invalidate_range_start_hsa'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:344: warning: Function parameter or member 'range' not described in 'amdgpu_mn_invalidate_range_end'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:344: warning: Excess function parameter 'mm' description in 'amdgpu_mn_invalidate_range_end'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:344: warning: Excess function parameter 'start' description in 'amdgpu_mn_invalidate_range_end'
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:344: warning: Excess function parameter 'end' description in 'amdgpu_mn_invalidate_range_end'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:374: warning: cannot understand function prototype: 'struct amdgpu_vm_pt_cursor '
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:375: warning: cannot understand function prototype: 'struct amdgpu_vm_pt_cursor '
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:547: warning: Function parameter or member 'adev' not described in 'for_each_amdgpu_vm_pt_leaf'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:547: warning: Function parameter or member 'vm' not described in 'for_each_amdgpu_vm_pt_leaf'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:547: warning: Function parameter or member 'start' not described in 'for_each_amdgpu_vm_pt_leaf'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:547: warning: Function parameter or member 'end' not described in 'for_each_amdgpu_vm_pt_leaf'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:547: warning: Function parameter or member 'cursor' not described in 'for_each_amdgpu_vm_pt_leaf'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:595: warning: Function parameter or member 'adev' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:595: warning: Function parameter or member 'vm' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:595: warning: Function parameter or member 'cursor' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:595: warning: Function parameter or member 'entry' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:866: warning: Function parameter or member 'level' not described in 'amdgpu_vm_bo_param'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1346: warning: Function parameter or member 'params' not described in 'amdgpu_vm_update_func'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1346: warning: Function parameter or member 'bo' not described in 'amdgpu_vm_update_func'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1346: warning: Function parameter or member 'pe' not described in 'amdgpu_vm_update_func'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1346: warning: Function parameter or member 'addr' not described in 'amdgpu_vm_update_func'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1346: warning: Function parameter or member 'count' not described in 'amdgpu_vm_update_func'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1346: warning: Function parameter or member 'incr' not described in 'amdgpu_vm_update_func'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1346: warning: Function parameter or member 'flags' not described in 'amdgpu_vm_update_func'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'params' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'bo' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'level' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'pe' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'addr' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'count' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'incr' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1514: warning: Function parameter or member 'flags' not described in 'amdgpu_vm_update_flags'
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:3104: warning: Function parameter or member 'pasid' not described in 'amdgpu_vm_make_compute'
   drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:375: warning: Excess function parameter 'entry' description in 'amdgpu_irq_dispatch'
   drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:376: warning: Function parameter or member 'ih' not described in 'amdgpu_irq_dispatch'
   drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:376: warning: Excess function parameter 'entry' description in 'amdgpu_irq_dispatch'
   drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:1: warning: no structured comments found
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:128: warning: Incorrect use of kernel-doc format: Documentation Makefile include scripts source @atomic_obj
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:203: warning: Function parameter or member 'atomic_obj' not described in 'amdgpu_display_manager'
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:203: warning: Function parameter or member 'atomic_obj_lock' not described in 'amdgpu_display_manager'
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:203: warning: Function parameter or member 'backlight_link' not described in 'amdgpu_display_manager'
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:203: warning: Function parameter or member 'backlight_caps' not described in 'amdgpu_display_manager'
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:203: warning: Function parameter or member 'freesync_module' not described in 'amdgpu_display_manager'
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:203: warning: Function parameter or member 'fw_dmcu' not described in 'amdgpu_display_manager'
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:203: warning: Function parameter or member 'dmcu_fw_version' not described in 'amdgpu_display_manager'
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:1: warning: no structured comments found
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_pin' not described in 'drm_driver'
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_unpin' not described in 'drm_driver'
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_res_obj' not described in 'drm_driver'
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_get_sg_table' not described in 'drm_driver'
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_import_sg_table' not described in 'drm_driver'
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_vmap' not described in 'drm_driver'
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_vunmap' not described in 'drm_driver'
   include/drm/drm_drv.h:715: warning: Function parameter or member 'gem_prime_mmap' not described in 'drm_driver'
   include/drm/drm_atomic_state_helper.h:1: warning: no structured comments found
   drivers/gpu/drm/scheduler/sched_main.c:376: warning: Excess function parameter 'bad' description in 'drm_sched_stop'
   drivers/gpu/drm/scheduler/sched_main.c:377: warning: Excess function parameter 'bad' description in 'drm_sched_stop'
   drivers/gpu/drm/scheduler/sched_main.c:420: warning: Function parameter or member 'full_recovery' not described in 'drm_sched_start'
   drivers/gpu/drm/i915/intel_uncore.c:1794: warning: Function parameter or member 'uncore' not described in '__intel_wait_for_register_fw'
   drivers/gpu/drm/i915/intel_uncore.c:1794: warning: Excess function parameter 'dev_priv' description in '__intel_wait_for_register_fw'
>> drivers/gpu/drm/i915/intel_uncore.c:1842: warning: Function parameter or member 'uncore' not described in '__intel_wait_for_register'
   drivers/gpu/drm/i915/intel_uncore.c:1842: warning: Excess function parameter 'dev_priv' description in '__intel_wait_for_register'
   drivers/gpu/drm/i915/intel_uncore.c:1979: warning: Function parameter or member 'uncore' not described in 'intel_uncore_forcewake_for_reg'
   drivers/gpu/drm/i915/intel_uncore.c:1979: warning: Excess function parameter 'dev_priv' description in 'intel_uncore_forcewake_for_reg'
   drivers/gpu/drm/i915/i915_vma.h:50: warning: cannot understand function prototype: 'struct i915_vma '
   drivers/gpu/drm/i915/i915_vma.h:1: warning: no structured comments found
   drivers/gpu/drm/i915/intel_guc_fwif.h:536: warning: cannot understand function prototype: 'struct guc_log_buffer_state '
   drivers/gpu/drm/i915/i915_trace.h:1: warning: no structured comments found
   drivers/gpu/drm/i915/i915_reg.h:156: warning: bad line:
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:126: warning: Function parameter or member 'hw_id' not described in 'komeda_component'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:126: warning: Function parameter or member 'max_active_outputs' not described in 'komeda_component'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:126: warning: Function parameter or member 'supported_outputs' not described in 'komeda_component'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:142: warning: Function parameter or member 'output_port' not described in 'komeda_component_output'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:196: warning: Function parameter or member 'component' not described in 'komeda_component_state'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:196: warning: Function parameter or member 'crtc' not described in 'komeda_component_state'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:196: warning: Function parameter or member 'plane' not described in 'komeda_component_state'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:196: warning: Function parameter or member 'wb_conn' not described in 'komeda_component_state'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:196: warning: Function parameter or member 'changed_active_inputs' not described in 'komeda_component_state'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:196: warning: Function parameter or member 'affected_inputs' not described in 'komeda_component_state'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'n_layers' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'layers' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'n_scalers' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'scalers' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'compiz' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'wb_layer' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'improc' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'ctrlr' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:300: warning: Function parameter or member 'funcs' not described in 'komeda_pipeline'
   drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h:321: warning: Function parameter or member 'pipe' not described in 'komeda_pipeline_state'
   drivers/gpu/drm/arm/display/komeda/komeda_dev.h:97: warning: Function parameter or member 'dev' not described in 'komeda_dev'
   drivers/gpu/drm/arm/display/komeda/komeda_dev.h:97: warning: Function parameter or member 'reg_base' not described in 'komeda_dev'
   drivers/gpu/drm/arm/display/komeda/komeda_dev.h:97: warning: Function parameter or member 'chip' not described in 'komeda_dev'
   drivers/gpu/drm/arm/display/komeda/komeda_dev.h:97: warning: Function parameter or member 'mclk' not described in 'komeda_dev'
   drivers/gpu/drm/arm/display/komeda/komeda_dev.h:97: warning: Function parameter or member 'n_pipelines' not described in 'komeda_dev'
   drivers/gpu/drm/arm/display/komeda/komeda_dev.h:97: warning: Function parameter or member 'pipelines' not described in 'komeda_dev'
   drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h:1: warning: no structured comments found
   drivers/gpu/drm/arm/display/komeda/komeda_crtc.c:1: warning: no structured comments found
   drivers/gpu/drm/arm/display/komeda/komeda_plane.c:1: warning: no structured comments found
   include/linux/skbuff.h:876: warning: Function parameter or member 'dev_scratch' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'list' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'ip_defrag_offset' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'skb_mstamp_ns' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member '__cloned_offset' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'head_frag' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member '__pkt_type_offset' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'encapsulation' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'encap_hdr_csum' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'csum_valid' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member '__pkt_vlan_present_offset' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'vlan_present' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'csum_complete_sw' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'csum_level' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'inner_protocol_type' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'remcsum_offload' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'sender_cpu' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'reserved_tailroom' not described in 'sk_buff'
   include/linux/skbuff.h:876: warning: Function parameter or member 'inner_ipproto' not described in 'sk_buff'
   include/net/sock.h:238: warning: Function parameter or member 'skc_addrpair' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_portpair' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_ipv6only' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_net_refcnt' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_v6_daddr' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_v6_rcv_saddr' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_cookie' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_listener' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_tw_dr' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_rcv_wnd' not described in 'sock_common'
   include/net/sock.h:238: warning: Function parameter or member 'skc_tw_rcv_nxt' not described in 'sock_common'
   include/net/sock.h:513: warning: Function parameter or member 'sk_backlog.rmem_alloc' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'sk_backlog.len' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'sk_backlog.head' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'sk_backlog.tail' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'sk_wq_raw' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'tcp_rtx_queue' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'sk_route_forced_caps' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'sk_txtime_report_errors' not described in 'sock'
   include/net/sock.h:513: warning: Function parameter or member 'sk_validate_xmit_skb' not described in 'sock'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'adj_list.upper' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'adj_list.lower' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'gso_partial_features' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'switchdev_ops' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'l3mdev_ops' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'xfrmdev_ops' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'tlsdev_ops' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'name_assign_type' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'ieee802154_ptr' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'mpls_ptr' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'xdp_prog' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'gro_flush_timeout' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'nf_hooks_ingress' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member '____cacheline_aligned_in_smp' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'qdisc_hash' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'xps_cpus_map' not described in 'net_device'
   include/linux/netdevice.h:2051: warning: Function parameter or member 'xps_rxqs_map' not described in 'net_device'
   include/linux/phylink.h:56: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(advertising' not described in 'phylink_link_state'
   include/linux/phylink.h:56: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising' not described in 'phylink_link_state'
   Documentation/admin-guide/cgroup-v2.rst:1509: WARNING: Block quote ends without a blank line; unexpected unindent.
   Documentation/admin-guide/cgroup-v2.rst:1511: WARNING: Block quote ends without a blank line; unexpected unindent.
   Documentation/admin-guide/cgroup-v2.rst:1512: WARNING: Block quote ends without a blank line; unexpected unindent.
   include/linux/interrupt.h:252: WARNING: Inline emphasis start-string without end-string.
   include/net/mac80211.h:1214: ERROR: Unexpected indentation.

vim +1842 drivers/gpu/drm/i915/intel_uncore.c

907b28c56e Chris Wilson           2013-07-19  1759  
e34b0345e6 Michel Thierry         2018-04-05  1760  /**
1d1a9774e4 Michal Wajdeczko       2017-04-07  1761   * __intel_wait_for_register_fw - wait until register matches expected state
1758b90e38 Chris Wilson           2016-06-30  1762   * @dev_priv: the i915 device
1758b90e38 Chris Wilson           2016-06-30  1763   * @reg: the register to read
1758b90e38 Chris Wilson           2016-06-30  1764   * @mask: mask to apply to register value
1758b90e38 Chris Wilson           2016-06-30  1765   * @value: expected value
1d1a9774e4 Michal Wajdeczko       2017-04-07  1766   * @fast_timeout_us: fast timeout in microsecond for atomic/tight wait
1d1a9774e4 Michal Wajdeczko       2017-04-07  1767   * @slow_timeout_ms: slow timeout in millisecond
1d1a9774e4 Michal Wajdeczko       2017-04-07  1768   * @out_value: optional placeholder to hold registry value
1758b90e38 Chris Wilson           2016-06-30  1769   *
1758b90e38 Chris Wilson           2016-06-30  1770   * This routine waits until the target register @reg contains the expected
3d466cd67e Daniel Vetter          2016-07-15  1771   * @value after applying the @mask, i.e. it waits until ::
3d466cd67e Daniel Vetter          2016-07-15  1772   *
3d466cd67e Daniel Vetter          2016-07-15  1773   *     (I915_READ_FW(reg) & mask) == value
3d466cd67e Daniel Vetter          2016-07-15  1774   *
1d1a9774e4 Michal Wajdeczko       2017-04-07  1775   * Otherwise, the wait will timeout after @slow_timeout_ms milliseconds.
6976e74b5f Michal Wajdeczko       2017-04-10  1776   * For atomic context @slow_timeout_ms must be zero and @fast_timeout_us
84d84cb7e2 Chris Wilson           2017-04-11  1777   * must be not larger than 20,0000 microseconds.
1758b90e38 Chris Wilson           2016-06-30  1778   *
1758b90e38 Chris Wilson           2016-06-30  1779   * Note that this routine assumes the caller holds forcewake asserted, it is
1758b90e38 Chris Wilson           2016-06-30  1780   * not suitable for very long waits. See intel_wait_for_register() if you
1758b90e38 Chris Wilson           2016-06-30  1781   * wish to wait without holding forcewake for the duration (i.e. you expect
1758b90e38 Chris Wilson           2016-06-30  1782   * the wait to be slow).
1758b90e38 Chris Wilson           2016-06-30  1783   *
1758b90e38 Chris Wilson           2016-06-30  1784   * Returns 0 if the register matches the desired condition, or -ETIMEOUT.
1758b90e38 Chris Wilson           2016-06-30  1785   */
db32ed6fea Daniele Ceraolo Spurio 2019-03-25  1786  int __intel_wait_for_register_fw(struct intel_uncore *uncore,
1758b90e38 Chris Wilson           2016-06-30  1787  				 i915_reg_t reg,
3fc7d86b32 Michal Wajdeczko       2017-04-10  1788  				 u32 mask,
3fc7d86b32 Michal Wajdeczko       2017-04-10  1789  				 u32 value,
3fc7d86b32 Michal Wajdeczko       2017-04-10  1790  				 unsigned int fast_timeout_us,
3fc7d86b32 Michal Wajdeczko       2017-04-10  1791  				 unsigned int slow_timeout_ms,
1d1a9774e4 Michal Wajdeczko       2017-04-07  1792  				 u32 *out_value)
1758b90e38 Chris Wilson           2016-06-30  1793  {
ff26ffa8ee Daniel Vetter          2017-05-10 @1794  	u32 uninitialized_var(reg_value);
db32ed6fea Daniele Ceraolo Spurio 2019-03-25  1795  #define done (((reg_value = intel_uncore_read_fw(uncore, reg)) & mask) == value)
1d1a9774e4 Michal Wajdeczko       2017-04-07  1796  	int ret;
1d1a9774e4 Michal Wajdeczko       2017-04-07  1797  
6976e74b5f Michal Wajdeczko       2017-04-10  1798  	/* Catch any overuse of this function */
84d84cb7e2 Chris Wilson           2017-04-11  1799  	might_sleep_if(slow_timeout_ms);
84d84cb7e2 Chris Wilson           2017-04-11  1800  	GEM_BUG_ON(fast_timeout_us > 20000);
6976e74b5f Michal Wajdeczko       2017-04-10  1801  
84d84cb7e2 Chris Wilson           2017-04-11  1802  	ret = -ETIMEDOUT;
84d84cb7e2 Chris Wilson           2017-04-11  1803  	if (fast_timeout_us && fast_timeout_us <= 20000)
1d1a9774e4 Michal Wajdeczko       2017-04-07  1804  		ret = _wait_for_atomic(done, fast_timeout_us, 0);
ff26ffa8ee Daniel Vetter          2017-05-10  1805  	if (ret && slow_timeout_ms)
1d1a9774e4 Michal Wajdeczko       2017-04-07  1806  		ret = wait_for(done, slow_timeout_ms);
84d84cb7e2 Chris Wilson           2017-04-11  1807  
1d1a9774e4 Michal Wajdeczko       2017-04-07  1808  	if (out_value)
1d1a9774e4 Michal Wajdeczko       2017-04-07  1809  		*out_value = reg_value;
84d84cb7e2 Chris Wilson           2017-04-11  1810  
1758b90e38 Chris Wilson           2016-06-30  1811  	return ret;
1758b90e38 Chris Wilson           2016-06-30  1812  #undef done
1758b90e38 Chris Wilson           2016-06-30  1813  }
1758b90e38 Chris Wilson           2016-06-30  1814  
1758b90e38 Chris Wilson           2016-06-30  1815  /**
23fdbdd7ed Sean Paul              2018-01-08  1816   * __intel_wait_for_register - wait until register matches expected state
1758b90e38 Chris Wilson           2016-06-30  1817   * @dev_priv: the i915 device
1758b90e38 Chris Wilson           2016-06-30  1818   * @reg: the register to read
1758b90e38 Chris Wilson           2016-06-30  1819   * @mask: mask to apply to register value
1758b90e38 Chris Wilson           2016-06-30  1820   * @value: expected value
23fdbdd7ed Sean Paul              2018-01-08  1821   * @fast_timeout_us: fast timeout in microsecond for atomic/tight wait
23fdbdd7ed Sean Paul              2018-01-08  1822   * @slow_timeout_ms: slow timeout in millisecond
23fdbdd7ed Sean Paul              2018-01-08  1823   * @out_value: optional placeholder to hold registry value
1758b90e38 Chris Wilson           2016-06-30  1824   *
1758b90e38 Chris Wilson           2016-06-30  1825   * This routine waits until the target register @reg contains the expected
3d466cd67e Daniel Vetter          2016-07-15  1826   * @value after applying the @mask, i.e. it waits until ::
3d466cd67e Daniel Vetter          2016-07-15  1827   *
3d466cd67e Daniel Vetter          2016-07-15  1828   *     (I915_READ(reg) & mask) == value
3d466cd67e Daniel Vetter          2016-07-15  1829   *
1758b90e38 Chris Wilson           2016-06-30  1830   * Otherwise, the wait will timeout after @timeout_ms milliseconds.
1758b90e38 Chris Wilson           2016-06-30  1831   *
1758b90e38 Chris Wilson           2016-06-30  1832   * Returns 0 if the register matches the desired condition, or -ETIMEOUT.
1758b90e38 Chris Wilson           2016-06-30  1833   */
ede29af9b0 Daniele Ceraolo Spurio 2019-03-25  1834  int __intel_wait_for_register(struct intel_uncore *uncore,
f0f59a00a1 Ville Syrjälä          2015-11-18  1835  			    i915_reg_t reg,
3fc7d86b32 Michal Wajdeczko       2017-04-10  1836  			    u32 mask,
3fc7d86b32 Michal Wajdeczko       2017-04-10  1837  			    u32 value,
23fdbdd7ed Sean Paul              2018-01-08  1838  			    unsigned int fast_timeout_us,
23fdbdd7ed Sean Paul              2018-01-08  1839  			    unsigned int slow_timeout_ms,
23fdbdd7ed Sean Paul              2018-01-08  1840  			    u32 *out_value)
7fd2d26921 Mika Kuoppala          2015-06-18  1841  {
1758b90e38 Chris Wilson           2016-06-30 @1842  	unsigned fw =
1388c063e1 Daniele Ceraolo Spurio 2019-03-25  1843  		intel_uncore_forcewake_for_reg(uncore, reg, FW_REG_READ);
23fdbdd7ed Sean Paul              2018-01-08  1844  	u32 reg_value;
1758b90e38 Chris Wilson           2016-06-30  1845  	int ret;
1758b90e38 Chris Wilson           2016-06-30  1846  
3df82dd43b Chris Wilson           2018-03-29  1847  	might_sleep_if(slow_timeout_ms);
0564654340 Chris Wilson           2017-04-11  1848  
272c7e5230 Daniele Ceraolo Spurio 2019-03-19  1849  	spin_lock_irq(&uncore->lock);
272c7e5230 Daniele Ceraolo Spurio 2019-03-19  1850  	intel_uncore_forcewake_get__locked(uncore, fw);
0564654340 Chris Wilson           2017-04-11  1851  
db32ed6fea Daniele Ceraolo Spurio 2019-03-25  1852  	ret = __intel_wait_for_register_fw(uncore,
0564654340 Chris Wilson           2017-04-11  1853  					   reg, mask, value,
23fdbdd7ed Sean Paul              2018-01-08  1854  					   fast_timeout_us, 0, &reg_value);
0564654340 Chris Wilson           2017-04-11  1855  
272c7e5230 Daniele Ceraolo Spurio 2019-03-19  1856  	intel_uncore_forcewake_put__locked(uncore, fw);
272c7e5230 Daniele Ceraolo Spurio 2019-03-19  1857  	spin_unlock_irq(&uncore->lock);
0564654340 Chris Wilson           2017-04-11  1858  
3df82dd43b Chris Wilson           2018-03-29  1859  	if (ret && slow_timeout_ms)
db32ed6fea Daniele Ceraolo Spurio 2019-03-25  1860  		ret = __wait_for(reg_value = intel_uncore_read_notrace(uncore, reg),
23fdbdd7ed Sean Paul              2018-01-08  1861  				 (reg_value & mask) == value,
23fdbdd7ed Sean Paul              2018-01-08  1862  				 slow_timeout_ms * 1000, 10, 1000);
23fdbdd7ed Sean Paul              2018-01-08  1863  
39806c3f11 Ville Syrjälä          2019-02-04  1864  	/* just trace the final value */
39806c3f11 Ville Syrjälä          2019-02-04  1865  	trace_i915_reg_rw(false, reg, reg_value, sizeof(reg_value), true);
39806c3f11 Ville Syrjälä          2019-02-04  1866  
23fdbdd7ed Sean Paul              2018-01-08  1867  	if (out_value)
23fdbdd7ed Sean Paul              2018-01-08  1868  		*out_value = reg_value;
1758b90e38 Chris Wilson           2016-06-30  1869  
1758b90e38 Chris Wilson           2016-06-30  1870  	return ret;
7fd2d26921 Mika Kuoppala          2015-06-18  1871  }
7fd2d26921 Mika Kuoppala          2015-06-18  1872  

:::::: The code at line 1842 was first introduced by commit
:::::: 1758b90e38f53b93821c908201826e825a37cb65 drm/i915: Use a hybrid scheme for fast register waits

:::::: TO: Chris Wilson <chris at chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris at chris-wilson.co.uk>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 6597 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190327/8a047ae6/attachment-0001.gz>


More information about the Intel-gfx mailing list