✗ CI.KUnit: failure for Add debugfs node to expose pcie link state residency

Patchwork patchwork at emeril.freedesktop.org
Thu May 29 20:31:41 UTC 2025


== Series Details ==

Series: Add debugfs node to expose pcie link state residency
URL   : https://patchwork.freedesktop.org/series/149660/
State : failure

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
ERROR:root:../drivers/gpu/drm/xe/xe_debugfs.c: In function ‘read_residency_counter’:
../drivers/gpu/drm/xe/xe_debugfs.c:191:19: error: implicit declaration of function ‘xe_pmt_telem_read’ [-Werror=implicit-function-declaration]
  191 |         int ret = xe_pmt_telem_read(to_pci_dev(xe->drm.dev),
      |                   ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_debugfs.c:192:33: error: implicit declaration of function ‘xe_mmio_read32’; did you mean ‘xe_map_read32’? [-Werror=implicit-function-declaration]
  192 |                                 xe_mmio_read32(mmio, PUNIT_TELEMETRY_GUID),
      |                                 ^~~~~~~~~~~~~~
      |                                 xe_map_read32
../drivers/gpu/drm/xe/xe_debugfs.c:192:54: error: ‘PUNIT_TELEMETRY_GUID’ undeclared (first use in this function)
  192 |                                 xe_mmio_read32(mmio, PUNIT_TELEMETRY_GUID),
      |                                                      ^~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_debugfs.c:192:54: note: each undeclared identifier is reported only once for each function it appears in
../drivers/gpu/drm/xe/xe_debugfs.c: In function ‘dgfx_link_state_residencys_show’:
../drivers/gpu/drm/xe/xe_debugfs.c:211:16: error: implicit declaration of function ‘xe_root_tile_mmio’ [-Werror=implicit-function-declaration]
  211 |         mmio = xe_root_tile_mmio(xe);
      |                ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_debugfs.c:211:14: warning: assignment to ‘struct xe_mmio *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  211 |         mmio = xe_root_tile_mmio(xe);
      |              ^
../drivers/gpu/drm/xe/xe_debugfs.c:214:53: error: ‘PCIE_LINK_L0_RESIDENCY_COUNTER’ undeclared (first use in this function)
  214 |         read_residency_counter(xe, mmio, &link_res, PCIE_LINK_L0_RESIDENCY_COUNTER, "PCIE LINK L0");
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_debugfs.c:218:53: error: ‘PCIE_LINK_L1_RESIDENCY_COUNTER’ undeclared (first use in this function)
  218 |         read_residency_counter(xe, mmio, &link_res, PCIE_LINK_L1_RESIDENCY_COUNTER, "PCIE LINK L1");
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_debugfs.c:222:53: error: ‘PCIE_LINK_L1_2_RESIDENCY_COUNTER’ undeclared (first use in this function)
  222 |         read_residency_counter(xe, mmio, &link_res, PCIE_LINK_L1_2_RESIDENCY_COUNTER, "PCIE LINK L1.2");
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:203: drivers/gpu/drm/xe/xe_debugfs.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [../scripts/Makefile.build:461: drivers/gpu/drm/xe] Error 2
make[5]: *** [../scripts/Makefile.build:461: drivers/gpu/drm] Error 2
make[4]: *** [../scripts/Makefile.build:461: drivers/gpu] Error 2
make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2
make[2]: *** [/kernel/Makefile:2003: .] Error 2
make[1]: *** [/kernel/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2

[20:31:07] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[20:31:11] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel




More information about the Intel-xe mailing list