✗ CI.KUnit: failure for series starting with [1/2] drm/xe/gt: Add APIs for printing stats over debugfs
Patchwork
patchwork at emeril.freedesktop.org
Tue Aug 6 20:18:47 UTC 2024
== Series Details ==
Series: series starting with [1/2] drm/xe/gt: Add APIs for printing stats over debugfs
URL : https://patchwork.freedesktop.org/series/136950/
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 ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_device.h:11,
from ../drivers/gpu/drm/xe/tests/xe_pci_test.c:13:
../drivers/gpu/drm/xe/xe_gt_stats.h:23:5: warning: no previous prototype for ‘xe_gt_stats_print_info’ [-Wmissing-prototypes]
23 | int xe_gt_stats_print_info(struct xe_gt *gt, struct drm_printer *p)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_gt_stats.h:27:6: warning: no previous prototype for ‘xe_gt_stats_incr’ [-Wmissing-prototypes]
27 | void xe_gt_stats_incr(struct xe_gt *gt, enum xe_gt_counter_stats stat, int incr)
| ^~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_device.h:11,
from ../drivers/gpu/drm/xe/tests/xe_pci_test.c:13:
../drivers/gpu/drm/xe/xe_gt_stats.h: In function ‘xe_gt_stats_print_info’:
../drivers/gpu/drm/xe/xe_gt_stats.h:25:1: error: control reaches end of non-void function [-Werror=return-type]
25 | }
| ^
cc1: some warnings being treated as errors
make[8]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/tests/xe_pci_test.o] Error 1
make[8]: *** Waiting for unfinished jobs....
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_assert.h:13,
from ../drivers/gpu/drm/xe/xe_bb.c:9:
../drivers/gpu/drm/xe/xe_gt_stats.h:23:5: warning: no previous prototype for ‘xe_gt_stats_print_info’ [-Wmissing-prototypes]
23 | int xe_gt_stats_print_info(struct xe_gt *gt, struct drm_printer *p)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_gt_stats.h:27:6: warning: no previous prototype for ‘xe_gt_stats_incr’ [-Wmissing-prototypes]
27 | void xe_gt_stats_incr(struct xe_gt *gt, enum xe_gt_counter_stats stat, int incr)
| ^~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_assert.h:13,
from ../drivers/gpu/drm/xe/xe_bb.c:9:
../drivers/gpu/drm/xe/xe_gt_stats.h: In function ‘xe_gt_stats_print_info’:
../drivers/gpu/drm/xe/xe_gt_stats.h:25:1: error: control reaches end of non-void function [-Werror=return-type]
25 | }
| ^
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_device.h:11,
from ../drivers/gpu/drm/xe/tests/xe_rtp_test.c:16:
../drivers/gpu/drm/xe/xe_gt_stats.h:23:5: warning: no previous prototype for ‘xe_gt_stats_print_info’ [-Wmissing-prototypes]
23 | int xe_gt_stats_print_info(struct xe_gt *gt, struct drm_printer *p)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_gt_stats.h:27:6: warning: no previous prototype for ‘xe_gt_stats_incr’ [-Wmissing-prototypes]
27 | void xe_gt_stats_incr(struct xe_gt *gt, enum xe_gt_counter_stats stat, int incr)
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_bb.o] Error 1
make[7]: *** Waiting for unfinished jobs....
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_device.h:11,
from ../drivers/gpu/drm/xe/tests/xe_rtp_test.c:16:
../drivers/gpu/drm/xe/xe_gt_stats.h: In function ‘xe_gt_stats_print_info’:
../drivers/gpu/drm/xe/xe_gt_stats.h:25:1: error: control reaches end of non-void function [-Werror=return-type]
25 | }
| ^
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_device.h:11,
from ../drivers/gpu/drm/xe/tests/xe_wa_test.c:11:
../drivers/gpu/drm/xe/xe_gt_stats.h:23:5: warning: no previous prototype for ‘xe_gt_stats_print_info’ [-Wmissing-prototypes]
23 | int xe_gt_stats_print_info(struct xe_gt *gt, struct drm_printer *p)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_gt_stats.h:27:6: warning: no previous prototype for ‘xe_gt_stats_incr’ [-Wmissing-prototypes]
27 | void xe_gt_stats_incr(struct xe_gt *gt, enum xe_gt_counter_stats stat, int incr)
| ^~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_device.h:11,
from ../drivers/gpu/drm/xe/tests/xe_wa_test.c:11:
../drivers/gpu/drm/xe/xe_gt_stats.h: In function ‘xe_gt_stats_print_info’:
../drivers/gpu/drm/xe/xe_gt_stats.h:25:1: error: control reaches end of non-void function [-Werror=return-type]
25 | }
| ^
cc1: some warnings being treated as errors
make[8]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/tests/xe_rtp_test.o] Error 1
cc1: some warnings being treated as errors
make[8]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/tests/xe_wa_test.o] Error 1
make[7]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/xe/tests] Error 2
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
from ../drivers/gpu/drm/xe/xe_bo.h:13,
from ../drivers/gpu/drm/xe/xe_bo.c:6:
../drivers/gpu/drm/xe/xe_gt_stats.h:23:5: warning: no previous prototype for ‘xe_gt_stats_print_info’ [-Wmissing-prototypes]
23 | int xe_gt_stats_print_info(struct xe_gt *gt, struct drm_printer *p)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_gt_stats.h:27:6: warning: no previous prototype for ‘xe_gt_stats_incr’ [-Wmissing-prototypes]
27 | void xe_gt_stats_incr(struct xe_gt *gt, enum xe_gt_counter_stats stat, int incr)
| ^~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_gt_types.h:13,
from ../drivers/gpu/drm/xe/xe_device_types.h:17,
from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
from ../drivers/gpu/drm/xe/xe_bo.h:13,
from ../drivers/gpu/drm/xe/xe_bo.c:6:
../drivers/gpu/drm/xe/xe_gt_stats.h: In function ‘xe_gt_stats_print_info’:
../drivers/gpu/drm/xe/xe_gt_stats.h:25:1: error: control reaches end of non-void function [-Werror=return-type]
25 | }
| ^
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_bo.o] Error 1
make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/xe] Error 2
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/drm] Error 2
make[4]: *** [../scripts/Makefile.build:485: drivers/gpu] Error 2
make[4]: *** 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[3]: *** [../scripts/Makefile.build:485: drivers] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/kernel/Makefile:1925: .] Error 2
make[1]: *** [/kernel/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2
[20:18:20] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[20:18:24] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make 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