From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Riana Tauro <riana.tauro@intel.com>
Subject: drivers/gpu/drm/xe/xe_psmi.c:272:undefined reference to `xe_configfs_get_psmi_enabled'
Date: Thu, 15 Oct 2026 02:00:18 +0200 [thread overview]
Message-ID: <202610150105.Qrn2hmhO-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0fcb05b72344f40806cbe810de8872f1698bf053
commit: afe902848b417da81f60b3d15cbae40a67286dbf drm/xe/configfs: Allow to enable PSMI
date: 1 year, 2 months ago
config: xtensa-randconfig-r2305-20261014 (https://download.01.org/0day-ci/archive/20261015/202610150105.Qrn2hmhO-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 15.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261015/202610150105.Qrn2hmhO-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
| Fixes: afe902848b41 ("drm/xe/configfs: Allow to enable PSMI")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610150105.Qrn2hmhO-lkp@intel.com/
All errors (new ones prefixed by >>):
xtensa-linux-ld: section .text VMA [00003000,0193c6fb] overlaps section .data VMA [00000000,0032a2ff]
xtensa-linux-ld: section .init.data VMA [0032a300,0033362b] overlaps section .text VMA [00003000,0193c6fb]
arch/xtensa/kernel/entry.o: in function `fast_syscall_spill_registers':
arch/xtensa/kernel/entry.S:1424:(.exception.text+0x1e7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: make_task_dead
xtensa-linux-ld: drivers/gpu/drm/xe/xe_guc.o: in function `xe_guc_init':
drivers/gpu/drm/xe/xe_guc.c:840:(.text+0x1b98): undefined reference to `xe_configfs_get_psmi_enabled'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_guc.o: in function `xe_guc_init_post_hwconfig':
drivers/gpu/drm/xe/xe_guc.c:91:(.text+0x1e43): undefined reference to `xe_configfs_get_psmi_enabled'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_hw_engine.o: in function `xe_hw_engine_setup_default_lrc_state':
drivers/gpu/drm/xe/xe_hw_engine.c:828:(.text+0x10cc): undefined reference to `xe_configfs_get_engines_allowed'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_hw_engine.o: in function `xe_hw_engines_init_early':
drivers/gpu/drm/xe/xe_hw_engine.c:812:(.text+0x1606): undefined reference to `xe_configfs_get_engines_allowed'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.rodata+0x8): undefined reference to `xe_configfs_init'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.rodata+0xc): undefined reference to `xe_configfs_exit'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_psmi.o: in function `psmi_debugfs_capture_addr_show':
>> drivers/gpu/drm/xe/xe_psmi.c:272:(.text+0x944): undefined reference to `xe_configfs_get_psmi_enabled'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_psmi.o: in function `xe_psmi_debugfs_register':
drivers/gpu/drm/xe/xe_psmi.c:36:(.text+0x972): undefined reference to `xe_configfs_get_psmi_enabled'
>> xtensa-linux-ld: drivers/gpu/drm/xe/xe_psmi.c:301:(.text+0xa04): undefined reference to `xe_configfs_get_psmi_enabled'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_psmi.o: in function `xe_psmi_init':
drivers/gpu/drm/xe/xe_psmi.c:36:(.text+0xa28): undefined reference to `xe_configfs_get_psmi_enabled'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_rtp.o: in function `xe_rtp_match_not_sriov_vf':
>> drivers/gpu/drm/xe/xe_rtp.c:370:(.text+0x1404): undefined reference to `xe_configfs_get_psmi_enabled'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_rtp.o:drivers/gpu/drm/xe/xe_rtp.c:371: more undefined references to `xe_configfs_get_psmi_enabled' follow
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o:drivers/gpu/drm/xe/xe_survivability_mode.c:145:(.text+0x44): undefined reference to `xe_configfs_clear_survivability_mode'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_survivability_mode_fini':
drivers/gpu/drm/xe/xe_survivability_mode.c:150:(.text+0x5a): undefined reference to `xe_configfs_clear_survivability_mode'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_survivability_mode_is_enabled':
drivers/gpu/drm/xe/xe_survivability_mode.c:217:(.text+0x3d4): undefined reference to `xe_configfs_get_survivability_mode'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.c:217:(.text+0x3ec): undefined reference to `xe_configfs_clear_survivability_mode'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_survivability_mode_is_requested':
drivers/gpu/drm/xe/xe_survivability_mode.c:227:(.text+0x453): undefined reference to `xe_configfs_get_survivability_mode'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.c:232:(.text+0x496): undefined reference to `xe_configfs_clear_survivability_mode'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.c:258:(.text+0x5a8): undefined reference to `xe_configfs_clear_survivability_mode'
xtensa-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_survivability_mode_enable':
drivers/gpu/drm/xe/xe_survivability_mode.c:150:(.text+0x73f): undefined reference to `xe_configfs_clear_survivability_mode'
vim +272 drivers/gpu/drm/xe/xe_psmi.c
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 260
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 261 DEFINE_DEBUGFS_ATTRIBUTE(psmi_debugfs_capture_region_mask_fops,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 262 psmi_debugfs_capture_region_mask_get,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 263 psmi_debugfs_capture_region_mask_set,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 264 "0x%llx\n");
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 265
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 266 DEFINE_DEBUGFS_ATTRIBUTE(psmi_debugfs_capture_size_fops,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 267 psmi_debugfs_capture_size_get,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 268 psmi_debugfs_capture_size_set,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 269 "%lld\n");
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 270
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 271 void xe_psmi_debugfs_register(struct xe_device *xe)
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 @272 {
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 273 struct drm_minor *minor;
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 274
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 275 if (!psmi_enabled(xe))
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 276 return;
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 277
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 278 minor = xe->drm.primary;
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 279 if (!minor->debugfs_root)
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 280 return;
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 281
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 282 debugfs_create_file("psmi_capture_addr",
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 283 0400, minor->debugfs_root, xe,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 284 &psmi_debugfs_capture_addr_fops);
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 285
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 286 debugfs_create_file("psmi_capture_region_mask",
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 287 0600, minor->debugfs_root, xe,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 288 &psmi_debugfs_capture_region_mask_fops);
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 289
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 290 debugfs_create_file("psmi_capture_size",
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 291 0600, minor->debugfs_root, xe,
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 292 &psmi_debugfs_capture_size_fops);
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 293 }
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 294
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 295 static void psmi_fini(void *arg)
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 296 {
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 297 psmi_cleanup(arg);
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 298 }
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 299
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 300 int xe_psmi_init(struct xe_device *xe)
aaa0c1f50a3d3fc Lucas De Marchi 2025-08-21 @301 {
:::::: The code at line 272 was first introduced by commit
:::::: aaa0c1f50a3d3fc1624360eaeb7fe69af62f7107 drm/xe/psmi: Add debugfs interface for PSMI
:::::: TO: Lucas De Marchi <lucas.demarchi@intel.com>
:::::: CC: Lucas De Marchi <lucas.demarchi@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-15 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610150105.Qrn2hmhO-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=riana.tauro@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®