Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Patchwork <patchwork@emeril.freedesktop.org>
To: "Honglei Huang" <honghuan@amd.com>
Cc: intel-xe@lists.freedesktop.org
Subject: ✗ CI.KUnit: failure for drm/gpusvm: share one HMM fault and keep single mappings inline
Date: Fri, 04 Sep 2026 16:48:09 -0000	[thread overview]
Message-ID: <178854048972.124366.1071014929577863269@61270ab9df2a> (raw)
In-Reply-To: <20260904163956.3433293-1-honghuan@amd.com>

== Series Details ==

Series: drm/gpusvm: share one HMM fault and keep single mappings inline
URL   : https://patchwork.freedesktop.org/series/173405/
State : failure

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[16:47:03] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:47:07] 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
[16:47:28] Starting KUnit Kernel (1/1)...
[16:47:28] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[16:47:28] ============= refcount_interrupt (4 subtests) ==============
[16:47:28] [PASSED] test_single_irq_change
[16:47:28] [PASSED] test_nested_irq_change
[16:47:28] [PASSED] test_multiple_irq_change
[16:47:28] [PASSED] test_irq_save
[16:47:28] =============== [PASSED] refcount_interrupt ================
[16:47:28] ================= gpu_buddy (14 subtests) ==================
[16:47:28] [PASSED] gpu_test_buddy_alloc_limit
[16:47:28] [PASSED] gpu_test_buddy_alloc_optimistic
[16:47:28] [PASSED] gpu_test_buddy_alloc_pessimistic
[16:47:28] [PASSED] gpu_test_buddy_alloc_pathological
[16:47:28] [PASSED] gpu_test_buddy_alloc_contiguous
[16:47:28] [PASSED] gpu_test_buddy_alloc_clear
[16:47:28] [PASSED] gpu_test_buddy_alloc_range
[16:47:29] [PASSED] gpu_test_buddy_alloc_range_bias
[16:47:29] [PASSED] gpu_test_buddy_fragmentation_performance
[16:47:30] [PASSED] gpu_test_buddy_dirty_tracker_performance
[16:47:30] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[16:47:30] [PASSED] gpu_test_buddy_offset_aligned_allocation
[16:47:30] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[16:47:30] [PASSED] gpu_test_buddy_addr_to_block
[16:47:30] ==================== [PASSED] gpu_buddy ====================
[16:47:30] ============================================================
[16:47:30] Testing complete. Ran 18 tests: passed: 18
[16:47:30] Elapsed time: 27.063s total, 4.380s configuring, 20.765s building, 1.874s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
ERROR:root:../drivers/gpu/drm/xe/xe_pt.c: In function ‘xe_pt_stage_bind’:
../drivers/gpu/drm/xe/xe_pt.c:837:59: error: passing argument 1 of ‘drm_gpusvm_pages_first_dma’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  837 |                         addr = drm_gpusvm_pages_first_dma(&range->pages,
      |                                                           ^~~~~~~~~~~~~
      |                                                           |
      |                                                           struct <anonymous> *
In file included from ../drivers/gpu/drm/xe/xe_bo_types.h:11,
                 from ../drivers/gpu/drm/xe/xe_bo.h:12,
                 from ../drivers/gpu/drm/xe/xe_pt.c:9:
../include/drm/drm_gpusvm.h:406:59: note: expected ‘const struct drm_gpusvm_pages *’ but argument is of type ‘struct <anonymous> *’
  406 | drm_gpusvm_pages_first_dma(const struct drm_gpusvm_pages *svm_pages,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:290: drivers/gpu/drm/xe/xe_pt.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [../scripts/Makefile.build:551: drivers/gpu/drm/xe] Error 2
make[5]: *** [../scripts/Makefile.build:551: drivers/gpu/drm] Error 2
make[4]: *** [../scripts/Makefile.build:551: drivers/gpu] Error 2
make[3]: *** [../scripts/Makefile.build:551: drivers] Error 2
make[2]: *** [/kernel/Makefile:2229: .] Error 2
make[1]: *** [/kernel/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2

[16:47:30] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:47:32] 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



      parent reply	other threads:[~2026-09-04 16:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04 16:39 [PATCH v3 0/6] drm/gpusvm: share one HMM fault and keep single mappings inline Honglei Huang
2026-09-04 16:39 ` [PATCH v3 1/6] drm/gpusvm: move dma_addr allocation before the notifier lock Honglei Huang
2026-09-04 16:39 ` [PATCH v3 2/6] drm/gpusvm: extract drm_gpusvm_dma_map_pages() helper Honglei Huang
2026-09-04 16:39 ` [PATCH v3 3/6] drm/gpusvm: let drm_gpusvm_get_pages() map an array of pages Honglei Huang
2026-09-04 17:21   ` Matthew Brost
2026-09-04 16:39 ` [PATCH v3 4/6] drm/gpusvm: make the DMA mapping step in get_pages() optional Honglei Huang
2026-09-04 16:39 ` [PATCH v3 5/6] drm/gpusvm: keep a single DMA mapping inline for THP Honglei Huang
2026-09-04 16:58   ` sashiko-bot
2026-09-04 17:13     ` Matthew Brost
2026-09-05 13:27       ` Huang, Honglei
2026-09-04 17:16   ` Matthew Brost
2026-09-04 16:39 ` [PATCH v3 6/6] drm/gpusvm: keep an IOVA mapped range dma address inline Honglei Huang
2026-09-04 17:20   ` Matthew Brost
2026-09-04 16:48 ` Patchwork [this message]

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=178854048972.124366.1071014929577863269@61270ab9df2a \
    --to=patchwork@emeril.freedesktop.org \
    --cc=honghuan@amd.com \
    --cc=intel-xe@lists.freedesktop.org \
    /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