On Sat, Aug 12, 2023 at 09:43:05AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 21ef7b1e17d039053edaeaf41142423810572741 > commit: 5f8e3202696f5e94d3fc54cfed75d270ae843ee9 [1926/8441] rcuscale: Measure grace-period kthread CPU time > config: riscv-randconfig-r042-20230811 (https://download.01.org/0day-ci/archive/20230812/202308120923.gCBrnIht-lkp@xxxxxxxxx/config) > compiler: riscv32-linux-gcc (GCC) 12.3.0 > reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120923.gCBrnIht-lkp@xxxxxxxxx/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > | Closes: https://lore.kernel.org/oe-kbuild-all/202308120923.gCBrnIht-lkp@xxxxxxxxx/ > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > ERROR: modpost: vmlinux: local symbol '__devm_irq_alloc_descs' was exported > ERROR: modpost: vmlinux: local symbol 'devm_irq_alloc_generic_chip' was exported > ERROR: modpost: vmlinux: local symbol 'devm_irq_setup_generic_chip' was exported > ERROR: modpost: vmlinux: local symbol 'irq_gc_noop' was exported > ERROR: modpost: vmlinux: local symbol 'irq_gc_mask_disable_reg' was exported > ERROR: modpost: vmlinux: local symbol 'irq_gc_mask_set_bit' was exported > ERROR: modpost: vmlinux: local symbol 'irq_gc_mask_clr_bit' was exported > ERROR: modpost: vmlinux: local symbol 'irq_gc_unmask_enable_reg' was exported > ERROR: modpost: vmlinux: local symbol 'irq_gc_ack_set_bit' was exported > ERROR: modpost: vmlinux: local symbol 'irq_gc_set_wake' was exported > ERROR: modpost: vmlinux: local symbol 'irq_alloc_generic_chip' was exported > ERROR: modpost: vmlinux: local symbol '__irq_alloc_domain_generic_chips' was exported > ERROR: modpost: vmlinux: local symbol 'irq_get_domain_generic_chip' was exported > ERROR: modpost: vmlinux: local symbol 'irq_generic_chip_ops' was exported > ERROR: modpost: vmlinux: local symbol 'irq_setup_generic_chip' was exported > ERROR: modpost: vmlinux: local symbol 'irq_setup_alt_chip' was exported > ERROR: modpost: vmlinux: local symbol 'irq_remove_generic_chip' was exported > ERROR: modpost: vmlinux: local symbol 'irqchip_fwnode_ops' was exported > ERROR: modpost: vmlinux: local symbol '__irq_domain_alloc_fwnode' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_free_fwnode' was exported > ERROR: modpost: vmlinux: local symbol '__irq_domain_add' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_remove' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_update_bus_token' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_create_simple' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_add_legacy' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_create_legacy' was exported > ERROR: modpost: vmlinux: local symbol 'irq_find_matching_fwspec' was exported > ERROR: modpost: vmlinux: local symbol 'irq_set_default_host' was exported > ERROR: modpost: vmlinux: local symbol 'irq_get_default_host' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_associate' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_associate_many' was exported > ERROR: modpost: vmlinux: local symbol 'irq_create_mapping_affinity' was exported > ERROR: modpost: vmlinux: local symbol 'of_phandle_args_to_fwspec' was exported > ERROR: modpost: vmlinux: local symbol 'irq_create_fwspec_mapping' was exported > ERROR: modpost: vmlinux: local symbol 'irq_create_of_mapping' was exported > ERROR: modpost: vmlinux: local symbol 'irq_dispose_mapping' was exported > ERROR: modpost: vmlinux: local symbol '__irq_resolve_mapping' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_xlate_onecell' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_xlate_twocell' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_xlate_onetwocell' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_simple_ops' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_translate_onecell' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_translate_twocell' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_reset_irq_data' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_create_hierarchy' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_disconnect_hierarchy' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_get_irq_data' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_set_hwirq_and_chip' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_set_info' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_free_irqs_common' was exported > ERROR: modpost: vmlinux: local symbol '__irq_domain_alloc_irqs' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_push_irq' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_pop_irq' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_alloc_irqs_parent' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_free_irqs_parent' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_create_sim' was exported > ERROR: modpost: vmlinux: local symbol 'irq_domain_remove_sim' was exported > ERROR: modpost: vmlinux: local symbol 'devm_irq_domain_create_sim' was exported > ERROR: modpost: vmlinux: local symbol 'get_cached_msi_msg' was exported > ERROR: modpost: vmlinux: local symbol 'msi_lock_descs' was exported > ERROR: modpost: vmlinux: local symbol 'msi_unlock_descs' was exported > ERROR: modpost: vmlinux: local symbol 'msi_domain_first_desc' was exported > ERROR: modpost: vmlinux: local symbol 'msi_next_desc' was exported > ERROR: modpost: vmlinux: local symbol 'msi_domain_get_virq' was exported > ERROR: modpost: vmlinux: local symbol 'msi_device_has_isolated_msi' was exported > ERROR: modpost: vmlinux: local symbol 'ipi_get_hwirq' was exported > ERROR: modpost: vmlinux: local symbol 'ipi_send_single' was exported > ERROR: modpost: vmlinux: local symbol 'ipi_send_mask' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_read_lock_sched_held' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_gp_is_normal' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_async_should_hurry' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_async_hurry' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_async_relax' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_gp_is_expedited' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_expedite_gp' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_unexpedite_gp' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_inkernel_boot_has_ended' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_lock_map' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_bh_lock_map' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_sched_lock_map' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_callback_map' was exported > ERROR: modpost: vmlinux: local symbol 'debug_lockdep_rcu_enabled' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_read_lock_held' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_read_lock_bh_held' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_read_lock_any_held' was exported > ERROR: modpost: vmlinux: local symbol 'wakeme_after_rcu' was exported > ERROR: modpost: vmlinux: local symbol '__wait_rcu_gp' was exported > ERROR: modpost: vmlinux: local symbol 'finish_rcuwait' was exported > ERROR: modpost: vmlinux: local symbol 'do_trace_rcu_torture_read' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_cpu_stall_suppress' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_cpu_stall_suppress_at_boot' was exported > ERROR: modpost: vmlinux: local symbol 'get_completed_synchronize_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_trace_lock_map' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_trc_cmpxchg_need_qs' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_read_unlock_trace_special' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_tasks_trace_qs_blkd' was exported > ERROR: modpost: vmlinux: local symbol 'call_rcu_tasks_trace' was exported > ERROR: modpost: vmlinux: local symbol 'synchronize_rcu_tasks_trace' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_barrier_tasks_trace' was exported > ERROR: modpost: vmlinux: local symbol 'show_rcu_tasks_trace_gp_kthread' was exported > >> ERROR: modpost: vmlinux: local symbol 'get_rcu_tasks_trace_gp_kthread' was exported This really is used by the module kernel/rcu/rcuscale.c, which doesn't sound very local to me. Unless get_rcu_tasks_trace_gp_kthread() is exported, builds with CONFIG_TASKS_TRACE_RCU=y and CONFIG_RCU_SCALE_TEST=m will fail. So what am I missing here? Thanx, Paul > ERROR: modpost: vmlinux: local symbol '__init_srcu_struct' was exported > ERROR: modpost: vmlinux: local symbol 'cleanup_srcu_struct' was exported > ERROR: modpost: vmlinux: local symbol 'srcu_check_nmi_safety' was exported > ERROR: modpost: vmlinux: local symbol '__srcu_read_lock' was exported > ERROR: modpost: vmlinux: local symbol '__srcu_read_unlock' was exported > ERROR: modpost: vmlinux: local symbol 'call_srcu' was exported > ERROR: modpost: vmlinux: local symbol 'synchronize_srcu_expedited' was exported > ERROR: modpost: vmlinux: local symbol 'synchronize_srcu' was exported > ERROR: modpost: vmlinux: local symbol 'get_state_synchronize_srcu' was exported > ERROR: modpost: vmlinux: local symbol 'start_poll_synchronize_srcu' was exported > ERROR: modpost: vmlinux: local symbol 'poll_state_synchronize_srcu' was exported > ERROR: modpost: vmlinux: local symbol 'srcu_barrier' was exported > ERROR: modpost: vmlinux: local symbol 'srcu_batches_completed' was exported > ERROR: modpost: vmlinux: local symbol 'srcutorture_get_gp_data' was exported > ERROR: modpost: vmlinux: local symbol 'srcu_torture_stats_print' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_scheduler_active' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_get_gp_kthreads_prio' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_momentary_dyntick_idle' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_get_gp_seq' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_exp_batches_completed' was exported > ERROR: modpost: vmlinux: local symbol 'rcutorture_get_gp_data' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_is_watching' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_gp_slow_register' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_gp_slow_unregister' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_gp_set_torture_wait' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_force_quiescent_state' was exported > ERROR: modpost: vmlinux: local symbol 'call_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'kvfree_call_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'synchronize_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'get_completed_synchronize_rcu_full' was exported > ERROR: modpost: vmlinux: local symbol 'get_state_synchronize_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'get_state_synchronize_rcu_full' was exported > ERROR: modpost: vmlinux: local symbol 'start_poll_synchronize_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'start_poll_synchronize_rcu_full' was exported > ERROR: modpost: vmlinux: local symbol 'poll_state_synchronize_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'poll_state_synchronize_rcu_full' was exported > ERROR: modpost: vmlinux: local symbol 'cond_synchronize_rcu' was exported > ERROR: modpost: vmlinux: local symbol 'cond_synchronize_rcu_full' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_barrier' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_lockdep_current_cpu_online' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_exp_jiffies_till_stall_check' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_jiffies_till_stall_check' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_check_boost_fail' was exported > ERROR: modpost: vmlinux: local symbol 'show_rcu_gp_kthreads' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_fwd_progress_check' was exported > ERROR: modpost: vmlinux: local symbol 'synchronize_rcu_expedited' was exported > ERROR: modpost: vmlinux: local symbol 'start_poll_synchronize_rcu_expedited' was exported > ERROR: modpost: vmlinux: local symbol 'start_poll_synchronize_rcu_expedited_full' was exported > ERROR: modpost: vmlinux: local symbol 'cond_synchronize_rcu_expedited' was exported > ERROR: modpost: vmlinux: local symbol 'cond_synchronize_rcu_expedited_full' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_read_unlock_strict' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_all_qs' was exported > ERROR: modpost: vmlinux: local symbol 'rcu_note_context_switch' was exported > ERROR: modpost: vmlinux: local symbol 'dmam_free_coherent' was exported > ERROR: modpost: vmlinux: local symbol 'dmam_alloc_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_map_page_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_unmap_page_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_map_sg_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_map_sgtable' was exported > ERROR: modpost: vmlinux: local symbol 'dma_unmap_sg_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_map_resource' was exported > ERROR: modpost: vmlinux: local symbol 'dma_unmap_resource' was exported > ERROR: modpost: vmlinux: local symbol 'dma_sync_single_for_cpu' was exported > ERROR: modpost: vmlinux: local symbol 'dma_sync_single_for_device' was exported > ERROR: modpost: vmlinux: local symbol 'dma_sync_sg_for_cpu' was exported > ERROR: modpost: vmlinux: local symbol 'dma_sync_sg_for_device' was exported > ERROR: modpost: vmlinux: local symbol 'dma_get_sgtable_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_can_mmap' was exported > ERROR: modpost: vmlinux: local symbol 'dma_mmap_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_get_required_mask' was exported > ERROR: modpost: vmlinux: local symbol 'dma_alloc_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_free_attrs' was exported > ERROR: modpost: vmlinux: local symbol 'dma_alloc_pages' was exported > ERROR: modpost: vmlinux: local symbol 'dma_free_pages' was exported > ERROR: modpost: vmlinux: local symbol 'dma_mmap_pages' was exported > ERROR: modpost: vmlinux: local symbol 'dma_alloc_noncontiguous' was exported > ERROR: modpost: vmlinux: local symbol 'dma_free_noncontiguous' was exported > ERROR: modpost: vmlinux: local symbol 'dma_vmap_noncontiguous' was exported > ERROR: modpost: vmlinux: local symbol 'dma_vunmap_noncontiguous' was exported > ERROR: modpost: vmlinux: local symbol 'dma_mmap_noncontiguous' was exported > ERROR: modpost: vmlinux: local symbol 'dma_pci_p2pdma_supported' was exported > ERROR: modpost: vmlinux: local symbol 'dma_set_mask' was exported > ERROR: modpost: vmlinux: local symbol 'dma_set_coherent_mask' was exported > ERROR: modpost: vmlinux: local symbol 'dma_max_mapping_size' was exported > ERROR: modpost: vmlinux: local symbol 'dma_opt_mapping_size' was exported > ERROR: modpost: vmlinux: local symbol 'dma_need_sync' was exported > ERROR: modpost: vmlinux: local symbol 'dma_get_merge_boundary' was exported > ERROR: modpost: vmlinux: local symbol 'register_module_notifier' was exported > ERROR: modpost: vmlinux: local symbol 'unregister_module_notifier' was exported > ERROR: modpost: vmlinux: local symbol '__module_put_and_kthread_exit' was exported > ERROR: modpost: vmlinux: local symbol '__tracepoint_module_get' was exported > ERROR: modpost: vmlinux: local symbol '__traceiter_module_get' was exported > ERROR: modpost: vmlinux: local symbol '__SCK__tp_func_module_get' was exported > ERROR: modpost: vmlinux: local symbol 'module_refcount' was exported > ERROR: modpost: vmlinux: local symbol '__symbol_put' was exported > ERROR: modpost: vmlinux: local symbol 'symbol_put_addr' was exported > ERROR: modpost: vmlinux: local symbol '__module_get' was exported > ERROR: modpost: vmlinux: local symbol 'try_module_get' was exported > ERROR: modpost: vmlinux: local symbol 'module_put' was exported > ERROR: modpost: vmlinux: local symbol '__symbol_get' was exported > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki