✗ CI.KUnit: failure for Offload GGTT binding to migration engine.

Patchwork patchwork at emeril.freedesktop.org
Fri Apr 4 22:21:14 UTC 2025


== Series Details ==

Series: Offload GGTT binding to migration engine.
URL   : https://patchwork.freedesktop.org/series/147283/
State : failure

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
ERROR:root:In file included from ../include/kunit/static_stub.h:18,
                 from ../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c:6,
                 from ../drivers/gpu/drm/xe/xe_guc_buf.c:175:
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c: In function ‘replacement_xe_managed_bo_create_pin_map’:
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c:45:66: error: invalid use of undefined type ‘struct xe_ggtt’
   45 |                                 drm_mm_insert_node_in_range(&ggtt->mm,
      |                                                                  ^~
../include/kunit/test.h:776:22: note: in definition of macro ‘KUNIT_BASE_BINARY_ASSERTION’
  776 |         const typeof(right) __right = (right);                                 \
      |                      ^~~~~
../include/kunit/test.h:1350:9: note: in expansion of macro ‘KUNIT_BINARY_INT_ASSERTION’
 1350 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:1347:9: note: in expansion of macro ‘KUNIT_ASSERT_EQ_MSG’
 1347 |         KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
      |         ^~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c:44:17: note: in expansion of macro ‘KUNIT_ASSERT_EQ’
   44 |                 KUNIT_ASSERT_EQ(test, 0,
      |                 ^~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c:45:66: error: invalid use of undefined type ‘struct xe_ggtt’
   45 |                                 drm_mm_insert_node_in_range(&ggtt->mm,
      |                                                                  ^~
../include/kunit/test.h:776:40: note: in definition of macro ‘KUNIT_BASE_BINARY_ASSERTION’
  776 |         const typeof(right) __right = (right);                                 \
      |                                        ^~~~~
../include/kunit/test.h:1350:9: note: in expansion of macro ‘KUNIT_BINARY_INT_ASSERTION’
 1350 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:1347:9: note: in expansion of macro ‘KUNIT_ASSERT_EQ_MSG’
 1347 |         KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
      |         ^~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c:44:17: note: in expansion of macro ‘KUNIT_ASSERT_EQ’
   44 |                 KUNIT_ASSERT_EQ(test, 0,
      |                 ^~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c: In function ‘guc_buf_test_init’:
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c:70:26: error: invalid use of undefined type ‘struct xe_ggtt’
   70 |         drm_mm_init(&ggtt->mm, DUT_GGTT_START, DUT_GGTT_SIZE);
      |                          ^~
In file included from ../include/linux/seqlock.h:19,
                 from ../include/linux/mmzone.h:17,
                 from ../include/linux/gfp.h:7,
                 from ../include/drm/drm_managed.h:6,
                 from ../drivers/gpu/drm/xe/xe_guc_buf.c:7:
../drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c:71:25: error: invalid use of undefined type ‘struct xe_ggtt’
   71 |         mutex_init(&ggtt->lock);
      |                         ^~
../include/linux/mutex.h:64:23: note: in definition of macro ‘mutex_init’
   64 |         __mutex_init((mutex), #mutex, &__key);                          \
      |                       ^~~~~
make[7]: *** [../scripts/Makefile.build:207: drivers/gpu/drm/xe/xe_guc_buf.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [../scripts/Makefile.build:465: drivers/gpu/drm/xe] Error 2
make[6]: *** Waiting for unfinished jobs....
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
  156 | u64 ioread64_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
  163 | u64 ioread64_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
  170 | u64 ioread64be_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
  178 | u64 ioread64be_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
  264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
  272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
  280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
  288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~
make[5]: *** [../scripts/Makefile.build:465: drivers/gpu/drm] Error 2
make[4]: *** [../scripts/Makefile.build:465: drivers/gpu] Error 2
make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/kernel/Makefile:1994: .] Error 2
make[1]: *** [/kernel/Makefile:251: __sub-make] Error 2
make: *** [Makefile:251: __sub-make] Error 2

[22:20:45] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[22:20:49] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json 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