[openeuler:OLK-6.6 2368/2368] mpam.c:undefined reference to `resctrl_arch_get_resource'

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: b252849e2320fe952d448bcb2d23699e357b3d54 commit: 2c4d4c6c01d4d42c3b39ddbf8687ac246b6908d6 [2368/2368] arm64/mpam: Refuse to enter powerdown state after L2 msc updated config: arm64-randconfig-r054-20250606 (https://download.01.org/0day-ci/archive/20250606/202506062241.Z2ZA94Wb-lkp@i...) compiler: aarch64-linux-gcc (GCC) 9.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250606/202506062241.Z2ZA94Wb-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202506062241.Z2ZA94Wb-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 `mpam_pm_notifier':
mpam.c:(.text+0x74): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: arch/arm64/kernel/mpam.o: in function `arm64_mpam_register_cpus': mpam.c:(.init.text+0x68): 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+0x16d8): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: rdtgroup.c:(.text+0x16e0): undefined reference to `resctrl_arch_get_num_closid' aarch64-linux-ld: rdtgroup.c:(.text+0x1700): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_disable_ctx': rdtgroup.c:(.text+0x17d0): undefined reference to `resctrl_arch_set_cdp_enabled' aarch64-linux-ld: rdtgroup.c:(.text+0x17dc): undefined reference to `resctrl_arch_set_cdp_enabled' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_mondata_all': rdtgroup.c:(.text+0x1864): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `mkdir_rdt_prepare_rmid_alloc': rdtgroup.c:(.text+0x1954): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `schemata_list_add': rdtgroup.c:(.text+0x1a3c): undefined reference to `resctrl_arch_get_num_closid' aarch64-linux-ld: rdtgroup.c:(.text+0x1a4c): undefined reference to `resctrl_arch_get_cdp_enabled' aarch64-linux-ld: rdtgroup.c:(.text+0x1b0c): 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+0x1d9c): undefined reference to `resctrl_arch_alloc_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x1dbc): 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+0x1f10): undefined reference to `resctrl_arch_set_closid_rmid' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdtgroup_rename': rdtgroup.c:(.text+0x2288): 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+0x2288): dangerous relocation: unsupported relocation aarch64-linux-ld: rdtgroup.c:(.text+0x2290): undefined reference to `resctrl_arch_sync_cpu_defaults' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_kill_sb': rdtgroup.c:(.text+0x2340): undefined reference to `resctrl_arch_reset_resources' aarch64-linux-ld: rdtgroup.c:(.text+0x2454): 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+0x2454): dangerous relocation: unsupported relocation aarch64-linux-ld: rdtgroup.c:(.text+0x245c): undefined reference to `resctrl_arch_sync_cpu_defaults' aarch64-linux-ld: rdtgroup.c:(.text+0x249c): undefined reference to `resctrl_arch_alloc_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x24a0): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_get_tree': rdtgroup.c:(.text+0x2530): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: rdtgroup.c:(.text+0x25cc): undefined reference to `resctrl_arch_set_cdp_enabled' aarch64-linux-ld: rdtgroup.c:(.text+0x2604): undefined reference to `resctrl_arch_set_cdp_enabled' aarch64-linux-ld: rdtgroup.c:(.text+0x263c): undefined reference to `resctrl_arch_set_cdp_enabled' aarch64-linux-ld: rdtgroup.c:(.text+0x2670): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: rdtgroup.c:(.text+0x26b0): undefined reference to `resctrl_arch_set_cdp_enabled' aarch64-linux-ld: rdtgroup.c:(.text+0x26bc): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: rdtgroup.c:(.text+0x26f8): undefined reference to `resctrl_arch_get_cdp_enabled' aarch64-linux-ld: rdtgroup.c:(.text+0x278c): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x2878): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: rdtgroup.c:(.text+0x28fc): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x2958): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x2968): undefined reference to `resctrl_arch_alloc_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x296c): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x2970): undefined reference to `resctrl_arch_alloc_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x2988): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: rdtgroup.c:(.text+0x29a4): undefined reference to `resctrl_arch_would_mbm_overflow' aarch64-linux-ld: rdtgroup.c:(.text+0x29e8): undefined reference to `resctrl_arch_mon_capable' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `rdt_staged_configs_clear': rdtgroup.c:(.text+0x2be4): undefined reference to `resctrl_arch_get_resource' aarch64-linux-ld: fs/resctrl/rdtgroup.o: in function `__rdtgroup_cbm_overlaps':
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
participants (1)
-
kernel test robot