powerpc64-linux-ld: xe_pci.c:undefined reference to `xe_configfs_media_gt_allowed'

kernel test robot
2025-12-19T00:19:37Z

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dd9b004b7ff3289fb7bae35130c0a5c0537266af
commit: 7abd69278bb53ab6b43f9650daba550cc7624858 drm/xe/configfs: Add attribute to disable GT types
date: 9 weeks ago
config: powerpc64-randconfig-r053-20251218 (https://download.01.org/0day-ci/archive/20251219/202512190827.IeXYj4qg-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251219/202512190827.IeXYj4qg-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512190827.IeXYj4qg-lkp@intel.com/

All errors (new ones prefixed by >>):

powerpc64-linux-ld: warning: discarding dynamic section .glink
powerpc64-linux-ld: warning: discarding dynamic section .plt
powerpc64-linux-ld: linkage table error against `xe_configfs_get_survivability_mode'
powerpc64-linux-ld: stubs don't match calculated size
powerpc64-linux-ld: can not build stubs: bad value
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_guc.o: in function `xe_guc_init_post_hwconfig':
xe_guc.c:(.text+0x2f08): undefined reference to `xe_configfs_get_psmi_enabled'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_hw_engine.o: in function `xe_hw_engines_init_early':
xe_hw_engine.c:(.text+0xed4): undefined reference to `xe_configfs_get_engines_allowed'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_lrc.o: in function `setup_configfs_post_ctx_restore_bb':
xe_lrc.c:(.text+0xb28): undefined reference to `xe_configfs_get_ctx_restore_post_bb'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_lrc.o: in function `setup_configfs_mid_ctx_restore_bb':
xe_lrc.c:(.text+0xbb8): undefined reference to `xe_configfs_get_ctx_restore_mid_bb'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_lrc.o: in function `xe_lrc_init':
xe_lrc.c:(.text+0x3300): undefined reference to `xe_configfs_get_ctx_restore_mid_bb'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.data.rel.ro+0x10): undefined reference to `xe_configfs_init'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.data.rel.ro+0x18): undefined reference to `xe_configfs_exit'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_pci.o: in function `xe_info_init':
xe_pci.c:(.text+0x12ac): undefined reference to `xe_configfs_primary_gt_allowed'
>> powerpc64-linux-ld: xe_pci.c:(.text+0x1388): undefined reference to `xe_configfs_media_gt_allowed'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_pci.o: in function `xe_pci_probe':
xe_pci.c:(.text+0x1724): undefined reference to `xe_configfs_check_device'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_psmi.o: in function `xe_psmi_debugfs_register':
xe_psmi.c:(.text+0x508): undefined reference to `xe_configfs_get_psmi_enabled'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_psmi.o: in function `xe_psmi_init':
xe_psmi.c:(.text+0x5c4): undefined reference to `xe_configfs_get_psmi_enabled'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_rtp.o: in function `xe_rtp_match_psmi_enabled':
xe_rtp.c:(.text+0xb34): undefined reference to `xe_configfs_get_psmi_enabled'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_survivability_mode_is_requested':
xe_survivability_mode.c:(.text+0x434): undefined reference to `xe_configfs_get_survivability_mode'
powerpc64-linux-ld: drivers/gpu/drm/xe/xe_sriov_pf.o: in function `xe_sriov_pf_readiness':
xe_sriov_pf.c:(.text+0x2a0): undefined reference to `xe_configfs_get_max_vfs'

--
0-DAY CI Kernel Test Service