Kernel
  Threads by month 
                
            - ----- 2025 -----
 - November
 - October
 - September
 - August
 - July
 - June
 - May
 - April
 - March
 - February
 - January
 - ----- 2024 -----
 - December
 - November
 - October
 - September
 - August
 - July
 - June
 - May
 - April
 - March
 - February
 - January
 - ----- 2023 -----
 - December
 - November
 - October
 - September
 - August
 - July
 - June
 - May
 - April
 - March
 - February
 - January
 - ----- 2022 -----
 - December
 - November
 - October
 - September
 - August
 - July
 - June
 - May
 - April
 - March
 - February
 - January
 - ----- 2021 -----
 - December
 - November
 - October
 - September
 - August
 - July
 - June
 - May
 - April
 - March
 - February
 - January
 - ----- 2020 -----
 - December
 - November
 - October
 - September
 - August
 - July
 - June
 - May
 - April
 - March
 - February
 - January
 - ----- 2019 -----
 - December
 
- 30 participants
 - 21064 discussions
 
                        
                            
                                
                            
                            [openeuler:OLK-6.6 2368/2368] aarch64-linux-ld: rdtgroup.c:undefined reference to `resctrl_arch_is_mbm_core_enabled'
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   b252849e2320fe952d448bcb2d23699e357b3d54
commit: 556688623b2b867f4e766229a1593f1d0820be34 [2368/2368] fs/resctrl: Create l2 cache monitors
config: arm64-randconfig-r054-20250606 (https://download.01.org/0day-ci/archive/20250606/202506062019.9DntRx4K-lkp@…)
compiler: aarch64-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506062019.9DntRx4K-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506062019.9DntRx4K-lkp@intel.com/
All errors (new ones prefixed by >>):
   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: arch/arm64/kernel/process.o: in function `__switch_to':
   process.c:(.sched.text+0x164): undefined reference to `mpam_resctrl_default_group'
   aarch64-linux-ld: arch/arm64/kernel/process.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `mpam_resctrl_default_group' which may bind externally can not be used when making a shared object; recompile with -fPIC
   process.c:(.sched.text+0x164): dangerous relocation: unsupported relocation
   aarch64-linux-ld: process.c:(.sched.text+0x170): undefined reference to `mpam_resctrl_default_group'
   aarch64-linux-ld: arch/arm64/kernel/mpam.o: in function `arm64_mpam_register_cpus':
   mpam.c:(.init.text+0x48): undefined reference to `mpam_register_requestor'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `is_rmid_match':
   rdtgroup.c:(.text+0x94): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0xc0): undefined reference to `resctrl_arch_match_rmid'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `_update_task_closid_rmid':
   rdtgroup.c:(.text+0x354): undefined reference to `resctrl_sched_in'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `update_closid_rmid':
   rdtgroup.c:(.text+0x3ac): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x3ac): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x3b0): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `cpus_ctrl_write':
   rdtgroup.c:(.text+0x460): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x460): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x46c): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mon_config_write':
   rdtgroup.c:(.text+0x748): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_mon_event_config_read' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x748): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x750): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: rdtgroup.c:(.text+0x774): undefined reference to `resctrl_arch_mon_event_config_write'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_mon_event_config_write' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x774): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x77c): undefined reference to `resctrl_arch_mon_event_config_write'
   aarch64-linux-ld: rdtgroup.c:(.text+0x7ac): undefined reference to `resctrl_arch_reset_rmid_all'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mbm_config_show':
   rdtgroup.c:(.text+0x9dc): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_mon_event_config_read' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x9dc): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x9e4): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_is_mbm_enabled':
   rdtgroup.c:(.text+0xdc8): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0xddc): undefined reference to `resctrl_arch_is_mbm_local_enabled'
>> aarch64-linux-ld: rdtgroup.c:(.text+0xde8): undefined reference to `resctrl_arch_is_mbm_core_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_show_options':
   rdtgroup.c:(.text+0x1454): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1474): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1494): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x14a0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `supports_mba_mbps':
   rdtgroup.c:(.text+0x1550): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1558): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1598): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `set_mba_sc':
   rdtgroup.c:(.text+0x1698): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x16a0): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x16c0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_disable_ctx':
   rdtgroup.c:(.text+0x1790): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x179c): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_mondata_all':
   rdtgroup.c:(.text+0x181c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_rdt_prepare_rmid_alloc':
   rdtgroup.c:(.text+0x18d4): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `schemata_list_add':
   rdtgroup.c:(.text+0x19bc): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x19cc): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1a8c): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `is_closid_match.isra.0':
   rdtgroup.c:(.text+0x1d1c): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1d3c): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_move_group_tasks.isra.0':
   rdtgroup.c:(.text+0x1e90): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_rename':
   rdtgroup.c:(.text+0x2208): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x2208): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x2210): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_kill_sb':
   rdtgroup.c:(.text+0x22c0): undefined reference to `resctrl_arch_reset_resources'
   aarch64-linux-ld: rdtgroup.c:(.text+0x23d4): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x23d4): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x23dc): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: rdtgroup.c:(.text+0x241c): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2420): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_get_tree':
   rdtgroup.c:(.text+0x24b0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x254c): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2584): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x25bc): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x25f8): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x260c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2648): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x26dc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x27c8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x284c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28a8): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28b8): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28bc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28c0): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28d8): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28f4): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2938): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_staged_configs_clear':
   rdtgroup.c:(.text+0x2b24): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `__rdtgroup_cbm_overlaps':
   rdtgroup.c:(.text+0x2d18): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_bit_usage_show':
   rdtgroup.c:(.text+0x2f00): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_init_alloc.isra.0':
   rdtgroup.c:(.text+0x3168): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x31c8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x32d0): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x32f4): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x330c): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x344c): undefined reference to `resctrl_arch_update_domains'
   aarch64-linux-ld: rdtgroup.c:(.text+0x34c4): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x34d4): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_cbm_overlaps':
   rdtgroup.c:(.text+0x36e8): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_size_show':
   rdtgroup.c:(.text+0x3df0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3e4c): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_mode_write':
   rdtgroup.c:(.text+0x40c0): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_tasks_write':
   rdtgroup.c:(.text+0x4528): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4550): undefined reference to `resctrl_arch_match_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4574): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x45b8): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x45cc): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4610): undefined reference to `resctrl_sched_in'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_rmdir':
   rdtgroup.c:(.text+0x4d78): undefined reference to `resctrl_arch_set_cpu_default_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4dc8): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x4dc8): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x4dcc): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e58): undefined reference to `resctrl_arch_set_cpu_default_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4ea0): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x4ea0): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x4ea4): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_rdt_prepare':
   rdtgroup.c:(.text+0x505c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_mkdir':
   rdtgroup.c:(.text+0x512c): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x524c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x52c8): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5320): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_domain':
   rdtgroup.c:(.text+0x54cc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5574): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5588): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_online_domain':
   rdtgroup.c:(.text+0x5648): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x56fc): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5704): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5710): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5760): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x579c): undefined reference to `resctrl_arch_is_mbm_core_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x57e4): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5840): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x58ac): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_cpu':
   rdtgroup.c:(.text+0x5a20): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5b84): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5ba8): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_init':
   rdtgroup.c:(.text+0x5c8c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `parse_bw_conf_type.isra.0':
   ctrlmondata.c:(.text+0x430): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x4b4): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `parse_bw':
   ctrlmondata.c:(.text+0x568): undefined reference to `resctrl_arch_hide_cdp'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_write':
   ctrlmondata.c:(.text+0x948): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x964): undefined reference to `resctrl_arch_update_domains'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_show':
   ctrlmondata.c:(.text+0xbcc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xc24): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `mon_event_read':
   ctrlmondata.c:(.text+0xd14): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xd60): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_mondata_show':
   ctrlmondata.c:(.text+0xdd0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xddc): undefined reference to `resctrl_arch_find_domain'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__mon_event_count':
   monitor.c:(.text+0x54): undefined reference to `resctrl_arch_reset_rmid'
   aarch64-linux-ld: monitor.c:(.text+0x68): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xc4): undefined reference to `resctrl_arch_rmid_read'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_update':
   monitor.c:(.text+0x11c): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x138): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x184): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: monitor.c:(.text+0x188): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x1a4): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x1e8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x230): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x2b8): undefined reference to `resctrl_arch_mon_ctx_free'
>> aarch64-linux-ld: monitor.c:(.text+0x2bc): undefined reference to `resctrl_arch_is_mbm_core_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x2d8): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x334): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__check_limbo':
   monitor.c:(.text+0x3a4): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x3ac): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: monitor.c:(.text+0x3c4): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x46c): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x48c): undefined reference to `resctrl_arch_rmid_read'
   aarch64-linux-ld: monitor.c:(.text+0x564): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `has_busy_rmid':
   monitor.c:(.text+0x5d0): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `alloc_rmid':
   monitor.c:(.text+0x6ac): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x6bc): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `free_rmid':
   monitor.c:(.text+0x9cc): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x9dc): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xa08): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0xa10): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: monitor.c:(.text+0xa20): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xa34): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_handle_overflow':
   monitor.c:(.text+0xb94): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: monitor.c:(.text+0xbb0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xc4c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xcac): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: monitor.c:(.text+0xcbc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xcd8): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xda8): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: monitor.c:(.text+0xe44): undefined reference to `resctrl_arch_update_one'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_setup_overflow_handler':
   monitor.c:(.text+0xf0c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `resctrl_mon_resource_init':
   monitor.c:(.text+0x1010): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x1050): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: monitor.c:(.text+0x1068): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: monitor.c:(.text+0x10e4): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x1130): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x1148): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x1184): undefined reference to `resctrl_arch_mon_resource_init'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `resctrl_mon_resource_exit':
   monitor.c:(.text+0x11d0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/psuedo_lock.o: in function `rdtgroup_locksetup_enter':
   psuedo_lock.c:(.text+0x3ec): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: psuedo_lock.c:(.text+0x40c): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.o: in function `arm_smmu_device_hw_probe':
   arm-smmu-v3.c:(.text+0x2a94): undefined reference to `mpam_register_requestor'
Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for RESCTRL_FS
   Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y]
   Selected by [y]:
   - ARM64_MPAM [=y]
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0
                            
                          
                          
                            
    
                          
                        
                    
                        
                            
                                
                            
                            [openeuler:OLK-6.6 2368/2368] ctrlmondata.c:undefined reference to `resctrl_arch_hide_cdp'
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   b252849e2320fe952d448bcb2d23699e357b3d54
commit: 5e0e3aa64e83dff9703e3f887a2be3271801ed22 [2368/2368] fs/resctrl: Fix configuration to wrong control group when CDP is enabled
config: arm64-randconfig-r054-20250606 (https://download.01.org/0day-ci/archive/20250606/202506061824.reydkcjF-lkp@…)
compiler: aarch64-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506061824.reydkcjF-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506061824.reydkcjF-lkp@intel.com/
All errors (new ones prefixed by >>):
   rdtgroup.c:(.text+0x21c8): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x21c8): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x21d0): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_kill_sb':
   rdtgroup.c:(.text+0x2280): undefined reference to `resctrl_arch_reset_resources'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2394): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x2394): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x239c): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: rdtgroup.c:(.text+0x23dc): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x23e0): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_get_tree':
   rdtgroup.c:(.text+0x2470): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x250c): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2544): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x257c): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x25b8): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x25cc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2608): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x269c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2778): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x27fc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2858): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2868): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x286c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2870): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2888): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28a4): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28e8): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_staged_configs_clear':
   rdtgroup.c:(.text+0x2ae4): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `__rdtgroup_cbm_overlaps':
   rdtgroup.c:(.text+0x2cd8): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_bit_usage_show':
   rdtgroup.c:(.text+0x2ec0): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_init_alloc.isra.0':
   rdtgroup.c:(.text+0x3128): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3188): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3290): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x32b4): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x32cc): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x340c): undefined reference to `resctrl_arch_update_domains'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3484): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3494): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_cbm_overlaps':
   rdtgroup.c:(.text+0x36a8): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_size_show':
   rdtgroup.c:(.text+0x3db0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3e0c): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_mode_write':
   rdtgroup.c:(.text+0x4080): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_tasks_write':
   rdtgroup.c:(.text+0x44e8): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4510): undefined reference to `resctrl_arch_match_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4534): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4578): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x458c): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x45d0): undefined reference to `resctrl_sched_in'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_rmdir':
   rdtgroup.c:(.text+0x4d38): undefined reference to `resctrl_arch_set_cpu_default_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4d88): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x4d88): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x4d8c): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e18): undefined reference to `resctrl_arch_set_cpu_default_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e60): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x4e60): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e64): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_rdt_prepare':
   rdtgroup.c:(.text+0x501c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_mkdir':
   rdtgroup.c:(.text+0x50ec): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x520c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5288): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x52e0): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_domain':
   rdtgroup.c:(.text+0x548c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5534): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5548): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_online_domain':
   rdtgroup.c:(.text+0x5608): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x56bc): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: rdtgroup.c:(.text+0x56c4): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x56d0): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5720): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5768): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x57c0): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x582c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_cpu':
   rdtgroup.c:(.text+0x59a0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5b04): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5b28): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_init':
   rdtgroup.c:(.text+0x5c0c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `parse_bw_conf_type.isra.0':
   ctrlmondata.c:(.text+0x428): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x4a8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `parse_bw':
>> ctrlmondata.c:(.text+0x568): undefined reference to `resctrl_arch_hide_cdp'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_write':
   ctrlmondata.c:(.text+0x948): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x964): undefined reference to `resctrl_arch_update_domains'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_show':
   ctrlmondata.c:(.text+0xbcc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xc24): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `mon_event_read':
   ctrlmondata.c:(.text+0xd14): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xd60): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_mondata_show':
   ctrlmondata.c:(.text+0xdd0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xddc): undefined reference to `resctrl_arch_find_domain'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__mon_event_count':
   monitor.c:(.text+0x54): undefined reference to `resctrl_arch_reset_rmid'
   aarch64-linux-ld: monitor.c:(.text+0x68): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xc4): undefined reference to `resctrl_arch_rmid_read'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_update':
   monitor.c:(.text+0x11c): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x138): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x184): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: monitor.c:(.text+0x188): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x1a4): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x1f8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x23c): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x2bc): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__check_limbo':
   monitor.c:(.text+0x324): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x32c): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: monitor.c:(.text+0x344): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x3ec): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x40c): undefined reference to `resctrl_arch_rmid_read'
   aarch64-linux-ld: monitor.c:(.text+0x4d8): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `has_busy_rmid':
   monitor.c:(.text+0x510): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `alloc_rmid':
   monitor.c:(.text+0x5e4): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x5f4): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `free_rmid':
   monitor.c:(.text+0x90c): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x91c): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x948): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x950): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x960): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x974): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_handle_overflow':
   monitor.c:(.text+0xad4): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: monitor.c:(.text+0xaf0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xb8c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xbec): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: monitor.c:(.text+0xbfc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xc18): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xce8): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: monitor.c:(.text+0xd84): undefined reference to `resctrl_arch_update_one'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_setup_overflow_handler':
   monitor.c:(.text+0xe4c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `resctrl_mon_resource_init':
   monitor.c:(.text+0xf50): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xf98): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: monitor.c:(.text+0xfa8): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: monitor.c:(.text+0x1028): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x1074): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x108c): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x10c8): undefined reference to `resctrl_arch_mon_resource_init'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `resctrl_mon_resource_exit':
   monitor.c:(.text+0x1110): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/psuedo_lock.o: in function `rdtgroup_locksetup_enter':
   psuedo_lock.c:(.text+0x3ec): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: psuedo_lock.c:(.text+0x40c): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.o: in function `arm_smmu_device_hw_probe':
   arm-smmu-v3.c:(.text+0x2a94): undefined reference to `mpam_register_requestor'
Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for RESCTRL_FS
   Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y]
   Selected by [y]:
   - ARM64_MPAM [=y]
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0
                            
                          
                          
                            
    
                          
                        
                    
                    
                        Support xcall prefetch.
Changes in v5:
- Fix dentry free before free_prefetch_item() and then UAF in
  prefetch work by cancel_work_sync() before free pfi and move
  free_prefetch_item() to the first of __fput().
- Fix __queue_work() oops bug.
- /proc/xcall/mask_list -> /proc/xcall/cpu_list
- Fix xcall_prefetch print data type.
- Update prefetch tracepoint, move xcall points definition
  to separete header file.
- Make xcall_prefetch depends on EPOLL.
- Adjust xcall prefetch buf to 16KB by default.
- Add xcall_prefetch_init() function.
- Only use write lock in free_prefetch_item().
- Simplify xcall_read() and add some comment.
- Update commit message.
Changes in v4:
- Enable FAST_SYSCALL/IRQ and XCALL_PREFETCH by default.
- Fix xint sleeping function called from invalid context bug.
- free_prefetch_item() in file_free() instead of filp_close(), which
  fix the alloc-queue and free competition.
- Fix kernel_read() warning for FMODE_READ not set.
- Add sock_from_file() limit for prefetch.
- Check NULL for rc_work.
- Simplfy the cpumask interface code, and rename
  to "/proc/xcall/mask_list".
- Remove the xcall_cache_pages_order interface.
- tracepoint update: fd -> file.
- Simplify the xcall_read() function again.
- Handle copy_to_user() return value.
- Remove unused XCALL_CACHE_QUEUED.
- Update the commit message.
Changes in v3:
- Add XCALL_PREFETCH config to isolate feature code.
- Split the /proc/xxx interface code out to independent patches, which
  will make it clear.
- Update the cpumask interface to "/proc/xcall/numa_mask", and it can
  set the numa mask of all numas one time.
- Add xcall select count to make xcall_cache_pages_order adjust safe.
- Introduce xcall_read_start/end() to make it clear.
- Simplify the xcall_read() function.
- Use cpumask_next() instead of get_nth_cpu_in_cpumask() function.
- Use independent cpu select policy function.
- Remove some unnecessary pr_err().
- Update the commit message.
Changes in v2:
- Upadte the xcall prefetch state machine, remove the queued state and
  add prefetch, cancel states.
- Remove the pfi lock and use atomic variables.
- Change the 'xcall select' semantics and simplify the code a lot.
- Remove keep_running, remove unrelated code.
- Remove the count in struct read_cache_entry, and use
  percpu hit/miss count.
- Remove sync mode, so remove struct read_cache_entry
  in struct task_struct.
- Use hash table to find prefetch item for a file, which will not
  change the file struct KABI.
- Use rwlock instead of spinlock for hash table.
- Use alloc_page() instead kmalloc() to align 4KB.
- Update the commit message.
Jinjie Ruan (7):
  arm64: Introduce Xint software solution
  arm64: Add debugfs dir for xint
  eventpoll: xcall: Support async prefetch data in epoll
  xcall: Add /proc/xcall/prefetch dir for performance tuning
  xcall: Add /proc/xcall/cpu_list for performance tuning
  xcall: eventpoll: add tracepoint
  config: Enable FAST_SYSCALL/IRQ and XCALL_PREFETCH by default
Liao Chen (1):
  revert kpti bypass
Yipeng Zou (3):
  arm64: Introduce xcall a faster svc exception handling
  arm64: Faster SVC exception handler with xcall
  xcall: Introduce xcall_select to mark special syscall
 arch/Kconfig                           |  81 +++++
 arch/arm64/Kconfig                     |   2 +
 arch/arm64/configs/openeuler_defconfig |   7 +
 arch/arm64/include/asm/cpucaps.h       |   2 +
 arch/arm64/include/asm/exception.h     |   3 +
 arch/arm64/kernel/asm-offsets.c        |   3 +
 arch/arm64/kernel/cpufeature.c         |  54 ++++
 arch/arm64/kernel/entry-common.c       |  22 ++
 arch/arm64/kernel/entry.S              | 183 ++++++++++-
 arch/arm64/kernel/syscall.c            |  57 ++++
 drivers/irqchip/irq-gic-v3.c           | 130 ++++++++
 fs/eventpoll.c                         | 409 +++++++++++++++++++++++++
 fs/proc/base.c                         | 152 +++++++++
 fs/read_write.c                        |  11 +-
 include/linux/eventpoll.h              |   2 +-
 include/linux/fs.h                     |  35 +++
 include/linux/hardirq.h                |   5 +
 include/linux/irqchip/arm-gic-v3.h     |  13 +
 include/linux/sched.h                  |   5 +
 include/trace/events/xcall.h           | 106 +++++++
 kernel/fork.c                          |  32 ++
 kernel/irq/debugfs.c                   |  33 ++
 kernel/irq/internals.h                 |  18 ++
 kernel/irq/irqdesc.c                   |  19 ++
 kernel/irq/proc.c                      |  10 +
 kernel/softirq.c                       |  73 +++++
 26 files changed, 1463 insertions(+), 4 deletions(-)
 create mode 100644 include/trace/events/xcall.h
-- 
2.34.1
                    
                  
                  
                          
                            
                            2
                            
                          
                          
                            
                            12
                            
                          
                          
                            
    
                          
                        
                    
                        
                            
                                
                            
                            [openeuler:openEuler-1.0-LTS 1659/1659] mm/memory_hotplug.c:971:13: warning: 'rollback_node_hotadd' defined but not used
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        Hi Michal,
FYI, the error/warning still remains.
tree:   https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head:   89f3a2595f2e3f14f976811d203bd8f55ff4eada
commit: 2f5f99f3efc5d34c37f9918c50808a4cfe36c211 [1659/1659] mm: handle uninitialized numa nodes gracefully
config: x86_64-buildonly-randconfig-002-20250606 (https://download.01.org/0day-ci/archive/20250606/202506061755.yar1Fr9d-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506061755.yar1Fr9d-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506061755.yar1Fr9d-lkp@intel.com/
All warnings (new ones prefixed by >>):
   mm/memory_hotplug.c: In function '__remove_section':
   mm/memory_hotplug.c:481:23: warning: variable 'start_pfn' set but not used [-Wunused-but-set-variable]
     481 |         unsigned long start_pfn;
         |                       ^~~~~~~~~
   mm/memory_hotplug.c: In function 'hotadd_init_pgdat':
   mm/memory_hotplug.c:926:23: warning: unused variable 'start_pfn' [-Wunused-variable]
     926 |         unsigned long start_pfn = PFN_DOWN(start);
         |                       ^~~~~~~~~
   mm/memory_hotplug.c: At top level:
>> mm/memory_hotplug.c:971:13: warning: 'rollback_node_hotadd' defined but not used [-Wunused-function]
     971 | static void rollback_node_hotadd(int nid)
         |             ^~~~~~~~~~~~~~~~~~~~
vim +/rollback_node_hotadd +971 mm/memory_hotplug.c
9af3c2dea3a3ae Yasunori Goto  2006-06-27  970  
b9ff036082cd17 Oscar Salvador 2018-08-17 @971  static void rollback_node_hotadd(int nid)
9af3c2dea3a3ae Yasunori Goto  2006-06-27  972  {
b9ff036082cd17 Oscar Salvador 2018-08-17  973  	pg_data_t *pgdat = NODE_DATA(nid);
b9ff036082cd17 Oscar Salvador 2018-08-17  974  
9af3c2dea3a3ae Yasunori Goto  2006-06-27  975  	arch_refresh_nodedata(nid, NULL);
5830169f47269f Reza Arbab     2016-08-11  976  	free_percpu(pgdat->per_cpu_nodestats);
9af3c2dea3a3ae Yasunori Goto  2006-06-27  977  	arch_free_nodedata(pgdat);
9af3c2dea3a3ae Yasunori Goto  2006-06-27  978  	return;
9af3c2dea3a3ae Yasunori Goto  2006-06-27  979  }
9af3c2dea3a3ae Yasunori Goto  2006-06-27  980  
:::::: The code at line 971 was first introduced by commit
:::::: b9ff036082cd1793a59b35c4432644fe44620664 mm/memory_hotplug.c: make add_memory_resource use __try_online_node
:::::: TO: Oscar Salvador <osalvador(a)suse.de>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0
                            
                          
                          
                            
    
                          
                        
                    
                    
                        Albert Huang (1):
  net/smc: fix smc clc failed issue when netdevice not in init_net
Allen Pais (1):
  net: smc: convert tasklets to use new tasklet_setup() API
Christophe JAILLET (1):
  net/smc: Use the bitmap API when applicable
Colin Ian King (1):
  net/smc: remove redundant re-assignment of pointer link
D. Wythe (5):
  net/smc: Limit backlog connections
  net/smc: return ETIMEDOUT when smc_connect_clc() timeout
  net/smc: reduce unnecessary blocking in smcr_lgr_reg_rmbs()
  net/smc: fix potential panic dues to unprotected
    smc_llc_srv_add_link()
  net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
Dan Carpenter (2):
  net/smc: Fix an error code in smc_lgr_create()
  net/smc: delete pointless divide by one
David Howells (1):
  smc: Drop smc_sendpage() in favour of smc_sendmsg() + MSG_SPLICE_PAGES
Dmitry Antipov (1):
  net: smc: fix spurious error message from __sock_release()
Dust Li (2):
  net/smc: add comments for smc_link_{usable|sendable}
  net/smc: return the right falback reason when prefix checks fail
Eric Dumazet (2):
  net: inline sock_prot_inuse_add()
  net: make sock_inuse_add() available
Gerd Bayer (2):
  net/smc: Fix dependency of SMC on ISM
  s390/ism: ism driver implies smc protocol
Guangguan Wang (14):
  net/smc: support smc release version negotiation in clc handshake
  net/smc: add vendor unique experimental options area in clc handshake
  net/smc: support smc v2.x features validate
  net/smc: support max connections per lgr negotiation
  net/smc: support max links per lgr negotiation in clc handshake
  net/smc: Extend SMCR v2 linkgroup netlink attribute
  net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when
    CONFIG_ARCH_NO_SG_CHAIN is defined
  net/smc: protect link down work from execute after lgr freed
  net/smc: check sndbuf_space again after NOSPACE flag is set in
    smc_poll
  net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving
    proposal msg
  net/smc: check smcd_v2_ext_offset when receiving proposal msg
  net/smc: check return value of sock_recvmsg when draining clc data
  net/smc: fix data error when recvmsg with MSG_PEEK flag
  net/smc: use the correct ndev to find pnetid by pnetid table
Gustavo A. R. Silva (2):
  net/smc: Avoid -Wflex-array-member-not-at-end warnings
  net/smc: Use static_assert() to check struct sizes
Guvenc Gulce (1):
  net/smc: Use active link of the connection
Heiko Carstens (1):
  net/smc: Eliminate struct smc_ism_position
Jiapeng Chong (1):
  net/smc: Remove redundant assignment to rc
Julian Ruess (2):
  s390/ism: Fix trying to free already-freed IRQ by repeated
    ism_dev_exit()
  s390/ism: add release function for struct device
Julian Wiedmann (1):
  net/smc: no need to flush smcd_dev's event_wq before destroying it
Kai Shen (2):
  net/smc: Use percpu ref for wr tx reference
  net/smc: Fix memory leak when using percpu refs
Karsten Graul (18):
  net/smc: improve return codes for SMC-Dv2
  net/smc: use helper smc_conn_abort() in listen processing
  net/smc: avoid possible duplicate dmb unregistration
  net/smc: add support for user defined EIDs
  net/smc: keep static copy of system EID
  net/smc: add generic netlink support for system EID
  net/smc: save stack space and allocate smc_init_info
  net/smc: prepare for SMC-Rv2 connection
  net/smc: add SMC-Rv2 connection establishment
  net/smc: add listen processing for SMC-Rv2
  net/smc: add v2 format of CLC decline message
  net/smc: retrieve v2 gid from IB device
  net/smc: add v2 support to the work request layer
  net/smc: extend LLC layer for SMC-Rv2
  net/smc: add netlink support for SMC-Rv2
  net/smc: stop links when their GID is removed
  net/smc: use memcpy instead of snprintf to avoid out of bounds read
  net/smc: Fix af_ops of child socket pointing to released memory
Kuniyuki Iwashima (1):
  smc: Fix use-after-free in tcp_write_timer_handler().
Li RongQing (2):
  net/smc: remove unneeded atomic operations in smc_tx_sndbuf_nonempty
  net/smc: Fix searching in list of known pnetids in smc_pnet_add_pnetid
Niklas Schnelle (3):
  s390/ism: Fix locking for forwarding of IRQs and events to clients
  s390/ism: Fix and simplify add()/remove() callback handling
  s390/ism: Do not unregister clients with registered DMBs
Simon Horman (1):
  net/smc: Address spelling errors
Stefan Raspl (11):
  s390/ism: Cleanups
  net/smc: Pass on DMBE bit mask in IRQ handler
  net/smc: Terminate connections prior to device removal
  s390/ism: Introduce struct ism_dmb
  net/ism: Add new API for client registration
  net/smc: Register SMC-D as ISM client
  net/smc: Separate SMC-D and ISM APIs
  s390/ism: Consolidate SMC-D-related code
  net/smc: De-tangle ism and smc device initialization
  net/smc: Fix device de-init sequence
  net/smc: Introduce explicit check for v2 support
Tony Lu (6):
  net/smc: Clean up local struct sock variables
  net/smc: Introduce net namespace support for linkgroup
  net/smc: Print net namespace in log
  net/smc: Introduce TCP ULP support
  net/smc: Fix cleanup when register ULP fails
  net/smc: Support SO_REUSEPORT
Wan Jiabing (1):
  net: smc: Remove repeated struct declaration
Wang Liang (8):
  Partially revert 'net/smc: Clear memory when release and reuse buffer'
  Revert "net/smc: Add size match for smc_buf_get_slot"
  Revert "net/smc: Rename 'llc_conf_mutex' variable to 'llc_conf_lock'
    in struct smc_link_group"
  Revert "anolis: net/smc: delay RDMA resource release until connecitons
    freed"
  Revert "anolis: net/smc: Resolve the race between SMC-R link access
    and clear"
  Revert "anolis: net/smc: Resolve the race between link group access
    and termination"
  Revert "net/smc: Tune the maximum size of virtually contiguous sndbufs
    or RMBs for SMC-R"
  net/smc: enable the smc-lo on the x86 and arm64 platforms
Wen Gu (34):
  net/smc: Reset conn->lgr when link group registration fails
  net/smc: Resolve the race between link group access and termination
  net/smc: Resolve the race between SMC-R link access and clear
  net/smc: Remove unused function declaration
  net/smc: Reset connection when trying to use SMCRv2 fails.
  net/smc: Scan from current RMB list when no position specified
  net/smc: Don't use RMBs not mapped to new link in SMCRv2 ADD LINK
  net/smc: fix missing byte order conversion in CLC handshake
  net/smc: rename some 'fce' to 'fce_v2x' for clarity
  net/smc: introduce sub-functions for smc_clc_send_confirm_accept()
  net/smc: unify the structs of accept or confirm message for v1 and v2
  net/smc: support SMCv2.x supplemental features negotiation
  net/smc: introduce virtual ISM device support feature
  net/smc: define a reserved CHID range for virtual ISM devices
  net/smc: compatible with 128-bits extended GID of virtual ISM device
  net/smc: support extended GID in SMC-D lgr netlink attribute
  net/smc: disable SEID on non-s390 archs where virtual ISM may be used
  net/smc: manage system EID in SMC stack instead of ISM driver
  net/smc: fix incorrect SMC-D link group matching logic
  net/smc: change the term virtual ISM to Emulated-ISM
  net/smc: decouple ism_client from SMC-D DMB registration
  net/smc: introduce loopback-ism for SMC intra-OS shortcut
  net/smc: implement ID-related operations of loopback-ism
  net/smc: implement DMB-related operations of loopback-ism
  net/smc: mark optional smcd_ops and check for support when called
  net/smc: ignore loopback-ism when dumping SMC-D devices
  net/smc: register loopback-ism into SMC-D device list
  net/smc: add operations to merge sndbuf with peer DMB
  net/smc: {at|de}tach sndbuf to peer DMB if supported
  net/smc: adapt cursor update when sndbuf and peer DMB are merged
  net/smc: implement DMB-merged operations of loopback-ism
  net/smc: fix neighbour and rtable leak in smc_ib_find_route()
  net/smc: avoid overwriting when adjusting sock bufsizes
  net/smc: fix LGR and link use-after-free issue
Wenjia Zhang (1):
  net/smc: Fix lookup of netdev by using ib_device_get_netdev()
Yue Haibing (1):
  net/smc: Remove unused function declarations
Zhengchao Shao (6):
  net/smc: make smc_hash_sk/smc_unhash_sk static
  net/smc: remove unreferenced header in smc_loopback.h file
  net/smc: remove the fallback in __smc_connect
  net/smc: remove redundant code in smc_connect_check_aclc
  net/smc: remove unused input parameters in smcr_new_buf_create
  net/smc: add the max value of fallback reason count
liuyacan (1):
  net/smc: set ini->smcrv2.ib_dev_v2 to NULL if SMC-Rv2 is unavailable
 Documentation/networking/smc-sysctl.rst |   6 +-
 arch/arm64/configs/openeuler_defconfig  |   1 +
 arch/x86/configs/openeuler_defconfig    |   1 +
 drivers/s390/net/Kconfig                |   5 +-
 drivers/s390/net/ism.h                  |  26 +-
 drivers/s390/net/ism_drv.c              | 489 ++++++++----
 include/linux/ism.h                     |  92 +++
 include/net/smc.h                       |  62 +-
 include/net/sock.h                      |  24 +-
 include/uapi/linux/smc.h                |  48 +-
 include/uapi/linux/smc_diag.h           |   2 +
 net/core/sock.c                         |  21 -
 net/mptcp/subflow.c                     |   4 +-
 net/smc/Kconfig                         |  14 +
 net/smc/Makefile                        |   1 +
 net/smc/af_smc.c                        | 963 +++++++++++++++++-------
 net/smc/smc.h                           |  53 +-
 net/smc/smc_cdc.c                       |  44 +-
 net/smc/smc_clc.c                       | 846 +++++++++++++++++----
 net/smc/smc_clc.h                       | 196 ++++-
 net/smc/smc_close.c                     |   6 +-
 net/smc/smc_core.c                      | 507 +++++++++----
 net/smc/smc_core.h                      | 131 +++-
 net/smc/smc_diag.c                      |  20 +-
 net/smc/smc_ib.c                        | 171 ++++-
 net/smc/smc_ib.h                        |  24 +-
 net/smc/smc_ism.c                       | 318 +++++---
 net/smc/smc_ism.h                       |  61 +-
 net/smc/smc_llc.c                       | 688 +++++++++++++----
 net/smc/smc_llc.h                       |  12 +-
 net/smc/smc_loopback.c                  | 427 +++++++++++
 net/smc/smc_loopback.h                  |  60 ++
 net/smc/smc_netlink.c                   |  47 +-
 net/smc/smc_netlink.h                   |   2 +
 net/smc/smc_pnet.c                      | 120 +--
 net/smc/smc_rx.c                        |  39 +-
 net/smc/smc_rx.h                        |   8 +-
 net/smc/smc_stats.c                     |   2 +-
 net/smc/smc_stats.h                     |   3 +-
 net/smc/smc_tx.c                        |  56 +-
 net/smc/smc_tx.h                        |   2 -
 net/smc/smc_wr.c                        | 305 ++++++--
 net/smc/smc_wr.h                        |  17 +-
 43 files changed, 4589 insertions(+), 1335 deletions(-)
 create mode 100644 include/linux/ism.h
 create mode 100644 net/smc/smc_loopback.c
 create mode 100644 net/smc/smc_loopback.h
-- 
2.34.1
                    
                  
                  
                          
                            
                            2
                            
                          
                          
                            
                            138
                            
                          
                          
                            
    
                          
                        
                    
                        
                            
                                
                            
                            [openeuler:OLK-6.6 2368/2368] aarch64-linux-ld: rdtgroup.c:undefined reference to `resctrl_arch_would_mbm_overflow'
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   b252849e2320fe952d448bcb2d23699e357b3d54
commit: 63ef510d15264460c349182162d635eb4a113aac [2368/2368] fs/resctrl: Determine whether the MBM monitors require overflow checking
config: arm64-randconfig-r054-20250606 (https://download.01.org/0day-ci/archive/20250606/202506061655.Rt6FNr52-lkp@…)
compiler: aarch64-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506061655.Rt6FNr52-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506061655.Rt6FNr52-lkp@intel.com/
All errors (new ones prefixed by >>):
   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: arch/arm64/kernel/process.o: in function `__switch_to':
   process.c:(.sched.text+0x164): undefined reference to `mpam_resctrl_default_group'
   aarch64-linux-ld: arch/arm64/kernel/process.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `mpam_resctrl_default_group' which may bind externally can not be used when making a shared object; recompile with -fPIC
   process.c:(.sched.text+0x164): dangerous relocation: unsupported relocation
   aarch64-linux-ld: process.c:(.sched.text+0x170): undefined reference to `mpam_resctrl_default_group'
   aarch64-linux-ld: arch/arm64/kernel/mpam.o: in function `arm64_mpam_register_cpus':
   mpam.c:(.init.text+0x48): undefined reference to `mpam_register_requestor'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `is_rmid_match':
   rdtgroup.c:(.text+0x94): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0xc0): undefined reference to `resctrl_arch_match_rmid'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `_update_task_closid_rmid':
   rdtgroup.c:(.text+0x354): undefined reference to `resctrl_sched_in'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `update_closid_rmid':
   rdtgroup.c:(.text+0x3ac): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x3ac): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x3b0): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `cpus_ctrl_write':
   rdtgroup.c:(.text+0x460): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x460): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x46c): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mon_config_write':
   rdtgroup.c:(.text+0x748): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_mon_event_config_read' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x748): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x750): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: rdtgroup.c:(.text+0x774): undefined reference to `resctrl_arch_mon_event_config_write'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_mon_event_config_write' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x774): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x77c): undefined reference to `resctrl_arch_mon_event_config_write'
   aarch64-linux-ld: rdtgroup.c:(.text+0x7ac): undefined reference to `resctrl_arch_reset_rmid_all'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mbm_config_show':
   rdtgroup.c:(.text+0x9dc): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_mon_event_config_read' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x9dc): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x9e4): undefined reference to `resctrl_arch_mon_event_config_read'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_is_mbm_enabled':
   rdtgroup.c:(.text+0xdc8): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0xdd4): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_show_options':
   rdtgroup.c:(.text+0x1414): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1434): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1454): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1460): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `supports_mba_mbps':
   rdtgroup.c:(.text+0x1510): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1518): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1558): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `set_mba_sc':
   rdtgroup.c:(.text+0x1658): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1660): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1680): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_disable_ctx':
   rdtgroup.c:(.text+0x1750): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x175c): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_mondata_all':
   rdtgroup.c:(.text+0x17dc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_rdt_prepare_rmid_alloc':
   rdtgroup.c:(.text+0x1894): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `schemata_list_add':
   rdtgroup.c:(.text+0x197c): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x198c): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1a4c): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `is_closid_match.isra.0':
   rdtgroup.c:(.text+0x1cdc): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x1cfc): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_move_group_tasks.isra.0':
   rdtgroup.c:(.text+0x1e50): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_rename':
   rdtgroup.c:(.text+0x21c8): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x21c8): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x21d0): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_kill_sb':
   rdtgroup.c:(.text+0x2280): undefined reference to `resctrl_arch_reset_resources'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2394): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x2394): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x239c): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: rdtgroup.c:(.text+0x23d4): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x23d8): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_get_tree':
   rdtgroup.c:(.text+0x2470): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x250c): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2544): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x257c): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x25b8): undefined reference to `resctrl_arch_set_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x25cc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2608): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x269c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2778): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x27fc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2858): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2868): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x286c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2870): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x2888): undefined reference to `resctrl_arch_mon_capable'
>> aarch64-linux-ld: rdtgroup.c:(.text+0x28a4): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x28e8): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_staged_configs_clear':
   rdtgroup.c:(.text+0x2aa4): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `__rdtgroup_cbm_overlaps':
   rdtgroup.c:(.text+0x2c98): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_bit_usage_show':
   rdtgroup.c:(.text+0x2e80): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_init_alloc.isra.0':
   rdtgroup.c:(.text+0x30e8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3148): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3250): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3274): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x328c): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x33cc): undefined reference to `resctrl_arch_update_domains'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3444): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3454): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_cbm_overlaps':
   rdtgroup.c:(.text+0x3668): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_size_show':
   rdtgroup.c:(.text+0x3d70): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x3dcc): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_mode_write':
   rdtgroup.c:(.text+0x4040): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_tasks_write':
   rdtgroup.c:(.text+0x44a8): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x44d0): undefined reference to `resctrl_arch_match_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x44f4): undefined reference to `resctrl_arch_match_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4538): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x454c): undefined reference to `resctrl_arch_set_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4590): undefined reference to `resctrl_sched_in'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_rmdir':
   rdtgroup.c:(.text+0x4cf8): undefined reference to `resctrl_arch_set_cpu_default_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4d48): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x4d48): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x4d4c): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4dd8): undefined reference to `resctrl_arch_set_cpu_default_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e20): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x4e20): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e24): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_rdt_prepare':
   rdtgroup.c:(.text+0x4fdc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_mkdir':
   rdtgroup.c:(.text+0x50ac): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x51cc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5248): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x52a0): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_domain':
   rdtgroup.c:(.text+0x544c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x54f4): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5508): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_online_domain':
   rdtgroup.c:(.text+0x55c8): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x567c): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5684): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5690): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x56e0): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5728): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5780): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x57ec): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_cpu':
   rdtgroup.c:(.text+0x5960): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5ac4): undefined reference to `resctrl_arch_would_mbm_overflow'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5ae8): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_init':
   rdtgroup.c:(.text+0x5bcc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `parse_bw':
   ctrlmondata.c:(.text+0x168): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x1e8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_write':
   ctrlmondata.c:(.text+0x888): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x8a4): undefined reference to `resctrl_arch_update_domains'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_show':
   ctrlmondata.c:(.text+0xb0c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xb64): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `mon_event_read':
   ctrlmondata.c:(.text+0xc54): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xca0): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_mondata_show':
   ctrlmondata.c:(.text+0xd10): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xd1c): undefined reference to `resctrl_arch_find_domain'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__mon_event_count':
   monitor.c:(.text+0x54): undefined reference to `resctrl_arch_reset_rmid'
   aarch64-linux-ld: monitor.c:(.text+0x68): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xc4): undefined reference to `resctrl_arch_rmid_read'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_update':
   monitor.c:(.text+0x11c): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x138): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x184): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: monitor.c:(.text+0x188): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x1a4): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x1f8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x23c): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x2bc): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__check_limbo':
   monitor.c:(.text+0x324): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x32c): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: monitor.c:(.text+0x344): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x3ec): undefined reference to `resctrl_arch_rmid_idx_decode'
Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for RESCTRL_FS
   Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y]
   Selected by [y]:
   - ARM64_MPAM [=y]
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0
                            
                          
                          
                            
    
                          
                        
                    
                        
                            
                                
                            
                            [openeuler:openEuler-1.0-LTS 1659/1659] mm/memory.c:4491:3: warning: cast from 'int (*)(unsigned long, unsigned long, struct cgp_args *)' to 'ktask_thread_func' (aka 'int (*)(void *, void *, void *)') converts to incompatible function type
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        tree:   https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head:   89f3a2595f2e3f14f976811d203bd8f55ff4eada
commit: ae0cd4d46ced733c522f2cc6da2d380d69123fc4 [1659/1659] mm: parallelize clear_gigantic_page
config: x86_64-buildonly-randconfig-001-20250606 (https://download.01.org/0day-ci/archive/20250606/202506061637.CVNqsEqf-lkp@…)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506061637.CVNqsEqf-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506061637.CVNqsEqf-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/memory.c:4491:3: warning: cast from 'int (*)(unsigned long, unsigned long, struct cgp_args *)' to 'ktask_thread_func' (aka 'int (*)(void *, void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch]
    4491 |                 DEFINE_KTASK_CTL(ctl, clear_gigantic_page_chunk, &args,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    4492 |                                  KTASK_MEM_CHUNK);
         |                                  ~~~~~~~~~~~~~~~~
   include/linux/ktask.h:139:3: note: expanded from macro 'DEFINE_KTASK_CTL'
     139 |                 KTASK_CTL_INITIALIZER(thread_func, func_arg, min_chunk_size) \
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/ktask.h:123:21: note: expanded from macro 'KTASK_CTL_INITIALIZER'
     123 |                 .kc_thread_func = (ktask_thread_func)(thread_func),          \
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning generated.
vim +4491 mm/memory.c
  4480	
  4481	void clear_huge_page(struct page *page,
  4482			     unsigned long addr_hint, unsigned int pages_per_huge_page)
  4483	{
  4484		unsigned long addr = addr_hint &
  4485			~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1);
  4486	
  4487		if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) {
  4488			struct cgp_args args = {page, addr};
  4489			struct ktask_node node = {0, pages_per_huge_page,
  4490						  page_to_nid(page)};
> 4491			DEFINE_KTASK_CTL(ctl, clear_gigantic_page_chunk, &args,
  4492					 KTASK_MEM_CHUNK);
  4493	
  4494			ktask_run_numa(&node, 1, &ctl);
  4495			return;
  4496		}
  4497	
  4498		process_huge_page(addr_hint, pages_per_huge_page, clear_subpage, page);
  4499	}
  4500	
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0
                            
                          
                          
                            
    
                          
                        
                    
                        
                            
                                
                            
                            [openeuler:openEuler-1.0-LTS 1659/1659] mm/vmalloc.c:217:23: warning: variable 'start' set but not used
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        tree:   https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head:   89f3a2595f2e3f14f976811d203bd8f55ff4eada
commit: 3eb01faed2ebb254019a3bb72ce3bdf4d0a9be74 [1659/1659] mm/vmalloc: add vmap_range_noflush variant
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20250606/202506061633.Zsp5yfyi-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506061633.Zsp5yfyi-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506061633.Zsp5yfyi-lkp@intel.com/
All warnings (new ones prefixed by >>):
   mm/vmalloc.c: In function 'vmap_range_noflush':
>> mm/vmalloc.c:217:23: warning: variable 'start' set but not used [-Wunused-but-set-variable]
     217 |         unsigned long start;
         |                       ^~~~~
   mm/vmalloc.c: At top level:
   mm/vmalloc.c:1417:6: warning: no previous prototype for 'set_iounmap_nonlazy' [-Wmissing-prototypes]
    1417 | void set_iounmap_nonlazy(void)
         |      ^~~~~~~~~~~~~~~~~~~
   In file included from arch/arm64/include/asm/atomic.h:36,
                    from include/linux/atomic.h:7,
                    from include/asm-generic/bitops/atomic.h:5,
                    from arch/arm64/include/asm/bitops.h:37,
                    from include/linux/bitops.h:19,
                    from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:51,
                    from include/linux/vmalloc.h:5,
                    from mm/vmalloc.c:11:
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'find_vmap_area' at mm/vmalloc.c:1519:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   In file included from include/linux/spinlock.h:82:
   mm/vmalloc.c: In function 'find_vmap_area':
   mm/vmalloc.c:557:24: note: object 'vmap_area_lock' of size 4
     557 | static DEFINE_SPINLOCK(vmap_area_lock);
         |                        ^~~~~~~~~~~~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'find_vmap_area' at mm/vmalloc.c:1519:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/vmalloc.c: In function 'find_vmap_area':
   mm/vmalloc.c:557:24: note: object 'vmap_area_lock' of size 4
     557 | static DEFINE_SPINLOCK(vmap_area_lock);
         |                        ^~~~~~~~~~~~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'setup_vmalloc_vm' at mm/vmalloc.c:2111:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/vmalloc.c: In function 'setup_vmalloc_vm':
   mm/vmalloc.c:557:24: note: object 'vmap_area_lock' of size 4
     557 | static DEFINE_SPINLOCK(vmap_area_lock);
         |                        ^~~~~~~~~~~~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'setup_vmalloc_vm' at mm/vmalloc.c:2111:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/vmalloc.c: In function 'setup_vmalloc_vm':
   mm/vmalloc.c:557:24: note: object 'vmap_area_lock' of size 4
     557 | static DEFINE_SPINLOCK(vmap_area_lock);
         |                        ^~~~~~~~~~~~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
vim +/start +217 mm/vmalloc.c
004cface9c1c0b Nicholas Piggin 2021-10-29  211  
3eb01faed2ebb2 Nicholas Piggin 2021-10-29  212  static int vmap_range_noflush(unsigned long addr, unsigned long end,
004cface9c1c0b Nicholas Piggin 2021-10-29  213  			phys_addr_t phys_addr, pgprot_t prot,
004cface9c1c0b Nicholas Piggin 2021-10-29  214  			unsigned int max_page_shift)
004cface9c1c0b Nicholas Piggin 2021-10-29  215  {
004cface9c1c0b Nicholas Piggin 2021-10-29  216  	pgd_t *pgd;
004cface9c1c0b Nicholas Piggin 2021-10-29 @217  	unsigned long start;
004cface9c1c0b Nicholas Piggin 2021-10-29  218  	unsigned long next;
004cface9c1c0b Nicholas Piggin 2021-10-29  219  	int err;
004cface9c1c0b Nicholas Piggin 2021-10-29  220  
004cface9c1c0b Nicholas Piggin 2021-10-29  221  	might_sleep();
004cface9c1c0b Nicholas Piggin 2021-10-29  222  	BUG_ON(addr >= end);
004cface9c1c0b Nicholas Piggin 2021-10-29  223  
004cface9c1c0b Nicholas Piggin 2021-10-29  224  	start = addr;
004cface9c1c0b Nicholas Piggin 2021-10-29  225  	pgd = pgd_offset_k(addr);
004cface9c1c0b Nicholas Piggin 2021-10-29  226  	do {
004cface9c1c0b Nicholas Piggin 2021-10-29  227  		next = pgd_addr_end(addr, end);
004cface9c1c0b Nicholas Piggin 2021-10-29  228  		err = vmap_p4d_range(pgd, addr, next, phys_addr, prot, max_page_shift);
004cface9c1c0b Nicholas Piggin 2021-10-29  229  		if (err)
004cface9c1c0b Nicholas Piggin 2021-10-29  230  			break;
004cface9c1c0b Nicholas Piggin 2021-10-29  231  	} while (pgd++, phys_addr += (next - addr), addr = next, addr != end);
004cface9c1c0b Nicholas Piggin 2021-10-29  232  
3eb01faed2ebb2 Nicholas Piggin 2021-10-29  233  	return err;
3eb01faed2ebb2 Nicholas Piggin 2021-10-29  234  }
3eb01faed2ebb2 Nicholas Piggin 2021-10-29  235  
:::::: The code at line 217 was first introduced by commit
:::::: 004cface9c1c0b6351473934a4ce452193e05b07 mm: Move vmap_range from mm/ioremap.c to mm/vmalloc.c
:::::: TO: Nicholas Piggin <npiggin(a)gmail.com>
:::::: CC: Yang Yingliang <yangyingliang(a)huawei.com>
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0
                            
                          
                          
                            
    
                          
                        
                    
                        
                            
                                
                            
                            [openeuler:openEuler-1.0-LTS 1659/1659] mm/page_alloc.c:3005: warning: Function parameter or member 'mt' not described in '__putback_isolated_page'
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        Hi Alexander,
FYI, the error/warning still remains.
tree:   https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head:   89f3a2595f2e3f14f976811d203bd8f55ff4eada
commit: 91bac2310ae7eca9d9869222c96fcc3d02851eea [1659/1659] mm: add function __putback_isolated_page
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20250606/202506061449.nBm6oAvj-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506061449.nBm6oAvj-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506061449.nBm6oAvj-lkp@intel.com/
All warnings (new ones prefixed by >>):
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from '__build_all_zonelists' at mm/page_alloc.c:5529:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/page_alloc.c: In function '__build_all_zonelists':
   mm/page_alloc.c:5527:32: note: object 'lock' of size 4
    5527 |         static DEFINE_SPINLOCK(lock);
         |                                ^~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'adjust_managed_page_count' at mm/page_alloc.c:7188:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/page_alloc.c: In function 'adjust_managed_page_count':
   mm/page_alloc.c:127:24: note: object 'managed_page_count_lock' of size 4
     127 | static DEFINE_SPINLOCK(managed_page_count_lock);
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'adjust_managed_page_count' at mm/page_alloc.c:7188:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/page_alloc.c: In function 'adjust_managed_page_count':
   mm/page_alloc.c:127:24: note: object 'managed_page_count_lock' of size 4
     127 | static DEFINE_SPINLOCK(managed_page_count_lock);
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'setup_per_zone_wmarks' at mm/page_alloc.c:7504:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/page_alloc.c: In function 'setup_per_zone_wmarks':
   mm/page_alloc.c:7502:32: note: object 'lock' of size 4
    7502 |         static DEFINE_SPINLOCK(lock);
         |                                ^~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
   In function '__cmpxchg_case_acq_4',
       inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
       inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
       inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
       inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
       inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
       inlined from 'setup_per_zone_wmarks' at mm/page_alloc.c:7504:2:
   arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
     259 |         asm volatile(                                                   \
         |         ^~~
   arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
     283 | __CMPXCHG_CASE(w,  , acq_4,        , a,  , "memory")
         | ^~~~~~~~~~~~~~
   mm/page_alloc.c: In function 'setup_per_zone_wmarks':
   mm/page_alloc.c:7502:32: note: object 'lock' of size 4
    7502 |         static DEFINE_SPINLOCK(lock);
         |                                ^~~~
   include/linux/spinlock_types.h:81:44: note: in definition of macro 'DEFINE_SPINLOCK'
      81 | #define DEFINE_SPINLOCK(x)      spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
         |                                            ^
>> mm/page_alloc.c:3005: warning: Function parameter or member 'mt' not described in '__putback_isolated_page'
vim +3005 mm/page_alloc.c
  2995	
  2996	/**
  2997	 * __putback_isolated_page - Return a now-isolated page back where we got it
  2998	 * @page: Page that was isolated
  2999	 * @order: Order of the isolated page
  3000	 *
  3001	 * This function is meant to return a page pulled from the free lists via
  3002	 * __isolate_free_page back to the free lists they were pulled from.
  3003	 */
  3004	void __putback_isolated_page(struct page *page, unsigned int order, int mt)
> 3005	{
  3006		struct zone *zone = page_zone(page);
  3007	
  3008		/* zone lock should be held when this function is called */
  3009		lockdep_assert_held(&zone->lock);
  3010	
  3011		/* Return isolated page to tail of freelist. */
  3012		__free_one_page(page, page_to_pfn(page), zone, order, mt);
  3013	}
  3014	
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0
                            
                          
                          
                            
    
                          
                        
                    
                        
                            
                                
                            
                            [openeuler:OLK-6.6 2368/2368] arm-smmu-v3.c:undefined reference to `mpam_register_requestor'
                        
                        
