ERROR: ".finish_wait" undefined!

From: kernel test robot
Date: Sat Dec 26 2020 - 22:27:48 EST


Hi Takashi,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f838f8d2b694cf9d524dc4423e9dd2db13892f3f
commit: 89698ed5cc76d8de6c2b51d132c06bf4cd930314 ALSA: hda: Use waitqueue for RIRB in HDA-core helper, too
date: 1 year ago
config: powerpc64-randconfig-s032-20201223 (attached as .config)
compiler: powerpc64-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
# apt-get install sparse
# sparse version: v0.6.3-184-g1b896707-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=89698ed5cc76d8de6c2b51d132c06bf4cd930314
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 89698ed5cc76d8de6c2b51d132c06bf4cd930314
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc64

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

All errors (new ones prefixed by >>):

ERROR: ".driver_register" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".of_get_property" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".strlcpy" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".add_uevent_var" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".get_device" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".dev_set_name" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".driver_unregister" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".bus_unregister" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".printk" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".__stack_chk_fail" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".bus_register" [sound/aoa/soundbus/snd-aoa-soundbus.ko] undefined!
ERROR: ".cancel_delayed_work_sync" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".of_find_node_by_name" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".kmem_cache_alloc_trace" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".snd_card_register" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".request_threaded_irq" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".__mutex_init" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".init_timer_key" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".free_irq" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".kfree" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".queue_delayed_work_on" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".pmf_register_irq_client" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".pmf_unregister_irq_client" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".mutex_lock" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".of_get_next_child" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".of_node_put" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".of_get_property" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".__list_add_valid" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".strlcpy" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".snd_card_new" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".snd_device_new" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".irq_of_parse_and_map" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".snd_card_free" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".pmf_call_function" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".printk" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".__list_del_entry_valid" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".snd_device_register" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".__stack_chk_fail" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".snd_ctl_add" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".mutex_unlock" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".strcmp" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".snd_device_free" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".dump_stack" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: ".ftrace_likely_update" [sound/aoa/core/snd-aoa.ko] undefined!
ERROR: "._dev_info" [sound/hda/snd-intel-dspcfg.ko] undefined!
ERROR: "._dev_err" [sound/hda/snd-intel-dspcfg.ko] undefined!
ERROR: ".snd_hdac_bus_init" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_bus_init_cmd_io" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".kmem_cache_alloc_trace" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_device_init" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snprintf" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".sscanf" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".put_device" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_stream_stop" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_bus_stop_chip" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".kfree" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".trace_hardirqs_on" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".eeh_check_failure" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_stream_assign" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_device_unregister" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".mutex_lock" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".driver_register" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_device_register" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".arch_local_irq_restore" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: "._raw_spin_lock_irq" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_stream_init" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".__list_add_valid" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_stream_release" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_bus_stop_cmd_io" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".udelay" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".driver_unregister" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_device_exit" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: "._dev_err" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".snd_hdac_bus_exit" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".__list_del_entry_valid" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".__stack_chk_fail" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".mutex_unlock" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".ftrace_likely_update" [sound/hda/ext/snd-hda-ext-core.ko] undefined!
ERROR: ".event_triggers_call" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".regmap_write" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__regmap_init" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__warn_printk" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kmem_cache_alloc_trace" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".device_add" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".snprintf" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__mutex_init" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__pm_runtime_set_status" [sound/hda/snd-hda-core.ko] undefined!
ERROR: "._copy_to_user" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".pm_runtime_get_if_in_use" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".schedule_timeout" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".put_device" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".snd_dma_alloc_pages" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".cancel_work_sync" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".sysfs_create_group" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kfree" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_hardirqs_on" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".eeh_check_failure" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kobject_init" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__init_waitqueue_head" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".snd_dma_free_pages" [sound/hda/snd-hda-core.ko] undefined!
>> ERROR: ".finish_wait" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".mutex_lock" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".sprintf" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".ktime_get_mono_fast_ns" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".snd_pcm_add_chmap_ctls" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__kmalloc" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".arch_local_irq_restore" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__pm_runtime_suspend" [sound/hda/snd-hda-core.ko] undefined!
ERROR: "._raw_spin_lock_irq" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kobject_create_and_add" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__list_add_valid" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".add_uevent_var" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".timecounter_init" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__pm_runtime_resume" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kmemdup" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".device_initialize" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_event_buffer_commit" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kobject_add" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".regmap_exit" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".regmap_read" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".usleep_range" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_define_field" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".dev_set_name" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".flush_work" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_raw_output_prep" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".device_del" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kstrdup" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".snd_pcm_format_width" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kobject_uevent" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".sysfs_remove_group" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_event_buffer_reserve" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__check_object_size" [sound/hda/snd-hda-core.ko] undefined!
ERROR: "._dev_warn" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".udelay" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".init_wait_entry" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".queue_work_on" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".krealloc" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__wake_up" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".memset" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_seq_printf" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".___ratelimit" [sound/hda/snd-hda-core.ko] undefined!
ERROR: "._dev_err" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__arch_hweight64" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".bus_unregister" [sound/hda/snd-hda-core.ko] undefined!
ERROR: "._cond_resched" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kobject_put" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_event_ignore_this_pid" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__list_del_entry_valid" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".msleep" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".__stack_chk_fail" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".ktime_get_ts64" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".mutex_unlock" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kstrtoint" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".ktime_get_raw_ts64" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".bus_register" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".kasprintf" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".trace_handle_return" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".ftrace_likely_update" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".ktime_get_real_ts64" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".prepare_to_wait" [sound/hda/snd-hda-core.ko] undefined!
ERROR: ".regmap_write" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".synchronize_rcu" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".regmap_update_bits_base" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".devm_kmalloc" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".snd_pcm_lib_preallocate_pages_for_all" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".devm_request_threaded_irq" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".iowrite32" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".__platform_driver_register" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".snd_soc_set_runtime_hwparams" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".snd_pcm_lib_malloc_pages" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".__pm_runtime_disable" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".pm_runtime_enable" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".platform_driver_unregister" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".regmap_read" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".devm_snd_soc_register_component" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".snd_pcm_format_width" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".devm_platform_ioremap_resource" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: "._dev_err" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".platform_get_irq" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".__stack_chk_fail" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".ftrace_likely_update" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".__devm_regmap_init_mmio_clk" [sound/soc/xtensa/snd-soc-xtfpga-i2s.ko] undefined!
ERROR: ".devm_kmalloc" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".devm_request_threaded_irq" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".schedule_timeout" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".__platform_driver_register" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: "._dev_info" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".of_property_read_variable_u32_array" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".eeh_check_failure" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".__init_waitqueue_head" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".finish_wait" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".prepare_to_wait_event" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".platform_driver_unregister" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".devm_snd_soc_register_component" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".platform_get_resource" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".init_wait_entry" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".devm_platform_ioremap_resource" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".__wake_up" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: "._dev_err" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".__stack_chk_fail" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: ".ftrace_likely_update" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!

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

Attachment: .config.gz
Description: application/gzip