* [PATCH v8 00/10] KUnit test for VF provisioning error handling
@ 2026-09-15 7:11 Satyanarayana K V P
2026-09-15 7:11 ` [PATCH v8 01/10] drm/xe/guc: Allow to replace xe_guc_mmio_send_recv() with KUNIT stub Satyanarayana K V P
` (13 more replies)
0 siblings, 14 replies; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:11 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
This patchset adds infrastructure and tests to verify that a VF
properly handles malformed or invalid device configuration
responses from the PF.
A VF relies on the PF to provide valid hardware configuration through GuC
KLV responses during initialization. If the PF is misconfigured or
malfunctioning, a VF may receive zero, incomplete, or out-of-range
values for critical resources like GGTT, VRAM, Contexts or Doorbells.
Add KUnit test cases that use the xe_guc_mmio_send_recv() stub to inject
bad KLV responses and verify that VF can survive without crashing for
the invalid configuration data received.
While adding this kunit test, found some missing error handling in the VF
code path for invalid doorbell, GGTT and VRAM configurations. This
patchset also adds the missing error handling to the VF code path.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Satyanarayana K V P (10):
drm/xe/guc: Allow to replace xe_guc_mmio_send_recv() with KUNIT stub
drm/xe/vf: Split submission config query helpers
drm/xe/vf: Add bounds checking for queried context and doorbell counts
drm/xe: Introduce helpers for VRAM alignment
drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range
drm/xe/vf: Add bounds checking for queried GGTT base and size
drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE
drm/xe/vf: Add alignment check for queried VRAM size
drm/xe/ggtt: Add KUNIT stub for xe_ggtt_shift_nodes()
drm/xe/tests: Add KUnit tests for VF provisioning error handling
drivers/gpu/drm/xe/display/xe_fb_pin.c | 2 +-
drivers/gpu/drm/xe/display/xe_initial_plane.c | 2 +-
drivers/gpu/drm/xe/tests/xe_bo.c | 2 +-
drivers/gpu/drm/xe/tests/xe_dma_buf.c | 2 +-
.../gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c | 393 ++++++++++++++++++
drivers/gpu/drm/xe/xe_bo.c | 6 +-
drivers/gpu/drm/xe/xe_device.h | 10 +
drivers/gpu/drm/xe/xe_ggtt.c | 18 +-
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 4 +-
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 113 ++++-
drivers/gpu/drm/xe/xe_guc.c | 5 +
drivers/gpu/drm/xe/xe_query.c | 2 +-
drivers/gpu/drm/xe/xe_svm.c | 2 +-
drivers/gpu/drm/xe/xe_vm.c | 4 +-
14 files changed, 533 insertions(+), 32 deletions(-)
create mode 100644 drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c
--
2.53.0
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH v8 01/10] drm/xe/guc: Allow to replace xe_guc_mmio_send_recv() with KUNIT stub
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
@ 2026-09-15 7:11 ` Satyanarayana K V P
2026-09-15 7:11 ` [PATCH v8 02/10] drm/xe/vf: Split submission config query helpers Satyanarayana K V P
` (12 subsequent siblings)
13 siblings, 0 replies; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:11 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Allow to replace xe_guc_mmio_send_recv() with the stub so we can
exercise more code paths on the fake xe device during kunit tests.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_guc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index c7f8bbd4cb92..992a69e19332 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -6,6 +6,8 @@
#include "xe_guc.h"
#include <linux/iopoll.h>
+#include <kunit/static_stub.h>
+
#include <drm/drm_managed.h>
#include <generated/xe_wa_oob.h>
@@ -1510,6 +1512,9 @@ int xe_guc_mmio_send_recv(struct xe_guc *guc, const u32 *request,
int ret;
int i;
+ KUNIT_STATIC_STUB_REDIRECT(xe_guc_mmio_send_recv, guc, request, len,
+ response_buf);
+
BUILD_BUG_ON(VF_SW_FLAG_COUNT != MED_VF_SW_FLAG_COUNT);
xe_assert(xe, len);
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 02/10] drm/xe/vf: Split submission config query helpers
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
2026-09-15 7:11 ` [PATCH v8 01/10] drm/xe/guc: Allow to replace xe_guc_mmio_send_recv() with KUNIT stub Satyanarayana K V P
@ 2026-09-15 7:11 ` Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 03/10] drm/xe/vf: Add bounds checking for queried context and doorbell counts Satyanarayana K V P
` (11 subsequent siblings)
13 siblings, 0 replies; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:11 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Refactor vf_get_submission_cfg() into separate vf_get_ctxs_cfg()
and vf_get_dbs_cfg() functions which allows independent error
handling and validation for each resource, and improves testability.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 49 +++++++++++++++++++++++------
1 file changed, 40 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index 37899fcf5b22..339ea0d3344c 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -568,11 +568,11 @@ static int vf_get_lmem_info(struct xe_gt *gt)
return size ? 0 : -ENODATA;
}
-static int vf_get_submission_cfg(struct xe_gt *gt)
+static int vf_get_ctxs_cfg(struct xe_gt *gt)
{
struct xe_gt_sriov_vf_selfconfig *config = >->sriov.vf.self_config;
struct xe_guc *guc = >->uc.guc;
- u32 num_ctxs, num_dbs;
+ u32 num_ctxs;
int err;
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
@@ -581,27 +581,58 @@ static int vf_get_submission_cfg(struct xe_gt *gt)
if (unlikely(err))
return err;
- err = guc_action_query_single_klv32(guc, GUC_KLV_VF_CFG_NUM_DOORBELLS_KEY, &num_dbs);
- if (unlikely(err))
- return err;
-
if (config->num_ctxs && config->num_ctxs != num_ctxs) {
xe_gt_sriov_err(gt, "Unexpected CTXs reassignment: %u != %u\n",
num_ctxs, config->num_ctxs);
return -EREMCHG;
}
+
+ xe_gt_sriov_dbg_verbose(gt, "CTXs %u\n", num_ctxs);
+
+ config->num_ctxs = num_ctxs;
+
+ return config->num_ctxs ? 0 : -ENODATA;
+}
+
+static int vf_get_dbs_cfg(struct xe_gt *gt)
+{
+ struct xe_gt_sriov_vf_selfconfig *config = >->sriov.vf.self_config;
+ struct xe_guc *guc = >->uc.guc;
+ u32 num_dbs;
+ int err;
+
+ xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
+
+ err = guc_action_query_single_klv32(guc, GUC_KLV_VF_CFG_NUM_DOORBELLS_KEY, &num_dbs);
+ if (unlikely(err))
+ return err;
+
if (config->num_dbs && config->num_dbs != num_dbs) {
xe_gt_sriov_err(gt, "Unexpected DBs reassignment: %u != %u\n",
num_dbs, config->num_dbs);
return -EREMCHG;
}
- xe_gt_sriov_dbg_verbose(gt, "CTXs %u DBs %u\n", num_ctxs, num_dbs);
+ xe_gt_sriov_dbg_verbose(gt, "DBs %u\n", num_dbs);
- config->num_ctxs = num_ctxs;
config->num_dbs = num_dbs;
- return config->num_ctxs ? 0 : -ENODATA;
+ return 0;
+}
+
+static int vf_get_submission_cfg(struct xe_gt *gt)
+{
+ int err;
+
+ err = vf_get_ctxs_cfg(gt);
+ if (unlikely(err))
+ return err;
+
+ err = vf_get_dbs_cfg(gt);
+ if (unlikely(err))
+ return err;
+
+ return 0;
}
static void vf_cache_gmdid(struct xe_gt *gt)
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 03/10] drm/xe/vf: Add bounds checking for queried context and doorbell counts
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
2026-09-15 7:11 ` [PATCH v8 01/10] drm/xe/guc: Allow to replace xe_guc_mmio_send_recv() with KUNIT stub Satyanarayana K V P
2026-09-15 7:11 ` [PATCH v8 02/10] drm/xe/vf: Split submission config query helpers Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 11:12 ` Michal Wajdeczko
2026-09-15 7:12 ` [PATCH v8 04/10] drm/xe: Introduce helpers for VRAM alignment Satyanarayana K V P
` (10 subsequent siblings)
13 siblings, 1 reply; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Add explicit bounds checks for context and doorbells which can detect
and reject invalid configuration data from a misconfigured or
malfunctioning PF, preventing protocol violations and protecting VF
initialization.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index 339ea0d3344c..81d68fe5ad7c 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -15,6 +15,7 @@
#include "abi/guc_klvs_abi.h"
#include "abi/guc_relay_actions_abi.h"
#include "regs/xe_gt_regs.h"
+#include "regs/xe_guc_regs.h"
#include "xe_assert.h"
#include "xe_device.h"
@@ -581,6 +582,11 @@ static int vf_get_ctxs_cfg(struct xe_gt *gt)
if (unlikely(err))
return err;
+ if (num_ctxs > GUC_ID_MAX) {
+ xe_gt_sriov_err(gt, "Out of bound CTXs %u received\n", num_ctxs);
+ return -EPROTO;
+ }
+
if (config->num_ctxs && config->num_ctxs != num_ctxs) {
xe_gt_sriov_err(gt, "Unexpected CTXs reassignment: %u != %u\n",
num_ctxs, config->num_ctxs);
@@ -607,6 +613,11 @@ static int vf_get_dbs_cfg(struct xe_gt *gt)
if (unlikely(err))
return err;
+ if (num_dbs > GUC_NUM_DOORBELLS) {
+ xe_gt_sriov_err(gt, "Out of bound DBs %u received\n", num_dbs);
+ return -EPROTO;
+ }
+
if (config->num_dbs && config->num_dbs != num_dbs) {
xe_gt_sriov_err(gt, "Unexpected DBs reassignment: %u != %u\n",
num_dbs, config->num_dbs);
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 04/10] drm/xe: Introduce helpers for VRAM alignment
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (2 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 03/10] drm/xe/vf: Add bounds checking for queried context and doorbell counts Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 05/10] drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range Satyanarayana K V P
` (9 subsequent siblings)
13 siblings, 0 replies; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Add new xe_vram_alignment() and xe_vram_needs_64k() helpers to get the
VRAM minimum alignment (4K vs 64K).
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
V7 -> V8:
- Do not touch pf GGTT alignment in this patch. Updated in another patch.
V6 -> V7:
- Fixed review comment (Sashiko, Michal W).
V5 -> V6:
- New commit.
---
drivers/gpu/drm/xe/display/xe_fb_pin.c | 2 +-
drivers/gpu/drm/xe/display/xe_initial_plane.c | 2 +-
drivers/gpu/drm/xe/tests/xe_bo.c | 2 +-
drivers/gpu/drm/xe/tests/xe_dma_buf.c | 2 +-
drivers/gpu/drm/xe/xe_bo.c | 6 +++---
drivers/gpu/drm/xe/xe_device.h | 10 ++++++++++
drivers/gpu/drm/xe/xe_ggtt.c | 2 +-
drivers/gpu/drm/xe/xe_query.c | 2 +-
drivers/gpu/drm/xe/xe_svm.c | 2 +-
drivers/gpu/drm/xe/xe_vm.c | 4 ++--
10 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/xe/display/xe_fb_pin.c b/drivers/gpu/drm/xe/display/xe_fb_pin.c
index b46a2c32ac07..ad4f3ce774ec 100644
--- a/drivers/gpu/drm/xe/display/xe_fb_pin.c
+++ b/drivers/gpu/drm/xe/display/xe_fb_pin.c
@@ -273,7 +273,7 @@ static int __xe_pin_fb_vma_ggtt(struct drm_gem_object *obj,
guard(xe_pm_runtime_noresume)(xe);
align = max(XE_PAGE_SIZE, pin_params->alignment);
- if (xe_bo_is_vram(bo) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
+ if (xe_bo_is_vram(bo) && xe_vram_needs_64k(xe))
align = max(align, SZ_64K);
/* Fast case, preallocated GGTT view? */
diff --git a/drivers/gpu/drm/xe/display/xe_initial_plane.c b/drivers/gpu/drm/xe/display/xe_initial_plane.c
index 0f86b73036d0..b2c8a22485a3 100644
--- a/drivers/gpu/drm/xe/display/xe_initial_plane.c
+++ b/drivers/gpu/drm/xe/display/xe_initial_plane.c
@@ -45,7 +45,7 @@ initial_plane_bo(struct xe_device *xe,
struct xe_bo *bo;
resource_size_t phys_base;
u32 base, size, flags;
- u64 page_size = xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K;
+ u64 page_size = xe_vram_alignment(xe);
if (plane_config->size == 0)
return NULL;
diff --git a/drivers/gpu/drm/xe/tests/xe_bo.c b/drivers/gpu/drm/xe/tests/xe_bo.c
index 6a17e13d58cf..ade31e274db9 100644
--- a/drivers/gpu/drm/xe/tests/xe_bo.c
+++ b/drivers/gpu/drm/xe/tests/xe_bo.c
@@ -210,7 +210,7 @@ static void xe_bo_page_size_alloc_mixed_bos(struct kunit *test)
*/
if (flags == 0) {
expected_align = SZ_4K;
- if (xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
+ if (xe_vram_needs_64k(xe))
expected_align = SZ_64K;
} else if (flags == XE_BO_FLAG_NEEDS_64K) {
expected_align = SZ_64K;
diff --git a/drivers/gpu/drm/xe/tests/xe_dma_buf.c b/drivers/gpu/drm/xe/tests/xe_dma_buf.c
index 0be8440b3976..31bc218b2446 100644
--- a/drivers/gpu/drm/xe/tests/xe_dma_buf.c
+++ b/drivers/gpu/drm/xe/tests/xe_dma_buf.c
@@ -122,7 +122,7 @@ static void xe_test_dmabuf_import_same_driver(struct xe_device *xe)
size = PAGE_SIZE;
if ((params->mem_mask & XE_BO_FLAG_VRAM0) &&
- xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
+ xe_vram_needs_64k(xe))
size = SZ_64K;
kunit_info(test, "running %s\n", __func__);
diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index 9f3f0cb95afa..b63fd5bc71ee 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -2358,7 +2358,7 @@ struct xe_bo *xe_bo_init_locked(struct xe_device *xe, struct xe_bo *bo,
if (flags & (XE_BO_FLAG_VRAM_MASK | XE_BO_FLAG_STOLEN) &&
!(flags & XE_BO_FLAG_IGNORE_MIN_PAGE_SIZE) &&
- ((xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K) ||
+ (xe_vram_needs_64k(xe) ||
(flags & (XE_BO_FLAG_NEEDS_64K | XE_BO_FLAG_NEEDS_2M |
XE_BO_FLAG_NEEDS_1G)))) {
size_t align;
@@ -3585,7 +3585,7 @@ int xe_gem_create_ioctl(struct drm_device *dev, void *data,
/* CCS formats need physical placement at a 64K alignment in VRAM. */
if ((bo_flags & XE_BO_FLAG_VRAM_MASK) &&
(args->flags & DRM_XE_GEM_CREATE_FLAG_SCANOUT) &&
- !(xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K) &&
+ !xe_vram_needs_64k(xe) &&
IS_ALIGNED(args->size, SZ_64K))
bo_flags |= XE_BO_FLAG_NEEDS_64K;
@@ -4085,7 +4085,7 @@ int xe_bo_dumb_create(struct drm_file *file_priv,
uint32_t handle;
int err;
u32 page_size = max_t(u32, PAGE_SIZE,
- xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K);
+ xe_vram_alignment(xe));
err = drm_mode_size_dumb(dev, args, SZ_64, page_size);
if (err)
diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h
index 6d3d6d5eba29..49fb8e046e94 100644
--- a/drivers/gpu/drm/xe/xe_device.h
+++ b/drivers/gpu/drm/xe/xe_device.h
@@ -283,6 +283,16 @@ static inline bool xe_device_is_admin_only(const struct xe_device *xe)
}
#endif
+static inline bool xe_vram_needs_64k(const struct xe_device *xe)
+{
+ return IS_DGFX(xe) && (xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K);
+}
+
+static inline u64 xe_vram_alignment(const struct xe_device *xe)
+{
+ return xe_vram_needs_64k(xe) ? SZ_64K : SZ_4K;
+}
+
/*
* Occasionally it is seen that the G2H worker starts running after a delay of more than
* a second even after being queued and activated by the Linux workqueue subsystem. This
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index 63e8bf193605..7cac01cef1ee 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -421,7 +421,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
}
ggtt->gsm = ggtt->tile->mmio.regs + SZ_8M;
- if (IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
+ if (xe_vram_needs_64k(xe))
ggtt->flags |= XE_GGTT_FLAGS_64K;
if (ggtt_size + ggtt_start > GUC_GGTT_TOP)
diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/xe_query.c
index dc975f595368..e2b35f1164d8 100644
--- a/drivers/gpu/drm/xe/xe_query.c
+++ b/drivers/gpu/drm/xe/xe_query.c
@@ -355,7 +355,7 @@ static int query_config(struct xe_device *xe, struct drm_xe_device_query *query)
config->info[DRM_XE_QUERY_CONFIG_FLAGS] |=
DRM_XE_QUERY_CONFIG_FLAG_HAS_PURGING_SUPPORT;
config->info[DRM_XE_QUERY_CONFIG_MIN_ALIGNMENT] =
- xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K;
+ xe_vram_alignment(xe);
config->info[DRM_XE_QUERY_CONFIG_VA_BITS] = xe->info.va_bits;
config->info[DRM_XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY] =
xe_exec_queue_device_get_max_priority(xe);
diff --git a/drivers/gpu/drm/xe/xe_svm.c b/drivers/gpu/drm/xe/xe_svm.c
index 6c3033fc4db7..78cd3110aad4 100644
--- a/drivers/gpu/drm/xe/xe_svm.c
+++ b/drivers/gpu/drm/xe/xe_svm.c
@@ -1174,7 +1174,7 @@ static int xe_drm_pagemap_populate_mm(struct drm_pagemap *dpagemap,
static bool supports_4K_migration(struct xe_device *xe)
{
- if (xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
+ if (xe_vram_needs_64k(xe))
return false;
return true;
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index efa5ff6cc823..fba1cd9668ed 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -1751,7 +1751,7 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
err = xe_vm_drm_exec_lock(vm, &exec);
drm_exec_retry_on_contention(&exec);
- if (IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
+ if (xe_vram_needs_64k(xe))
vm->flags |= XE_VM_FLAG_64K;
for_each_tile(tile, xe, id) {
@@ -3970,7 +3970,7 @@ static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
* there for the former case.
*/
if ((bo->flags & XE_BO_FLAG_INTERNAL_64K) &&
- (xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)) {
+ xe_vram_needs_64k(xe)) {
if (XE_IOCTL_DBG(xe, obj_offset &
XE_64K_PAGE_MASK) ||
XE_IOCTL_DBG(xe, addr & XE_64K_PAGE_MASK) ||
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 05/10] drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (3 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 04/10] drm/xe: Introduce helpers for VRAM alignment Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 12:03 ` Michal Wajdeczko
2026-09-15 7:12 ` [PATCH v8 06/10] drm/xe/vf: Add bounds checking for queried GGTT base and size Satyanarayana K V P
` (8 subsequent siblings)
13 siblings, 1 reply; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe
Cc: Satyanarayana K V P, Michal Wajdeczko, Matthew Brost,
Maarten Lankhorst
Use check_add_overflow() for the VF range check, and rearrange the
subsequent clamping into the subtraction form so the expression
does not overflow.
Fixes: e904c56ba6e0 ("drm/xe: Rewrite GGTT VF initialization")
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_ggtt.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index 7cac01cef1ee..d65929720704 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -8,6 +8,7 @@
#include <kunit/visibility.h>
#include <linux/fault-inject.h>
#include <linux/io-64-nonatomic-lo-hi.h>
+#include <linux/overflow.h>
#include <linux/sizes.h>
#include <drm/drm_drv.h>
@@ -394,7 +395,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
struct xe_device *xe = tile_to_xe(ggtt->tile);
struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
unsigned int gsm_size;
- u64 ggtt_start, wopcm = xe_wopcm_size(xe), ggtt_size;
+ u64 ggtt_start, wopcm = xe_wopcm_size(xe), ggtt_size, ggtt_end;
int err;
if (!IS_SRIOV_VF(xe)) {
@@ -413,9 +414,11 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
ggtt_size = xe_tile_sriov_vf_ggtt(ggtt->tile);
if (ggtt_start < wopcm ||
- ggtt_start + ggtt_size > GUC_GGTT_TOP) {
- xe_tile_err(ggtt->tile, "Invalid GGTT configuration: %#llx-%#llx\n",
- ggtt_start, ggtt_start + ggtt_size - 1);
+ check_add_overflow(ggtt_start, ggtt_size, &ggtt_end) ||
+ ggtt_end > GUC_GGTT_TOP) {
+ xe_tile_err(ggtt->tile,
+ "Invalid GGTT configuration: base %#llx, size %#llx\n",
+ ggtt_start, ggtt_size);
return -ERANGE;
}
}
@@ -424,7 +427,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
if (xe_vram_needs_64k(xe))
ggtt->flags |= XE_GGTT_FLAGS_64K;
- if (ggtt_size + ggtt_start > GUC_GGTT_TOP)
+ if (ggtt_size > GUC_GGTT_TOP - ggtt_start)
ggtt_size = GUC_GGTT_TOP - ggtt_start;
if (GRAPHICS_VERx100(xe) >= 1270)
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 06/10] drm/xe/vf: Add bounds checking for queried GGTT base and size
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (4 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 05/10] drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 7:26 ` sashiko-bot
2026-09-15 7:12 ` [PATCH v8 07/10] drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE Satyanarayana K V P
` (7 subsequent siblings)
13 siblings, 1 reply; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Add explicit bounds checks for GGTT base and size which can detect
and reject invalid configuration data from a misconfigured or
malfunctioning PF, preventing protocol violations and protecting VF
initialization.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
V7 -> V8:
- Align GGTT base and size to PAGE_SIZE (Michal W).
V6 -> V7:
- Added new helper to get ggtt alignment.
- Rearranged the base and sizes checks (Sashiko, Michal W).
V5 -> V6:
- Updated error codes for unaligned GGTT base and size (Michal W).
- Fixed review comments (Michal W).
V4 -> V5:
- New commit.
---
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 45 ++++++++++++++++++++++++++---
1 file changed, 41 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index 81d68fe5ad7c..53db4cf9d656 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -15,6 +15,7 @@
#include "abi/guc_klvs_abi.h"
#include "abi/guc_relay_actions_abi.h"
#include "regs/xe_gt_regs.h"
+#include "regs/xe_gtt_defs.h"
#include "regs/xe_guc_regs.h"
#include "xe_assert.h"
@@ -486,26 +487,62 @@ u32 xe_gt_sriov_vf_gmdid(struct xe_gt *gt)
return value;
}
+static u64 vf_get_ggtt_alignment(struct xe_gt *gt)
+{
+ return PAGE_SIZE;
+}
+
static int vf_get_ggtt_info(struct xe_gt *gt)
{
+ u64 alignment = vf_get_ggtt_alignment(gt);
struct xe_tile *tile = gt_to_tile(gt);
struct xe_guc *guc = >->uc.guc;
- u64 start, size, ggtt_size;
+ u64 start_query, size_query;
+ u64 start, size, ggtt_size, end;
int err;
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
- err = guc_action_query_single_klv64(guc, GUC_KLV_VF_CFG_GGTT_START_KEY, &start);
+ err = guc_action_query_single_klv64(guc, GUC_KLV_VF_CFG_GGTT_START_KEY, &start_query);
if (unlikely(err))
return err;
- err = guc_action_query_single_klv64(guc, GUC_KLV_VF_CFG_GGTT_SIZE_KEY, &size);
+ err = guc_action_query_single_klv64(guc, GUC_KLV_VF_CFG_GGTT_SIZE_KEY, &size_query);
if (unlikely(err))
return err;
- if (!size)
+ if (!size_query)
return -ENODATA;
+ start = ALIGN(start_query, alignment);
+ if (check_add_overflow(start_query, size_query, &end)) {
+ xe_gt_sriov_err(gt, "GGTT range overflow: base %#llx, size %#llx\n",
+ start_query, size_query);
+ return -ERANGE;
+ }
+
+ end = ALIGN_DOWN(end, alignment);
+ if (end <= start) {
+ xe_gt_sriov_err(gt, "GGTT range too small: base %#llx, size %#llx\n",
+ start_query, size_query);
+ return -ERANGE;
+ }
+
+ size = end - start;
+
+ if (start != start_query)
+ xe_gt_sriov_info(gt, "Unaligned GGTT base %#llx aligned to %#llx\n",
+ start_query, start);
+ if (size != size_query)
+ xe_gt_sriov_notice(gt, "Unaligned GGTT size %#llx aligned to %#llx\n",
+ size_query, size);
+
+ if (start < xe_wopcm_size(gt_to_xe(gt)) || end > GUC_GGTT_TOP) {
+ xe_gt_sriov_err(gt, "Out of bounds GGTT configuration: base %#llx, size %#llx\n",
+ start, size);
+ return -ERANGE;
+ }
+
xe_tile_sriov_vf_ggtt_base_store(tile, start);
ggtt_size = xe_tile_sriov_vf_ggtt(tile);
if (!ggtt_size) {
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 07/10] drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (5 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 06/10] drm/xe/vf: Add bounds checking for queried GGTT base and size Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 7:27 ` sashiko-bot
2026-09-15 7:12 ` [PATCH v8 08/10] drm/xe/vf: Add alignment check for queried VRAM size Satyanarayana K V P
` (6 subsequent siblings)
13 siblings, 1 reply; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Currently, PF aligns VF GGTT ranges to 4K/64K on DGPUs based on VRAM
alignment. Aligning VF GGTT allocations to the host CPU size allows
finer-grained GGTT partitioning without imposing VRAM alignment
constraints on the GGTT base address.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index 6947aeed458e..91ec8e898e3b 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -441,9 +441,7 @@ static int pf_refresh_vf_cfg(struct xe_gt *gt, unsigned int vfid)
static u64 pf_get_ggtt_alignment(struct xe_gt *gt)
{
- struct xe_device *xe = gt_to_xe(gt);
-
- return IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K;
+ return PAGE_SIZE;
}
static u64 pf_get_min_spare_ggtt(struct xe_gt *gt)
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 08/10] drm/xe/vf: Add alignment check for queried VRAM size
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (6 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 07/10] drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 09/10] drm/xe/ggtt: Add KUNIT stub for xe_ggtt_shift_nodes() Satyanarayana K V P
` (5 subsequent siblings)
13 siblings, 0 replies; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Add explicit alignment check for VRAM size which can detect and reject
invalid configuration data from a misconfigured or malfunctioning PF,
preventing protocol violations and protecting VF initialization.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index 53db4cf9d656..ec79793bd547 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -598,6 +598,12 @@ static int vf_get_lmem_info(struct xe_gt *gt)
return -EREMCHG;
}
+ if (!IS_ALIGNED(size, SZ_2M)) {
+ xe_gt_sriov_err(gt, "Unaligned LMEM size %llu, expected %llu\n",
+ size, ALIGN(size, SZ_2M));
+ return -EINVAL;
+ }
+
string_get_size(size, 1, STRING_UNITS_2, size_str, sizeof(size_str));
xe_gt_sriov_dbg_verbose(gt, "LMEM %lluM %s\n", size / SZ_1M, size_str);
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 09/10] drm/xe/ggtt: Add KUNIT stub for xe_ggtt_shift_nodes()
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (7 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 08/10] drm/xe/vf: Add alignment check for queried VRAM size Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 10/10] drm/xe/tests: Add KUnit tests for VF provisioning error handling Satyanarayana K V P
` (4 subsequent siblings)
13 siblings, 0 replies; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
Allow to replace xe_ggtt_shift_nodes() with a stub so that VF GGTT
provisioning can be exercised on the fake xe device, which has no real
struct xe_ggtt instance.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_ggtt.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index d65929720704..e5a9f6512657 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -5,6 +5,7 @@
#include "xe_ggtt.h"
+#include <kunit/static_stub.h>
#include <kunit/visibility.h>
#include <linux/fault-inject.h>
#include <linux/io-64-nonatomic-lo-hi.h>
@@ -651,6 +652,8 @@ static void xe_ggtt_invalidate_engine(struct xe_ggtt *ggtt)
*/
void xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_start)
{
+ KUNIT_STATIC_STUB_REDIRECT(xe_ggtt_shift_nodes, ggtt, new_start);
+
guard(mutex)(&ggtt->lock);
xe_tile_assert(ggtt->tile, new_start >= xe_wopcm_size(tile_to_xe(ggtt->tile)));
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v8 10/10] drm/xe/tests: Add KUnit tests for VF provisioning error handling
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (8 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 09/10] drm/xe/ggtt: Add KUNIT stub for xe_ggtt_shift_nodes() Satyanarayana K V P
@ 2026-09-15 7:12 ` Satyanarayana K V P
2026-09-15 14:33 ` Michal Wajdeczko
2026-09-15 7:19 ` ✗ CI.checkpatch: warning for KUnit test for VF provisioning error handling (rev8) Patchwork
` (3 subsequent siblings)
13 siblings, 1 reply; 20+ messages in thread
From: Satyanarayana K V P @ 2026-09-15 7:12 UTC (permalink / raw)
To: intel-xe; +Cc: Satyanarayana K V P, Michal Wajdeczko
VF relies on the PF to provide a valid hardware configuration via GuC
KLV responses. In the unlikely event of PF malfunction or
misconfiguration, a VF may receive incomplete, zero, or out-of-range
values for its submission contexts, doorbells, VRAM or GGTT assignment.
Add KUnit test cases that use the xe_guc_mmio_send_recv() stub to inject
bad KLV responses and verify that VF can survive without crashing for
the invalid configuration data received.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
V7 -> V8:
- Updated kunit test as per changed from other patches.
V6 -> V7:
- Fixed review comments (Sashiko, Michal W).
V5 -> V6:
- Fixed review comments (Michal W).
V4 -> V5:
- Added alignment tests for vram, GGTT base and size (Michal W).
- Separated stubs for ctx, db, vram and GGTT (Michal W).
- Added new test cases for xe_guc_mmio_send_recv() (Michal W).
V3 -> V4:
- Changed stub function from guc_action_query_single_klv32() and
guc_action_query_single_klv64() to xe_guc_mmio_send_recv() (Michal W).
- Fixed review comments (Michal W).
V2 -> V3:
- Renamed the test names. (Michal W).
- Fixed review comments (Michal W).
V1 -> V2:
- Renamed the test file (Michal W).
- Fixed review comments (Michal W).
---
.../gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c | 393 ++++++++++++++++++
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 4 +
2 files changed, 397 insertions(+)
create mode 100644 drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c
diff --git a/drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c b/drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c
new file mode 100644
index 000000000000..e1a1bc5f1223
--- /dev/null
+++ b/drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c
@@ -0,0 +1,393 @@
+// SPDX-License-Identifier: GPL-2.0 AND MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include <kunit/static_stub.h>
+#include <kunit/test.h>
+
+#include "regs/xe_guc_regs.h"
+#include "xe_device.h"
+#include "xe_ggtt.h"
+#include "xe_guc.h"
+#include "xe_kunit_helpers.h"
+#include "xe_pci_test.h"
+
+#define TEST_VRAM SZ_8G
+#define TEST_GGTT_SIZE SZ_2G
+#define TEST_GGTT_SIZE_OUT_OF_BOUNDS 0xfffffffffffff000ull
+#define TEST_CTXS 1024
+#define TEST_DBS 128
+#define TEST_GGTT_START 0xa0a000ull
+
+#define TEST_VALIDATE_IN_PARAMS(test, len, request, key) \
+ do { \
+ KUNIT_ASSERT_EQ(test, len, VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_LEN); \
+ KUNIT_ASSERT_EQ(test, \
+ FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]), \
+ GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV); \
+ KUNIT_ASSERT_EQ(test, \
+ FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]), \
+ key); \
+ } while (0)
+
+#define TEST_FILL_RESP_BUFF(resp, c, type) \
+ do { \
+ if (type == sizeof(u32)) { \
+ resp[0] = sizeof(u32) / sizeof(u32); \
+ resp[1] = (c)->query; \
+ } else if (type == sizeof(u64)) { \
+ resp[0] = sizeof(u64) / sizeof(u32); \
+ resp[1] = lower_32_bits((c)->query); \
+ resp[2] = upper_32_bits((c)->query); \
+ } \
+ } while (0)
+
+struct config {
+ u32 orig;
+ u32 query;
+ int expected_ret;
+ int ret;
+ const char *name;
+};
+
+static const struct config vf_ctx_testcase[] = {
+ { .orig = TEST_CTXS, .query = TEST_CTXS, .name = "same", },
+ { .expected_ret = -ENODATA, .name = "none", },
+ { .query = GUC_ID_MAX + 1, .expected_ret = -EPROTO, .name = "overflow", },
+ { .orig = TEST_CTXS, .expected_ret = -EREMCHG, .name = "lost", },
+ { .orig = TEST_CTXS, .query = TEST_CTXS / 2, .expected_ret = -EREMCHG,
+ .name = "reduced", },
+ { .orig = TEST_CTXS, .query = TEST_CTXS * 2, .expected_ret = -EREMCHG,
+ .name = "increased", },
+ { .expected_ret = -EPROTO, .ret = -EPROTO, .name = "proto_error", },
+ { .expected_ret = -EIO, .ret = -EIO, .name = "IO_error", },
+};
+
+static const struct config vf_db_testcase[] = {
+ { .orig = TEST_DBS, .query = TEST_DBS, .name = "same", },
+ { .name = "none", },
+ { .orig = TEST_DBS, .query = GUC_NUM_DOORBELLS + 1, .expected_ret = -EPROTO,
+ .name = "overflow", },
+ { .orig = TEST_DBS, .expected_ret = -EREMCHG, .name = "lost", },
+ { .orig = TEST_DBS, .query = TEST_DBS / 2, .expected_ret = -EREMCHG,
+ .name = "reduced", },
+ { .orig = TEST_DBS, .query = GUC_NUM_DOORBELLS - 1, .expected_ret = -EREMCHG,
+ .name = "increased", },
+ { .expected_ret = -EPROTO, .ret = -EPROTO, .name = "proto_error" },
+ { .expected_ret = -EIO, .ret = -EIO, .name = "IO_error", },
+};
+
+KUNIT_ARRAY_PARAM_DESC(ctx_testcase, vf_ctx_testcase, name);
+KUNIT_ARRAY_PARAM_DESC(db_testcase, vf_db_testcase, name);
+
+static int xe_guc_mmio_send_recv_stub_ctx(struct xe_guc *guc, const u32 *request,
+ u32 len, u32 *response_buf)
+{
+ struct kunit *test = kunit_get_current_test();
+ const struct config *c = test->param_value;
+
+ if (c->ret)
+ return c->ret;
+
+ TEST_VALIDATE_IN_PARAMS(test, len, request, GUC_KLV_VF_CFG_NUM_CONTEXTS_KEY);
+ TEST_FILL_RESP_BUFF(response_buf, c, sizeof(u32));
+
+ return 0;
+}
+
+static void test_ctxs(struct kunit *test)
+{
+ struct xe_gt *gt = test->priv;
+ const struct config *c = test->param_value;
+
+ gt->sriov.vf.self_config.num_ctxs = c->orig;
+ kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
+ xe_guc_mmio_send_recv_stub_ctx);
+ KUNIT_EXPECT_EQ(test, vf_get_ctxs_cfg(gt), c->expected_ret);
+}
+
+static int xe_guc_mmio_send_recv_stub_db(struct xe_guc *guc, const u32 *request,
+ u32 len, u32 *response_buf)
+{
+ struct kunit *test = kunit_get_current_test();
+ const struct config *c = test->param_value;
+
+ if (c->ret)
+ return c->ret;
+
+ TEST_VALIDATE_IN_PARAMS(test, len, request, GUC_KLV_VF_CFG_NUM_DOORBELLS_KEY);
+ TEST_FILL_RESP_BUFF(response_buf, c, sizeof(u32));
+
+ return 0;
+}
+
+static void test_dbs(struct kunit *test)
+{
+ struct xe_gt *gt = test->priv;
+ const struct config *c = test->param_value;
+
+ gt->sriov.vf.self_config.num_dbs = c->orig;
+ kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
+ xe_guc_mmio_send_recv_stub_db);
+ KUNIT_EXPECT_EQ(test, vf_get_dbs_cfg(gt), c->expected_ret);
+}
+
+struct config_vram {
+ u64 orig;
+ u64 query;
+ int expected_ret;
+ int ret;
+ const char *name;
+};
+
+static const struct config_vram vf_vram_testcase[] = {
+ { .orig = TEST_VRAM, .query = TEST_VRAM, .name = "same", },
+ { .expected_ret = -ENODATA, .name = "none", },
+ { .orig = TEST_VRAM / 2, .query = TEST_VRAM + SZ_1G,
+ .expected_ret = -EREMCHG, .name = "increased", },
+ { .orig = TEST_VRAM / 2, .expected_ret = -EREMCHG, .name = "lost", },
+ { .orig = TEST_VRAM / 2, .query = TEST_VRAM / 4,
+ .expected_ret = -EREMCHG, .name = "reduced", },
+ { .orig = TEST_VRAM - SZ_1M, .query = TEST_VRAM - SZ_1M,
+ .expected_ret = -EINVAL, .name = "unaligned", },
+ { .expected_ret = -EPROTO, .ret = -EPROTO, .name = "proto_error" },
+ { .expected_ret = -EIO, .ret = -EIO, .name = "IO_error", },
+};
+
+KUNIT_ARRAY_PARAM_DESC(vram_testcase, vf_vram_testcase, name);
+
+static int xe_guc_mmio_send_recv_stub_vram(struct xe_guc *guc, const u32 *request,
+ u32 len, u32 *response_buf)
+{
+ struct kunit *test = kunit_get_current_test();
+ const struct config_vram *c = test->param_value;
+
+ if (c->ret)
+ return c->ret;
+
+ TEST_VALIDATE_IN_PARAMS(test, len, request, GUC_KLV_VF_CFG_LMEM_SIZE_KEY);
+ TEST_FILL_RESP_BUFF(response_buf, c, sizeof(u64));
+
+ return 0;
+}
+
+static void test_vram(struct kunit *test)
+{
+ struct xe_gt *gt = test->priv;
+ const struct config_vram *c = test->param_value;
+
+ gt->tile->sriov.vf.self_config.lmem_size = c->orig;
+ kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
+ xe_guc_mmio_send_recv_stub_vram);
+ KUNIT_EXPECT_EQ(test, vf_get_lmem_info(gt), c->expected_ret);
+}
+
+struct config_ggtt {
+ u64 start_orig;
+ u64 start_query;
+ u64 size_orig;
+ u64 size_query;
+ int expected_ret;
+ int ret;
+ const char *name;
+};
+
+static const struct config_ggtt vf_ggtt_testcase[] = {
+ { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
+ .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE,
+ .name = "same", },
+ { .start_query = TEST_GGTT_START, .size_query = TEST_GGTT_SIZE,
+ .name = "query_on_init", },
+ { .expected_ret = -ENODATA, .name = "none", },
+ { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
+ .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE + SZ_4G,
+ .expected_ret = -ERANGE, .name = "overflow", },
+ { .start_query = TEST_GGTT_START, .size_query = TEST_GGTT_SIZE + SZ_4G,
+ .expected_ret = -ERANGE, .name = "overflow_query_on_init", },
+ { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
+ .size_orig = TEST_GGTT_SIZE, .expected_ret = -ENODATA,
+ .name = "lost", },
+ { .start_query = TEST_GGTT_START, .expected_ret = -ENODATA,
+ .name = "lost_on_init", },
+ { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
+ .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE - SZ_1M,
+ .expected_ret = -EREMCHG, .name = "reduced", },
+ { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
+ .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE + SZ_1M,
+ .expected_ret = -EREMCHG, .name = "increased", },
+ { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
+ .size_orig = TEST_GGTT_SIZE - SZ_4K, .size_query = TEST_GGTT_SIZE - SZ_2K,
+ .name = "unaligned_size_4K", },
+ { .start_query = TEST_GGTT_START, .size_query = TEST_GGTT_SIZE - SZ_2K,
+ .name = "unaligned_size_4K_on_init", },
+ { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START - SZ_2K,
+ .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE,
+ .expected_ret = -EREMCHG, .name = "unaligned_base_4K", },
+ { .start_query = TEST_GGTT_START - SZ_2K, .size_query = TEST_GGTT_SIZE,
+ .name = "unaligned_base_4K_on_init", },
+ { .expected_ret = -EPROTO, .ret = -EPROTO,
+ .name = "proto_error" },
+ { .expected_ret = -EIO, .ret = -EIO,
+ .name = "IO_error", },
+ { .start_query = TEST_GGTT_START,
+ .size_query = TEST_GGTT_SIZE_OUT_OF_BOUNDS,
+ .expected_ret = -ERANGE, .name = "out_of_bounds_size_on_init",},
+};
+
+KUNIT_ARRAY_PARAM_DESC(ggtt_testcase, vf_ggtt_testcase, name);
+
+static int xe_guc_mmio_send_recv_stub_ggtt(struct xe_guc *guc, const u32 *request,
+ u32 len, u32 *response_buf)
+{
+ struct kunit *test = kunit_get_current_test();
+ const struct config_ggtt *c = test->param_value;
+ u32 key;
+
+ if (c->ret)
+ return c->ret;
+
+ KUNIT_ASSERT_EQ(test, FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]),
+ GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV);
+ KUNIT_EXPECT_EQ(test, len, VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_LEN);
+ key = FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]);
+ KUNIT_ASSERT_TRUE(test,
+ key == GUC_KLV_VF_CFG_GGTT_START_KEY ||
+ key == GUC_KLV_VF_CFG_GGTT_SIZE_KEY);
+
+ response_buf[0] = sizeof(u64) / sizeof(u32);
+ if (key == GUC_KLV_VF_CFG_GGTT_START_KEY) {
+ response_buf[1] = lower_32_bits(c->start_query);
+ response_buf[2] = upper_32_bits(c->start_query);
+ } else if (key == GUC_KLV_VF_CFG_GGTT_SIZE_KEY) {
+ response_buf[1] = lower_32_bits(c->size_query);
+ response_buf[2] = upper_32_bits(c->size_query);
+ }
+
+ return 0;
+}
+
+static void xe_ggtt_shift_nodes_stub(struct xe_ggtt *ggtt, u64 new_start)
+{
+ struct kunit *test = kunit_get_current_test();
+ const struct config_ggtt *c = test->param_value;
+ struct xe_gt *gt = test->priv;
+ u64 expected_start = ALIGN(c->start_query, vf_get_ggtt_alignment(gt));
+
+ KUNIT_EXPECT_EQ(test, new_start, expected_start);
+}
+
+static void test_ggtt(struct kunit *test)
+{
+ const struct config_ggtt *c = test->param_value;
+ struct xe_gt *gt = test->priv;
+
+ gt->tile->sriov.vf.self_config.ggtt_base = c->start_orig;
+ gt->tile->sriov.vf.self_config.ggtt_size = c->size_orig;
+
+ kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
+ xe_guc_mmio_send_recv_stub_ggtt);
+ kunit_activate_static_stub(test, xe_ggtt_shift_nodes,
+ xe_ggtt_shift_nodes_stub);
+ KUNIT_EXPECT_EQ(test, vf_get_ggtt_info(gt), c->expected_ret);
+}
+
+struct config_mmio {
+ u32 response_length;
+ u32 response_value;
+ int expected_ret;
+ int ret;
+ const char *name;
+};
+
+static const struct config_mmio guc_mmio_resp_testcase[] = {
+ { .response_length = sizeof(u32) / sizeof(u32),
+ .response_value = TEST_CTXS, .name = "same", },
+ { .expected_ret = -ENODATA, .name = "none", },
+ { .response_length = sizeof(u64) / sizeof(u32), .response_value = TEST_CTXS,
+ .expected_ret = -EOVERFLOW, .name = "overflow", },
+ { .response_length = sizeof(u32) / sizeof(u32), .response_value = 0,
+ .expected_ret = -EREMCHG, .name = "lost", },
+ { .response_length = 0xffff, .response_value = 0xffff,
+ .expected_ret = -EOVERFLOW, .name = "invalid", },
+ { .expected_ret = -EPROTO, .ret = -EPROTO,
+ .name = "proto_error", },
+ { .expected_ret = -EIO, .ret = -EIO,
+ .name = "IO_error", },
+};
+
+KUNIT_ARRAY_PARAM_DESC(guc_mmio_resp, guc_mmio_resp_testcase, name);
+
+static int xe_guc_mmio_send_recv_stub(struct xe_guc *guc, const u32 *request,
+ u32 len, u32 *response_buf)
+{
+ struct kunit *test = kunit_get_current_test();
+ const struct config_mmio *c = test->param_value;
+
+ if (c->ret)
+ return c->ret;
+
+ KUNIT_ASSERT_EQ(test, FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]),
+ GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV);
+ KUNIT_ASSERT_EQ(test,
+ FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]),
+ GUC_KLV_VF_CFG_NUM_CONTEXTS_KEY);
+
+ response_buf[0] = c->response_length;
+ response_buf[1] = c->response_value;
+
+ return 0;
+}
+
+static void test_guc_mmio(struct kunit *test)
+{
+ const struct config_mmio *c = test->param_value;
+ struct xe_gt *gt = test->priv;
+
+ gt->sriov.vf.self_config.num_ctxs = TEST_CTXS;
+ kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
+ xe_guc_mmio_send_recv_stub);
+ KUNIT_EXPECT_EQ(test, vf_get_ctxs_cfg(gt), c->expected_ret);
+}
+
+static int vf_gt_config_test_init(struct kunit *test)
+{
+ struct xe_pci_fake_data fake = {
+ .sriov_mode = XE_SRIOV_MODE_VF,
+ .platform = XE_BATTLEMAGE, /* any random DGFX platform with SR-IOV */
+ .subplatform = XE_SUBPLATFORM_NONE,
+ .graphics_verx100 = 2001,
+ };
+ struct xe_device *xe;
+ struct xe_gt *gt;
+
+ test->priv = &fake;
+ xe_kunit_helper_xe_device_test_init(test);
+
+ xe = test->priv;
+ KUNIT_ASSERT_TRUE(test, IS_SRIOV_VF(xe));
+ KUNIT_ASSERT_TRUE(test, IS_DGFX(xe));
+
+ gt = xe_root_mmio_gt(xe);
+ KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gt);
+ test->priv = gt;
+
+ return 0;
+}
+
+static struct kunit_case vf_gt_config_test_cases[] = {
+ KUNIT_CASE_PARAM(test_ctxs, ctx_testcase_gen_params),
+ KUNIT_CASE_PARAM(test_dbs, db_testcase_gen_params),
+ KUNIT_CASE_PARAM(test_vram, vram_testcase_gen_params),
+ KUNIT_CASE_PARAM(test_ggtt, ggtt_testcase_gen_params),
+ KUNIT_CASE_PARAM(test_guc_mmio, guc_mmio_resp_gen_params),
+ {}
+};
+
+static struct kunit_suite vf_gt_config_suite = {
+ .name = "vf_gt_config",
+ .test_cases = vf_gt_config_test_cases,
+ .init = vf_gt_config_test_init,
+};
+
+kunit_test_suite(vf_gt_config_suite);
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index ec79793bd547..2bafe34f1821 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -1708,3 +1708,7 @@ int xe_gt_sriov_vf_wait_valid_ggtt(struct xe_gt *gt)
return atomic_read(>->sriov.vf.migration.fixups_complete_count);
}
+
+#if IS_BUILTIN(CONFIG_DRM_XE_KUNIT_TEST)
+#include "tests/xe_gt_sriov_vf_kunit.c"
+#endif
--
2.53.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* ✗ CI.checkpatch: warning for KUnit test for VF provisioning error handling (rev8)
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (9 preceding siblings ...)
2026-09-15 7:12 ` [PATCH v8 10/10] drm/xe/tests: Add KUnit tests for VF provisioning error handling Satyanarayana K V P
@ 2026-09-15 7:19 ` Patchwork
2026-09-15 7:21 ` ✓ CI.KUnit: success " Patchwork
` (2 subsequent siblings)
13 siblings, 0 replies; 20+ messages in thread
From: Patchwork @ 2026-09-15 7:19 UTC (permalink / raw)
To: Satyanarayana K V P; +Cc: intel-xe
== Series Details ==
Series: KUnit test for VF provisioning error handling (rev8)
URL : https://patchwork.freedesktop.org/series/170198/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
d875049d2b299159a272bd5151994970cdcd1e31
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 68a46ccc3313b52cad7c786a89313e950a5272fa
Author: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Date: Tue Sep 15 12:42:07 2026 +0530
drm/xe/tests: Add KUnit tests for VF provisioning error handling
VF relies on the PF to provide a valid hardware configuration via GuC
KLV responses. In the unlikely event of PF malfunction or
misconfiguration, a VF may receive incomplete, zero, or out-of-range
values for its submission contexts, doorbells, VRAM or GGTT assignment.
Add KUnit test cases that use the xe_guc_mmio_send_recv() stub to inject
bad KLV responses and verify that VF can survive without crashing for
the invalid configuration data received.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
+ /mt/dim checkpatch 8e43a2d3ccfbde57dfcdfdfb5efd9bbbea8807ae drm-intel
b7f07dbf25b2 drm/xe/guc: Allow to replace xe_guc_mmio_send_recv() with KUNIT stub
2ed7e3b9b49d drm/xe/vf: Split submission config query helpers
f9f1b7e48905 drm/xe/vf: Add bounds checking for queried context and doorbell counts
506be0a3b5c9 drm/xe: Introduce helpers for VRAM alignment
215554f576e8 drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range
ef733aae8bea drm/xe/vf: Add bounds checking for queried GGTT base and size
a7cbed121f5d drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE
bcbd2209db62 drm/xe/vf: Add alignment check for queried VRAM size
6330833ae88e drm/xe/ggtt: Add KUNIT stub for xe_ggtt_shift_nodes()
68a46ccc3313 drm/xe/tests: Add KUnit tests for VF provisioning error handling
-:20: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#20:
new file mode 100644
-:47: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'test' - possible side-effects?
#47: FILE: drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c:23:
+#define TEST_VALIDATE_IN_PARAMS(test, len, request, key) \
+ do { \
+ KUNIT_ASSERT_EQ(test, len, VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_LEN); \
+ KUNIT_ASSERT_EQ(test, \
+ FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]), \
+ GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV); \
+ KUNIT_ASSERT_EQ(test, \
+ FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]), \
+ key); \
+ } while (0)
-:47: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'request' - possible side-effects?
#47: FILE: drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c:23:
+#define TEST_VALIDATE_IN_PARAMS(test, len, request, key) \
+ do { \
+ KUNIT_ASSERT_EQ(test, len, VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_LEN); \
+ KUNIT_ASSERT_EQ(test, \
+ FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]), \
+ GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV); \
+ KUNIT_ASSERT_EQ(test, \
+ FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]), \
+ key); \
+ } while (0)
-:58: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'resp' - possible side-effects?
#58: FILE: drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c:34:
+#define TEST_FILL_RESP_BUFF(resp, c, type) \
+ do { \
+ if (type == sizeof(u32)) { \
+ resp[0] = sizeof(u32) / sizeof(u32); \
+ resp[1] = (c)->query; \
+ } else if (type == sizeof(u64)) { \
+ resp[0] = sizeof(u64) / sizeof(u32); \
+ resp[1] = lower_32_bits((c)->query); \
+ resp[2] = upper_32_bits((c)->query); \
+ } \
+ } while (0)
-:58: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'c' - possible side-effects?
#58: FILE: drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c:34:
+#define TEST_FILL_RESP_BUFF(resp, c, type) \
+ do { \
+ if (type == sizeof(u32)) { \
+ resp[0] = sizeof(u32) / sizeof(u32); \
+ resp[1] = (c)->query; \
+ } else if (type == sizeof(u64)) { \
+ resp[0] = sizeof(u64) / sizeof(u32); \
+ resp[1] = lower_32_bits((c)->query); \
+ resp[2] = upper_32_bits((c)->query); \
+ } \
+ } while (0)
total: 0 errors, 1 warnings, 4 checks, 400 lines checked
^ permalink raw reply [flat|nested] 20+ messages in thread
* ✓ CI.KUnit: success for KUnit test for VF provisioning error handling (rev8)
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (10 preceding siblings ...)
2026-09-15 7:19 ` ✗ CI.checkpatch: warning for KUnit test for VF provisioning error handling (rev8) Patchwork
@ 2026-09-15 7:21 ` Patchwork
2026-09-15 8:04 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-15 9:06 ` ✗ Xe.CI.FULL: failure " Patchwork
13 siblings, 0 replies; 20+ messages in thread
From: Patchwork @ 2026-09-15 7:21 UTC (permalink / raw)
To: Satyanarayana K V P; +Cc: intel-xe
== Series Details ==
Series: KUnit test for VF provisioning error handling (rev8)
URL : https://patchwork.freedesktop.org/series/170198/
State : success
== 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
[07:19:25] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:19:30] 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
[07:19:51] Starting KUnit Kernel (1/1)...
[07:19:51] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:19:51] ============= refcount_interrupt (4 subtests) ==============
[07:19:51] [PASSED] test_single_irq_change
[07:19:51] [PASSED] test_nested_irq_change
[07:19:51] [PASSED] test_multiple_irq_change
[07:19:51] [PASSED] test_irq_save
[07:19:51] =============== [PASSED] refcount_interrupt ================
[07:19:51] ================= gpu_buddy (14 subtests) ==================
[07:19:51] [PASSED] gpu_test_buddy_alloc_limit
[07:19:51] [PASSED] gpu_test_buddy_alloc_optimistic
[07:19:51] [PASSED] gpu_test_buddy_alloc_pessimistic
[07:19:51] [PASSED] gpu_test_buddy_alloc_pathological
[07:19:51] [PASSED] gpu_test_buddy_alloc_contiguous
[07:19:51] [PASSED] gpu_test_buddy_alloc_clear
[07:19:51] [PASSED] gpu_test_buddy_alloc_range
[07:19:51] [PASSED] gpu_test_buddy_alloc_range_bias
[07:19:52] [PASSED] gpu_test_buddy_fragmentation_performance
[07:19:53] [PASSED] gpu_test_buddy_dirty_tracker_performance
[07:19:53] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[07:19:53] [PASSED] gpu_test_buddy_offset_aligned_allocation
[07:19:53] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[07:19:53] [PASSED] gpu_test_buddy_addr_to_block
[07:19:53] ==================== [PASSED] gpu_buddy ====================
[07:19:53] ============================================================
[07:19:53] Testing complete. Ran 18 tests: passed: 18
[07:19:53] Elapsed time: 27.236s total, 4.363s configuring, 20.655s building, 2.140s 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
[07:19:53] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:19:55] 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
[07:20:29] Starting KUnit Kernel (1/1)...
[07:20:29] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:20:29] ============= refcount_interrupt (4 subtests) ==============
[07:20:29] [PASSED] test_single_irq_change
[07:20:29] [PASSED] test_nested_irq_change
[07:20:29] [PASSED] test_multiple_irq_change
[07:20:29] [PASSED] test_irq_save
[07:20:29] =============== [PASSED] refcount_interrupt ================
[07:20:29] ================== guc_buf (11 subtests) ===================
[07:20:29] [PASSED] test_smallest
[07:20:29] [PASSED] test_largest
[07:20:29] [PASSED] test_granular
[07:20:29] [PASSED] test_unique
[07:20:29] [PASSED] test_overlap
[07:20:29] [PASSED] test_reusable
[07:20:29] [PASSED] test_too_big
[07:20:29] [PASSED] test_flush
[07:20:29] [PASSED] test_lookup
[07:20:29] [PASSED] test_data
[07:20:29] [PASSED] test_class
[07:20:29] ===================== [PASSED] guc_buf =====================
[07:20:29] =================== guc_dbm (7 subtests) ===================
[07:20:29] [PASSED] test_empty
[07:20:29] [PASSED] test_default
[07:20:29] ======================== test_size ========================
[07:20:29] [PASSED] 4
[07:20:29] [PASSED] 8
[07:20:29] [PASSED] 32
[07:20:29] [PASSED] 256
[07:20:29] ==================== [PASSED] test_size ====================
[07:20:29] ======================= test_reuse ========================
[07:20:29] [PASSED] 4
[07:20:29] [PASSED] 8
[07:20:29] [PASSED] 32
[07:20:29] [PASSED] 256
[07:20:29] =================== [PASSED] test_reuse ====================
[07:20:30] =================== test_range_overlap ====================
[07:20:30] [PASSED] 4
[07:20:30] [PASSED] 8
[07:20:30] [PASSED] 32
[07:20:30] [PASSED] 256
[07:20:30] =============== [PASSED] test_range_overlap ================
[07:20:30] =================== test_range_compact ====================
[07:20:30] [PASSED] 4
[07:20:30] [PASSED] 8
[07:20:30] [PASSED] 32
[07:20:30] [PASSED] 256
[07:20:30] =============== [PASSED] test_range_compact ================
[07:20:30] ==================== test_range_spare =====================
[07:20:30] [PASSED] 4
[07:20:30] [PASSED] 8
[07:20:30] [PASSED] 32
[07:20:30] [PASSED] 256
[07:20:30] ================ [PASSED] test_range_spare =================
[07:20:30] ===================== [PASSED] guc_dbm =====================
[07:20:30] =================== guc_idm (6 subtests) ===================
[07:20:30] [PASSED] bad_init
[07:20:30] [PASSED] no_init
[07:20:30] [PASSED] init_fini
[07:20:30] [PASSED] check_used
[07:20:30] [PASSED] check_quota
[07:20:30] [PASSED] check_all
[07:20:30] ===================== [PASSED] guc_idm =====================
[07:20:30] =============== guc_klv_helpers (9 subtests) ===============
[07:20:30] [PASSED] test_count
[07:20:30] [PASSED] test_encode_u32
[07:20:30] [PASSED] test_encode_u64
[07:20:30] [PASSED] test_encode_string
[07:20:30] [PASSED] test_encode_object_raw
[07:20:30] [PASSED] test_encode_object_klv
[07:20:30] [PASSED] test_encode_object_nested
[07:20:30] [PASSED] test_encode_object_basic
[07:20:30] [PASSED] test_print
[07:20:30] ================= [PASSED] guc_klv_helpers =================
[07:20:30] =================== xe_log (4 subtests) ====================
[07:20:30] [PASSED] demo_cper
[07:20:30] [PASSED] demo_dmesg
[07:20:30] ======================= test_dmesg ========================
[07:20:30] [PASSED] test_fatal
[07:20:30] [PASSED] test_fatal_tile
[07:20:30] [PASSED] test_fatal_gt
[07:20:30] [PASSED] test_fatal_comp
[07:20:30] [PASSED] test_fatal_comp_tile
[07:20:30] [PASSED] test_fatal_comp_gt
[07:20:30] [PASSED] test_fatal_all
[07:20:30] [PASSED] test_recoverable
[07:20:30] [PASSED] test_recoverable_tile
[07:20:30] [PASSED] test_recoverable_gt
[07:20:30] [PASSED] test_recoverable_comp
[07:20:30] [PASSED] test_recoverable_comp_tile
[07:20:30] [PASSED] test_recoverable_comp_gt
[07:20:30] [PASSED] test_recoverable_all
[07:20:30] [PASSED] test_info
[07:20:30] [PASSED] test_info_tile
[07:20:30] [PASSED] test_info_gt
[07:20:30] [PASSED] test_info_err
[07:20:30] [PASSED] test_info_comp
[07:20:30] [PASSED] test_info_comp_tile
[07:20:30] [PASSED] test_info_comp_gt
[07:20:30] [PASSED] test_info_all
[07:20:30] [PASSED] test_hw_fatal
[07:20:30] [PASSED] test_hw_recoverable
[07:20:30] [PASSED] test_hw_corrected
[07:20:30] [PASSED] test_hw_informational
[07:20:30] =================== [PASSED] test_dmesg ====================
[07:20:30] ====================== test_invalid =======================
[07:20:30] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[07:20:30] ================== [SKIPPED] test_invalid ==================
[07:20:30] ===================== [PASSED] xe_log ======================
[07:20:30] ================ vf_gt_config (5 subtests) =================
[07:20:30] ======================== test_ctxs ========================
[07:20:30] [PASSED] same
[07:20:30] [PASSED] none
[07:20:30] [PASSED] overflow
[07:20:30] [PASSED] lost
[07:20:30] [PASSED] reduced
[07:20:30] [PASSED] increased
[07:20:30] [PASSED] proto_error
[07:20:30] [PASSED] IO_error
[07:20:30] ==================== [PASSED] test_ctxs ====================
[07:20:30] ======================== test_dbs =========================
[07:20:30] [PASSED] same
[07:20:30] [PASSED] none
[07:20:30] [PASSED] overflow
[07:20:30] [PASSED] lost
[07:20:30] [PASSED] reduced
[07:20:30] [PASSED] increased
[07:20:30] [PASSED] proto_error
[07:20:30] [PASSED] IO_error
[07:20:30] ==================== [PASSED] test_dbs =====================
[07:20:30] ======================== test_vram ========================
[07:20:30] [PASSED] same
[07:20:30] [PASSED] none
[07:20:30] [PASSED] increased
[07:20:30] [PASSED] lost
[07:20:30] [PASSED] reduced
[07:20:30] [PASSED] unaligned
[07:20:30] [PASSED] proto_error
[07:20:30] [PASSED] IO_error
[07:20:30] ==================== [PASSED] test_vram ====================
[07:20:30] ======================== test_ggtt ========================
[07:20:30] [PASSED] same
[07:20:30] [PASSED] query_on_init
[07:20:30] [PASSED] none
[07:20:30] [PASSED] overflow
[07:20:30] [PASSED] overflow_query_on_init
[07:20:30] [PASSED] lost
[07:20:30] [PASSED] lost_on_init
[07:20:30] [PASSED] reduced
[07:20:30] [PASSED] increased
[07:20:30] [PASSED] unaligned_size_4K
[07:20:30] [PASSED] unaligned_size_4K_on_init
[07:20:30] [PASSED] unaligned_base_4K
[07:20:30] [PASSED] unaligned_base_4K_on_init
[07:20:30] [PASSED] proto_error
[07:20:30] [PASSED] IO_error
[07:20:30] [PASSED] out_of_bounds_size_on_init
[07:20:30] ==================== [PASSED] test_ggtt ====================
[07:20:30] ====================== test_guc_mmio ======================
[07:20:30] [PASSED] same
[07:20:30] [PASSED] none
[07:20:30] [PASSED] overflow
[07:20:30] [PASSED] lost
[07:20:30] [PASSED] invalid
[07:20:30] [PASSED] proto_error
[07:20:30] [PASSED] IO_error
[07:20:30] ================== [PASSED] test_guc_mmio ==================
[07:20:30] ================== [PASSED] vf_gt_config ===================
[07:20:30] ================== no_relay (3 subtests) ===================
[07:20:30] [PASSED] xe_drops_guc2pf_if_not_ready
[07:20:30] [PASSED] xe_drops_guc2vf_if_not_ready
[07:20:30] [PASSED] xe_rejects_send_if_not_ready
[07:20:30] ==================== [PASSED] no_relay =====================
[07:20:30] ================== pf_relay (14 subtests) ==================
[07:20:30] [PASSED] pf_rejects_guc2pf_too_short
[07:20:30] [PASSED] pf_rejects_guc2pf_too_long
[07:20:30] [PASSED] pf_rejects_guc2pf_no_payload
[07:20:30] [PASSED] pf_fails_no_payload
[07:20:30] [PASSED] pf_fails_bad_origin
[07:20:30] [PASSED] pf_fails_bad_type
[07:20:30] [PASSED] pf_txn_reports_error
[07:20:30] [PASSED] pf_txn_sends_pf2guc
[07:20:30] [PASSED] pf_sends_pf2guc
[07:20:30] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:20:30] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:20:30] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:20:30] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:20:30] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:20:30] ==================== [PASSED] pf_relay =====================
[07:20:30] ================== vf_relay (3 subtests) ===================
[07:20:30] [PASSED] vf_rejects_guc2vf_too_short
[07:20:30] [PASSED] vf_rejects_guc2vf_too_long
[07:20:30] [PASSED] vf_rejects_guc2vf_no_payload
[07:20:30] ==================== [PASSED] vf_relay =====================
[07:20:30] ================ pf_gt_config (9 subtests) =================
[07:20:30] [PASSED] fair_contexts_1vf
[07:20:30] [PASSED] fair_doorbells_1vf
[07:20:30] [PASSED] fair_ggtt_1vf
[07:20:30] ====================== fair_vram_1vf ======================
[07:20:30] [PASSED] 3.50 GiB
[07:20:30] [PASSED] 11.5 GiB
[07:20:30] [PASSED] 15.5 GiB
[07:20:30] [PASSED] 31.5 GiB
[07:20:30] [PASSED] 63.5 GiB
[07:20:30] [PASSED] 1.91 GiB
[07:20:30] ================== [PASSED] fair_vram_1vf ==================
[07:20:30] ================ fair_vram_1vf_admin_only =================
[07:20:30] [PASSED] 3.50 GiB
[07:20:30] [PASSED] 11.5 GiB
[07:20:30] [PASSED] 15.5 GiB
[07:20:30] [PASSED] 31.5 GiB
[07:20:30] [PASSED] 63.5 GiB
[07:20:30] [PASSED] 1.91 GiB
[07:20:30] ============ [PASSED] fair_vram_1vf_admin_only =============
[07:20:30] ====================== fair_contexts ======================
[07:20:30] [PASSED] 1 VF
[07:20:30] [PASSED] 2 VFs
[07:20:30] [PASSED] 3 VFs
[07:20:30] [PASSED] 4 VFs
[07:20:30] [PASSED] 5 VFs
[07:20:30] [PASSED] 6 VFs
[07:20:30] [PASSED] 7 VFs
[07:20:30] [PASSED] 8 VFs
[07:20:30] [PASSED] 9 VFs
[07:20:30] [PASSED] 10 VFs
[07:20:30] [PASSED] 11 VFs
[07:20:30] [PASSED] 12 VFs
[07:20:30] [PASSED] 13 VFs
[07:20:30] [PASSED] 14 VFs
[07:20:30] [PASSED] 15 VFs
[07:20:30] [PASSED] 16 VFs
[07:20:30] [PASSED] 17 VFs
[07:20:30] [PASSED] 18 VFs
[07:20:30] [PASSED] 19 VFs
[07:20:30] [PASSED] 20 VFs
[07:20:30] [PASSED] 21 VFs
[07:20:30] [PASSED] 22 VFs
[07:20:30] [PASSED] 23 VFs
[07:20:30] [PASSED] 24 VFs
[07:20:30] [PASSED] 25 VFs
[07:20:30] [PASSED] 26 VFs
[07:20:30] [PASSED] 27 VFs
[07:20:30] [PASSED] 28 VFs
[07:20:30] [PASSED] 29 VFs
[07:20:30] [PASSED] 30 VFs
[07:20:30] [PASSED] 31 VFs
[07:20:30] [PASSED] 32 VFs
[07:20:30] [PASSED] 33 VFs
[07:20:30] [PASSED] 34 VFs
[07:20:30] [PASSED] 35 VFs
[07:20:30] [PASSED] 36 VFs
[07:20:30] [PASSED] 37 VFs
[07:20:30] [PASSED] 38 VFs
[07:20:30] [PASSED] 39 VFs
[07:20:30] [PASSED] 40 VFs
[07:20:30] [PASSED] 41 VFs
[07:20:30] [PASSED] 42 VFs
[07:20:30] [PASSED] 43 VFs
[07:20:30] [PASSED] 44 VFs
[07:20:30] [PASSED] 45 VFs
[07:20:30] [PASSED] 46 VFs
[07:20:30] [PASSED] 47 VFs
[07:20:30] [PASSED] 48 VFs
[07:20:30] [PASSED] 49 VFs
[07:20:30] [PASSED] 50 VFs
[07:20:30] [PASSED] 51 VFs
[07:20:30] [PASSED] 52 VFs
[07:20:30] [PASSED] 53 VFs
[07:20:30] [PASSED] 54 VFs
[07:20:30] [PASSED] 55 VFs
[07:20:30] [PASSED] 56 VFs
[07:20:30] [PASSED] 57 VFs
[07:20:30] [PASSED] 58 VFs
[07:20:30] [PASSED] 59 VFs
[07:20:30] [PASSED] 60 VFs
[07:20:30] [PASSED] 61 VFs
[07:20:30] [PASSED] 62 VFs
[07:20:30] [PASSED] 63 VFs
[07:20:30] ================== [PASSED] fair_contexts ==================
[07:20:30] ===================== fair_doorbells ======================
[07:20:30] [PASSED] 1 VF
[07:20:30] [PASSED] 2 VFs
[07:20:30] [PASSED] 3 VFs
[07:20:30] [PASSED] 4 VFs
[07:20:30] [PASSED] 5 VFs
[07:20:30] [PASSED] 6 VFs
[07:20:30] [PASSED] 7 VFs
[07:20:30] [PASSED] 8 VFs
[07:20:30] [PASSED] 9 VFs
[07:20:30] [PASSED] 10 VFs
[07:20:30] [PASSED] 11 VFs
[07:20:30] [PASSED] 12 VFs
[07:20:30] [PASSED] 13 VFs
[07:20:30] [PASSED] 14 VFs
[07:20:30] [PASSED] 15 VFs
[07:20:30] [PASSED] 16 VFs
[07:20:30] [PASSED] 17 VFs
[07:20:30] [PASSED] 18 VFs
[07:20:30] [PASSED] 19 VFs
[07:20:30] [PASSED] 20 VFs
[07:20:30] [PASSED] 21 VFs
[07:20:30] [PASSED] 22 VFs
[07:20:30] [PASSED] 23 VFs
[07:20:30] [PASSED] 24 VFs
[07:20:30] [PASSED] 25 VFs
[07:20:30] [PASSED] 26 VFs
[07:20:30] [PASSED] 27 VFs
[07:20:30] [PASSED] 28 VFs
[07:20:30] [PASSED] 29 VFs
[07:20:30] [PASSED] 30 VFs
[07:20:30] [PASSED] 31 VFs
[07:20:30] [PASSED] 32 VFs
[07:20:30] [PASSED] 33 VFs
[07:20:30] [PASSED] 34 VFs
[07:20:30] [PASSED] 35 VFs
[07:20:30] [PASSED] 36 VFs
[07:20:30] [PASSED] 37 VFs
[07:20:30] [PASSED] 38 VFs
[07:20:30] [PASSED] 39 VFs
[07:20:30] [PASSED] 40 VFs
[07:20:30] [PASSED] 41 VFs
[07:20:30] [PASSED] 42 VFs
[07:20:30] [PASSED] 43 VFs
[07:20:30] [PASSED] 44 VFs
[07:20:30] [PASSED] 45 VFs
[07:20:30] [PASSED] 46 VFs
[07:20:30] [PASSED] 47 VFs
[07:20:30] [PASSED] 48 VFs
[07:20:30] [PASSED] 49 VFs
[07:20:30] [PASSED] 50 VFs
[07:20:30] [PASSED] 51 VFs
[07:20:30] [PASSED] 52 VFs
[07:20:30] [PASSED] 53 VFs
[07:20:30] [PASSED] 54 VFs
[07:20:30] [PASSED] 55 VFs
[07:20:30] [PASSED] 56 VFs
[07:20:30] [PASSED] 57 VFs
[07:20:30] [PASSED] 58 VFs
[07:20:30] [PASSED] 59 VFs
[07:20:30] [PASSED] 60 VFs
[07:20:30] [PASSED] 61 VFs
[07:20:30] [PASSED] 62 VFs
[07:20:30] [PASSED] 63 VFs
[07:20:30] ================= [PASSED] fair_doorbells ==================
[07:20:30] ======================== fair_ggtt ========================
[07:20:30] [PASSED] 1 VF
[07:20:30] [PASSED] 2 VFs
[07:20:30] [PASSED] 3 VFs
[07:20:30] [PASSED] 4 VFs
[07:20:30] [PASSED] 5 VFs
[07:20:30] [PASSED] 6 VFs
[07:20:30] [PASSED] 7 VFs
[07:20:30] [PASSED] 8 VFs
[07:20:30] [PASSED] 9 VFs
[07:20:30] [PASSED] 10 VFs
[07:20:30] [PASSED] 11 VFs
[07:20:30] [PASSED] 12 VFs
[07:20:30] [PASSED] 13 VFs
[07:20:30] [PASSED] 14 VFs
[07:20:30] [PASSED] 15 VFs
[07:20:30] [PASSED] 16 VFs
[07:20:30] [PASSED] 17 VFs
[07:20:30] [PASSED] 18 VFs
[07:20:30] [PASSED] 19 VFs
[07:20:30] [PASSED] 20 VFs
[07:20:30] [PASSED] 21 VFs
[07:20:30] [PASSED] 22 VFs
[07:20:30] [PASSED] 23 VFs
[07:20:30] [PASSED] 24 VFs
[07:20:30] [PASSED] 25 VFs
[07:20:30] [PASSED] 26 VFs
[07:20:30] [PASSED] 27 VFs
[07:20:30] [PASSED] 28 VFs
[07:20:30] [PASSED] 29 VFs
[07:20:30] [PASSED] 30 VFs
[07:20:30] [PASSED] 31 VFs
[07:20:30] [PASSED] 32 VFs
[07:20:30] [PASSED] 33 VFs
[07:20:30] [PASSED] 34 VFs
[07:20:30] [PASSED] 35 VFs
[07:20:30] [PASSED] 36 VFs
[07:20:30] [PASSED] 37 VFs
[07:20:30] [PASSED] 38 VFs
[07:20:30] [PASSED] 39 VFs
[07:20:30] [PASSED] 40 VFs
[07:20:30] [PASSED] 41 VFs
[07:20:30] [PASSED] 42 VFs
[07:20:30] [PASSED] 43 VFs
[07:20:30] [PASSED] 44 VFs
[07:20:30] [PASSED] 45 VFs
[07:20:30] [PASSED] 46 VFs
[07:20:30] [PASSED] 47 VFs
[07:20:30] [PASSED] 48 VFs
[07:20:30] [PASSED] 49 VFs
[07:20:30] [PASSED] 50 VFs
[07:20:30] [PASSED] 51 VFs
[07:20:30] [PASSED] 52 VFs
[07:20:30] [PASSED] 53 VFs
[07:20:30] [PASSED] 54 VFs
[07:20:30] [PASSED] 55 VFs
[07:20:30] [PASSED] 56 VFs
[07:20:30] [PASSED] 57 VFs
[07:20:30] [PASSED] 58 VFs
[07:20:30] [PASSED] 59 VFs
[07:20:30] [PASSED] 60 VFs
[07:20:30] [PASSED] 61 VFs
[07:20:30] [PASSED] 62 VFs
[07:20:30] [PASSED] 63 VFs
[07:20:30] ==================== [PASSED] fair_ggtt ====================
[07:20:30] ======================== fair_vram ========================
[07:20:30] [PASSED] 1 VF
[07:20:30] [PASSED] 2 VFs
[07:20:30] [PASSED] 3 VFs
[07:20:30] [PASSED] 4 VFs
[07:20:30] [PASSED] 5 VFs
[07:20:30] [PASSED] 6 VFs
[07:20:30] [PASSED] 7 VFs
[07:20:30] [PASSED] 8 VFs
[07:20:30] [PASSED] 9 VFs
[07:20:30] [PASSED] 10 VFs
[07:20:30] [PASSED] 11 VFs
[07:20:30] [PASSED] 12 VFs
[07:20:30] [PASSED] 13 VFs
[07:20:30] [PASSED] 14 VFs
[07:20:30] [PASSED] 15 VFs
[07:20:30] [PASSED] 16 VFs
[07:20:30] [PASSED] 17 VFs
[07:20:30] [PASSED] 18 VFs
[07:20:30] [PASSED] 19 VFs
[07:20:30] [PASSED] 20 VFs
[07:20:30] [PASSED] 21 VFs
[07:20:30] [PASSED] 22 VFs
[07:20:30] [PASSED] 23 VFs
[07:20:30] [PASSED] 24 VFs
[07:20:30] [PASSED] 25 VFs
[07:20:30] [PASSED] 26 VFs
[07:20:30] [PASSED] 27 VFs
[07:20:30] [PASSED] 28 VFs
[07:20:30] [PASSED] 29 VFs
[07:20:30] [PASSED] 30 VFs
[07:20:30] [PASSED] 31 VFs
[07:20:30] [PASSED] 32 VFs
[07:20:30] [PASSED] 33 VFs
[07:20:30] [PASSED] 34 VFs
[07:20:30] [PASSED] 35 VFs
[07:20:30] [PASSED] 36 VFs
[07:20:30] [PASSED] 37 VFs
[07:20:30] [PASSED] 38 VFs
[07:20:30] [PASSED] 39 VFs
[07:20:30] [PASSED] 40 VFs
[07:20:30] [PASSED] 41 VFs
[07:20:30] [PASSED] 42 VFs
[07:20:30] [PASSED] 43 VFs
[07:20:30] [PASSED] 44 VFs
[07:20:30] [PASSED] 45 VFs
[07:20:30] [PASSED] 46 VFs
[07:20:30] [PASSED] 47 VFs
[07:20:30] [PASSED] 48 VFs
[07:20:30] [PASSED] 49 VFs
[07:20:30] [PASSED] 50 VFs
[07:20:30] [PASSED] 51 VFs
[07:20:30] [PASSED] 52 VFs
[07:20:30] [PASSED] 53 VFs
[07:20:30] [PASSED] 54 VFs
[07:20:30] [PASSED] 55 VFs
[07:20:30] [PASSED] 56 VFs
[07:20:30] [PASSED] 57 VFs
[07:20:30] [PASSED] 58 VFs
[07:20:30] [PASSED] 59 VFs
[07:20:30] [PASSED] 60 VFs
[07:20:30] [PASSED] 61 VFs
[07:20:30] [PASSED] 62 VFs
[07:20:30] [PASSED] 63 VFs
[07:20:30] ==================== [PASSED] fair_vram ====================
[07:20:30] ================== [PASSED] pf_gt_config ===================
[07:20:30] ===================== lmtt (1 subtest) =====================
[07:20:30] ======================== test_ops =========================
[07:20:30] [PASSED] 2-level
[07:20:30] [PASSED] multi-level
[07:20:30] ==================== [PASSED] test_ops =====================
[07:20:30] ====================== [PASSED] lmtt =======================
[07:20:30] ================= sriov_packet (1 subtest) =================
[07:20:30] [PASSED] test_descriptor_init
[07:20:30] ================== [PASSED] sriov_packet ===================
[07:20:30] ================= pf_service (11 subtests) =================
[07:20:30] [PASSED] pf_negotiate_any
[07:20:30] [PASSED] pf_negotiate_base_match
[07:20:30] [PASSED] pf_negotiate_base_newer
[07:20:30] [PASSED] pf_negotiate_base_next
[07:20:30] [SKIPPED] pf_negotiate_base_older (no older minor)
[07:20:30] [PASSED] pf_negotiate_base_prev
[07:20:30] [PASSED] pf_negotiate_latest_match
[07:20:30] [PASSED] pf_negotiate_latest_newer
[07:20:30] [PASSED] pf_negotiate_latest_next
[07:20:30] [SKIPPED] pf_negotiate_latest_older (no older minor)
[07:20:30] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[07:20:30] =================== [PASSED] pf_service ====================
[07:20:30] ================= xe_guc_g2g (2 subtests) ==================
[07:20:30] ============== xe_live_guc_g2g_kunit_default ==============
[07:20:30] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[07:20:30] ============== xe_live_guc_g2g_kunit_allmem ===============
[07:20:30] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[07:20:30] =================== [SKIPPED] xe_guc_g2g ===================
[07:20:30] =================== xe_mocs (2 subtests) ===================
[07:20:30] ================ xe_live_mocs_kernel_kunit ================
[07:20:30] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[07:20:30] ================ xe_live_mocs_reset_kunit =================
[07:20:30] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[07:20:30] ==================== [SKIPPED] xe_mocs =====================
[07:20:30] ================= xe_migrate (2 subtests) ==================
[07:20:30] ================= xe_migrate_sanity_kunit =================
[07:20:30] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[07:20:30] ================== xe_validate_ccs_kunit ==================
[07:20:30] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[07:20:30] =================== [SKIPPED] xe_migrate ===================
[07:20:30] ================== xe_dma_buf (1 subtest) ==================
[07:20:30] ==================== xe_dma_buf_kunit =====================
[07:20:30] ================ [SKIPPED] xe_dma_buf_kunit ================
[07:20:30] =================== [SKIPPED] xe_dma_buf ===================
[07:20:30] ================= xe_bo_shrink (1 subtest) =================
[07:20:30] =================== xe_bo_shrink_kunit ====================
[07:20:30] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[07:20:30] ================== [SKIPPED] xe_bo_shrink ==================
[07:20:30] ==================== xe_bo (2 subtests) ====================
[07:20:30] ================== xe_ccs_migrate_kunit ===================
[07:20:30] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[07:20:30] ==================== xe_bo_evict_kunit ====================
[07:20:30] =============== [SKIPPED] xe_bo_evict_kunit ================
[07:20:30] ===================== [SKIPPED] xe_bo ======================
[07:20:30] =================== xe_any (9 subtests) ====================
[07:20:30] [PASSED] test_to_xe
[07:20:30] [PASSED] test_to_dev
[07:20:30] [PASSED] test_to_pdev
[07:20:30] [PASSED] test_to_drm
[07:20:30] [PASSED] test_if_pdev
[07:20:30] [PASSED] test_if_xe
[07:20:30] [PASSED] test_if_tile
[07:20:30] [PASSED] test_if_gt
[07:20:30] [PASSED] test_to_id
[07:20:30] ===================== [PASSED] xe_any ======================
[07:20:30] ==================== args (13 subtests) ====================
[07:20:30] [PASSED] count_args_test
[07:20:30] [PASSED] call_args_example
[07:20:30] [PASSED] call_args_test
[07:20:30] [PASSED] drop_first_arg_example
[07:20:30] [PASSED] drop_first_arg_test
[07:20:30] [PASSED] first_arg_example
[07:20:30] [PASSED] first_arg_test
[07:20:30] [PASSED] last_arg_example
[07:20:30] [PASSED] last_arg_test
[07:20:30] [PASSED] pick_arg_example
[07:20:30] [PASSED] if_args_example
[07:20:30] [PASSED] if_args_test
[07:20:30] [PASSED] sep_comma_example
[07:20:30] ====================== [PASSED] args =======================
[07:20:30] =================== xe_pci (3 subtests) ====================
[07:20:30] ==================== check_graphics_ip ====================
[07:20:30] [PASSED] 12.00 Xe_LP
[07:20:30] [PASSED] 12.10 Xe_LP+
[07:20:30] [PASSED] 12.55 Xe_HPG
[07:20:30] [PASSED] 12.60 Xe_HPC
[07:20:30] [PASSED] 12.70 Xe_LPG
[07:20:30] [PASSED] 12.71 Xe_LPG
[07:20:30] [PASSED] 12.74 Xe_LPG+
[07:20:30] [PASSED] 20.01 Xe2_HPG
[07:20:30] [PASSED] 20.02 Xe2_HPG
[07:20:30] [PASSED] 20.04 Xe2_LPG
[07:20:30] [PASSED] 30.00 Xe3_LPG
[07:20:30] [PASSED] 30.01 Xe3_LPG
[07:20:30] [PASSED] 30.03 Xe3_LPG
[07:20:30] [PASSED] 30.04 Xe3_LPG
[07:20:30] [PASSED] 30.05 Xe3_LPG
[07:20:30] [PASSED] 35.10 Xe3p_LPG
[07:20:30] [PASSED] 35.11 Xe3p_XPC
[07:20:30] ================ [PASSED] check_graphics_ip ================
[07:20:30] ===================== check_media_ip ======================
[07:20:30] [PASSED] 12.00 Xe_M
[07:20:30] [PASSED] 12.55 Xe_HPM
[07:20:30] [PASSED] 13.00 Xe_LPM+
[07:20:30] [PASSED] 13.01 Xe2_HPM
[07:20:30] [PASSED] 20.00 Xe2_LPM
[07:20:30] [PASSED] 30.00 Xe3_LPM
[07:20:30] [PASSED] 30.02 Xe3_LPM
[07:20:30] [PASSED] 35.00 Xe3p_LPM
[07:20:30] [PASSED] 35.03 Xe3p_HPM
[07:20:30] ================= [PASSED] check_media_ip ==================
[07:20:30] =================== check_platform_desc ===================
[07:20:30] [PASSED] 0x9A60 (TIGERLAKE)
[07:20:30] [PASSED] 0x9A68 (TIGERLAKE)
[07:20:30] [PASSED] 0x9A70 (TIGERLAKE)
[07:20:30] [PASSED] 0x9A40 (TIGERLAKE)
[07:20:30] [PASSED] 0x9A49 (TIGERLAKE)
[07:20:30] [PASSED] 0x9A59 (TIGERLAKE)
[07:20:30] [PASSED] 0x9A78 (TIGERLAKE)
[07:20:30] [PASSED] 0x9AC0 (TIGERLAKE)
[07:20:30] [PASSED] 0x9AC9 (TIGERLAKE)
[07:20:30] [PASSED] 0x9AD9 (TIGERLAKE)
[07:20:30] [PASSED] 0x9AF8 (TIGERLAKE)
[07:20:30] [PASSED] 0x4C80 (ROCKETLAKE)
[07:20:30] [PASSED] 0x4C8A (ROCKETLAKE)
[07:20:30] [PASSED] 0x4C8B (ROCKETLAKE)
[07:20:30] [PASSED] 0x4C8C (ROCKETLAKE)
[07:20:30] [PASSED] 0x4C90 (ROCKETLAKE)
[07:20:30] [PASSED] 0x4C9A (ROCKETLAKE)
[07:20:30] [PASSED] 0x4680 (ALDERLAKE_S)
[07:20:30] [PASSED] 0x4682 (ALDERLAKE_S)
[07:20:30] [PASSED] 0x4688 (ALDERLAKE_S)
[07:20:30] [PASSED] 0x468A (ALDERLAKE_S)
[07:20:30] [PASSED] 0x468B (ALDERLAKE_S)
[07:20:30] [PASSED] 0x4690 (ALDERLAKE_S)
[07:20:30] [PASSED] 0x4692 (ALDERLAKE_S)
[07:20:30] [PASSED] 0x4693 (ALDERLAKE_S)
[07:20:30] [PASSED] 0x46A0 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46A1 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46A2 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46A3 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46A6 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46A8 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46AA (ALDERLAKE_P)
[07:20:30] [PASSED] 0x462A (ALDERLAKE_P)
[07:20:30] [PASSED] 0x4626 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x4628 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46B0 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46B1 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46B2 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46B3 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46C0 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46C1 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46C2 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46C3 (ALDERLAKE_P)
[07:20:30] [PASSED] 0x46D0 (ALDERLAKE_N)
[07:20:30] [PASSED] 0x46D1 (ALDERLAKE_N)
[07:20:30] [PASSED] 0x46D2 (ALDERLAKE_N)
[07:20:30] [PASSED] 0x46D3 (ALDERLAKE_N)
[07:20:30] [PASSED] 0x46D4 (ALDERLAKE_N)
[07:20:30] [PASSED] 0xA721 (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7A1 (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7A9 (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7AC (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7AD (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA720 (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7A0 (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7A8 (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7AA (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA7AB (ALDERLAKE_P)
[07:20:30] [PASSED] 0xA780 (ALDERLAKE_S)
[07:20:30] [PASSED] 0xA781 (ALDERLAKE_S)
[07:20:30] [PASSED] 0xA782 (ALDERLAKE_S)
[07:20:30] [PASSED] 0xA783 (ALDERLAKE_S)
[07:20:30] [PASSED] 0xA788 (ALDERLAKE_S)
[07:20:30] [PASSED] 0xA789 (ALDERLAKE_S)
[07:20:30] [PASSED] 0xA78A (ALDERLAKE_S)
[07:20:30] [PASSED] 0xA78B (ALDERLAKE_S)
[07:20:30] [PASSED] 0x4905 (DG1)
[07:20:30] [PASSED] 0x4906 (DG1)
[07:20:30] [PASSED] 0x4907 (DG1)
[07:20:30] [PASSED] 0x4908 (DG1)
[07:20:30] [PASSED] 0x4909 (DG1)
[07:20:30] [PASSED] 0x56C0 (DG2)
[07:20:30] [PASSED] 0x56C2 (DG2)
[07:20:30] [PASSED] 0x56C1 (DG2)
[07:20:30] [PASSED] 0x7D51 (METEORLAKE)
[07:20:30] [PASSED] 0x7DD1 (METEORLAKE)
[07:20:30] [PASSED] 0x7D41 (METEORLAKE)
[07:20:30] [PASSED] 0x7D67 (METEORLAKE)
[07:20:30] [PASSED] 0xB640 (METEORLAKE)
[07:20:30] [PASSED] 0x56A0 (DG2)
[07:20:30] [PASSED] 0x56A1 (DG2)
[07:20:30] [PASSED] 0x56A2 (DG2)
[07:20:30] [PASSED] 0x56BE (DG2)
[07:20:30] [PASSED] 0x56BF (DG2)
[07:20:30] [PASSED] 0x5690 (DG2)
[07:20:30] [PASSED] 0x5691 (DG2)
[07:20:30] [PASSED] 0x5692 (DG2)
[07:20:30] [PASSED] 0x56A5 (DG2)
[07:20:30] [PASSED] 0x56A6 (DG2)
[07:20:30] [PASSED] 0x56B0 (DG2)
[07:20:30] [PASSED] 0x56B1 (DG2)
[07:20:30] [PASSED] 0x56BA (DG2)
[07:20:30] [PASSED] 0x56BB (DG2)
[07:20:30] [PASSED] 0x56BC (DG2)
[07:20:30] [PASSED] 0x56BD (DG2)
[07:20:30] [PASSED] 0x5693 (DG2)
[07:20:30] [PASSED] 0x5694 (DG2)
[07:20:30] [PASSED] 0x5695 (DG2)
[07:20:30] [PASSED] 0x56A3 (DG2)
[07:20:30] [PASSED] 0x56A4 (DG2)
[07:20:30] [PASSED] 0x56B2 (DG2)
[07:20:30] [PASSED] 0x56B3 (DG2)
[07:20:30] [PASSED] 0x5696 (DG2)
[07:20:30] [PASSED] 0x5697 (DG2)
[07:20:30] [PASSED] 0xB69 (PVC)
[07:20:30] [PASSED] 0xB6E (PVC)
[07:20:30] [PASSED] 0xBD4 (PVC)
[07:20:30] [PASSED] 0xBD5 (PVC)
[07:20:30] [PASSED] 0xBD6 (PVC)
[07:20:30] [PASSED] 0xBD7 (PVC)
[07:20:30] [PASSED] 0xBD8 (PVC)
[07:20:30] [PASSED] 0xBD9 (PVC)
[07:20:30] [PASSED] 0xBDA (PVC)
[07:20:30] [PASSED] 0xBDB (PVC)
[07:20:30] [PASSED] 0xBE0 (PVC)
[07:20:30] [PASSED] 0xBE1 (PVC)
[07:20:30] [PASSED] 0xBE5 (PVC)
[07:20:30] [PASSED] 0x7D40 (METEORLAKE)
[07:20:30] [PASSED] 0x7D45 (METEORLAKE)
[07:20:30] [PASSED] 0x7D55 (METEORLAKE)
[07:20:30] [PASSED] 0x7D60 (METEORLAKE)
[07:20:30] [PASSED] 0x7DD5 (METEORLAKE)
[07:20:30] [PASSED] 0x6420 (LUNARLAKE)
[07:20:30] [PASSED] 0x64A0 (LUNARLAKE)
[07:20:30] [PASSED] 0x64B0 (LUNARLAKE)
[07:20:30] [PASSED] 0xE202 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE209 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE20B (BATTLEMAGE)
[07:20:30] [PASSED] 0xE20C (BATTLEMAGE)
[07:20:30] [PASSED] 0xE20D (BATTLEMAGE)
[07:20:30] [PASSED] 0xE210 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE211 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE212 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE216 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE220 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE221 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE222 (BATTLEMAGE)
[07:20:30] [PASSED] 0xE223 (BATTLEMAGE)
[07:20:30] [PASSED] 0xB080 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB081 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB082 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB083 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB084 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB085 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB086 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB087 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB08F (PANTHERLAKE)
[07:20:30] [PASSED] 0xB090 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB0A0 (PANTHERLAKE)
[07:20:30] [PASSED] 0xB0B0 (PANTHERLAKE)
[07:20:30] [PASSED] 0xFD80 (PANTHERLAKE)
[07:20:30] [PASSED] 0xFD81 (PANTHERLAKE)
[07:20:30] [PASSED] 0xD740 (NOVALAKE_S)
[07:20:30] [PASSED] 0xD741 (NOVALAKE_S)
[07:20:30] [PASSED] 0xD742 (NOVALAKE_S)
[07:20:30] [PASSED] 0xD743 (NOVALAKE_S)
[07:20:30] [PASSED] 0xD745 (NOVALAKE_S)
[07:20:30] [PASSED] 0xD74A (NOVALAKE_S)
[07:20:30] [PASSED] 0xD74B (NOVALAKE_S)
[07:20:30] [PASSED] 0x674C (CRESCENTISLAND)
[07:20:30] [PASSED] 0x674D (CRESCENTISLAND)
[07:20:30] [PASSED] 0x674E (CRESCENTISLAND)
[07:20:30] [PASSED] 0x674F (CRESCENTISLAND)
[07:20:30] [PASSED] 0x6750 (CRESCENTISLAND)
[07:20:30] [PASSED] 0xD750 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD751 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD752 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD753 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD754 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD755 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD756 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD757 (NOVALAKE_P)
[07:20:30] [PASSED] 0xD75F (NOVALAKE_P)
[07:20:30] =============== [PASSED] check_platform_desc ===============
[07:20:30] ===================== [PASSED] xe_pci ======================
[07:20:30] ============= xe_rtp_tables_test (5 subtests) ==============
[07:20:30] ================== xe_rtp_table_gt_test ===================
[07:20:30] [PASSED] gt_was/14011060649
[07:20:30] [PASSED] gt_was/14011059788
[07:20:30] [PASSED] gt_was/14015795083
[07:20:30] [PASSED] gt_was/16021867713
[07:20:30] [PASSED] gt_was/14019449301
[07:20:30] [PASSED] gt_was/16028005424
[07:20:30] [PASSED] gt_was/14026578760
[07:20:30] [PASSED] gt_was/1409420604
[07:20:30] [PASSED] gt_was/1408615072
[07:20:30] [PASSED] gt_was/22010523718
[07:20:30] [PASSED] gt_was/14011006942
[07:20:30] [PASSED] gt_was/14014830051
[07:20:30] [PASSED] gt_was/18018781329
[07:20:30] [PASSED] gt_was/1509235366
[07:20:30] [PASSED] gt_was/18018781329
[07:20:30] [PASSED] gt_was/16016694945
[07:20:30] [PASSED] gt_was/14018575942
[07:20:30] [PASSED] gt_was/22016670082
[07:20:30] [PASSED] gt_was/22016670082
[07:20:30] [PASSED] gt_was/14017421178
[07:20:30] [PASSED] gt_was/16025250150
[07:20:30] [PASSED] gt_was/14021871409
[07:20:30] [PASSED] gt_was/16021865536
[07:20:30] [PASSED] gt_was/14021486841
[07:20:30] [PASSED] gt_was/14025160223
[07:20:30] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[07:20:30] [PASSED] gt_was/14025635424
[07:20:30] [PASSED] gt_was/16028005424
[07:20:30] ============== [PASSED] xe_rtp_table_gt_test ===============
[07:20:30] ================== xe_rtp_table_gt_test ===================
[07:20:30] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[07:20:30] [PASSED] gt_tunings/Tuning: 32B Access Enable
[07:20:30] [PASSED] gt_tunings/Tuning: L3 cache
[07:20:30] [PASSED] gt_tunings/Tuning: L3 cache - media
[07:20:30] [PASSED] gt_tunings/Tuning: Compression Overfetch
[07:20:30] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[07:20:30] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[07:20:30] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[07:20:30] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[07:20:30] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[07:20:30] [PASSED] gt_tunings/Tuning: Stateless compression control
[07:20:30] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[07:20:30] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[07:20:30] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[07:20:30] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[07:20:30] ============== [PASSED] xe_rtp_table_gt_test ===============
[07:20:30] ================== xe_rtp_table_oob_test ==================
[07:20:30] [PASSED] oob_was/1607983814
[07:20:30] [PASSED] oob_was/16010904313
[07:20:30] [PASSED] oob_was/18022495364
[07:20:30] [PASSED] oob_was/22012773006
[07:20:30] [PASSED] oob_was/14014475959
[07:20:30] [PASSED] oob_was/22011391025
[07:20:30] [PASSED] oob_was/22012727170
[07:20:30] [PASSED] oob_was/22012727685
[07:20:30] [PASSED] oob_was/22016596838
[07:20:30] [PASSED] oob_was/18020744125
[07:20:30] [PASSED] oob_was/1409600907
[07:20:30] [PASSED] oob_was/22014953428
[07:20:30] [PASSED] oob_was/16017236439
[07:20:30] [PASSED] oob_was/14019821291
[07:20:30] [PASSED] oob_was/14015076503
[07:20:30] [PASSED] oob_was/14018913170
[07:20:30] [PASSED] oob_was/14018094691
[07:20:30] [PASSED] oob_was/18024947630
[07:20:30] [PASSED] oob_was/16022287689
[07:20:30] [PASSED] oob_was/13011645652
[07:20:30] [PASSED] oob_was/14022293748
[07:20:30] [PASSED] oob_was/22019794406
[07:20:30] [PASSED] oob_was/22019338487
[07:20:30] [PASSED] oob_was/16023588340
[07:20:30] [PASSED] oob_was/14019789679
[07:20:30] [PASSED] oob_was/14022866841
[07:20:30] [PASSED] oob_was/16021333562
[07:20:30] [PASSED] oob_was/14016712196
[07:20:30] [PASSED] oob_was/14015568240
[07:20:30] [PASSED] oob_was/18013179988
[07:20:30] [PASSED] oob_was/1508761755
[07:20:30] [PASSED] oob_was/16023105232
[07:20:30] [PASSED] oob_was/16026508708
[07:20:30] [PASSED] oob_was/14020001231
[07:20:30] [PASSED] oob_was/16023683509
[07:20:30] [PASSED] oob_was/14025515070
[07:20:30] [PASSED] oob_was/15015404425_disable
[07:20:30] [PASSED] oob_was/16026007364
[07:20:30] [PASSED] oob_was/14020316580
[07:20:30] [PASSED] oob_was/14025883347
[07:20:30] [PASSED] oob_was/16029380221
[07:20:30] [PASSED] oob_was/22022079272
[07:20:30] [PASSED] oob_was/16029897822
[07:20:30] [PASSED] oob_was/14027054324
[07:20:30] ============== [PASSED] xe_rtp_table_oob_test ==============
[07:20:30] ================ xe_rtp_table_dev_oob_test ================
[07:20:30] [PASSED] device_oob_was/22010954014
[07:20:30] [PASSED] device_oob_was/15015404425
[07:20:30] [PASSED] device_oob_was/22019338487_display
[07:20:30] [PASSED] device_oob_was/14022085890
[07:20:30] [PASSED] device_oob_was/14026539277
[07:20:30] [PASSED] device_oob_was/14026633728
[07:20:30] [PASSED] device_oob_was/14026746987
[07:20:30] [PASSED] device_oob_was/14026779378
[07:20:30] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[07:20:30] ========== xe_rtp_table_missing_upper_bound_test ==========
[07:20:30] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[07:20:30] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[07:20:30] [PASSED] register_whitelist/1806527549
[07:20:30] [PASSED] register_whitelist/allow_read_ctx_timestamp
[07:20:30] [PASSED] register_whitelist/allow_read_queue_timestamp
[07:20:30] [PASSED] register_whitelist/16014440446
[07:20:30] [PASSED] register_whitelist/16017236439
[07:20:30] [PASSED] register_whitelist/16020183090
[07:20:30] [PASSED] register_whitelist/14024997852
[07:20:30] [PASSED] register_whitelist/14024997852
[07:20:30] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[07:20:30] =============== [PASSED] xe_rtp_tables_test ================
[07:20:30] =================== xe_rtp (3 subtests) ====================
[07:20:30] =================== xe_rtp_rules_tests ====================
[07:20:30] [PASSED] no
[07:20:30] [PASSED] yes
[07:20:30] [PASSED] no-and-no
[07:20:30] [PASSED] no-and-yes
[07:20:30] [PASSED] yes-and-no
[07:20:30] [PASSED] yes-and-yes
[07:20:30] [PASSED] no-or-no
[07:20:30] [PASSED] no-or-yes
[07:20:30] [PASSED] yes-or-no
[07:20:30] [PASSED] yes-or-yes
[07:20:30] [PASSED] no-yes-or-yes-no
[07:20:30] [PASSED] no-yes-or-yes-yes
[07:20:30] [PASSED] yes-yes-or-no-yes
[07:20:30] [PASSED] yes-yes-or-yes-yes
[07:20:30] [PASSED] no-no-or-yes-or-no
[07:20:30] [PASSED] or
[07:20:30] [PASSED] or-yes
[07:20:30] [PASSED] or-no
[07:20:30] [PASSED] yes-or
[07:20:30] [PASSED] no-or
[07:20:30] [PASSED] no-or-or-yes
[07:20:30] [PASSED] yes-or-or-no
[07:20:30] [PASSED] no-or-or-no
[07:20:30] [PASSED] missing-context-engine-class
[07:20:30] [PASSED] missing-context-engine-class-or-yes
[07:20:30] [PASSED] missing-context-engine-class-or-or-yes
[07:20:30] =============== [PASSED] xe_rtp_rules_tests ================
[07:20:30] =============== xe_rtp_process_to_sr_tests ================
[07:20:30] [PASSED] coalesce-same-reg
[07:20:30] [PASSED] coalesce-same-reg-literal-and-func
[07:20:30] [PASSED] no-match-no-add
[07:20:30] [PASSED] two-regs-two-entries
[07:20:30] [PASSED] clr-one-set-other
[07:20:30] [PASSED] set-field
[07:20:30] [PASSED] conflict-duplicate
[07:20:30] [PASSED] conflict-not-disjoint
[07:20:30] [PASSED] conflict-not-disjoint-literal-and-func
[07:20:30] [PASSED] conflict-reg-type
[07:20:30] [PASSED] bad-mcr-reg-forced-to-regular
[07:20:30] [PASSED] bad-regular-reg-forced-to-mcr
[07:20:30] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[07:20:30] ================== xe_rtp_process_tests ===================
[07:20:30] [PASSED] active1
[07:20:30] [PASSED] active2
[07:20:30] [PASSED] active-inactive
[07:20:30] [PASSED] inactive-active
[07:20:30] [PASSED] inactive-active-inactive
[07:20:30] [PASSED] inactive-inactive-inactive
[07:20:30] ============== [PASSED] xe_rtp_process_tests ===============
[07:20:30] ===================== [PASSED] xe_rtp ======================
[07:20:30] ==================== xe_wa (1 subtest) =====================
[07:20:30] ======================== xe_wa_gt =========================
[07:20:30] [PASSED] TIGERLAKE B0
[07:20:30] [PASSED] DG1 A0
[07:20:30] [PASSED] DG1 B0
[07:20:30] [PASSED] ALDERLAKE_S A0
[07:20:30] [PASSED] ALDERLAKE_S B0
[07:20:30] [PASSED] ALDERLAKE_S C0
[07:20:30] [PASSED] ALDERLAKE_S D0
[07:20:30] [PASSED] ALDERLAKE_P A0
[07:20:30] [PASSED] ALDERLAKE_P B0
[07:20:30] [PASSED] ALDERLAKE_P C0
[07:20:30] [PASSED] ALDERLAKE_S RPLS D0
[07:20:30] [PASSED] ALDERLAKE_P RPLU E0
[07:20:30] [PASSED] DG2 G10 C0
[07:20:30] [PASSED] DG2 G11 B1
[07:20:30] [PASSED] DG2 G12 A1
[07:20:30] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:20:30] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:20:30] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[07:20:30] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[07:20:30] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[07:20:30] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[07:20:30] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[07:20:30] ==================== [PASSED] xe_wa_gt =====================
[07:20:30] ====================== [PASSED] xe_wa ======================
[07:20:30] ============================================================
[07:20:30] Testing complete. Ran 840 tests: passed: 812, skipped: 28
[07:20:30] Elapsed time: 37.178s total, 1.842s configuring, 34.569s building, 0.754s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[07:20:30] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:20: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
[07:20:57] Starting KUnit Kernel (1/1)...
[07:20:57] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:20:57] ============= refcount_interrupt (4 subtests) ==============
[07:20:57] [PASSED] test_single_irq_change
[07:20:57] [PASSED] test_nested_irq_change
[07:20:57] [PASSED] test_multiple_irq_change
[07:20:57] [PASSED] test_irq_save
[07:20:57] =============== [PASSED] refcount_interrupt ================
[07:20:57] ============ drm_test_pick_cmdline (2 subtests) ============
[07:20:57] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[07:20:57] =============== drm_test_pick_cmdline_named ===============
[07:20:57] [PASSED] NTSC
[07:20:57] [PASSED] NTSC-J
[07:20:57] [PASSED] PAL
[07:20:57] [PASSED] PAL-M
[07:20:57] =========== [PASSED] drm_test_pick_cmdline_named ===========
[07:20:57] ============== [PASSED] drm_test_pick_cmdline ==============
[07:20:57] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[07:20:57] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[07:20:57] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[07:20:57] =========== drm_validate_clone_mode (2 subtests) ===========
[07:20:57] ============== drm_test_check_in_clone_mode ===============
[07:20:57] [PASSED] in_clone_mode
[07:20:57] [PASSED] not_in_clone_mode
[07:20:57] ========== [PASSED] drm_test_check_in_clone_mode ===========
[07:20:57] =============== drm_test_check_valid_clones ===============
[07:20:57] [PASSED] not_in_clone_mode
[07:20:57] [PASSED] valid_clone
[07:20:57] [PASSED] invalid_clone
[07:20:57] =========== [PASSED] drm_test_check_valid_clones ===========
[07:20:57] ============= [PASSED] drm_validate_clone_mode =============
[07:20:57] ============= drm_validate_modeset (1 subtest) =============
[07:20:57] [PASSED] drm_test_check_connector_changed_modeset
[07:20:57] ============== [PASSED] drm_validate_modeset ===============
[07:20:57] ====== drm_test_bridge_get_current_state (1 subtest) =======
[07:20:57] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[07:20:57] ======== [PASSED] drm_test_bridge_get_current_state ========
[07:20:57] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[07:20:57] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[07:20:57] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[07:20:57] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[07:20:57] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[07:20:57] ============== drm_bridge_alloc (2 subtests) ===============
[07:20:57] [PASSED] drm_test_drm_bridge_alloc_basic
[07:20:57] [PASSED] drm_test_drm_bridge_alloc_get_put
[07:20:57] ================ [PASSED] drm_bridge_alloc =================
[07:20:57] ============= drm_bridge_bus_fmt (5 subtests) ==============
[07:20:57] [PASSED] drm_test_bridge_rgb_yuv_rgb
[07:20:57] [PASSED] drm_test_bridge_must_convert_to_yuv444
[07:20:57] [PASSED] drm_test_bridge_hdmi_auto_rgb
[07:20:57] [PASSED] drm_test_bridge_auto_first
[07:20:57] [PASSED] drm_test_bridge_rgb_yuv_no_path
[07:20:57] =============== [PASSED] drm_bridge_bus_fmt ================
[07:20:57] ============= drm_cmdline_parser (40 subtests) =============
[07:20:57] [PASSED] drm_test_cmdline_force_d_only
[07:20:57] [PASSED] drm_test_cmdline_force_D_only_dvi
[07:20:57] [PASSED] drm_test_cmdline_force_D_only_hdmi
[07:20:57] [PASSED] drm_test_cmdline_force_D_only_not_digital
[07:20:57] [PASSED] drm_test_cmdline_force_e_only
[07:20:57] [PASSED] drm_test_cmdline_res
[07:20:57] [PASSED] drm_test_cmdline_res_vesa
[07:20:57] [PASSED] drm_test_cmdline_res_vesa_rblank
[07:20:57] [PASSED] drm_test_cmdline_res_rblank
[07:20:57] [PASSED] drm_test_cmdline_res_bpp
[07:20:57] [PASSED] drm_test_cmdline_res_refresh
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[07:20:57] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[07:20:57] [PASSED] drm_test_cmdline_res_margins_force_on
[07:20:57] [PASSED] drm_test_cmdline_res_vesa_margins
[07:20:57] [PASSED] drm_test_cmdline_name
[07:20:57] [PASSED] drm_test_cmdline_name_bpp
[07:20:57] [PASSED] drm_test_cmdline_name_option
[07:20:57] [PASSED] drm_test_cmdline_name_bpp_option
[07:20:57] [PASSED] drm_test_cmdline_rotate_0
[07:20:57] [PASSED] drm_test_cmdline_rotate_90
[07:20:57] [PASSED] drm_test_cmdline_rotate_180
[07:20:57] [PASSED] drm_test_cmdline_rotate_270
[07:20:57] [PASSED] drm_test_cmdline_hmirror
[07:20:57] [PASSED] drm_test_cmdline_vmirror
[07:20:57] [PASSED] drm_test_cmdline_margin_options
[07:20:57] [PASSED] drm_test_cmdline_multiple_options
[07:20:57] [PASSED] drm_test_cmdline_bpp_extra_and_option
[07:20:57] [PASSED] drm_test_cmdline_extra_and_option
[07:20:57] [PASSED] drm_test_cmdline_freestanding_options
[07:20:57] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[07:20:57] [PASSED] drm_test_cmdline_panel_orientation
[07:20:57] ================ drm_test_cmdline_invalid =================
[07:20:57] [PASSED] margin_only
[07:20:57] [PASSED] interlace_only
[07:20:57] [PASSED] res_missing_x
[07:20:57] [PASSED] res_missing_y
[07:20:57] [PASSED] res_bad_y
[07:20:57] [PASSED] res_missing_y_bpp
[07:20:57] [PASSED] res_bad_bpp
[07:20:57] [PASSED] res_bad_refresh
[07:20:57] [PASSED] res_bpp_refresh_force_on_off
[07:20:57] [PASSED] res_invalid_mode
[07:20:57] [PASSED] res_bpp_wrong_place_mode
[07:20:57] [PASSED] name_bpp_refresh
[07:20:57] [PASSED] name_refresh
[07:20:57] [PASSED] name_refresh_wrong_mode
[07:20:57] [PASSED] name_refresh_invalid_mode
[07:20:57] [PASSED] rotate_multiple
[07:20:57] [PASSED] rotate_invalid_val
[07:20:57] [PASSED] rotate_truncated
[07:20:57] [PASSED] invalid_option
[07:20:57] [PASSED] invalid_tv_option
[07:20:57] [PASSED] truncated_tv_option
[07:20:57] ============ [PASSED] drm_test_cmdline_invalid =============
[07:20:57] =============== drm_test_cmdline_tv_options ===============
[07:20:57] [PASSED] NTSC
[07:20:57] [PASSED] NTSC_443
[07:20:57] [PASSED] NTSC_J
[07:20:57] [PASSED] PAL
[07:20:57] [PASSED] PAL_M
[07:20:57] [PASSED] PAL_N
[07:20:57] [PASSED] SECAM
[07:20:57] [PASSED] MONO_525
[07:20:57] [PASSED] MONO_625
[07:20:57] =========== [PASSED] drm_test_cmdline_tv_options ===========
[07:20:57] =============== [PASSED] drm_cmdline_parser ================
[07:20:57] ========== drmm_connector_hdmi_init (20 subtests) ==========
[07:20:57] [PASSED] drm_test_connector_hdmi_init_valid
[07:20:57] [PASSED] drm_test_connector_hdmi_init_bpc_8
[07:20:57] [PASSED] drm_test_connector_hdmi_init_bpc_10
[07:20:57] [PASSED] drm_test_connector_hdmi_init_bpc_12
[07:20:57] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[07:20:57] [PASSED] drm_test_connector_hdmi_init_bpc_null
[07:20:57] [PASSED] drm_test_connector_hdmi_init_formats_empty
[07:20:57] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[07:20:57] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:20:57] [PASSED] supported_formats=0x9 yuv420_allowed=1
[07:20:57] [PASSED] supported_formats=0x9 yuv420_allowed=0
[07:20:57] [PASSED] supported_formats=0x5 yuv420_allowed=1
[07:20:57] [PASSED] supported_formats=0x5 yuv420_allowed=0
[07:20:57] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:20:57] [PASSED] drm_test_connector_hdmi_init_null_ddc
[07:20:57] [PASSED] drm_test_connector_hdmi_init_null_product
[07:20:57] [PASSED] drm_test_connector_hdmi_init_null_vendor
[07:20:57] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[07:20:57] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[07:20:57] [PASSED] drm_test_connector_hdmi_init_product_valid
[07:20:57] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[07:20:57] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[07:20:57] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[07:20:57] ========= drm_test_connector_hdmi_init_type_valid =========
[07:20:57] [PASSED] HDMI-A
[07:20:57] [PASSED] HDMI-B
[07:20:57] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[07:20:57] ======== drm_test_connector_hdmi_init_type_invalid ========
[07:20:57] [PASSED] Unknown
[07:20:57] [PASSED] VGA
[07:20:57] [PASSED] DVI-I
[07:20:57] [PASSED] DVI-D
[07:20:57] [PASSED] DVI-A
[07:20:57] [PASSED] Composite
[07:20:57] [PASSED] SVIDEO
[07:20:57] [PASSED] LVDS
[07:20:57] [PASSED] Component
[07:20:57] [PASSED] DIN
[07:20:57] [PASSED] DP
[07:20:57] [PASSED] TV
[07:20:57] [PASSED] eDP
[07:20:57] [PASSED] Virtual
[07:20:57] [PASSED] DSI
[07:20:57] [PASSED] DPI
[07:20:57] [PASSED] Writeback
[07:20:57] [PASSED] SPI
[07:20:57] [PASSED] USB
[07:20:57] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[07:20:57] ============ [PASSED] drmm_connector_hdmi_init =============
[07:20:57] ============= drmm_connector_init (3 subtests) =============
[07:20:57] [PASSED] drm_test_drmm_connector_init
[07:20:57] [PASSED] drm_test_drmm_connector_init_null_ddc
[07:20:57] ========= drm_test_drmm_connector_init_type_valid =========
[07:20:57] [PASSED] Unknown
[07:20:57] [PASSED] VGA
[07:20:57] [PASSED] DVI-I
[07:20:57] [PASSED] DVI-D
[07:20:57] [PASSED] DVI-A
[07:20:57] [PASSED] Composite
[07:20:57] [PASSED] SVIDEO
[07:20:57] [PASSED] LVDS
[07:20:57] [PASSED] Component
[07:20:57] [PASSED] DIN
[07:20:57] [PASSED] DP
[07:20:57] [PASSED] HDMI-A
[07:20:57] [PASSED] HDMI-B
[07:20:57] [PASSED] TV
[07:20:57] [PASSED] eDP
[07:20:57] [PASSED] Virtual
[07:20:57] [PASSED] DSI
[07:20:57] [PASSED] DPI
[07:20:57] [PASSED] Writeback
[07:20:57] [PASSED] SPI
[07:20:57] [PASSED] USB
[07:20:57] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[07:20:57] =============== [PASSED] drmm_connector_init ===============
[07:20:57] ========= drm_connector_dynamic_init (6 subtests) ==========
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_init
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_init_properties
[07:20:57] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[07:20:57] [PASSED] Unknown
[07:20:57] [PASSED] VGA
[07:20:57] [PASSED] DVI-I
[07:20:57] [PASSED] DVI-D
[07:20:57] [PASSED] DVI-A
[07:20:57] [PASSED] Composite
[07:20:57] [PASSED] SVIDEO
[07:20:57] [PASSED] LVDS
[07:20:57] [PASSED] Component
[07:20:57] [PASSED] DIN
[07:20:57] [PASSED] DP
[07:20:57] [PASSED] HDMI-A
[07:20:57] [PASSED] HDMI-B
[07:20:57] [PASSED] TV
[07:20:57] [PASSED] eDP
[07:20:57] [PASSED] Virtual
[07:20:57] [PASSED] DSI
[07:20:57] [PASSED] DPI
[07:20:57] [PASSED] Writeback
[07:20:57] [PASSED] SPI
[07:20:57] [PASSED] USB
[07:20:57] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[07:20:57] ======== drm_test_drm_connector_dynamic_init_name =========
[07:20:57] [PASSED] Unknown
[07:20:57] [PASSED] VGA
[07:20:57] [PASSED] DVI-I
[07:20:57] [PASSED] DVI-D
[07:20:57] [PASSED] DVI-A
[07:20:57] [PASSED] Composite
[07:20:57] [PASSED] SVIDEO
[07:20:57] [PASSED] LVDS
[07:20:57] [PASSED] Component
[07:20:57] [PASSED] DIN
[07:20:57] [PASSED] DP
[07:20:57] [PASSED] HDMI-A
[07:20:57] [PASSED] HDMI-B
[07:20:57] [PASSED] TV
[07:20:57] [PASSED] eDP
[07:20:57] [PASSED] Virtual
[07:20:57] [PASSED] DSI
[07:20:57] [PASSED] DPI
[07:20:57] [PASSED] Writeback
[07:20:57] [PASSED] SPI
[07:20:57] [PASSED] USB
[07:20:57] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[07:20:57] =========== [PASSED] drm_connector_dynamic_init ============
[07:20:57] ==== drm_connector_dynamic_register_early (4 subtests) =====
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[07:20:57] ====== [PASSED] drm_connector_dynamic_register_early =======
[07:20:57] ======= drm_connector_dynamic_register (7 subtests) ========
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[07:20:57] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[07:20:57] ========= [PASSED] drm_connector_dynamic_register ==========
[07:20:57] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[07:20:57] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[07:20:57] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[07:20:57] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[07:20:57] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[07:20:57] ========== drm_test_get_tv_mode_from_name_valid ===========
[07:20:57] [PASSED] NTSC
[07:20:57] [PASSED] NTSC-443
[07:20:57] [PASSED] NTSC-J
[07:20:57] [PASSED] PAL
[07:20:57] [PASSED] PAL-M
[07:20:57] [PASSED] PAL-N
[07:20:57] [PASSED] SECAM
[07:20:57] [PASSED] Mono
[07:20:57] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[07:20:57] [PASSED] drm_test_get_tv_mode_from_name_truncated
[07:20:57] ============ [PASSED] drm_get_tv_mode_from_name ============
[07:20:57] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[07:20:57] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[07:20:57] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[07:20:57] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[07:20:57] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[07:20:57] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[07:20:57] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[07:20:57] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[07:20:57] [PASSED] VIC 96
[07:20:57] [PASSED] VIC 97
[07:20:57] [PASSED] VIC 101
[07:20:57] [PASSED] VIC 102
[07:20:57] [PASSED] VIC 106
[07:20:57] [PASSED] VIC 107
[07:20:57] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[07:20:57] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[07:20:57] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[07:20:57] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[07:20:57] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[07:20:57] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[07:20:57] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[07:20:57] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[07:20:57] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[07:20:57] [PASSED] Automatic
[07:20:57] [PASSED] Full
[07:20:57] [PASSED] Limited 16:235
[07:20:57] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[07:20:57] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[07:20:57] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[07:20:57] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[07:20:57] === drm_test_drm_hdmi_connector_get_output_format_name ====
[07:20:57] [PASSED] RGB
[07:20:57] [PASSED] YUV 4:2:0
[07:20:57] [PASSED] YUV 4:2:2
[07:20:57] [PASSED] YUV 4:4:4
[07:20:57] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[07:20:57] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[07:20:57] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[07:20:57] ============= drm_damage_helper (21 subtests) ==============
[07:20:57] [PASSED] drm_test_damage_iter_no_damage
[07:20:57] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[07:20:57] [PASSED] drm_test_damage_iter_no_damage_src_moved
[07:20:57] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[07:20:57] [PASSED] drm_test_damage_iter_no_damage_not_visible
[07:20:57] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[07:20:57] [PASSED] drm_test_damage_iter_no_damage_no_fb
[07:20:57] [PASSED] drm_test_damage_iter_simple_damage
[07:20:57] [PASSED] drm_test_damage_iter_single_damage
[07:20:57] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[07:20:57] [PASSED] drm_test_damage_iter_single_damage_outside_src
[07:20:57] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[07:20:57] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[07:20:57] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[07:20:57] [PASSED] drm_test_damage_iter_single_damage_src_moved
[07:20:57] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[07:20:57] [PASSED] drm_test_damage_iter_damage
[07:20:57] [PASSED] drm_test_damage_iter_damage_one_intersect
[07:20:57] [PASSED] drm_test_damage_iter_damage_one_outside
[07:20:57] [PASSED] drm_test_damage_iter_damage_src_moved
[07:20:57] [PASSED] drm_test_damage_iter_damage_not_visible
[07:20:57] ================ [PASSED] drm_damage_helper ================
[07:20:57] ============== drm_dp_mst_helper (3 subtests) ==============
[07:20:57] ============== drm_test_dp_mst_calc_pbn_mode ==============
[07:20:57] [PASSED] Clock 154000 BPP 30 DSC disabled
[07:20:57] [PASSED] Clock 234000 BPP 30 DSC disabled
[07:20:57] [PASSED] Clock 297000 BPP 24 DSC disabled
[07:20:57] [PASSED] Clock 332880 BPP 24 DSC enabled
[07:20:57] [PASSED] Clock 324540 BPP 24 DSC enabled
[07:20:57] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[07:20:57] ============== drm_test_dp_mst_calc_pbn_div ===============
[07:20:57] [PASSED] Link rate 2000000 lane count 4
[07:20:57] [PASSED] Link rate 2000000 lane count 2
[07:20:57] [PASSED] Link rate 2000000 lane count 1
[07:20:57] [PASSED] Link rate 1350000 lane count 4
[07:20:57] [PASSED] Link rate 1350000 lane count 2
[07:20:57] [PASSED] Link rate 1350000 lane count 1
[07:20:57] [PASSED] Link rate 1000000 lane count 4
[07:20:57] [PASSED] Link rate 1000000 lane count 2
[07:20:57] [PASSED] Link rate 1000000 lane count 1
[07:20:57] [PASSED] Link rate 810000 lane count 4
[07:20:57] [PASSED] Link rate 810000 lane count 2
[07:20:57] [PASSED] Link rate 810000 lane count 1
[07:20:57] [PASSED] Link rate 540000 lane count 4
[07:20:57] [PASSED] Link rate 540000 lane count 2
[07:20:57] [PASSED] Link rate 540000 lane count 1
[07:20:57] [PASSED] Link rate 270000 lane count 4
[07:20:57] [PASSED] Link rate 270000 lane count 2
[07:20:57] [PASSED] Link rate 270000 lane count 1
[07:20:57] [PASSED] Link rate 162000 lane count 4
[07:20:57] [PASSED] Link rate 162000 lane count 2
[07:20:57] [PASSED] Link rate 162000 lane count 1
[07:20:57] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[07:20:57] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[07:20:57] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[07:20:57] [PASSED] DP_POWER_UP_PHY with port number
[07:20:57] [PASSED] DP_POWER_DOWN_PHY with port number
[07:20:57] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[07:20:57] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[07:20:57] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[07:20:57] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[07:20:57] [PASSED] DP_QUERY_PAYLOAD with port number
[07:20:57] [PASSED] DP_QUERY_PAYLOAD with VCPI
[07:20:57] [PASSED] DP_REMOTE_DPCD_READ with port number
[07:20:57] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[07:20:57] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[07:20:57] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[07:20:57] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[07:20:57] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[07:20:57] [PASSED] DP_REMOTE_I2C_READ with port number
[07:20:57] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[07:20:57] [PASSED] DP_REMOTE_I2C_READ with transactions array
[07:20:57] [PASSED] DP_REMOTE_I2C_WRITE with port number
[07:20:57] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[07:20:57] [PASSED] DP_REMOTE_I2C_WRITE with data array
[07:20:57] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[07:20:57] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[07:20:57] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[07:20:57] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[07:20:57] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[07:20:57] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[07:20:57] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[07:20:57] ================ [PASSED] drm_dp_mst_helper ================
[07:20:57] ================== drm_exec (7 subtests) ===================
[07:20:57] [PASSED] sanitycheck
[07:20:57] [PASSED] test_lock
[07:20:57] [PASSED] test_lock_unlock
[07:20:57] [PASSED] test_duplicates
[07:20:57] [PASSED] test_prepare
[07:20:57] [PASSED] test_prepare_array
[07:20:57] [PASSED] test_multiple_loops
[07:20:57] ==================== [PASSED] drm_exec =====================
[07:20:57] =========== drm_format_helper_test (17 subtests) ===========
[07:20:57] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[07:20:57] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[07:20:57] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[07:20:57] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[07:20:57] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[07:20:57] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[07:20:57] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[07:20:57] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[07:20:57] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[07:20:57] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[07:20:57] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[07:20:57] ============== drm_test_fb_xrgb8888_to_mono ===============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[07:20:57] ==================== drm_test_fb_swab =====================
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ================ [PASSED] drm_test_fb_swab =================
[07:20:57] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[07:20:57] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[07:20:57] [PASSED] single_pixel_source_buffer
[07:20:57] [PASSED] single_pixel_clip_rectangle
[07:20:57] [PASSED] well_known_colors
[07:20:57] [PASSED] destination_pitch
[07:20:57] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[07:20:57] ================= drm_test_fb_clip_offset =================
[07:20:57] [PASSED] pass through
[07:20:57] [PASSED] horizontal offset
[07:20:57] [PASSED] vertical offset
[07:20:57] [PASSED] horizontal and vertical offset
[07:20:57] [PASSED] horizontal offset (custom pitch)
[07:20:57] [PASSED] vertical offset (custom pitch)
[07:20:57] [PASSED] horizontal and vertical offset (custom pitch)
[07:20:57] ============= [PASSED] drm_test_fb_clip_offset =============
[07:20:57] =================== drm_test_fb_memcpy ====================
[07:20:57] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[07:20:57] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[07:20:57] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[07:20:57] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[07:20:57] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[07:20:57] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[07:20:57] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[07:20:57] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[07:20:57] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[07:20:57] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[07:20:57] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[07:20:57] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[07:20:57] =============== [PASSED] drm_test_fb_memcpy ================
[07:20:57] ============= [PASSED] drm_format_helper_test ==============
[07:20:57] ================= drm_format (18 subtests) =================
[07:20:57] [PASSED] drm_test_format_block_width_invalid
[07:20:57] [PASSED] drm_test_format_block_width_one_plane
[07:20:57] [PASSED] drm_test_format_block_width_two_plane
[07:20:57] [PASSED] drm_test_format_block_width_three_plane
[07:20:57] [PASSED] drm_test_format_block_width_tiled
[07:20:57] [PASSED] drm_test_format_block_height_invalid
[07:20:57] [PASSED] drm_test_format_block_height_one_plane
[07:20:57] [PASSED] drm_test_format_block_height_two_plane
[07:20:57] [PASSED] drm_test_format_block_height_three_plane
[07:20:57] [PASSED] drm_test_format_block_height_tiled
[07:20:57] [PASSED] drm_test_format_min_pitch_invalid
[07:20:57] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[07:20:57] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[07:20:57] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[07:20:57] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[07:20:57] [PASSED] drm_test_format_min_pitch_two_plane
[07:20:57] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[07:20:57] [PASSED] drm_test_format_min_pitch_tiled
[07:20:57] =================== [PASSED] drm_format ====================
[07:20:57] ============== drm_framebuffer (10 subtests) ===============
[07:20:57] ========== drm_test_framebuffer_check_src_coords ==========
[07:20:57] [PASSED] Success: source fits into fb
[07:20:57] [PASSED] Fail: overflowing fb with x-axis coordinate
[07:20:57] [PASSED] Fail: overflowing fb with y-axis coordinate
[07:20:57] [PASSED] Fail: overflowing fb with source width
[07:20:57] [PASSED] Fail: overflowing fb with source height
[07:20:57] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[07:20:57] [PASSED] drm_test_framebuffer_cleanup
[07:20:57] =============== drm_test_framebuffer_create ===============
[07:20:57] [PASSED] ABGR8888 normal sizes
[07:20:57] [PASSED] ABGR8888 max sizes
[07:20:57] [PASSED] ABGR8888 pitch greater than min required
[07:20:57] [PASSED] ABGR8888 pitch less than min required
[07:20:57] [PASSED] ABGR8888 Invalid width
[07:20:57] [PASSED] ABGR8888 Invalid buffer handle
[07:20:57] [PASSED] No pixel format
[07:20:57] [PASSED] ABGR8888 Width 0
[07:20:57] [PASSED] ABGR8888 Height 0
[07:20:57] [PASSED] ABGR8888 Out of bound height * pitch combination
[07:20:57] [PASSED] ABGR8888 Large buffer offset
[07:20:57] [PASSED] ABGR8888 Buffer offset for inexistent plane
[07:20:57] [PASSED] ABGR8888 Invalid flag
[07:20:57] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[07:20:57] [PASSED] ABGR8888 Valid buffer modifier
[07:20:57] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[07:20:57] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[07:20:57] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[07:20:57] [PASSED] NV12 Normal sizes
[07:20:57] [PASSED] NV12 Max sizes
[07:20:57] [PASSED] NV12 Invalid pitch
[07:20:57] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[07:20:57] [PASSED] NV12 different modifier per-plane
[07:20:57] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[07:20:57] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[07:20:57] [PASSED] NV12 Modifier for inexistent plane
[07:20:57] [PASSED] NV12 Handle for inexistent plane
[07:20:57] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[07:20:57] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[07:20:57] [PASSED] YVU420 Normal sizes
[07:20:57] [PASSED] YVU420 Max sizes
[07:20:57] [PASSED] YVU420 Invalid pitch
[07:20:57] [PASSED] YVU420 Different pitches
[07:20:57] [PASSED] YVU420 Different buffer offsets/pitches
[07:20:57] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[07:20:57] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[07:20:57] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[07:20:57] [PASSED] YVU420 Valid modifier
[07:20:57] [PASSED] YVU420 Different modifiers per plane
[07:20:57] [PASSED] YVU420 Modifier for inexistent plane
[07:20:57] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[07:20:57] [PASSED] X0L2 Normal sizes
[07:20:57] [PASSED] X0L2 Max sizes
[07:20:57] [PASSED] X0L2 Invalid pitch
[07:20:57] [PASSED] X0L2 Pitch greater than minimum required
[07:20:57] [PASSED] X0L2 Handle for inexistent plane
[07:20:57] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[07:20:57] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[07:20:57] [PASSED] X0L2 Valid modifier
[07:20:57] [PASSED] X0L2 Modifier for inexistent plane
[07:20:57] =========== [PASSED] drm_test_framebuffer_create ===========
[07:20:57] [PASSED] drm_test_framebuffer_free
[07:20:57] [PASSED] drm_test_framebuffer_init
[07:20:57] [PASSED] drm_test_framebuffer_init_bad_format
[07:20:57] [PASSED] drm_test_framebuffer_init_dev_mismatch
[07:20:57] [PASSED] drm_test_framebuffer_lookup
[07:20:57] [PASSED] drm_test_framebuffer_lookup_inexistent
[07:20:57] [PASSED] drm_test_framebuffer_modifiers_not_supported
[07:20:57] ================= [PASSED] drm_framebuffer =================
[07:20:57] ================ drm_gem_shmem (8 subtests) ================
[07:20:57] [PASSED] drm_gem_shmem_test_obj_create
[07:20:57] [PASSED] drm_gem_shmem_test_obj_create_private
[07:20:57] [PASSED] drm_gem_shmem_test_pin_pages
[07:20:57] [PASSED] drm_gem_shmem_test_vmap
[07:20:57] [PASSED] drm_gem_shmem_test_get_sg_table
[07:20:57] [PASSED] drm_gem_shmem_test_get_pages_sgt
[07:20:57] [PASSED] drm_gem_shmem_test_madvise
[07:20:57] [PASSED] drm_gem_shmem_test_purge
[07:20:57] ================== [PASSED] drm_gem_shmem ==================
[07:20:57] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[07:20:57] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[07:20:57] [PASSED] Automatic
[07:20:57] [PASSED] Full
[07:20:57] [PASSED] Limited 16:235
[07:20:57] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[07:20:57] [PASSED] drm_test_check_disable_connector
[07:20:57] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[07:20:57] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[07:20:57] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[07:20:57] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[07:20:57] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[07:20:57] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[07:20:57] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[07:20:57] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[07:20:57] [PASSED] drm_test_check_output_bpc_dvi
[07:20:57] [PASSED] drm_test_check_output_bpc_format_vic_1
[07:20:57] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[07:20:57] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[07:20:57] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[07:20:57] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[07:20:57] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[07:20:57] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[07:20:57] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[07:20:57] ============ drm_test_check_hdmi_color_format =============
[07:20:57] [PASSED] AUTO -> RGB
[07:20:57] [PASSED] YCBCR422 -> YUV422
[07:20:57] [PASSED] YCBCR420 -> YUV420
[07:20:57] [PASSED] YCBCR444 -> YUV444
[07:20:57] [PASSED] RGB -> RGB
[07:20:57] ======== [PASSED] drm_test_check_hdmi_color_format =========
[07:20:57] ======== drm_test_check_hdmi_color_format_420_only ========
[07:20:57] [PASSED] RGB should fail
[07:20:57] [PASSED] YUV444 should fail
[07:20:57] [PASSED] YUV422 should fail
[07:20:57] [PASSED] YUV420 should work
[07:20:57] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[07:20:57] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[07:20:57] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[07:20:57] [PASSED] drm_test_check_broadcast_rgb_value
[07:20:57] [PASSED] drm_test_check_bpc_8_value
[07:20:57] [PASSED] drm_test_check_bpc_10_value
[07:20:57] [PASSED] drm_test_check_bpc_12_value
[07:20:57] [PASSED] drm_test_check_format_value
[07:20:57] [PASSED] drm_test_check_tmds_char_value
[07:20:57] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[07:20:57] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[07:20:57] [PASSED] drm_test_check_mode_valid
[07:20:57] [PASSED] drm_test_check_mode_valid_reject
[07:20:57] [PASSED] drm_test_check_mode_valid_reject_rate
[07:20:57] [PASSED] drm_test_check_mode_valid_reject_max_clock
[07:20:57] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[07:20:57] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[07:20:57] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[07:20:57] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[07:20:57] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[07:20:57] [PASSED] drm_test_check_infoframes
[07:20:57] [PASSED] drm_test_check_reject_avi_infoframe
[07:20:57] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[07:20:57] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[07:20:57] [PASSED] drm_test_check_reject_audio_infoframe
[07:20:57] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[07:20:57] ================= drm_managed (2 subtests) =================
[07:20:57] [PASSED] drm_test_managed_release_action
[07:20:57] [PASSED] drm_test_managed_run_action
[07:20:57] =================== [PASSED] drm_managed ===================
[07:20:57] =================== drm_mm (6 subtests) ====================
[07:20:57] [PASSED] drm_test_mm_init
[07:20:57] [PASSED] drm_test_mm_debug
[07:20:57] [PASSED] drm_test_mm_align32
[07:20:57] [PASSED] drm_test_mm_align64
[07:20:57] [PASSED] drm_test_mm_lowest
[07:20:57] [PASSED] drm_test_mm_highest
[07:20:57] ===================== [PASSED] drm_mm ======================
[07:20:57] ============= drm_modes_analog_tv (5 subtests) =============
[07:20:57] [PASSED] drm_test_modes_analog_tv_mono_576i
[07:20:57] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[07:20:57] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[07:20:57] [PASSED] drm_test_modes_analog_tv_pal_576i
[07:20:57] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[07:20:57] =============== [PASSED] drm_modes_analog_tv ===============
[07:20:57] ============== drm_plane_helper (2 subtests) ===============
[07:20:57] =============== drm_test_check_plane_state ================
[07:20:57] [PASSED] clipping_simple
[07:20:57] [PASSED] clipping_rotate_reflect
[07:20:57] [PASSED] positioning_simple
[07:20:57] [PASSED] upscaling
[07:20:57] [PASSED] downscaling
[07:20:57] [PASSED] rounding1
[07:20:57] [PASSED] rounding2
[07:20:57] [PASSED] rounding3
[07:20:57] [PASSED] rounding4
[07:20:57] =========== [PASSED] drm_test_check_plane_state ============
[07:20:57] =========== drm_test_check_invalid_plane_state ============
[07:20:57] [PASSED] positioning_invalid
[07:20:57] [PASSED] upscaling_invalid
[07:20:57] [PASSED] downscaling_invalid
[07:20:57] ======= [PASSED] drm_test_check_invalid_plane_state ========
[07:20:57] ================ [PASSED] drm_plane_helper =================
[07:20:57] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[07:20:57] ====== drm_test_connector_helper_tv_get_modes_check =======
[07:20:57] [PASSED] None
[07:20:57] [PASSED] PAL
[07:20:57] [PASSED] NTSC
[07:20:57] [PASSED] Both, NTSC Default
[07:20:57] [PASSED] Both, PAL Default
[07:20:57] [PASSED] Both, NTSC Default, with PAL on command-line
[07:20:57] [PASSED] Both, PAL Default, with NTSC on command-line
[07:20:57] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[07:20:57] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[07:20:57] ================== drm_rect (9 subtests) ===================
[07:20:57] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[07:20:57] [PASSED] drm_test_rect_clip_scaled_not_clipped
[07:20:57] [PASSED] drm_test_rect_clip_scaled_clipped
[07:20:57] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[07:20:57] ================= drm_test_rect_intersect =================
[07:20:57] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[07:20:57] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[07:20:57] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[07:20:57] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[07:20:57] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[07:20:57] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[07:20:57] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[07:20:57] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[07:20:57] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[07:20:57] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[07:20:57] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[07:20:57] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[07:20:57] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[07:20:57] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[07:20:57] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[07:20:57] ============= [PASSED] drm_test_rect_intersect =============
[07:20:57] ================ drm_test_rect_calc_hscale ================
[07:20:57] [PASSED] normal use
[07:20:57] [PASSED] out of max range
[07:20:57] [PASSED] out of min range
[07:20:57] [PASSED] zero dst
[07:20:57] [PASSED] negative src
[07:20:57] [PASSED] negative dst
[07:20:57] ============ [PASSED] drm_test_rect_calc_hscale ============
[07:20:57] ================ drm_test_rect_calc_vscale ================
[07:20:57] [PASSED] normal use
[07:20:57] [PASSED] out of max range
[07:20:57] [PASSED] out of min range
[07:20:57] [PASSED] zero dst
[07:20:57] [PASSED] negative src
[07:20:57] [PASSED] negative dst
[07:20:57] ============ [PASSED] drm_test_rect_calc_vscale ============
[07:20:57] ================== drm_test_rect_rotate ===================
[07:20:57] [PASSED] reflect-x
[07:20:57] [PASSED] reflect-y
[07:20:57] [PASSED] rotate-0
[07:20:57] [PASSED] rotate-90
[07:20:57] [PASSED] rotate-180
[07:20:57] [PASSED] rotate-270
[07:20:57] ============== [PASSED] drm_test_rect_rotate ===============
[07:20:57] ================ drm_test_rect_rotate_inv =================
[07:20:57] [PASSED] reflect-x
[07:20:57] [PASSED] reflect-y
[07:20:57] [PASSED] rotate-0
[07:20:57] [PASSED] rotate-90
[07:20:57] [PASSED] rotate-180
[07:20:57] [PASSED] rotate-270
[07:20:57] ============ [PASSED] drm_test_rect_rotate_inv =============
[07:20:57] ==================== [PASSED] drm_rect =====================
[07:20:57] ============ drm_sysfb_modeset_test (1 subtest) ============
[07:20:57] ============ drm_test_sysfb_build_fourcc_list =============
[07:20:57] [PASSED] no native formats
[07:20:57] [PASSED] XRGB8888 as native format
[07:20:57] [PASSED] remove duplicates
[07:20:57] [PASSED] convert alpha formats
[07:20:57] [PASSED] random formats
[07:20:57] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[07:20:57] ============= [PASSED] drm_sysfb_modeset_test ==============
[07:20:57] ================== drm_fixp (2 subtests) ===================
[07:20:57] [PASSED] drm_test_int2fixp
[07:20:57] [PASSED] drm_test_sm2fixp
[07:20:57] ==================== [PASSED] drm_fixp =====================
[07:20:57] ============================================================
[07:20:57] Testing complete. Ran 641 tests: passed: 641
[07:20:57] Elapsed time: 27.135s total, 1.836s configuring, 25.131s building, 0.146s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[07:20:57] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:20:59] 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
[07:21:09] Starting KUnit Kernel (1/1)...
[07:21:09] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:21:09] ============= refcount_interrupt (4 subtests) ==============
[07:21:09] [PASSED] test_single_irq_change
[07:21:09] [PASSED] test_nested_irq_change
[07:21:09] [PASSED] test_multiple_irq_change
[07:21:09] [PASSED] test_irq_save
[07:21:09] =============== [PASSED] refcount_interrupt ================
[07:21:09] ================= ttm_device (5 subtests) ==================
[07:21:09] [PASSED] ttm_device_init_basic
[07:21:09] [PASSED] ttm_device_init_multiple
[07:21:09] [PASSED] ttm_device_fini_basic
[07:21:09] [PASSED] ttm_device_init_no_vma_man
[07:21:09] ================== ttm_device_init_pools ==================
[07:21:09] [PASSED] No DMA allocations, no DMA32 required
[07:21:09] [PASSED] DMA allocations, DMA32 required
[07:21:09] [PASSED] No DMA allocations, DMA32 required
[07:21:09] [PASSED] DMA allocations, no DMA32 required
[07:21:09] ============== [PASSED] ttm_device_init_pools ==============
[07:21:09] =================== [PASSED] ttm_device ====================
[07:21:09] ================== ttm_pool (8 subtests) ===================
[07:21:09] ================== ttm_pool_alloc_basic ===================
[07:21:09] [PASSED] One page
[07:21:09] [PASSED] More than one page
[07:21:09] [PASSED] Above the allocation limit
[07:21:09] [PASSED] One page, with coherent DMA mappings enabled
[07:21:09] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:21:09] ============== [PASSED] ttm_pool_alloc_basic ===============
[07:21:09] ============== ttm_pool_alloc_basic_dma_addr ==============
[07:21:09] [PASSED] One page
[07:21:09] [PASSED] More than one page
[07:21:09] [PASSED] Above the allocation limit
[07:21:09] [PASSED] One page, with coherent DMA mappings enabled
[07:21:09] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:21:09] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[07:21:09] [PASSED] ttm_pool_alloc_order_caching_match
[07:21:09] [PASSED] ttm_pool_alloc_caching_mismatch
[07:21:09] [PASSED] ttm_pool_alloc_order_mismatch
[07:21:09] [PASSED] ttm_pool_free_dma_alloc
[07:21:09] [PASSED] ttm_pool_free_no_dma_alloc
[07:21:09] [PASSED] ttm_pool_fini_basic
[07:21:09] ==================== [PASSED] ttm_pool =====================
[07:21:09] ================ ttm_resource (8 subtests) =================
[07:21:09] ================= ttm_resource_init_basic =================
[07:21:09] [PASSED] Init resource in TTM_PL_SYSTEM
[07:21:09] [PASSED] Init resource in TTM_PL_VRAM
[07:21:09] [PASSED] Init resource in a private placement
[07:21:09] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[07:21:09] ============= [PASSED] ttm_resource_init_basic =============
[07:21:09] [PASSED] ttm_resource_init_pinned
[07:21:09] [PASSED] ttm_resource_fini_basic
[07:21:09] [PASSED] ttm_resource_manager_init_basic
[07:21:09] [PASSED] ttm_resource_manager_usage_basic
[07:21:09] [PASSED] ttm_resource_manager_set_used_basic
[07:21:09] [PASSED] ttm_sys_man_alloc_basic
[07:21:09] [PASSED] ttm_sys_man_free_basic
[07:21:09] ================== [PASSED] ttm_resource ===================
[07:21:09] =================== ttm_tt (15 subtests) ===================
[07:21:09] ==================== ttm_tt_init_basic ====================
[07:21:09] [PASSED] Page-aligned size
[07:21:09] [PASSED] Extra pages requested
[07:21:09] ================ [PASSED] ttm_tt_init_basic ================
[07:21:09] [PASSED] ttm_tt_init_misaligned
[07:21:09] [PASSED] ttm_tt_fini_basic
[07:21:09] [PASSED] ttm_tt_fini_sg
[07:21:09] [PASSED] ttm_tt_fini_shmem
[07:21:09] [PASSED] ttm_tt_create_basic
[07:21:09] [PASSED] ttm_tt_create_invalid_bo_type
[07:21:09] [PASSED] ttm_tt_create_ttm_exists
[07:21:09] [PASSED] ttm_tt_create_failed
[07:21:09] [PASSED] ttm_tt_destroy_basic
[07:21:09] [PASSED] ttm_tt_populate_null_ttm
[07:21:09] [PASSED] ttm_tt_populate_populated_ttm
[07:21:09] [PASSED] ttm_tt_unpopulate_basic
[07:21:09] [PASSED] ttm_tt_unpopulate_empty_ttm
[07:21:09] [PASSED] ttm_tt_swapin_basic
[07:21:09] ===================== [PASSED] ttm_tt ======================
[07:21:09] =================== ttm_bo (14 subtests) ===================
[07:21:09] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[07:21:09] [PASSED] Cannot be interrupted and sleeps
[07:21:09] [PASSED] Cannot be interrupted, locks straight away
[07:21:09] [PASSED] Can be interrupted, sleeps
[07:21:09] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[07:21:09] [PASSED] ttm_bo_reserve_locked_no_sleep
[07:21:09] [PASSED] ttm_bo_reserve_no_wait_ticket
[07:21:10] [PASSED] ttm_bo_reserve_double_resv
[07:21:10] [PASSED] ttm_bo_reserve_interrupted
[07:21:10] [PASSED] ttm_bo_reserve_deadlock
[07:21:10] [PASSED] ttm_bo_unreserve_basic
[07:21:10] [PASSED] ttm_bo_unreserve_pinned
[07:21:10] [PASSED] ttm_bo_unreserve_bulk
[07:21:10] [PASSED] ttm_bo_fini_basic
[07:21:10] [PASSED] ttm_bo_fini_shared_resv
[07:21:10] [PASSED] ttm_bo_pin_basic
[07:21:10] [PASSED] ttm_bo_pin_unpin_resource
[07:21:10] [PASSED] ttm_bo_multiple_pin_one_unpin
[07:21:10] ===================== [PASSED] ttm_bo ======================
[07:21:10] ============== ttm_bo_validate (22 subtests) ===============
[07:21:10] ============== ttm_bo_init_reserved_sys_man ===============
[07:21:10] [PASSED] Buffer object for userspace
[07:21:10] [PASSED] Kernel buffer object
[07:21:10] [PASSED] Shared buffer object
[07:21:10] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[07:21:10] ============== ttm_bo_init_reserved_mock_man ==============
[07:21:10] [PASSED] Buffer object for userspace
[07:21:10] [PASSED] Kernel buffer object
[07:21:10] [PASSED] Shared buffer object
[07:21:10] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[07:21:10] [PASSED] ttm_bo_init_reserved_resv
[07:21:10] ================== ttm_bo_validate_basic ==================
[07:21:10] [PASSED] Buffer object for userspace
[07:21:10] [PASSED] Kernel buffer object
[07:21:10] [PASSED] Shared buffer object
[07:21:10] ============== [PASSED] ttm_bo_validate_basic ==============
[07:21:10] [PASSED] ttm_bo_validate_invalid_placement
[07:21:10] ============= ttm_bo_validate_same_placement ==============
[07:21:10] [PASSED] System manager
[07:21:10] [PASSED] VRAM manager
[07:21:10] ========= [PASSED] ttm_bo_validate_same_placement ==========
[07:21:10] [PASSED] ttm_bo_validate_failed_alloc
[07:21:10] [PASSED] ttm_bo_validate_pinned
[07:21:10] [PASSED] ttm_bo_validate_busy_placement
[07:21:10] ================ ttm_bo_validate_multihop =================
[07:21:10] [PASSED] Buffer object for userspace
[07:21:10] [PASSED] Kernel buffer object
[07:21:10] [PASSED] Shared buffer object
[07:21:10] ============ [PASSED] ttm_bo_validate_multihop =============
[07:21:10] ========== ttm_bo_validate_no_placement_signaled ==========
[07:21:10] [PASSED] Buffer object in system domain, no page vector
[07:21:10] [PASSED] Buffer object in system domain with an existing page vector
[07:21:10] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[07:21:10] ======== ttm_bo_validate_no_placement_not_signaled ========
[07:21:10] [PASSED] Buffer object for userspace
[07:21:10] [PASSED] Kernel buffer object
[07:21:10] [PASSED] Shared buffer object
[07:21:10] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[07:21:10] [PASSED] ttm_bo_validate_move_fence_signaled
[07:21:10] ========= ttm_bo_validate_move_fence_not_signaled =========
[07:21:10] [PASSED] Waits for GPU
[07:21:10] [PASSED] Tries to lock straight away
[07:21:10] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[07:21:10] [PASSED] ttm_bo_validate_swapout
[07:21:10] [PASSED] ttm_bo_validate_happy_evict
[07:21:10] [PASSED] ttm_bo_validate_all_pinned_evict
[07:21:10] [PASSED] ttm_bo_validate_allowed_only_evict
[07:21:10] [PASSED] ttm_bo_validate_deleted_evict
[07:21:10] [PASSED] ttm_bo_validate_busy_domain_evict
[07:21:10] [PASSED] ttm_bo_validate_evict_gutting
[07:21:10] [PASSED] ttm_bo_validate_recrusive_evict
[07:21:10] ================= [PASSED] ttm_bo_validate =================
[07:21:10] ============================================================
[07:21:10] Testing complete. Ran 106 tests: passed: 106
[07:21:10] Elapsed time: 12.175s total, 1.824s configuring, 10.086s building, 0.230s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[07:21:10] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:21:12] 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
[07:21:20] Starting KUnit Kernel (1/1)...
[07:21:20] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:21:20] ============= refcount_interrupt (4 subtests) ==============
[07:21:20] [PASSED] test_single_irq_change
[07:21:20] [PASSED] test_nested_irq_change
[07:21:20] [PASSED] test_multiple_irq_change
[07:21:20] [PASSED] test_irq_save
[07:21:20] =============== [PASSED] refcount_interrupt ================
[07:21:20] =============== dma-buf-fence (12 subtests) ================
[07:21:20] [PASSED] test_sanitycheck
[07:21:20] [PASSED] test_signaling
[07:21:20] [PASSED] test_add_callback
[07:21:20] [PASSED] test_late_add_callback
[07:21:20] [PASSED] test_rm_callback
[07:21:20] [PASSED] test_late_rm_callback
[07:21:20] [PASSED] test_status
[07:21:20] [PASSED] test_error
[07:21:20] [PASSED] test_wait
[07:21:20] [PASSED] test_wait_timeout
[07:21:20] [PASSED] test_stub
[07:21:20] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[07:21:20] ================== [PASSED] dma-buf-fence ==================
[07:21:20] ============ dma-buf-fence-chain (11 subtests) =============
[07:21:20] [PASSED] test_sanitycheck
[07:21:20] [PASSED] test_find_seqno
[07:21:20] [PASSED] test_find_signaled
[07:21:20] [PASSED] test_find_out_of_order
[07:21:25] [PASSED] test_find_gap
[07:21:25] [PASSED] test_find_race
[07:21:25] [PASSED] test_signal_forward
[07:21:25] [PASSED] test_signal_backward
[07:21:26] [PASSED] test_wait_forward
[07:21:26] [PASSED] test_wait_backward
[07:21:26] [PASSED] test_wait_random
[07:21:26] =============== [PASSED] dma-buf-fence-chain ===============
[07:21:26] ============ dma-buf-fence-unwrap (10 subtests) ============
[07:21:26] [PASSED] test_sanitycheck
[07:21:26] [PASSED] test_unwrap_array
[07:21:26] [PASSED] test_unwrap_chain
[07:21:26] [PASSED] test_unwrap_chain_array
[07:21:26] [PASSED] test_unwrap_merge
[07:21:26] [PASSED] test_unwrap_merge_duplicate
[07:21:26] [PASSED] test_unwrap_merge_seqno
[07:21:26] [PASSED] test_unwrap_merge_order
[07:21:26] [PASSED] test_unwrap_merge_complex
[07:21:26] [PASSED] test_unwrap_merge_complex_seqno
[07:21:26] ============== [PASSED] dma-buf-fence-unwrap ===============
[07:21:26] ================ dma-buf-resv (5 subtests) =================
[07:21:26] [PASSED] test_sanitycheck
[07:21:26] ===================== test_signaling ======================
[07:21:26] [PASSED] kernel
[07:21:26] [PASSED] write
[07:21:26] [PASSED] read
[07:21:26] [PASSED] bookkeep
[07:21:26] ================= [PASSED] test_signaling ==================
[07:21:26] ====================== test_for_each ======================
[07:21:26] [PASSED] kernel
[07:21:26] [PASSED] write
[07:21:26] [PASSED] read
[07:21:26] [PASSED] bookkeep
[07:21:26] ================== [PASSED] test_for_each ==================
[07:21:26] ================= test_for_each_unlocked ==================
[07:21:26] [PASSED] kernel
[07:21:26] [PASSED] write
[07:21:26] [PASSED] read
[07:21:26] [PASSED] bookkeep
[07:21:26] ============= [PASSED] test_for_each_unlocked ==============
[07:21:26] ===================== test_get_fences =====================
[07:21:26] [PASSED] kernel
[07:21:26] [PASSED] write
[07:21:26] [PASSED] read
[07:21:26] [PASSED] bookkeep
[07:21:26] ================= [PASSED] test_get_fences =================
[07:21:26] ================== [PASSED] dma-buf-resv ===================
[07:21:26] ============================================================
[07:21:26] Testing complete. Ran 54 tests: passed: 53, skipped: 1
[07:21:26] Elapsed time: 15.774s total, 1.818s configuring, 8.685s building, 5.268s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v8 06/10] drm/xe/vf: Add bounds checking for queried GGTT base and size
2026-09-15 7:12 ` [PATCH v8 06/10] drm/xe/vf: Add bounds checking for queried GGTT base and size Satyanarayana K V P
@ 2026-09-15 7:26 ` sashiko-bot
0 siblings, 0 replies; 20+ messages in thread
From: sashiko-bot @ 2026-09-15 7:26 UTC (permalink / raw)
To: Satyanarayana K V P; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] drm/xe/vf: GGTT alignment uses CPU PAGE_SIZE breaking cross-page-size VMs
--
commit 974f2713618cba9d92f6442eb0ec21fab7f11630
Author: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
drm/xe/vf: Add bounds checking for queried GGTT base and size
This commit adds explicit bounds checks for GGTT base and size queried from
the PF. This is intended to detect and reject invalid configuration data to
prevent protocol violations and protect VF initialization.
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> index 81d68fe5ad7cd..53db4cf9d656b 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
[ ... ]
> @@ -486,26 +487,62 @@ u32 xe_gt_sriov_vf_gmdid(struct xe_gt *gt)
> return value;
> }
>
> +static u64 vf_get_ggtt_alignment(struct xe_gt *gt)
> +{
> + return PAGE_SIZE;
[Severity: High]
Will this break initialization in cross-page-size virtualization environments
(e.g., a 4KB host and 64KB guest, which is standard on ARM64 and PPC64)?
In such a configuration, the PF driver running on the host allocates a
4KB-aligned GGTT partition. The VF driver running in the guest uses its own
OS PAGE_SIZE (64KB) for alignment checks.
It receives the 4KB-aligned start_query from the PF, aligns it up to 64KB,
and aligns the end down to 64KB. This artificially shrinks the GGTT window.
If the allocated GGTT size is smaller than the alignment difference,
end <= start evaluates to true, and the VF aborts initialization with
-ERANGE.
Should this alignment check use the hardware page size (e.g., XE_PAGE_SIZE)
instead of the CPU page size?
> +}
> +
> static int vf_get_ggtt_info(struct xe_gt *gt)
> {
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260915071159.51402-12-satyanarayana.k.v.p@intel.com?part=6
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v8 07/10] drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE
2026-09-15 7:12 ` [PATCH v8 07/10] drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE Satyanarayana K V P
@ 2026-09-15 7:27 ` sashiko-bot
0 siblings, 0 replies; 20+ messages in thread
From: sashiko-bot @ 2026-09-15 7:27 UTC (permalink / raw)
To: Satyanarayana K V P; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Critical] xe: SR-IOV GGTT alignment allows memory isolation bypass
--
commit b273b43c9c7b2ba3519285921560775aacbe0985
Author: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE
This commit reduces the PF's alignment for VF GGTT partitions to the host
CPU PAGE_SIZE (4K) to allow finer-grained partitioning.
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index 6947aeed458ed..91ec8e898e3b5 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -441,9 +441,7 @@ static int pf_refresh_vf_cfg(struct xe_gt *gt, unsigned int vfid)
>
> static u64 pf_get_ggtt_alignment(struct xe_gt *gt)
> {
> - struct xe_device *xe = gt_to_xe(gt);
> -
> - return IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K;
> + return PAGE_SIZE;
[Severity: Critical]
Does this regression allow a VF to bypass SR-IOV memory isolation?
By unconditionally returning PAGE_SIZE, the PF provisions the VF's GGTT
partition with a base address (ggtt->start) that is only guaranteed to be
4K-aligned.
In the VF, the local drm_mm allocator is initialized with a start offset of 0,
meaning it aligns local offsets but not the absolute global GGTT address:
drivers/gpu/drm/xe/xe_ggtt.c:__xe_ggtt_init_early()
drm_mm_init(&ggtt->mm, 0, size);
When the VF maps a VRAM object, it requests a 64K-aligned local offset from
drm_mm:
drivers/gpu/drm/xe/xe_ggtt.c:__xe_ggtt_insert_bo_at()
if (xe_bo_is_vram(bo) && ggtt->flags & XE_GGTT_FLAGS_64K)
alignment = SZ_64K;
Because the global GGTT virtual address is local_offset + ggtt->start,
a 4K-aligned partition base offset produces a globally misaligned hardware
address.
Since the GPU's TLB masks the lower 16 bits of the virtual address for 64K
pages, will this misaligned absolute address cause the TLB entry to alias with
the preceding 4K-aligned memory range, potentially exposing another VF or PF's
memory?
> }
>
> static u64 pf_get_min_spare_ggtt(struct xe_gt *gt)
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260915071159.51402-12-satyanarayana.k.v.p@intel.com?part=7
^ permalink raw reply [flat|nested] 20+ messages in thread
* ✓ Xe.CI.BAT: success for KUnit test for VF provisioning error handling (rev8)
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (11 preceding siblings ...)
2026-09-15 7:21 ` ✓ CI.KUnit: success " Patchwork
@ 2026-09-15 8:04 ` Patchwork
2026-09-15 9:06 ` ✗ Xe.CI.FULL: failure " Patchwork
13 siblings, 0 replies; 20+ messages in thread
From: Patchwork @ 2026-09-15 8:04 UTC (permalink / raw)
To: Satyanarayana K V P; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 5704 bytes --]
== Series Details ==
Series: KUnit test for VF provisioning error handling (rev8)
URL : https://patchwork.freedesktop.org/series/170198/
State : success
== Summary ==
CI Bug Log - changes from xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3_BAT -> xe-pw-170198v8_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (15 -> 15)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-170198v8_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_force_connector_basic@force-connector-state:
- bat-lnl-1: NOTRUN -> [SKIP][1] ([Intel XE#352]) +2 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@kms_force_connector_basic@force-connector-state.html
* igt@kms_hdmi_inject@inject-audio:
- bat-lnl-1: NOTRUN -> [SKIP][2] ([Intel XE#1470] / [Intel XE#2853])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@kms_hdmi_inject@inject-audio.html
* igt@sriov_basic@enable-vfs-autoprobe-on:
- bat-lnl-1: NOTRUN -> [SKIP][3] ([Intel XE#1091] / [Intel XE#2849]) +1 other test skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@sriov_basic@enable-vfs-autoprobe-on.html
* igt@xe_evict@evict-beng-small-cm:
- bat-lnl-1: NOTRUN -> [SKIP][4] ([Intel XE#6540] / [Intel XE#688]) +11 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_evict@evict-beng-small-cm.html
* igt@xe_exec_balancer@no-exec-parallel-basic:
- bat-lnl-1: NOTRUN -> [SKIP][5] ([Intel XE#7482]) +17 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_exec_balancer@no-exec-parallel-basic.html
* igt@xe_exec_multi_queue@priority:
- bat-lnl-1: NOTRUN -> [SKIP][6] ([Intel XE#8364]) +13 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_exec_multi_queue@priority.html
* igt@xe_live_ktest@xe_bo:
- bat-lnl-1: NOTRUN -> [SKIP][7] ([Intel XE#2229]) +2 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_live_ktest@xe_bo.html
* igt@xe_mmap@vram:
- bat-lnl-1: NOTRUN -> [SKIP][8] ([Intel XE#1416])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_mmap@vram.html
* igt@xe_pat@pat-index-xehpc:
- bat-lnl-1: NOTRUN -> [SKIP][9] ([Intel XE#1420] / [Intel XE#2838] / [Intel XE#7590])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_pat@pat-index-xehpc.html
* igt@xe_pat@pat-index-xelp:
- bat-lnl-1: NOTRUN -> [SKIP][10] ([Intel XE#7590] / [Intel XE#977])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_pat@pat-index-xelp.html
* igt@xe_pat@pat-index-xelpg:
- bat-lnl-1: NOTRUN -> [SKIP][11] ([Intel XE#7590] / [Intel XE#979])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_pat@pat-index-xelpg.html
* igt@xe_sriov_flr@flr-vf1-clear:
- bat-lnl-1: NOTRUN -> [SKIP][12] ([Intel XE#3342])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@xe_sriov_flr@flr-vf1-clear.html
#### Possible fixes ####
* igt@kms_flip@basic-flip-vs-dpms@b-edp1:
- bat-lnl-1: [ABORT][13] ([Intel XE#8007]) -> [PASS][14] +1 other test pass
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/bat-lnl-1/igt@kms_flip@basic-flip-vs-dpms@b-edp1.html
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/bat-lnl-1/igt@kms_flip@basic-flip-vs-dpms@b-edp1.html
[Intel XE#1091]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1091
[Intel XE#1416]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1416
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#1470]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1470
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2838]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2838
[Intel XE#2849]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2849
[Intel XE#2853]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2853
[Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342
[Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979
Build changes
-------------
* Linux: xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3 -> xe-pw-170198v8
IGT_9094: b72ca59712e9021e1a1a0a5a89ff5eb74982ad99 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3: ba8d5c199283dba7ce36bb78b53111b3e997f9c3
xe-pw-170198v8: 170198v8
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/index.html
[-- Attachment #2: Type: text/html, Size: 6660 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* ✗ Xe.CI.FULL: failure for KUnit test for VF provisioning error handling (rev8)
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
` (12 preceding siblings ...)
2026-09-15 8:04 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-09-15 9:06 ` Patchwork
13 siblings, 0 replies; 20+ messages in thread
From: Patchwork @ 2026-09-15 9:06 UTC (permalink / raw)
To: Satyanarayana K V P; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 33777 bytes --]
== Series Details ==
Series: KUnit test for VF provisioning error handling (rev8)
URL : https://patchwork.freedesktop.org/series/170198/
State : failure
== Summary ==
CI Bug Log - changes from xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3_FULL -> xe-pw-170198v8_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-170198v8_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-170198v8_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-170198v8_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_sriov_scheduling@equal-throughput-low-priority@numvfs-random-gt1-vcs0:
- shard-bmg: [PASS][1] -> [WARN][2] +1 other test warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-2/igt@xe_sriov_scheduling@equal-throughput-low-priority@numvfs-random-gt1-vcs0.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-3/igt@xe_sriov_scheduling@equal-throughput-low-priority@numvfs-random-gt1-vcs0.html
Known issues
------------
Here are the changes found in xe-pw-170198v8_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@intel_hwmon@hwmon-write:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#1125] / [Intel XE#7312])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@intel_hwmon@hwmon-write.html
* igt@kms_big_fb@linear-max-hw-stride-32bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][4] ([Intel XE#7059] / [Intel XE#7085])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_big_fb@linear-max-hw-stride-32bpp-rotate-180-hflip.html
* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][5] ([Intel XE#1124]) +5 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_big_fb@yf-tiled-16bpp-rotate-270.html
* igt@kms_bw@linear-tiling-1-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#367])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_bw@linear-tiling-1-displays-target-2560x1440p.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][7] -> [INCOMPLETE][8] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-8/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-9/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs:
- shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#3432]) +1 other test skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs.html
* igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs:
- shard-lnl: NOTRUN -> [SKIP][10] ([Intel XE#2887]) +7 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs.html
* igt@kms_chamelium_color@ctm-red-to-blue:
- shard-lnl: NOTRUN -> [SKIP][11] ([Intel XE#306] / [Intel XE#7358])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_chamelium_color@ctm-red-to-blue.html
* igt@kms_chamelium_color_pipeline@plane-lut1d-ctm3x4-lut1d:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#7358])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_chamelium_color_pipeline@plane-lut1d-ctm3x4-lut1d.html
* igt@kms_chamelium_hpd@dp-hpd-enable-disable-mode:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#373]) +2 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_chamelium_hpd@dp-hpd-enable-disable-mode.html
* igt@kms_content_protection@atomic-dpms-hdcp14:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#7642])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_content_protection@atomic-dpms-hdcp14.html
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#307] / [Intel XE#6974])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_content_protection@dp-mst-lic-type-1.html
* igt@kms_content_protection@dp-mst-type-0-hdcp14:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#6974])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_content_protection@dp-mst-type-0-hdcp14.html
* igt@kms_cursor_crc@cursor-random-max-size:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#1424]) +3 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_cursor_crc@cursor-random-max-size.html
* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#309] / [Intel XE#7343]) +2 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_cursor_legacy@cursorb-vs-flipa-legacy.html
* igt@kms_dp_link_training@uhbr-mst:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#4354] / [Intel XE#7386])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_dp_link_training@uhbr-mst.html
* igt@kms_dp_linktrain_fallback@dp-fallback:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#9009])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_dp_linktrain_fallback@dp-fallback.html
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-lnl: NOTRUN -> [SKIP][21] ([Intel XE#8265]) +1 other test skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_dsc@dsc-with-bpc-formats.html
* igt@kms_flip@2x-flip-vs-suspend:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#1421]) +3 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_flip@2x-flip-vs-suspend.html
* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-bmg: [PASS][23] -> [FAIL][24] ([Intel XE#5408] / [Intel XE#6266]) +1 other test fail
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-4/igt@kms_flip@2x-plain-flip-fb-recreate.html
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-2/igt@kms_flip@2x-plain-flip-fb-recreate.html
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][25] -> [FAIL][26] ([Intel XE#301]) +2 other tests fail
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
* igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#7179])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#6312] / [Intel XE#651]) +6 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#6312]) +8 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-rte:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2311]) +2 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcdrrs-1p-rte.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#656] / [Intel XE#7905]) +21 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#7905]) +21 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][35] ([Intel XE#7061]) +2 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-render.html
* igt@kms_frontbuffer_tracking@fbchdr-tiling-y:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#7399])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_frontbuffer_tracking@fbchdr-tiling-y.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2313]) +4 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#7865]) +11 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@pipe-fbc-rte:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#4141]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_frontbuffer_tracking@pipe-fbc-rte.html
* igt@kms_frontbuffer_tracking@psrhdr-abgr161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#7061])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_frontbuffer_tracking@psrhdr-abgr161616f-draw-blt.html
* igt@kms_joiner@basic-force-big-joiner:
- shard-lnl: NOTRUN -> [SKIP][41] ([Intel XE#7086] / [Intel XE#7390])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_joiner@basic-force-big-joiner.html
* igt@kms_panel_fitting@legacy:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2486])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_panel_fitting@legacy.html
* igt@kms_plane@pixel-format-4-tiled-dg2-mc-ccs-modifier-source-clamping:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#7283]) +1 other test skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_plane@pixel-format-4-tiled-dg2-mc-ccs-modifier-source-clamping.html
* igt@kms_plane_multiple@2x-tiling-none:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#4596] / [Intel XE#5854])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_plane_multiple@2x-tiling-none.html
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-c:
- shard-lnl: NOTRUN -> [SKIP][45] ([Intel XE#2763] / [Intel XE#6886]) +3 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-c.html
* igt@kms_pm_dc@dc3co-after-dc6@pr-xrgb8888:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#8395] / [Intel XE#8396]) +1 other test skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_pm_dc@dc3co-after-dc6@pr-xrgb8888.html
* igt@kms_pm_dc@dc3co-after-dc6@psr2-yuv420:
- shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#8396]) +1 other test skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_pm_dc@dc3co-after-dc6@psr2-yuv420.html
* igt@kms_psr2_sf@pr-cursor-plane-move-continuous-exceed-fully-sf:
- shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#2893] / [Intel XE#7304]) +1 other test skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_psr2_sf@pr-cursor-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr@fbc-pr-sprite-plane-onoff:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#1406]) +1 other test skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_psr@fbc-pr-sprite-plane-onoff.html
* igt@kms_psr@fbc-psr2-no-drrs:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#1406] / [Intel XE#7345])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_psr@fbc-psr2-no-drrs.html
* igt@kms_psr@fbc-psr2-no-drrs@edp-1:
- shard-lnl: NOTRUN -> [SKIP][51] ([Intel XE#1406] / [Intel XE#4609] / [Intel XE#7345])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@kms_psr@fbc-psr2-no-drrs@edp-1.html
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-90:
- shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@kms_rotation_crc@primary-y-tiled-reflect-x-90.html
* igt@kms_setmode@basic-no-cpu-idle@pipe-a-dp-2:
- shard-bmg: [PASS][53] -> [FAIL][54] ([Intel XE#8618]) +1 other test fail
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-3/igt@kms_setmode@basic-no-cpu-idle@pipe-a-dp-2.html
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-3/igt@kms_setmode@basic-no-cpu-idle@pipe-a-dp-2.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: NOTRUN -> [FAIL][55] ([Intel XE#1729] / [Intel XE#7424])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_tiled_display@basic-test-pattern.html
* igt@kms_vrr@seamless-rr-switch-vrr:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#1499])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@kms_vrr@seamless-rr-switch-vrr.html
* igt@xe_ccs@vm-bind-decompress:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#7644])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_ccs@vm-bind-decompress.html
* igt@xe_create@create-big-vram:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#1062] / [Intel XE#7318] / [Intel XE#7457])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_create@create-big-vram.html
* igt@xe_evict@evict-beng-large:
- shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#6540] / [Intel XE#688]) +4 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_evict@evict-beng-large.html
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [PASS][60] -> [INCOMPLETE][61] ([Intel XE#6321] / [Intel XE#8355])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-8/igt@xe_evict@evict-beng-mixed-many-threads-small.html
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-9/igt@xe_evict@evict-beng-mixed-many-threads-small.html
* igt@xe_exec_balancer@no-exec-cm-parallel-rebind:
- shard-lnl: NOTRUN -> [SKIP][62] ([Intel XE#7482]) +10 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_exec_balancer@no-exec-cm-parallel-rebind.html
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#1392]) +3 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr.html
* igt@xe_exec_basic@multigpu-no-exec-null:
- shard-bmg: NOTRUN -> [SKIP][64] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@xe_exec_basic@multigpu-no-exec-null.html
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-invalidate-race-prefetch:
- shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#8374])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-invalidate-race-prefetch.html
* igt@xe_exec_fault_mode@many-multi-queue-userptr-prefetch:
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#8374]) +6 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_exec_fault_mode@many-multi-queue-userptr-prefetch.html
* igt@xe_exec_mix_modes@exec-multi-queue-spinner-interrupted-lr:
- shard-lnl: NOTRUN -> [SKIP][67] ([Intel XE#9003])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@xe_exec_mix_modes@exec-multi-queue-spinner-interrupted-lr.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-userptr:
- shard-lnl: NOTRUN -> [SKIP][68] ([Intel XE#8364]) +14 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@xe_exec_multi_queue@many-queues-preempt-mode-userptr.html
* igt@xe_exec_multi_queue@two-queues-preempt-mode-priority:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#8364])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@xe_exec_multi_queue@two-queues-preempt-mode-priority.html
* igt@xe_exec_reset@gt-stress-reset-concurrent-submit:
- shard-lnl: [PASS][70] -> [DMESG-WARN][71] ([Intel XE#8652])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-lnl-5/igt@xe_exec_reset@gt-stress-reset-concurrent-submit.html
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-3/igt@xe_exec_reset@gt-stress-reset-concurrent-submit.html
* igt@xe_exec_reset@multi-queue-close-execqueues:
- shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#8369]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_exec_reset@multi-queue-close-execqueues.html
* igt@xe_exec_threads@threads-multi-queue-fd-basic:
- shard-lnl: NOTRUN -> [SKIP][73] ([Intel XE#8378]) +5 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@xe_exec_threads@threads-multi-queue-fd-basic.html
* igt@xe_madvise@atomic-device:
- shard-lnl: NOTRUN -> [SKIP][74] ([Intel XE#7980])
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@xe_madvise@atomic-device.html
* igt@xe_multigpu_svm@mgpu-pagefault-prefetch:
- shard-lnl: NOTRUN -> [SKIP][75] ([Intel XE#6964]) +2 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_multigpu_svm@mgpu-pagefault-prefetch.html
* igt@xe_page_reclaim@pat-index-xd:
- shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#7793])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@xe_page_reclaim@pat-index-xd.html
* igt@xe_pm@d3cold-basic-exec:
- shard-lnl: NOTRUN -> [SKIP][77] ([Intel XE#2284] / [Intel XE#366] / [Intel XE#7370])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-1/igt@xe_pm@d3cold-basic-exec.html
* igt@xe_pm@s3-basic:
- shard-bmg: [PASS][78] -> [INCOMPLETE][79] ([Intel XE#8175])
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-5/igt@xe_pm@s3-basic.html
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-6/igt@xe_pm@s3-basic.html
* igt@xe_query@multigpu-query-invalid-size:
- shard-lnl: NOTRUN -> [SKIP][80] ([Intel XE#944]) +1 other test skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_query@multigpu-query-invalid-size.html
* igt@xe_sriov_auto_provisioning@resources-released-on-vfs-disabling:
- shard-lnl: NOTRUN -> [SKIP][81] ([Intel XE#4130] / [Intel XE#7366]) +1 other test skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_sriov_auto_provisioning@resources-released-on-vfs-disabling.html
* igt@xe_sriov_scheduling@default-enabled-fair-scheduling:
- shard-lnl: NOTRUN -> [SKIP][82] ([Intel XE#8339])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-lnl-8/igt@xe_sriov_scheduling@default-enabled-fair-scheduling.html
#### Possible fixes ####
* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [FAIL][83] ([Intel XE#3718] / [Intel XE#6078]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-c-dp-2:
- shard-bmg: [FAIL][85] ([Intel XE#6078]) -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-c-dp-2.html
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-c-dp-2.html
* igt@kms_flip@basic-flip-vs-wf_vblank:
- shard-bmg: [FAIL][87] ([Intel XE#3098]) -> [PASS][88] +1 other test pass
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-9/igt@kms_flip@basic-flip-vs-wf_vblank.html
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-8/igt@kms_flip@basic-flip-vs-wf_vblank.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp2:
- shard-bmg: [FAIL][89] ([Intel XE#3321]) -> [PASS][90] +1 other test pass
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-4/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp2.html
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp2.html
#### Warnings ####
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][91] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][92] ([Intel XE#3544])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-2/igt@kms_hdr@brightness-with-hdr.html
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-3/igt@kms_hdr@brightness-with-hdr.html
* igt@xe_exec_reset@gt-reset-fault-injection:
- shard-bmg: [ABORT][93] ([Intel XE#9131] / [Intel XE#9145]) -> [DMESG-WARN][94] ([Intel XE#9130])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-10/igt@xe_exec_reset@gt-reset-fault-injection.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-1/igt@xe_exec_reset@gt-reset-fault-injection.html
* igt@xe_wedged@basic-wedged:
- shard-bmg: [DMESG-WARN][95] ([Intel XE#8963]) -> [ABORT][96] ([Intel XE#8591] / [Intel XE#8963])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3/shard-bmg-6/igt@xe_wedged@basic-wedged.html
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/shard-bmg-5/igt@xe_wedged@basic-wedged.html
[Intel XE#1062]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1062
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1125]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1125
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3098
[Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#5408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5408
[Intel XE#5854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5854
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6266]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6266
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7059]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7059
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7085]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7085
[Intel XE#7086]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7086
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7312
[Intel XE#7318]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7318
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7386]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7386
[Intel XE#7390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7390
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7457]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7457
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[Intel XE#7644]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7644
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7980]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7980
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8175]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8175
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8339]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8339
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
[Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
[Intel XE#8591]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8591
[Intel XE#8618]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8618
[Intel XE#8652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8652
[Intel XE#8963]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8963
[Intel XE#9003]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9003
[Intel XE#9009]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9009
[Intel XE#9130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9130
[Intel XE#9131]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9131
[Intel XE#9145]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9145
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3 -> xe-pw-170198v8
IGT_9094: b72ca59712e9021e1a1a0a5a89ff5eb74982ad99 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5749-ba8d5c199283dba7ce36bb78b53111b3e997f9c3: ba8d5c199283dba7ce36bb78b53111b3e997f9c3
xe-pw-170198v8: 170198v8
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-170198v8/index.html
[-- Attachment #2: Type: text/html, Size: 37024 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v8 03/10] drm/xe/vf: Add bounds checking for queried context and doorbell counts
2026-09-15 7:12 ` [PATCH v8 03/10] drm/xe/vf: Add bounds checking for queried context and doorbell counts Satyanarayana K V P
@ 2026-09-15 11:12 ` Michal Wajdeczko
0 siblings, 0 replies; 20+ messages in thread
From: Michal Wajdeczko @ 2026-09-15 11:12 UTC (permalink / raw)
To: Satyanarayana K V P, intel-xe
On 9/15/2026 9:12 AM, Satyanarayana K V P wrote:
> Add explicit bounds checks for context and doorbells which can detect
> and reject invalid configuration data from a misconfigured or
> malfunctioning PF, preventing protocol violations and protecting VF
> initialization.
>
> Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> index 339ea0d3344c..81d68fe5ad7c 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> @@ -15,6 +15,7 @@
> #include "abi/guc_klvs_abi.h"
> #include "abi/guc_relay_actions_abi.h"
> #include "regs/xe_gt_regs.h"
> +#include "regs/xe_guc_regs.h"
>
> #include "xe_assert.h"
> #include "xe_device.h"
> @@ -581,6 +582,11 @@ static int vf_get_ctxs_cfg(struct xe_gt *gt)
> if (unlikely(err))
> return err;
>
> + if (num_ctxs > GUC_ID_MAX) {
> + xe_gt_sriov_err(gt, "Out of bound CTXs %u received\n", num_ctxs);
> + return -EPROTO;
btw, as we are trying to make error code consistent across
the driver, and -EPROTO is mostly used in CTB to indicate
HXG ABI related errors, maybe we should use here -EINVAL
or -EOVERFLOW or -ERANGE ?
> + }
> +
> if (config->num_ctxs && config->num_ctxs != num_ctxs) {
> xe_gt_sriov_err(gt, "Unexpected CTXs reassignment: %u != %u\n",
> num_ctxs, config->num_ctxs);
> @@ -607,6 +613,11 @@ static int vf_get_dbs_cfg(struct xe_gt *gt)
> if (unlikely(err))
> return err;
>
> + if (num_dbs > GUC_NUM_DOORBELLS) {
> + xe_gt_sriov_err(gt, "Out of bound DBs %u received\n", num_dbs);
> + return -EPROTO;
> + }
> +
> if (config->num_dbs && config->num_dbs != num_dbs) {
> xe_gt_sriov_err(gt, "Unexpected DBs reassignment: %u != %u\n",
> num_dbs, config->num_dbs);
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v8 05/10] drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range
2026-09-15 7:12 ` [PATCH v8 05/10] drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range Satyanarayana K V P
@ 2026-09-15 12:03 ` Michal Wajdeczko
0 siblings, 0 replies; 20+ messages in thread
From: Michal Wajdeczko @ 2026-09-15 12:03 UTC (permalink / raw)
To: Satyanarayana K V P, intel-xe; +Cc: Matthew Brost, Maarten Lankhorst
On 9/15/2026 9:12 AM, Satyanarayana K V P wrote:
> Use check_add_overflow() for the VF range check, and rearrange the
> subsequent clamping into the subtraction form so the expression
> does not overflow.
>
Reported-by?
> Fixes: e904c56ba6e0 ("drm/xe: Rewrite GGTT VF initialization")
> Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: Maarten Lankhorst <dev@lankhorst.se>
> ---
> drivers/gpu/drm/xe/xe_ggtt.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
> index 7cac01cef1ee..d65929720704 100644
> --- a/drivers/gpu/drm/xe/xe_ggtt.c
> +++ b/drivers/gpu/drm/xe/xe_ggtt.c
> @@ -8,6 +8,7 @@
> #include <kunit/visibility.h>
> #include <linux/fault-inject.h>
> #include <linux/io-64-nonatomic-lo-hi.h>
> +#include <linux/overflow.h>
> #include <linux/sizes.h>
>
> #include <drm/drm_drv.h>
> @@ -394,7 +395,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
> struct xe_device *xe = tile_to_xe(ggtt->tile);
> struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
> unsigned int gsm_size;
> - u64 ggtt_start, wopcm = xe_wopcm_size(xe), ggtt_size;
> + u64 ggtt_start, wopcm = xe_wopcm_size(xe), ggtt_size, ggtt_end;
as you're touching this line, can we put wopcm in a separate one?
u64 ggtt_start, ggtt_size, ggtt_end;
u64 wopcm = xe_wopcm_size(xe);
> int err;
>
> if (!IS_SRIOV_VF(xe)) {
> @@ -413,9 +414,11 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
> ggtt_size = xe_tile_sriov_vf_ggtt(ggtt->tile);
>
> if (ggtt_start < wopcm ||
> - ggtt_start + ggtt_size > GUC_GGTT_TOP) {
> - xe_tile_err(ggtt->tile, "Invalid GGTT configuration: %#llx-%#llx\n",
> - ggtt_start, ggtt_start + ggtt_size - 1);
> + check_add_overflow(ggtt_start, ggtt_size, &ggtt_end) ||
> + ggtt_end > GUC_GGTT_TOP) {
> + xe_tile_err(ggtt->tile,
> + "Invalid GGTT configuration: base %#llx, size %#llx\n",
> + ggtt_start, ggtt_size);
> return -ERANGE;
> }
> }
> @@ -424,7 +427,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
> if (xe_vram_needs_64k(xe))
> ggtt->flags |= XE_GGTT_FLAGS_64K;
>
> - if (ggtt_size + ggtt_start > GUC_GGTT_TOP)
> + if (ggtt_size > GUC_GGTT_TOP - ggtt_start)
shouldn't this be moved to !IS_VF case above ?
and maybe it also requires check_add_overflow ?
> ggtt_size = GUC_GGTT_TOP - ggtt_start;
>
> if (GRAPHICS_VERx100(xe) >= 1270)
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v8 10/10] drm/xe/tests: Add KUnit tests for VF provisioning error handling
2026-09-15 7:12 ` [PATCH v8 10/10] drm/xe/tests: Add KUnit tests for VF provisioning error handling Satyanarayana K V P
@ 2026-09-15 14:33 ` Michal Wajdeczko
0 siblings, 0 replies; 20+ messages in thread
From: Michal Wajdeczko @ 2026-09-15 14:33 UTC (permalink / raw)
To: Satyanarayana K V P, intel-xe
On 9/15/2026 9:12 AM, Satyanarayana K V P wrote:
> VF relies on the PF to provide a valid hardware configuration via GuC
> KLV responses. In the unlikely event of PF malfunction or
> misconfiguration, a VF may receive incomplete, zero, or out-of-range
> values for its submission contexts, doorbells, VRAM or GGTT assignment.
>
> Add KUnit test cases that use the xe_guc_mmio_send_recv() stub to inject
> bad KLV responses and verify that VF can survive without crashing for
> the invalid configuration data received.
>
> Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> V7 -> V8:
> - Updated kunit test as per changed from other patches.
>
> V6 -> V7:
> - Fixed review comments (Sashiko, Michal W).
>
> V5 -> V6:
> - Fixed review comments (Michal W).
>
> V4 -> V5:
> - Added alignment tests for vram, GGTT base and size (Michal W).
> - Separated stubs for ctx, db, vram and GGTT (Michal W).
> - Added new test cases for xe_guc_mmio_send_recv() (Michal W).
>
> V3 -> V4:
> - Changed stub function from guc_action_query_single_klv32() and
> guc_action_query_single_klv64() to xe_guc_mmio_send_recv() (Michal W).
> - Fixed review comments (Michal W).
>
> V2 -> V3:
> - Renamed the test names. (Michal W).
> - Fixed review comments (Michal W).
>
> V1 -> V2:
> - Renamed the test file (Michal W).
> - Fixed review comments (Michal W).
> ---
> .../gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c | 393 ++++++++++++++++++
> drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 4 +
> 2 files changed, 397 insertions(+)
> create mode 100644 drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c
>
> diff --git a/drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c b/drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c
> new file mode 100644
> index 000000000000..e1a1bc5f1223
> --- /dev/null
> +++ b/drivers/gpu/drm/xe/tests/xe_gt_sriov_vf_kunit.c
> @@ -0,0 +1,393 @@
> +// SPDX-License-Identifier: GPL-2.0 AND MIT
> +/*
> + * Copyright © 2026 Intel Corporation
> + */
> +
> +#include <kunit/static_stub.h>
> +#include <kunit/test.h>
> +
> +#include "regs/xe_guc_regs.h"
> +#include "xe_device.h"
> +#include "xe_ggtt.h"
> +#include "xe_guc.h"
> +#include "xe_kunit_helpers.h"
> +#include "xe_pci_test.h"
> +
> +#define TEST_VRAM SZ_8G
> +#define TEST_GGTT_SIZE SZ_2G
> +#define TEST_GGTT_SIZE_OUT_OF_BOUNDS 0xfffffffffffff000ull
> +#define TEST_CTXS 1024
> +#define TEST_DBS 128
> +#define TEST_GGTT_START 0xa0a000ull
> +
> +#define TEST_VALIDATE_IN_PARAMS(test, len, request, key) \
can't we implement this as a regular function?
void assert_valid_query_klv_msg(struct kunit *test,
u32 len, const u32 *msg, u16 key)
> + do { \
> + KUNIT_ASSERT_EQ(test, len, VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_LEN); \
> + KUNIT_ASSERT_EQ(test, \
> + FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]), \
> + GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV); \
> + KUNIT_ASSERT_EQ(test, \
> + FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]), \
> + key); \
> + } while (0)
> +
> +#define TEST_FILL_RESP_BUFF(resp, c, type) \
here too, please use regular function/functions
or just inline the required code
our priority should be easy to understand code
rather than maximum code reuse at the cost of complexity
> + do { \
> + if (type == sizeof(u32)) { \
> + resp[0] = sizeof(u32) / sizeof(u32); \
> + resp[1] = (c)->query; \
> + } else if (type == sizeof(u64)) { \
> + resp[0] = sizeof(u64) / sizeof(u32); \
> + resp[1] = lower_32_bits((c)->query); \
> + resp[2] = upper_32_bits((c)->query); \
> + } \
> + } while (0)
> +
> +struct config {
> + u32 orig;
> + u32 query;
> + int expected_ret;
> + int ret;
> + const char *name;
> +};
> +
> +static const struct config vf_ctx_testcase[] = {
> + { .orig = TEST_CTXS, .query = TEST_CTXS, .name = "same", },
> + { .expected_ret = -ENODATA, .name = "none", },
> + { .query = GUC_ID_MAX + 1, .expected_ret = -EPROTO, .name = "overflow", },
> + { .orig = TEST_CTXS, .expected_ret = -EREMCHG, .name = "lost", },
> + { .orig = TEST_CTXS, .query = TEST_CTXS / 2, .expected_ret = -EREMCHG,
> + .name = "reduced", },
> + { .orig = TEST_CTXS, .query = TEST_CTXS * 2, .expected_ret = -EREMCHG,
> + .name = "increased", },
> + { .expected_ret = -EPROTO, .ret = -EPROTO, .name = "proto_error", },
> + { .expected_ret = -EIO, .ret = -EIO, .name = "IO_error", },
hmm, not very reviewer friendly layout ...
> +};
> +
> +static const struct config vf_db_testcase[] = {
> + { .orig = TEST_DBS, .query = TEST_DBS, .name = "same", },
> + { .name = "none", },
> + { .orig = TEST_DBS, .query = GUC_NUM_DOORBELLS + 1, .expected_ret = -EPROTO,
> + .name = "overflow", },
> + { .orig = TEST_DBS, .expected_ret = -EREMCHG, .name = "lost", },
> + { .orig = TEST_DBS, .query = TEST_DBS / 2, .expected_ret = -EREMCHG,
> + .name = "reduced", },
> + { .orig = TEST_DBS, .query = GUC_NUM_DOORBELLS - 1, .expected_ret = -EREMCHG,
> + .name = "increased", },
> + { .expected_ret = -EPROTO, .ret = -EPROTO, .name = "proto_error" },
> + { .expected_ret = -EIO, .ret = -EIO, .name = "IO_error", },
> +};
> +
> +KUNIT_ARRAY_PARAM_DESC(ctx_testcase, vf_ctx_testcase, name);
> +KUNIT_ARRAY_PARAM_DESC(db_testcase, vf_db_testcase, name);
> +
> +static int xe_guc_mmio_send_recv_stub_ctx(struct xe_guc *guc, const u32 *request,
> + u32 len, u32 *response_buf)
> +{
> + struct kunit *test = kunit_get_current_test();
> + const struct config *c = test->param_value;
> +
> + if (c->ret)
> + return c->ret;
> +
> + TEST_VALIDATE_IN_PARAMS(test, len, request, GUC_KLV_VF_CFG_NUM_CONTEXTS_KEY);
> + TEST_FILL_RESP_BUFF(response_buf, c, sizeof(u32));
> +
> + return 0;
> +}
> +
> +static void test_ctxs(struct kunit *test)
> +{
> + struct xe_gt *gt = test->priv;
> + const struct config *c = test->param_value;
> +
> + gt->sriov.vf.self_config.num_ctxs = c->orig;
> + kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
> + xe_guc_mmio_send_recv_stub_ctx);
> + KUNIT_EXPECT_EQ(test, vf_get_ctxs_cfg(gt), c->expected_ret);
> +}
> +
> +static int xe_guc_mmio_send_recv_stub_db(struct xe_guc *guc, const u32 *request,
> + u32 len, u32 *response_buf)
> +{
> + struct kunit *test = kunit_get_current_test();
> + const struct config *c = test->param_value;
> +
> + if (c->ret)
> + return c->ret;
> +
> + TEST_VALIDATE_IN_PARAMS(test, len, request, GUC_KLV_VF_CFG_NUM_DOORBELLS_KEY);
> + TEST_FILL_RESP_BUFF(response_buf, c, sizeof(u32));
> +
> + return 0;
> +}
> +
> +static void test_dbs(struct kunit *test)
> +{
> + struct xe_gt *gt = test->priv;
> + const struct config *c = test->param_value;
> +
> + gt->sriov.vf.self_config.num_dbs = c->orig;
> + kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
> + xe_guc_mmio_send_recv_stub_db);
> + KUNIT_EXPECT_EQ(test, vf_get_dbs_cfg(gt), c->expected_ret);
> +}
> +
> +struct config_vram {
> + u64 orig;
> + u64 query;
> + int expected_ret;
> + int ret;
> + const char *name;
> +};
> +
> +static const struct config_vram vf_vram_testcase[] = {
> + { .orig = TEST_VRAM, .query = TEST_VRAM, .name = "same", },
> + { .expected_ret = -ENODATA, .name = "none", },
> + { .orig = TEST_VRAM / 2, .query = TEST_VRAM + SZ_1G,
> + .expected_ret = -EREMCHG, .name = "increased", },
> + { .orig = TEST_VRAM / 2, .expected_ret = -EREMCHG, .name = "lost", },
> + { .orig = TEST_VRAM / 2, .query = TEST_VRAM / 4,
> + .expected_ret = -EREMCHG, .name = "reduced", },
> + { .orig = TEST_VRAM - SZ_1M, .query = TEST_VRAM - SZ_1M,
> + .expected_ret = -EINVAL, .name = "unaligned", },
> + { .expected_ret = -EPROTO, .ret = -EPROTO, .name = "proto_error" },
> + { .expected_ret = -EIO, .ret = -EIO, .name = "IO_error", },
> +};
> +
> +KUNIT_ARRAY_PARAM_DESC(vram_testcase, vf_vram_testcase, name);
> +
> +static int xe_guc_mmio_send_recv_stub_vram(struct xe_guc *guc, const u32 *request,
> + u32 len, u32 *response_buf)
> +{
> + struct kunit *test = kunit_get_current_test();
> + const struct config_vram *c = test->param_value;
> +
> + if (c->ret)
> + return c->ret;
> +
> + TEST_VALIDATE_IN_PARAMS(test, len, request, GUC_KLV_VF_CFG_LMEM_SIZE_KEY);
> + TEST_FILL_RESP_BUFF(response_buf, c, sizeof(u64));
> +
> + return 0;
> +}
> +
> +static void test_vram(struct kunit *test)
> +{
> + struct xe_gt *gt = test->priv;
> + const struct config_vram *c = test->param_value;
> +
> + gt->tile->sriov.vf.self_config.lmem_size = c->orig;
> + kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
> + xe_guc_mmio_send_recv_stub_vram);
> + KUNIT_EXPECT_EQ(test, vf_get_lmem_info(gt), c->expected_ret);
> +}
> +
> +struct config_ggtt {
> + u64 start_orig;
> + u64 start_query;
> + u64 size_orig;
> + u64 size_query;
> + int expected_ret;
> + int ret;
> + const char *name;
> +};
> +
> +static const struct config_ggtt vf_ggtt_testcase[] = {
> + { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
> + .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE,
> + .name = "same", },
as you can't fit all fields in one line, better to code them one-per-line:
{
.name = "same",
.start_orig = TEST_GGTT_START,
.start_query = TEST_GGTT_START,
.size_orig = TEST_GGTT_SIZE,
.size_query = TEST_GGTT_SIZE,
},
or
{
.name = "same",
.orig = { .start = TEST_GGTT_START, .size = TEST_GGTT_SIZE, },
.query = { .start = TEST_GGTT_START, .size = TEST_GGTT_SIZE, },
},
> + { .start_query = TEST_GGTT_START, .size_query = TEST_GGTT_SIZE,
> + .name = "query_on_init", },
> + { .expected_ret = -ENODATA, .name = "none", },
> + { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
> + .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE + SZ_4G,
> + .expected_ret = -ERANGE, .name = "overflow", },
> + { .start_query = TEST_GGTT_START, .size_query = TEST_GGTT_SIZE + SZ_4G,
> + .expected_ret = -ERANGE, .name = "overflow_query_on_init", },
> + { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
> + .size_orig = TEST_GGTT_SIZE, .expected_ret = -ENODATA,
> + .name = "lost", },
> + { .start_query = TEST_GGTT_START, .expected_ret = -ENODATA,
> + .name = "lost_on_init", },
> + { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
> + .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE - SZ_1M,
> + .expected_ret = -EREMCHG, .name = "reduced", },
> + { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
> + .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE + SZ_1M,
> + .expected_ret = -EREMCHG, .name = "increased", },
> + { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START,
> + .size_orig = TEST_GGTT_SIZE - SZ_4K, .size_query = TEST_GGTT_SIZE - SZ_2K,
> + .name = "unaligned_size_4K", },
> + { .start_query = TEST_GGTT_START, .size_query = TEST_GGTT_SIZE - SZ_2K,
> + .name = "unaligned_size_4K_on_init", },
> + { .start_orig = TEST_GGTT_START, .start_query = TEST_GGTT_START - SZ_2K,
> + .size_orig = TEST_GGTT_SIZE, .size_query = TEST_GGTT_SIZE,
> + .expected_ret = -EREMCHG, .name = "unaligned_base_4K", },
> + { .start_query = TEST_GGTT_START - SZ_2K, .size_query = TEST_GGTT_SIZE,
> + .name = "unaligned_base_4K_on_init", },
> + { .expected_ret = -EPROTO, .ret = -EPROTO,
> + .name = "proto_error" },
> + { .expected_ret = -EIO, .ret = -EIO,
> + .name = "IO_error", },
> + { .start_query = TEST_GGTT_START,
> + .size_query = TEST_GGTT_SIZE_OUT_OF_BOUNDS,
> + .expected_ret = -ERANGE, .name = "out_of_bounds_size_on_init",},
> +};
> +
> +KUNIT_ARRAY_PARAM_DESC(ggtt_testcase, vf_ggtt_testcase, name);
> +
> +static int xe_guc_mmio_send_recv_stub_ggtt(struct xe_guc *guc, const u32 *request,
> + u32 len, u32 *response_buf)
> +{
> + struct kunit *test = kunit_get_current_test();
> + const struct config_ggtt *c = test->param_value;
> + u32 key;
> +
> + if (c->ret)
> + return c->ret;
> +
> + KUNIT_ASSERT_EQ(test, FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]),
> + GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV);
> + KUNIT_EXPECT_EQ(test, len, VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_LEN);
only expect?
> + key = FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]);
> + KUNIT_ASSERT_TRUE(test,
> + key == GUC_KLV_VF_CFG_GGTT_START_KEY ||
> + key == GUC_KLV_VF_CFG_GGTT_SIZE_KEY);
> +
> + response_buf[0] = sizeof(u64) / sizeof(u32);
response_buf[0] = FIELD_PREP(GUC_HXG_RESPONSE_MSG_0_DATA0, ...
> + if (key == GUC_KLV_VF_CFG_GGTT_START_KEY) {
> + response_buf[1] = lower_32_bits(c->start_query);
> + response_buf[2] = upper_32_bits(c->start_query);
> + } else if (key == GUC_KLV_VF_CFG_GGTT_SIZE_KEY) {
> + response_buf[1] = lower_32_bits(c->size_query);
> + response_buf[2] = upper_32_bits(c->size_query);
> + }
> +
> + return 0;
> +}
> +
> +static void xe_ggtt_shift_nodes_stub(struct xe_ggtt *ggtt, u64 new_start)
> +{
> + struct kunit *test = kunit_get_current_test();
> + const struct config_ggtt *c = test->param_value;
> + struct xe_gt *gt = test->priv;
> + u64 expected_start = ALIGN(c->start_query, vf_get_ggtt_alignment(gt));
> +
> + KUNIT_EXPECT_EQ(test, new_start, expected_start);
> +}
> +
> +static void test_ggtt(struct kunit *test)
> +{
> + const struct config_ggtt *c = test->param_value;
> + struct xe_gt *gt = test->priv;
> +
> + gt->tile->sriov.vf.self_config.ggtt_base = c->start_orig;
> + gt->tile->sriov.vf.self_config.ggtt_size = c->size_orig;
> +
> + kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
> + xe_guc_mmio_send_recv_stub_ggtt);
> + kunit_activate_static_stub(test, xe_ggtt_shift_nodes,
> + xe_ggtt_shift_nodes_stub);
> + KUNIT_EXPECT_EQ(test, vf_get_ggtt_info(gt), c->expected_ret);
> +}
> +
> +struct config_mmio {
> + u32 response_length;
> + u32 response_value;
> + int expected_ret;
> + int ret;
> + const char *name;
> +};
> +
> +static const struct config_mmio guc_mmio_resp_testcase[] = {
> + { .response_length = sizeof(u32) / sizeof(u32),
> + .response_value = TEST_CTXS, .name = "same", },
redundant with test_ctxs.same, no?
and maybe it shall be called "valid" as it's just a new valid value
there is no prev value to say "same"
> + { .expected_ret = -ENODATA, .name = "none", },
redundant with test_ctxs.node, no?
OTOH if we want to test guc_action_query_single_klv() then
there might be a KLV with len=0, and then ret==0 is expected
> + { .response_length = sizeof(u64) / sizeof(u32), .response_value = TEST_CTXS,
> + .expected_ret = -EOVERFLOW, .name = "overflow", },
len = 2 is overflow for query_klv32, but it's fine for query_klv64
> + { .response_length = sizeof(u32) / sizeof(u32), .response_value = 0,
> + .expected_ret = -EREMCHG, .name = "lost", },
redundant with test_ctxs.lost
> + { .response_length = 0xffff, .response_value = 0xffff,
> + .expected_ret = -EOVERFLOW, .name = "invalid", },
for len>3 we can even use KUNIT_EXPECT_SUPPRESSED_WARNING_COUNT
> + { .expected_ret = -EPROTO, .ret = -EPROTO,
> + .name = "proto_error", },.
if you want to test the guc_action_query_single_klv() then you shouldn't
just define .ret to be used by stub, as then you will effectively just check:
ret = xe_guc_mmio_send_recv(guc, request, ARRAY_SIZE(request), response);
if (unlikely(ret < 0))
return ret;
to test -EPROTO you should prepare the response that will be catch by:
if (unlikely(FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_RESPONSE_MSG_0_MBZ, response[0])))
return -EPROTO;
then other one for these "if" checks:
length = FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_RESPONSE_MSG_0_LENGTH, response[0]);
if (unlikely(length > value_len))
return -EOVERFLOW;
if (unlikely(length < value_len))
return -ENODATA;
> + { .expected_ret = -EIO, .ret = -EIO,
> + .name = "IO_error", },
> +};
> +
> +KUNIT_ARRAY_PARAM_DESC(guc_mmio_resp, guc_mmio_resp_testcase, name);
> +
> +static int xe_guc_mmio_send_recv_stub(struct xe_guc *guc, const u32 *request,
> + u32 len, u32 *response_buf)
> +{
> + struct kunit *test = kunit_get_current_test();
> + const struct config_mmio *c = test->param_value;
> +
> + if (c->ret)
> + return c->ret;
> +
> + KUNIT_ASSERT_EQ(test, FIELD_GET(GUC_HXG_REQUEST_MSG_0_ACTION, request[0]),
> + GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV);
> + KUNIT_ASSERT_EQ(test,
> + FIELD_GET(VF2GUC_QUERY_SINGLE_KLV_REQUEST_MSG_1_KEY, request[1]),
> + GUC_KLV_VF_CFG_NUM_CONTEXTS_KEY);
> +
> + response_buf[0] = c->response_length;
> + response_buf[1] = c->response_value;
> +
> + return 0;
> +}
> +
> +static void test_guc_mmio(struct kunit *test)
> +{
> + const struct config_mmio *c = test->param_value;
> + struct xe_gt *gt = test->priv;
> +
> + gt->sriov.vf.self_config.num_ctxs = TEST_CTXS;
> + kunit_activate_static_stub(test, xe_guc_mmio_send_recv,
> + xe_guc_mmio_send_recv_stub);
> + KUNIT_EXPECT_EQ(test, vf_get_ctxs_cfg(gt), c->expected_ret);
why vf_get_ctxs_cfg() ?
maybe it should be just plain:
guc_action_query_single_klv32(guc, key, value)
and other test with:
guc_action_query_single_klv64(guc, key, value)
to cover both helpers used for VF config query
> +}
> +
> +static int vf_gt_config_test_init(struct kunit *test)
> +{
> + struct xe_pci_fake_data fake = {
> + .sriov_mode = XE_SRIOV_MODE_VF,
> + .platform = XE_BATTLEMAGE, /* any random DGFX platform with SR-IOV */
> + .subplatform = XE_SUBPLATFORM_NONE,
> + .graphics_verx100 = 2001,
> + };
> + struct xe_device *xe;
> + struct xe_gt *gt;
> +
> + test->priv = &fake;
> + xe_kunit_helper_xe_device_test_init(test);
> +
> + xe = test->priv;
> + KUNIT_ASSERT_TRUE(test, IS_SRIOV_VF(xe));
> + KUNIT_ASSERT_TRUE(test, IS_DGFX(xe));
> +
> + gt = xe_root_mmio_gt(xe);
> + KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gt);
> + test->priv = gt;
> +
> + return 0;
> +}
> +
> +static struct kunit_case vf_gt_config_test_cases[] = {
> + KUNIT_CASE_PARAM(test_ctxs, ctx_testcase_gen_params),
> + KUNIT_CASE_PARAM(test_dbs, db_testcase_gen_params),
> + KUNIT_CASE_PARAM(test_vram, vram_testcase_gen_params),
> + KUNIT_CASE_PARAM(test_ggtt, ggtt_testcase_gen_params),
> + KUNIT_CASE_PARAM(test_guc_mmio, guc_mmio_resp_gen_params),
> + {}
> +};
> +
> +static struct kunit_suite vf_gt_config_suite = {
> + .name = "vf_gt_config",
> + .test_cases = vf_gt_config_test_cases,
> + .init = vf_gt_config_test_init,
> +};
> +
> +kunit_test_suite(vf_gt_config_suite);
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> index ec79793bd547..2bafe34f1821 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> @@ -1708,3 +1708,7 @@ int xe_gt_sriov_vf_wait_valid_ggtt(struct xe_gt *gt)
>
> return atomic_read(>->sriov.vf.migration.fixups_complete_count);
> }
> +
> +#if IS_BUILTIN(CONFIG_DRM_XE_KUNIT_TEST)
> +#include "tests/xe_gt_sriov_vf_kunit.c"
> +#endif
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2026-09-15 14:33 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15 7:11 [PATCH v8 00/10] KUnit test for VF provisioning error handling Satyanarayana K V P
2026-09-15 7:11 ` [PATCH v8 01/10] drm/xe/guc: Allow to replace xe_guc_mmio_send_recv() with KUNIT stub Satyanarayana K V P
2026-09-15 7:11 ` [PATCH v8 02/10] drm/xe/vf: Split submission config query helpers Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 03/10] drm/xe/vf: Add bounds checking for queried context and doorbell counts Satyanarayana K V P
2026-09-15 11:12 ` Michal Wajdeczko
2026-09-15 7:12 ` [PATCH v8 04/10] drm/xe: Introduce helpers for VRAM alignment Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 05/10] drm/xe/ggtt: Avoid integer overflow when validating VF GGTT range Satyanarayana K V P
2026-09-15 12:03 ` Michal Wajdeczko
2026-09-15 7:12 ` [PATCH v8 06/10] drm/xe/vf: Add bounds checking for queried GGTT base and size Satyanarayana K V P
2026-09-15 7:26 ` sashiko-bot
2026-09-15 7:12 ` [PATCH v8 07/10] drm/xe/pf: Align VF GGTT allocations to PAGE_SIZE Satyanarayana K V P
2026-09-15 7:27 ` sashiko-bot
2026-09-15 7:12 ` [PATCH v8 08/10] drm/xe/vf: Add alignment check for queried VRAM size Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 09/10] drm/xe/ggtt: Add KUNIT stub for xe_ggtt_shift_nodes() Satyanarayana K V P
2026-09-15 7:12 ` [PATCH v8 10/10] drm/xe/tests: Add KUnit tests for VF provisioning error handling Satyanarayana K V P
2026-09-15 14:33 ` Michal Wajdeczko
2026-09-15 7:19 ` ✗ CI.checkpatch: warning for KUnit test for VF provisioning error handling (rev8) Patchwork
2026-09-15 7:21 ` ✓ CI.KUnit: success " Patchwork
2026-09-15 8:04 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-15 9:06 ` ✗ Xe.CI.FULL: failure " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.