by kernel test robot 06 Jun '25
                    by kernel test robot 06 Jun '25
06 Jun '25
                    
                        tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   98afdf0c3d90d25408acc748fef15202f4864b40
commit: 4c56f8ef604b87b22207c39fe844294a56f6874d [2368/2368] iommu/arm-smmu-v3: Register SMMU capabilities with MPAM
config: arm64-randconfig-r054-20250606 (https://download.01.org/0day-ci/archive/20250606/202506061331.jqvAMh0M-lkp@…)
compiler: aarch64-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506061331.jqvAMh0M-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506061331.jqvAMh0M-lkp@intel.com/
All errors (new ones prefixed by >>):
   aarch64-linux-ld: rdtgroup.c:(.text+0x4dd8): undefined reference to `resctrl_arch_set_cpu_default_closid_rmid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e20): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `resctrl_arch_sync_cpu_defaults' which may bind externally can not be used when making a shared object; recompile with -fPIC
   rdtgroup.c:(.text+0x4e20): dangerous relocation: unsupported relocation
   aarch64-linux-ld: rdtgroup.c:(.text+0x4e24): undefined reference to `resctrl_arch_sync_cpu_defaults'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_rdt_prepare':
   rdtgroup.c:(.text+0x4fdc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_mkdir':
   rdtgroup.c:(.text+0x50ac): undefined reference to `resctrl_arch_alloc_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x51cc): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5248): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x52a0): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_domain':
   rdtgroup.c:(.text+0x544c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: rdtgroup.c:(.text+0x54fc): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_online_domain':
   rdtgroup.c:(.text+0x55c8): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: rdtgroup.c:(.text+0x567c): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5684): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5690): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x56e0): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5778): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: rdtgroup.c:(.text+0x57e4): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_offline_cpu':
   rdtgroup.c:(.text+0x5960): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: rdtgroup.c:(.text+0x5ae0): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `resctrl_init':
   rdtgroup.c:(.text+0x5bcc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `parse_bw':
   ctrlmondata.c:(.text+0x168): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x1e8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_write':
   ctrlmondata.c:(.text+0x888): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0x8a4): undefined reference to `resctrl_arch_update_domains'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_schemata_show':
   ctrlmondata.c:(.text+0xb0c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xb64): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `mon_event_read':
   ctrlmondata.c:(.text+0xc54): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xca0): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/ctrlmondata.o: in function `rdtgroup_mondata_show':
   ctrlmondata.c:(.text+0xd10): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: ctrlmondata.c:(.text+0xd1c): undefined reference to `resctrl_arch_find_domain'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__mon_event_count':
   monitor.c:(.text+0x54): undefined reference to `resctrl_arch_reset_rmid'
   aarch64-linux-ld: monitor.c:(.text+0x68): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xc4): undefined reference to `resctrl_arch_rmid_read'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_update':
   monitor.c:(.text+0x11c): undefined reference to `resctrl_arch_is_mbm_total_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x138): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x184): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: monitor.c:(.text+0x188): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x1a4): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x1f8): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x23c): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x2bc): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `__check_limbo':
   monitor.c:(.text+0x324): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x32c): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: monitor.c:(.text+0x344): undefined reference to `resctrl_arch_mon_ctx_alloc'
   aarch64-linux-ld: monitor.c:(.text+0x3ec): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x40c): undefined reference to `resctrl_arch_rmid_read'
   aarch64-linux-ld: monitor.c:(.text+0x4d8): undefined reference to `resctrl_arch_mon_ctx_free'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `has_busy_rmid':
   monitor.c:(.text+0x510): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `alloc_rmid':
   monitor.c:(.text+0x5e4): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x5f4): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `free_rmid':
   monitor.c:(.text+0x90c): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x91c): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x948): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x950): undefined reference to `resctrl_arch_is_llc_occupancy_enabled'
   aarch64-linux-ld: monitor.c:(.text+0x960): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0x974): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_handle_overflow':
   monitor.c:(.text+0xad4): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: monitor.c:(.text+0xaf0): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xb8c): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xbec): undefined reference to `resctrl_arch_is_mbm_local_enabled'
   aarch64-linux-ld: monitor.c:(.text+0xbfc): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xc18): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0xce8): undefined reference to `resctrl_arch_get_config'
   aarch64-linux-ld: monitor.c:(.text+0xd84): undefined reference to `resctrl_arch_update_one'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `mbm_setup_overflow_handler':
   monitor.c:(.text+0xe4c): undefined reference to `resctrl_arch_mon_capable'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `resctrl_mon_resource_init':
   monitor.c:(.text+0xf50): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: monitor.c:(.text+0xf98): undefined reference to `resctrl_arch_system_num_rmid_idx'
   aarch64-linux-ld: monitor.c:(.text+0xfa8): undefined reference to `resctrl_arch_get_num_closid'
   aarch64-linux-ld: monitor.c:(.text+0x1028): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x1074): undefined reference to `resctrl_arch_rmid_idx_encode'
   aarch64-linux-ld: monitor.c:(.text+0x108c): undefined reference to `resctrl_arch_rmid_idx_decode'
   aarch64-linux-ld: monitor.c:(.text+0x10c8): undefined reference to `resctrl_arch_mon_resource_init'
   aarch64-linux-ld: fs/resctrl/monitor.o: in function `resctrl_mon_resource_exit':
   monitor.c:(.text+0x1110): undefined reference to `resctrl_arch_get_resource'
   aarch64-linux-ld: fs/resctrl/psuedo_lock.o: in function `rdtgroup_locksetup_enter':
   psuedo_lock.c:(.text+0x3ec): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: psuedo_lock.c:(.text+0x40c): undefined reference to `resctrl_arch_get_cdp_enabled'
   aarch64-linux-ld: drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.o: in function `arm_smmu_device_hw_probe':
>> arm-smmu-v3.c:(.text+0x2954): undefined reference to `mpam_register_requestor'
Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for RESCTRL_FS
   Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y]
   Selected by [y]:
   - ARM64_MPAM [=y]
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
                    
                  
                  
                          
                            
                            1
                            
                          
                          
                            
                            0