* [PATCH v3 1/5] drm/xe/vf: Don't use multi-queue if it is disabled in GuC
2026-12-03 23:18 [PATCH v3 0/5] Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
@ 2026-12-03 23:18 ` Piórkowski, Piotr
2026-12-04 2:08 ` Rodrigo Vivi
2026-12-03 23:18 ` [PATCH v3 2/5] drm/xe/ggtt: Align shareable GGTT nodes by GGTT address Piórkowski, Piotr
` (5 subsequent siblings)
6 siblings, 1 reply; 10+ messages in thread
From: Piórkowski, Piotr @ 2026-12-03 23:18 UTC (permalink / raw)
To: intel-xe
Cc: Piotr Piórkowski, Matt Atwood, Rodrigo Vivi,
Satyanarayana K V P, Tangudu Tilak Tirumalesh, Varun Gupta
From: Piotr Piórkowski <piotr.piorkowski@intel.com>
Multi-queue can be disabled via configfs on the PF, which also disables
it in the GuC shared with the VFs. A VF only knows its own configfs
setting, so it may still try to use multi-queue.
Query GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE from the GuC at VF probe and
clear the multi-queue engine class mask if multi-queue is disabled. If
the GuC can't report it, keep multi-queue enabled as before.
Add xe_gt_disable_multi_queue() for that and use it also when
multi-queue is disabled via configfs.
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Cc: Varun Gupta <varun.gupta@intel.com>
Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
---
drivers/gpu/drm/xe/xe_gt.h | 10 ++++++++
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 38 +++++++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_gt_sriov_vf.h | 1 +
drivers/gpu/drm/xe/xe_guc.c | 2 ++
drivers/gpu/drm/xe/xe_pci.c | 2 +-
5 files changed, 52 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt.h b/drivers/gpu/drm/xe/xe_gt.h
index 1c701dd98edc3..d4784e49420f3 100644
--- a/drivers/gpu/drm/xe/xe_gt.h
+++ b/drivers/gpu/drm/xe/xe_gt.h
@@ -176,4 +176,14 @@ static inline bool xe_gt_has_multi_queue(const struct xe_gt *gt)
return gt && gt->info.multi_queue_engine_class_mask;
}
+/**
+ * xe_gt_disable_multi_queue() - Disable multi-queue on all engine classes.
+ *
+ * @gt: the GT object
+ */
+static inline void xe_gt_disable_multi_queue(struct xe_gt *gt)
+{
+ gt->info.multi_queue_engine_class_mask = 0;
+}
+
#endif
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index 60f1b29358f93..6cad30e4a892b 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -19,6 +19,7 @@
#include "xe_assert.h"
#include "xe_device.h"
#include "xe_ggtt.h"
+#include "xe_gt.h"
#include "xe_gt_sriov_printk.h"
#include "xe_gt_sriov_vf.h"
#include "xe_gt_sriov_vf_types.h"
@@ -728,6 +729,43 @@ int xe_gt_sriov_vf_query_config(struct xe_gt *gt)
return 0;
}
+/**
+ * xe_gt_sriov_vf_check_multi_queue() - Check if multi-queue is enabled in GuC.
+ * @gt: the &xe_gt
+ *
+ * The GuC is shared with the PF, which may have disabled multi-queue in it.
+ * Query the GuC and don't use multi-queue on the VF if it is disabled there.
+ * If the GuC can't report it, assume multi-queue is enabled.
+ *
+ * This function is for VF use only.
+ */
+void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt)
+{
+ u32 disabled;
+ int err;
+
+ xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
+
+ if (!xe_gt_has_multi_queue(gt))
+ return;
+
+ err = guc_action_query_single_klv32(>->uc.guc,
+ GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE,
+ &disabled);
+ if (err) {
+ xe_gt_sriov_dbg(gt, "Failed to query multi-queue status (%pe), assuming enabled\n",
+ ERR_PTR(err));
+ return;
+ }
+
+ xe_gt_sriov_dbg(gt, "multi-queue %s\n", str_enabled_disabled(!disabled));
+
+ if (disabled) {
+ xe_gt_sriov_info(gt, "Multi-queue disabled by the PF\n");
+ xe_gt_disable_multi_queue(gt);
+ }
+}
+
/**
* xe_gt_sriov_vf_sched_groups_enabled() - Check if PF has enabled multiple
* scheduler groups
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.h b/drivers/gpu/drm/xe/xe_gt_sriov_vf.h
index d171a8242a342..89226420884a7 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.h
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.h
@@ -19,6 +19,7 @@ void xe_gt_sriov_vf_guc_versions(struct xe_gt *gt,
struct xe_uc_fw_version *wanted,
struct xe_uc_fw_version *found);
int xe_gt_sriov_vf_query_config(struct xe_gt *gt);
+void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt);
int xe_gt_sriov_vf_connect(struct xe_gt *gt);
int xe_gt_sriov_vf_query_runtime(struct xe_gt *gt);
void xe_gt_sriov_vf_migrated_event_handler(struct xe_gt *gt);
diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index 00df83460022d..2201038774138 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -763,6 +763,8 @@ static int vf_guc_init_noalloc(struct xe_guc *guc)
if (err)
return err;
+ xe_gt_sriov_vf_check_multi_queue(gt);
+
return 0;
}
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 0c6bc82d917ba..b319abf7009eb 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -932,7 +932,7 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile *tile,
gt->info.multi_queue_engine_class_mask = graphics_desc->multi_queue_engine_class_mask;
if (!xe_configfs_get_enable_multi_queue(to_pci_dev(xe->drm.dev))) {
xe_gt_info(gt, "Multi-queue disabled via configfs\n");
- gt->info.multi_queue_engine_class_mask = 0;
+ xe_gt_disable_multi_queue(gt);
}
gt->info.engine_mask = graphics_desc->hw_engine_mask;
gt->info.num_geometry_xecore_fuse_regs = graphics_desc->num_geometry_xecore_fuse_regs;
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH v3 1/5] drm/xe/vf: Don't use multi-queue if it is disabled in GuC
2026-12-03 23:18 ` [PATCH v3 1/5] drm/xe/vf: Don't use multi-queue if it is disabled in GuC Piórkowski, Piotr
@ 2026-12-04 2:08 ` Rodrigo Vivi
0 siblings, 0 replies; 10+ messages in thread
From: Rodrigo Vivi @ 2026-12-04 2:08 UTC (permalink / raw)
To: Piórkowski, Piotr
Cc: intel-xe, Matt Atwood, Satyanarayana K V P,
Tangudu Tilak Tirumalesh, Varun Gupta
On Fri, Dec 04, 2026 at 12:18:31AM +0100, Piórkowski, Piotr wrote:
> From: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
> Multi-queue can be disabled via configfs on the PF, which also disables
> it in the GuC shared with the VFs. A VF only knows its own configfs
> setting, so it may still try to use multi-queue.
>
> Query GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE from the GuC at VF probe and
> clear the multi-queue engine class mask if multi-queue is disabled. If
> the GuC can't report it, keep multi-queue enabled as before.
>
> Add xe_gt_disable_multi_queue() for that and use it also when
> multi-queue is disabled via configfs.
>
> Cc: Matt Atwood <matthew.s.atwood@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> Cc: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
> Cc: Varun Gupta <varun.gupta@intel.com>
> Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt.h | 10 ++++++++
> drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 38 +++++++++++++++++++++++++++++
> drivers/gpu/drm/xe/xe_gt_sriov_vf.h | 1 +
> drivers/gpu/drm/xe/xe_guc.c | 2 ++
> drivers/gpu/drm/xe/xe_pci.c | 2 +-
> 5 files changed, 52 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt.h b/drivers/gpu/drm/xe/xe_gt.h
> index 1c701dd98edc3..d4784e49420f3 100644
> --- a/drivers/gpu/drm/xe/xe_gt.h
> +++ b/drivers/gpu/drm/xe/xe_gt.h
> @@ -176,4 +176,14 @@ static inline bool xe_gt_has_multi_queue(const struct xe_gt *gt)
> return gt && gt->info.multi_queue_engine_class_mask;
> }
>
> +/**
> + * xe_gt_disable_multi_queue() - Disable multi-queue on all engine classes.
> + *
> + * @gt: the GT object
> + */
> +static inline void xe_gt_disable_multi_queue(struct xe_gt *gt)
> +{
> + gt->info.multi_queue_engine_class_mask = 0;
> +}
> +
> #endif
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> index 60f1b29358f93..6cad30e4a892b 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> @@ -19,6 +19,7 @@
> #include "xe_assert.h"
> #include "xe_device.h"
> #include "xe_ggtt.h"
> +#include "xe_gt.h"
> #include "xe_gt_sriov_printk.h"
> #include "xe_gt_sriov_vf.h"
> #include "xe_gt_sriov_vf_types.h"
> @@ -728,6 +729,43 @@ int xe_gt_sriov_vf_query_config(struct xe_gt *gt)
> return 0;
> }
>
> +/**
> + * xe_gt_sriov_vf_check_multi_queue() - Check if multi-queue is enabled in GuC.
> + * @gt: the &xe_gt
> + *
> + * The GuC is shared with the PF, which may have disabled multi-queue in it.
> + * Query the GuC and don't use multi-queue on the VF if it is disabled there.
> + * If the GuC can't report it, assume multi-queue is enabled.
> + *
> + * This function is for VF use only.
> + */
> +void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt)
> +{
> + u32 disabled;
> + int err;
> +
> + xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
> +
> + if (!xe_gt_has_multi_queue(gt))
> + return;
> +
> + err = guc_action_query_single_klv32(>->uc.guc,
> + GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE,
> + &disabled);
> + if (err) {
> + xe_gt_sriov_dbg(gt, "Failed to query multi-queue status (%pe), assuming enabled\n",
> + ERR_PTR(err));
> + return;
> + }
> +
> + xe_gt_sriov_dbg(gt, "multi-queue %s\n", str_enabled_disabled(!disabled));
> +
> + if (disabled) {
> + xe_gt_sriov_info(gt, "Multi-queue disabled by the PF\n");
> + xe_gt_disable_multi_queue(gt);
> + }
> +}
> +
> /**
> * xe_gt_sriov_vf_sched_groups_enabled() - Check if PF has enabled multiple
> * scheduler groups
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.h b/drivers/gpu/drm/xe/xe_gt_sriov_vf.h
> index d171a8242a342..89226420884a7 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.h
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.h
> @@ -19,6 +19,7 @@ void xe_gt_sriov_vf_guc_versions(struct xe_gt *gt,
> struct xe_uc_fw_version *wanted,
> struct xe_uc_fw_version *found);
> int xe_gt_sriov_vf_query_config(struct xe_gt *gt);
> +void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt);
> int xe_gt_sriov_vf_connect(struct xe_gt *gt);
> int xe_gt_sriov_vf_query_runtime(struct xe_gt *gt);
> void xe_gt_sriov_vf_migrated_event_handler(struct xe_gt *gt);
> diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
> index 00df83460022d..2201038774138 100644
> --- a/drivers/gpu/drm/xe/xe_guc.c
> +++ b/drivers/gpu/drm/xe/xe_guc.c
> @@ -763,6 +763,8 @@ static int vf_guc_init_noalloc(struct xe_guc *guc)
> if (err)
> return err;
>
> + xe_gt_sriov_vf_check_multi_queue(gt);
> +
> return 0;
> }
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 0c6bc82d917ba..b319abf7009eb 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -932,7 +932,7 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile *tile,
> gt->info.multi_queue_engine_class_mask = graphics_desc->multi_queue_engine_class_mask;
> if (!xe_configfs_get_enable_multi_queue(to_pci_dev(xe->drm.dev))) {
> xe_gt_info(gt, "Multi-queue disabled via configfs\n");
> - gt->info.multi_queue_engine_class_mask = 0;
> + xe_gt_disable_multi_queue(gt);
> }
> gt->info.engine_mask = graphics_desc->hw_engine_mask;
> gt->info.num_geometry_xecore_fuse_regs = graphics_desc->num_geometry_xecore_fuse_regs;
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v3 2/5] drm/xe/ggtt: Align shareable GGTT nodes by GGTT address
2026-12-03 23:18 [PATCH v3 0/5] Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
2026-12-03 23:18 ` [PATCH v3 1/5] drm/xe/vf: Don't use multi-queue if it is disabled in GuC Piórkowski, Piotr
@ 2026-12-03 23:18 ` Piórkowski, Piotr
2026-12-03 23:18 ` [PATCH v3 3/5] drm/xe/tests: Test shareable GGTT alignment " Piórkowski, Piotr
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Piórkowski, Piotr @ 2026-12-03 23:18 UTC (permalink / raw)
To: intel-xe
Cc: Piotr Piórkowski, Matt Atwood, Rodrigo Vivi,
Satyanarayana K V P, Tangudu Tilak Tirumalesh, Varun Gupta
From: Piotr Piórkowski <piotr.piorkowski@intel.com>
drm_mm offsets of the GGTT start at ggtt->start (the WOPCM size), so the
alignment passed to drm_mm is applied to the offset from ggtt->start, not
to the GGTT address. The GGTT address is only aligned when ggtt->start
is, which is not guaranteed as the WOPCM size differs between platforms.
The GGTT range provisioned to a VF is programmed in the hardware by its
GGTT address, so any alignment requirement for it applies to the GGTT
address and not to the drm_mm offset.
Make xe_ggtt_insert_node_shareable() align the GGTT address of the node.
If ggtt->start is not aligned to the requested alignment, look for the
highest suitable address in the holes of the shareable range and reserve
the node there.
Also align by GGTT address in xe_ggtt_largest_hole() and
xe_ggtt_print_holes(), so the VF provisioning estimates match what can
actually be allocated. While at it, drop the max() with ggtt->start
there, a leftover from when drm_mm used GGTT addresses, which made both
skip the first ggtt->start bytes of the lowest hole.
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Cc: Varun Gupta <varun.gupta@intel.com>
Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
drivers/gpu/drm/xe/xe_ggtt.c | 96 ++++++++++++++++++++++++++++++------
1 file changed, 82 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index c24b7814c3abb..f3836a04eefd1 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -939,13 +939,66 @@ struct xe_ggtt_node *xe_ggtt_insert_node(struct xe_ggtt *ggtt, u32 size, u32 ali
}
#ifdef CONFIG_PCI_IOV
+/*
+ * drm_mm aligns offsets from ggtt->start, but the GGTT address of a VF range
+ * is what has to be aligned. If ggtt->start is not aligned to @align, look for
+ * the highest offset with an aligned GGTT address in the holes of the
+ * shareable range directly.
+ */
+static int ggtt_insert_node_shareable_locked(struct xe_ggtt_node *node, u64 size,
+ u64 align)
+{
+ struct xe_ggtt *ggtt = node->ggtt;
+ u64 range_start = ggtt_shareable_offset(ggtt);
+ u64 range_end = ggtt->full_size;
+ u64 hole_start, hole_end, best = U64_MAX;
+ struct drm_mm_node *entry;
+
+ lockdep_assert_held(&ggtt->lock);
+
+ if (align <= 1 || IS_ALIGNED(ggtt->start, align))
+ return ggtt_insert_node_in_range_locked(node, size, align, range_start,
+ ggtt->shareable_size,
+ DRM_MM_INSERT_HIGH);
+
+ xe_tile_assert(ggtt->tile, is_power_of_2(align));
+
+ if (!size)
+ return -EINVAL;
+
+ drm_mm_for_each_hole(entry, &ggtt->mm, hole_start, hole_end) {
+ u64 lo = max(hole_start, range_start);
+ u64 hi = min(hole_end, range_end);
+ u64 addr;
+
+ if (hi <= lo || hi - lo < size)
+ continue;
+
+ addr = ALIGN_DOWN(ggtt->start + hi - size, align);
+ if (addr < ggtt->start + lo)
+ continue;
+
+ if (best == U64_MAX || addr - ggtt->start > best)
+ best = addr - ggtt->start;
+ }
+
+ if (best == U64_MAX)
+ return -ENOSPC;
+
+ node->base.start = best;
+ node->base.size = size;
+
+ return drm_mm_reserve_node(&ggtt->mm, &node->base);
+}
+
/**
* xe_ggtt_insert_node_shareable() - Insert a new node in the shareable GGTT range
* @ggtt: the &xe_ggtt into which the node should be inserted.
* @size: size of the node
- * @align: alignment constrain of the node
+ * @align: alignment constraint of the node
*
- * Allocations always start from the top (DRM_MM_INSERT_HIGH).
+ * Allocations always start from the top (DRM_MM_INSERT_HIGH). @align applies
+ * to the GGTT address of the node, not to its offset from the GGTT start.
*
* Return: &xe_ggtt_node on success or an ERR_PTR on failure.
*/
@@ -963,10 +1016,7 @@ struct xe_ggtt_node *xe_ggtt_insert_node_shareable(struct xe_ggtt *ggtt, u32 siz
guard(mutex)(&ggtt->lock);
- ret = ggtt_insert_node_in_range_locked(node, size, align,
- ggtt_shareable_offset(ggtt),
- ggtt->shareable_size,
- DRM_MM_INSERT_HIGH);
+ ret = ggtt_insert_node_shareable_locked(node, size, align);
if (ret) {
ggtt_node_fini(node);
return ERR_PTR(ret);
@@ -1224,6 +1274,30 @@ void xe_ggtt_remove_bo(struct xe_ggtt *ggtt, struct xe_bo *bo)
bo->flags & XE_BO_FLAG_GGTT_INVALIDATE);
}
+/*
+ * Shrink a hole, given as drm_mm offsets, to aligned boundaries. Align the
+ * GGTT addresses rather than the drm_mm offsets.
+ */
+static bool ggtt_align_hole(struct xe_ggtt *ggtt, u64 alignment,
+ u64 *hole_start, u64 *hole_end)
+{
+ u64 start = ggtt->start + *hole_start;
+ u64 end = ggtt->start + *hole_end;
+
+ if (alignment > 1) {
+ xe_tile_assert(ggtt->tile, is_power_of_2(alignment));
+ start = ALIGN(start, alignment);
+ end = ALIGN_DOWN(end, alignment);
+ }
+
+ if (start >= end)
+ return false;
+
+ *hole_start = start - ggtt->start;
+ *hole_end = end - ggtt->start;
+ return true;
+}
+
/**
* xe_ggtt_largest_hole - Largest GGTT hole
* @ggtt: the &xe_ggtt that will be inspected
@@ -1241,10 +1315,7 @@ u64 xe_ggtt_largest_hole(struct xe_ggtt *ggtt, u64 alignment, u64 *spare)
mutex_lock(&ggtt->lock);
drm_mm_for_each_hole(entry, mm, hole_start, hole_end) {
- hole_start = max(hole_start, ggtt->start);
- hole_start = ALIGN(hole_start, alignment);
- hole_end = ALIGN_DOWN(hole_end, alignment);
- if (hole_start >= hole_end)
+ if (!ggtt_align_hole(ggtt, alignment, &hole_start, &hole_end))
continue;
hole_size = hole_end - hole_start;
if (spare)
@@ -1416,10 +1487,7 @@ u64 xe_ggtt_print_holes(struct xe_ggtt *ggtt, u64 alignment, struct drm_printer
mutex_lock(&ggtt->lock);
drm_mm_for_each_hole(entry, mm, hole_start, hole_end) {
- hole_start = max(hole_start, ggtt->start);
- hole_start = ALIGN(hole_start, alignment);
- hole_end = ALIGN_DOWN(hole_end, alignment);
- if (hole_start >= hole_end)
+ if (!ggtt_align_hole(ggtt, alignment, &hole_start, &hole_end))
continue;
hole_size = hole_end - hole_start;
total += hole_size;
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH v3 3/5] drm/xe/tests: Test shareable GGTT alignment by GGTT address
2026-12-03 23:18 [PATCH v3 0/5] Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
2026-12-03 23:18 ` [PATCH v3 1/5] drm/xe/vf: Don't use multi-queue if it is disabled in GuC Piórkowski, Piotr
2026-12-03 23:18 ` [PATCH v3 2/5] drm/xe/ggtt: Align shareable GGTT nodes by GGTT address Piórkowski, Piotr
@ 2026-12-03 23:18 ` Piórkowski, Piotr
2026-12-03 23:18 ` [PATCH v3 4/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV PF Piórkowski, Piotr
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Piórkowski, Piotr @ 2026-12-03 23:18 UTC (permalink / raw)
To: intel-xe
Cc: Piotr Piórkowski, Matt Atwood, Rodrigo Vivi,
Satyanarayana K V P, Tangudu Tilak Tirumalesh, Varun Gupta
From: Piotr Piórkowski <piotr.piorkowski@intel.com>
Add a test for a shareable GGTT node and the largest GGTT hole with a
4M alignment, which the 1M GGTT start used by the tests does not
satisfy. Check that the GGTT address of the node is aligned and that
the node is placed at the top of the GGTT. Also check the largest hole
before and after the node is inserted.
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Cc: Varun Gupta <varun.gupta@intel.com>
Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
drivers/gpu/drm/xe/tests/xe_ggtt_kunit.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/drivers/gpu/drm/xe/tests/xe_ggtt_kunit.c b/drivers/gpu/drm/xe/tests/xe_ggtt_kunit.c
index 202b48b0c984e..090b7dd88888b 100644
--- a/drivers/gpu/drm/xe/tests/xe_ggtt_kunit.c
+++ b/drivers/gpu/drm/xe/tests/xe_ggtt_kunit.c
@@ -306,6 +306,29 @@ static void alloc_shareable_pool_oversized(struct kunit *test)
KUNIT_EXPECT_EQ(test, PTR_ERR(node), -ENOSPC);
}
+static void alloc_shareable_aligned_addr(struct kunit *test)
+{
+ u64 accessible = ggtt_test_accessible_size(test);
+ u64 top = ALIGN_DOWN(GGTT_TEST_START + accessible, SZ_4M);
+ struct xe_ggtt_node *node;
+ struct xe_ggtt *ggtt;
+
+ ggtt = ggtt_test_create(test, accessible, accessible, accessible);
+ KUNIT_ASSERT_NOT_NULL(test, ggtt);
+ /* Force the path for a GGTT start that is not aligned */
+ KUNIT_ASSERT_FALSE(test, IS_ALIGNED(GGTT_TEST_START, SZ_4M));
+
+ KUNIT_EXPECT_EQ(test, xe_ggtt_largest_hole(ggtt, SZ_4M, NULL),
+ top - ALIGN(GGTT_TEST_START, SZ_4M));
+
+ node = ggtt_test_track_node(test, xe_ggtt_insert_node_shareable(ggtt, SZ_8M, SZ_4M));
+ KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node);
+ KUNIT_EXPECT_TRUE(test, IS_ALIGNED(xe_ggtt_node_addr(node), SZ_4M));
+ KUNIT_EXPECT_EQ(test, xe_ggtt_node_addr(node) + SZ_8M, top);
+ KUNIT_EXPECT_EQ(test, xe_ggtt_largest_hole(ggtt, SZ_4M, NULL),
+ top - SZ_8M - ALIGN(GGTT_TEST_START, SZ_4M));
+}
+
static struct kunit_case ggtt_iov_test_cases[] = {
KUNIT_CASE(init_shared_pf),
KUNIT_CASE(init_partial_overlap),
@@ -316,6 +339,7 @@ static struct kunit_case ggtt_iov_test_cases[] = {
KUNIT_CASE(alloc_partial_overlap_shareable_full),
KUNIT_CASE(alloc_shareable_pool_unavailable),
KUNIT_CASE(alloc_shareable_pool_oversized),
+ KUNIT_CASE(alloc_shareable_aligned_addr),
{}
};
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH v3 4/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV PF
2026-12-03 23:18 [PATCH v3 0/5] Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
` (2 preceding siblings ...)
2026-12-03 23:18 ` [PATCH v3 3/5] drm/xe/tests: Test shareable GGTT alignment " Piórkowski, Piotr
@ 2026-12-03 23:18 ` Piórkowski, Piotr
2026-12-03 23:18 ` [PATCH v3 5/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Piórkowski, Piotr @ 2026-12-03 23:18 UTC (permalink / raw)
To: intel-xe
Cc: Varun Gupta, Matt Atwood, Rodrigo Vivi, Satyanarayana K V P,
Tangudu Tilak Tirumalesh, Piotr Piórkowski
From: Varun Gupta <varun.gupta@intel.com>
Wa_14028597154 requires the low-4MB GGTT PTE matching each 4MB chunk of
GGTT (addr >> 10), plus the following page, to be backed by a dummy page
of the function owning that chunk. With SR-IOV this also applies to the
GGTT ranges of the VFs.
When the WA is active, provision VF GGTT ranges 4MB aligned and in whole
4MB chunks. Make them at least 8MB, as the VF keeps the top 4MB of its
range unused, and don't estimate a fair VF GGTT size below 8MB.
Hand the low-4MB PTEs matching a VF range to the VF together with the
range, as VFID-only PTEs like the range itself. On release, restore the
PF dummy page in them and invalidate the GGTT TLBs.
Keep the 4MB chunk right below a VF range free of PF allocations. Place
PF BOs at least 4MB below the lowest VF chunk, and place a VF range only
where the chunk below is free or owned by another VF. Track the
VF-owned chunks, so PF resume leaves their low-4MB PTEs alone.
The VF side of the WA is added in a follow-up patch.
v2:
- Fix build without CONFIG_PCI_IOV (CI)
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Signed-off-by: Varun Gupta <varun.gupta@intel.com>
Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
drivers/gpu/drm/xe/xe_ggtt.c | 159 +++++++++++++++++++--
drivers/gpu/drm/xe/xe_ggtt.h | 1 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 19 ++-
3 files changed, 164 insertions(+), 15 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index f3836a04eefd1..64b81c0c48a38 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -6,6 +6,7 @@
#include "xe_ggtt.h"
#include <kunit/visibility.h>
+#include <linux/bitmap.h>
#include <linux/error-injection.h>
#include <linux/io-64-nonatomic-lo-hi.h>
#include <linux/sizes.h>
@@ -72,6 +73,8 @@
#define XE_GGTT_FLAGS_64K BIT(0)
#define XE_GGTT_FLAGS_ONLINE BIT(1)
+#define XE_GGTT_NUM_4M_CHUNKS (SZ_4G / SZ_4M)
+
/**
* struct xe_ggtt_node - A node in GGTT.
*
@@ -132,6 +135,8 @@ struct xe_ggtt {
struct xe_bo *scratch;
/** @low_4m_pte: PTE backing GGTT [4K, 4M), 0 if unused */
u64 low_4m_pte;
+ /** @vf_chunks: Bitmap of 4MB GGTT chunks assigned to VFs */
+ DECLARE_BITMAP(vf_chunks, XE_GGTT_NUM_4M_CHUNKS);
/** @lock: Mutex lock to protect GGTT data */
struct mutex lock;
/**
@@ -480,6 +485,14 @@ static void ggtt_init_shared(struct xe_ggtt *ggtt, u64 start, u64 size)
ggtt_init_ranges(ggtt, start, size, size, size);
}
+static bool ggtt_needs_low_4m_wa(struct xe_ggtt *ggtt)
+{
+ struct xe_tile *tile = ggtt->tile;
+
+ return tile->primary_gt && XE_GT_WA(tile->primary_gt, 14028597154) &&
+ xe_gt_has_multi_queue(tile->primary_gt);
+}
+
static void ggtt_init_generic(struct xe_ggtt *ggtt, u64 start, u64 size)
{
struct xe_device *xe = tile_to_xe(ggtt->tile);
@@ -568,6 +581,87 @@ ALLOW_ERROR_INJECTION(xe_ggtt_init_early, ERRNO); /* See xe_pci_probe() */
static void xe_ggtt_invalidate(struct xe_ggtt *ggtt);
static void xe_ggtt_invalidate_engine(struct xe_ggtt *ggtt);
+/*
+ * Return the low-4MB PTEs of the VF chunks in [start, start + size) to the PF
+ * dummy page. Chunks not assigned to a VF are left alone, so releasing a PF
+ * node does not touch the low 4MB.
+ */
+static void ggtt_release_low_4m_locked(struct xe_ggtt *ggtt, u64 start, u64 size)
+{
+ u64 va;
+
+ lockdep_assert_held(&ggtt->lock);
+ xe_tile_assert(ggtt->tile, ggtt->low_4m_pte);
+
+ for (va = ALIGN_DOWN(start, SZ_4M); va < start + size; va += SZ_4M)
+ if (__test_and_clear_bit(va / SZ_4M, ggtt->vf_chunks))
+ ggtt_set_low_4m_pte(ggtt, va >> 10, ggtt->low_4m_pte);
+}
+
+#ifdef CONFIG_PCI_IOV
+static u64 xe_encode_vfid_pte(u16 vfid)
+{
+ return FIELD_PREP(GGTT_PTE_VFID, vfid) | XE_PAGE_PRESENT;
+}
+
+/*
+ * Wa_14028597154: hand the low-4MB PTE matching every 4MB chunk of a VF range
+ * (va >> 10) to that VF, as a VFID-only PTE like in xe_ggtt_assign_locked().
+ */
+static void ggtt_assign_low_4m_locked(struct xe_ggtt *ggtt, u64 start, u64 size,
+ u16 vfid)
+{
+ u64 pte = xe_encode_vfid_pte(vfid);
+ u64 va;
+
+ lockdep_assert_held(&ggtt->lock);
+ xe_tile_assert(ggtt->tile, ggtt->low_4m_pte);
+ xe_tile_assert(ggtt->tile, IS_ALIGNED(start, SZ_4M) && IS_ALIGNED(size, SZ_4M));
+
+ for (va = start; va < start + size; va += SZ_4M) {
+ ggtt_set_low_4m_pte(ggtt, va >> 10, pte);
+ __set_bit(va / SZ_4M, ggtt->vf_chunks);
+ }
+}
+
+/*
+ * Wa_14028597154: the 4MB chunk right below a VF range must not hold PF
+ * allocations. It has to be free, below the GGTT start, or owned by another
+ * VF.
+ */
+static bool ggtt_low_4m_room_below(struct xe_ggtt *ggtt, u64 addr, u64 hole_start)
+{
+ if (!ggtt->low_4m_pte || addr >= hole_start + SZ_4M)
+ return true;
+
+ if (hole_start == ggtt->start)
+ return true;
+
+ if (addr < SZ_4M)
+ return false;
+
+ return test_bit(addr / SZ_4M - 1, ggtt->vf_chunks);
+}
+#endif
+
+/*
+ * Return the lowest drm_mm offset in a hole that can hold a VF range. If the
+ * hole starts right above a node not owned by a VF, skip its first 4MB, see
+ * ggtt_low_4m_room_below().
+ */
+static u64 ggtt_low_4m_hole_start(struct xe_ggtt *ggtt, u64 hole_start)
+{
+ u64 addr = ggtt->start + hole_start;
+
+ if (!ggtt->low_4m_pte || !hole_start)
+ return hole_start;
+
+ if (IS_ALIGNED(addr, SZ_4M) && test_bit(addr / SZ_4M - 1, ggtt->vf_chunks))
+ return hole_start;
+
+ return hole_start + SZ_4M;
+}
+
static void ggtt_restore_low_4m_locked(struct xe_ggtt *ggtt)
{
u64 low_start = max_t(u64, ALIGN_DOWN(ggtt->start, SZ_4M) >> 10,
@@ -582,8 +676,11 @@ static void ggtt_restore_low_4m_locked(struct xe_ggtt *ggtt)
if (!ggtt->low_4m_pte)
return;
- for (addr = low_start; addr < low_end; addr += XE_PAGE_SIZE)
+ for (addr = low_start; addr < low_end; addr += XE_PAGE_SIZE) {
+ if (test_bit(addr >> XE_PTE_SHIFT, ggtt->vf_chunks))
+ continue;
ggtt_set_low_4m_pte(ggtt, addr, ggtt->low_4m_pte);
+ }
}
/*
@@ -607,8 +704,7 @@ static int ggtt_map_low_4m_wa(struct xe_ggtt *ggtt)
if (IS_SRIOV_VF(xe))
return 0;
- if (!tile->primary_gt || !XE_GT_WA(tile->primary_gt, 14028597154) ||
- !xe_gt_has_multi_queue(tile->primary_gt))
+ if (!ggtt_needs_low_4m_wa(ggtt))
return 0;
bo = xe_managed_bo_create_pin_map(xe, tile, XE_PAGE_SIZE, XE_BO_FLAG_SYSTEM);
@@ -640,6 +736,17 @@ void xe_ggtt_resume(struct xe_ggtt *ggtt)
ggtt_restore_low_4m_locked(ggtt);
}
+/**
+ * xe_ggtt_has_low_4m_wa() - Check if the low-4MB GGTT mapping is applied
+ * @ggtt: the &xe_ggtt
+ *
+ * Return: true if the low-4MB GGTT mapping for Wa_14028597154 is in place.
+ */
+bool xe_ggtt_has_low_4m_wa(struct xe_ggtt *ggtt)
+{
+ return ggtt->low_4m_pte;
+}
+
static void xe_ggtt_initial_clear(struct xe_ggtt *ggtt)
{
struct drm_mm_node *hole;
@@ -666,8 +773,13 @@ static void ggtt_node_remove(struct xe_ggtt_node *node)
mutex_lock(&ggtt->lock);
bound = ggtt->flags & XE_GGTT_FLAGS_ONLINE;
- if (bound)
+ if (bound) {
xe_ggtt_clear(ggtt, xe_ggtt_node_addr(node), xe_ggtt_node_size(node));
+ /* Return a released VF range's low-4MB PTEs to the PF dummy page */
+ if (IS_SRIOV_PF(tile_to_xe(ggtt->tile)) && ggtt->low_4m_pte)
+ ggtt_release_low_4m_locked(ggtt, xe_ggtt_node_addr(node),
+ xe_ggtt_node_size(node));
+ }
drm_mm_remove_node(&node->base);
node->base.size = 0;
if (bound && node->invalidate_on_remove) {
@@ -941,9 +1053,9 @@ struct xe_ggtt_node *xe_ggtt_insert_node(struct xe_ggtt *ggtt, u32 size, u32 ali
#ifdef CONFIG_PCI_IOV
/*
* drm_mm aligns offsets from ggtt->start, but the GGTT address of a VF range
- * is what has to be aligned. If ggtt->start is not aligned to @align, look for
- * the highest offset with an aligned GGTT address in the holes of the
- * shareable range directly.
+ * is what has to be aligned. If ggtt->start is not aligned to @align, or the
+ * placement has to follow Wa_14028597154, look for the highest offset with an
+ * aligned GGTT address in the holes of the shareable range directly.
*/
static int ggtt_insert_node_shareable_locked(struct xe_ggtt_node *node, u64 size,
u64 align)
@@ -956,11 +1068,13 @@ static int ggtt_insert_node_shareable_locked(struct xe_ggtt_node *node, u64 size
lockdep_assert_held(&ggtt->lock);
- if (align <= 1 || IS_ALIGNED(ggtt->start, align))
+ if ((align <= 1 || IS_ALIGNED(ggtt->start, align)) && !ggtt->low_4m_pte)
return ggtt_insert_node_in_range_locked(node, size, align, range_start,
ggtt->shareable_size,
DRM_MM_INSERT_HIGH);
+ /* Wa_14028597154: VF ranges are handed out in whole 4MB chunks */
+ align = max_t(u64, align, ggtt->low_4m_pte ? SZ_4M : 1);
xe_tile_assert(ggtt->tile, is_power_of_2(align));
if (!size)
@@ -978,6 +1092,10 @@ static int ggtt_insert_node_shareable_locked(struct xe_ggtt_node *node, u64 size
if (addr < ggtt->start + lo)
continue;
+ /* Wa_14028597154: keep PF allocations out of the chunk below */
+ if (!ggtt_low_4m_room_below(ggtt, addr, ggtt->start + hole_start))
+ continue;
+
if (best == U64_MAX || addr - ggtt->start > best)
best = addr - ggtt->start;
}
@@ -1198,6 +1316,21 @@ static int __xe_ggtt_insert_bo_at(struct xe_ggtt *ggtt, struct xe_bo *bo,
end = min(end, ggtt->size);
+ /*
+ * Wa_14028597154: keep PF allocations at least 4MB below the lowest
+ * VF-owned chunk.
+ */
+ if (ggtt->low_4m_pte && IS_SRIOV_PF(tile_to_xe(ggtt->tile))) {
+ unsigned long first_vf = find_first_bit(ggtt->vf_chunks,
+ XE_GGTT_NUM_4M_CHUNKS);
+
+ if (first_vf < XE_GGTT_NUM_4M_CHUNKS) {
+ u64 limit = (u64)first_vf * SZ_4M - SZ_4M;
+
+ end = limit > ggtt->start ? min(end, limit - ggtt->start) : 0;
+ }
+ }
+
if (end < start + xe_bo_size(bo))
err = -ENOSPC;
else
@@ -1315,6 +1448,7 @@ u64 xe_ggtt_largest_hole(struct xe_ggtt *ggtt, u64 alignment, u64 *spare)
mutex_lock(&ggtt->lock);
drm_mm_for_each_hole(entry, mm, hole_start, hole_end) {
+ hole_start = ggtt_low_4m_hole_start(ggtt, hole_start);
if (!ggtt_align_hole(ggtt, alignment, &hole_start, &hole_end))
continue;
hole_size = hole_end - hole_start;
@@ -1329,11 +1463,6 @@ u64 xe_ggtt_largest_hole(struct xe_ggtt *ggtt, u64 alignment, u64 *spare)
}
#ifdef CONFIG_PCI_IOV
-static u64 xe_encode_vfid_pte(u16 vfid)
-{
- return FIELD_PREP(GGTT_PTE_VFID, vfid) | XE_PAGE_PRESENT;
-}
-
static void xe_ggtt_assign_locked(const struct xe_ggtt_node *node, u16 vfid)
{
struct xe_ggtt *ggtt = node->ggtt;
@@ -1344,6 +1473,9 @@ static void xe_ggtt_assign_locked(const struct xe_ggtt_node *node, u16 vfid)
lockdep_assert_held(&ggtt->lock);
+ if (ggtt->low_4m_pte)
+ ggtt_assign_low_4m_locked(ggtt, start, size, vfid);
+
while (start < end) {
ggtt->pt_ops->ggtt_set_pte(ggtt, start, pte);
start += XE_PAGE_SIZE;
@@ -1487,6 +1619,7 @@ u64 xe_ggtt_print_holes(struct xe_ggtt *ggtt, u64 alignment, struct drm_printer
mutex_lock(&ggtt->lock);
drm_mm_for_each_hole(entry, mm, hole_start, hole_end) {
+ hole_start = ggtt_low_4m_hole_start(ggtt, hole_start);
if (!ggtt_align_hole(ggtt, alignment, &hole_start, &hole_end))
continue;
hole_size = hole_end - hole_start;
diff --git a/drivers/gpu/drm/xe/xe_ggtt.h b/drivers/gpu/drm/xe/xe_ggtt.h
index 78e68c2ca3ad4..7b5221d6f733d 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.h
+++ b/drivers/gpu/drm/xe/xe_ggtt.h
@@ -18,6 +18,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt);
int xe_ggtt_init_kunit(struct xe_ggtt *ggtt, u32 reserved, u32 size);
int xe_ggtt_init(struct xe_ggtt *ggtt);
void xe_ggtt_resume(struct xe_ggtt *ggtt);
+bool xe_ggtt_has_low_4m_wa(struct xe_ggtt *ggtt);
void xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_base);
u64 xe_ggtt_start(struct xe_ggtt *ggtt);
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 926f1e83bd79d..0b136b4616e7c 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -442,6 +442,10 @@ static u64 pf_get_ggtt_alignment(struct xe_gt *gt)
{
struct xe_device *xe = gt_to_xe(gt);
+ /* Wa_14028597154: VF GGTT ranges must start on and span whole 4MB chunks */
+ if (xe_ggtt_has_low_4m_wa(gt_to_tile(gt)->mem.ggtt))
+ return SZ_4M;
+
return IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K;
}
@@ -495,7 +499,9 @@ static int pf_distribute_config_ggtt(struct xe_tile *tile, unsigned int vfid, u6
static void pf_release_vf_config_ggtt(struct xe_gt *gt, struct xe_gt_sriov_config *config)
{
- xe_ggtt_node_remove(config->ggtt_region, false);
+ /* Wa_14028597154: drop TLB entries for the VF's own low-4MB dummy page */
+ xe_ggtt_node_remove(config->ggtt_region,
+ xe_ggtt_has_low_4m_wa(gt_to_tile(gt)->mem.ggtt));
config->ggtt_region = NULL;
}
@@ -514,6 +520,10 @@ static int pf_provision_vf_ggtt(struct xe_gt *gt, unsigned int vfid, u64 size)
size = round_up(size, alignment);
+ /* Wa_14028597154: the VF keeps its top 4MB free, so give it at least 8MB */
+ if (size && xe_ggtt_has_low_4m_wa(ggtt))
+ size = max_t(u64, size, SZ_8M);
+
if (config->ggtt_region) {
err = pf_distribute_config_ggtt(tile, vfid, 0, 0);
if (unlikely(err))
@@ -545,7 +555,7 @@ static int pf_provision_vf_ggtt(struct xe_gt *gt, unsigned int vfid, u64 size)
config->ggtt_region = node;
return 0;
err:
- xe_ggtt_node_remove(node, false);
+ xe_ggtt_node_remove(node, xe_ggtt_has_low_4m_wa(ggtt));
return err;
}
@@ -751,6 +761,11 @@ static u64 pf_estimate_fair_ggtt(struct xe_gt *gt, unsigned int num_vfs)
fair = div_u64(available, num_vfs);
fair = ALIGN_DOWN(fair, alignment);
+
+ /* Wa_14028597154: each VF needs at least 8MB, see pf_provision_vf_ggtt() */
+ if (fair < SZ_8M && xe_ggtt_has_low_4m_wa(gt_to_tile(gt)->mem.ggtt))
+ fair = 0;
+
xe_gt_sriov_dbg_verbose(gt, "GGTT available(%lluK) fair(%u x %lluK)\n",
available / SZ_1K, num_vfs, fair / SZ_1K);
return fair;
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH v3 5/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV VF
2026-12-03 23:18 [PATCH v3 0/5] Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
` (3 preceding siblings ...)
2026-12-03 23:18 ` [PATCH v3 4/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV PF Piórkowski, Piotr
@ 2026-12-03 23:18 ` Piórkowski, Piotr
2026-12-04 2:09 ` Rodrigo Vivi
2026-12-03 23:28 ` ✓ CI.KUnit: success for Apply Wa_14028597154 to SR-IOV VF (rev3) Patchwork
2026-12-04 0:03 ` ✓ Xe.CI.BAT: " Patchwork
6 siblings, 1 reply; 10+ messages in thread
From: Piórkowski, Piotr @ 2026-12-03 23:18 UTC (permalink / raw)
To: intel-xe
Cc: Varun Gupta, Matt Atwood, Rodrigo Vivi, Satyanarayana K V P,
Tangudu Tilak Tirumalesh, Tomasz Lis, Piotr Piórkowski
From: Varun Gupta <varun.gupta@intel.com>
Wa_14028597154 requires the low-4MB GGTT PTEs to be backed by a dummy
page, as the HW may write multi-queue semaphore tokens there.
The PF driver assigns these PTEs to each VF, matching the GGTT range
provisioned for that VF. The VF driver then has to map them to its own
dummy page.
When the WA is active, map the VF dummy page into the low-4MB PTEs
matching the VF GGTT range at probe, on resume and in
xe_ggtt_shift_nodes(), even if the GGTT base did not change, as these
PTEs are not migrated with the VF. Read them back to verify the mapping
and log an error on resume if they were not written. Keep the top 4MB
chunk of the VF GGTT range out of the usable range.
The WA can only be applied if the PF has enabled the GuC part of it,
the VF GGTT range is 4MB aligned, starts at or above 4MB, is at least
8MB and its low-4MB PTEs are assigned to the VF. Multi-queue is not used
during the probe, so instead of failing the probe, don't use multi-queue
on the VF if any of this is not met. Query the GuC part of the WA from
the GuC together with the multi-queue status. Check the GGTT range and
write a test PTE to each of the low-4MB PTEs in xe_ggtt_init_early().
Map the VF dummy page in xe_ggtt_init() before the scratch page is set
up, so the scratch setup sees the final multi-queue state.
Let xe_ggtt_shift_nodes() return an error, without moving the nodes, if
the low-4MB PTEs of the new GGTT range can't be mapped, so the
post-migration recovery fails.
v3:
- Don't use multi-queue on the VF instead of failing the probe if the
WA can't be applied
- Flush the GSM writes before reading back the low-4MB PTEs
- Move the VF GGTT range setup to a helper (Tomasz)
- Reword comments and commit message (Tomasz)
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Cc: Tomasz Lis <tomasz.lis@intel.com>
Signed-off-by: Varun Gupta <varun.gupta@intel.com>
Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
---
drivers/gpu/drm/xe/xe_ggtt.c | 181 +++++++++++++++++++++++++---
drivers/gpu/drm/xe/xe_ggtt.h | 2 +-
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 37 +++++-
3 files changed, 197 insertions(+), 23 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index 64b81c0c48a38..065247ed358b6 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -280,6 +280,11 @@ static void ggtt_set_low_4m_pte(struct xe_ggtt *ggtt, u64 addr, u64 pte)
__xe_ggtt_set_pte(ggtt, addr, pte);
}
+static void ggtt_flush_pte_writes(struct xe_ggtt *ggtt)
+{
+ xe_mmio_read32(xe_root_tile_mmio(tile_to_xe(ggtt->tile)), VF_CAP_REG);
+}
+
static void xe_ggtt_set_pte_and_flush(struct xe_ggtt *ggtt, u64 addr, u64 pte)
{
xe_ggtt_set_pte(ggtt, addr, pte);
@@ -493,14 +498,22 @@ static bool ggtt_needs_low_4m_wa(struct xe_ggtt *ggtt)
xe_gt_has_multi_queue(tile->primary_gt);
}
+/* Wa_14028597154: the top 4MB chunk of the VF GGTT range is not usable */
+static void ggtt_init_vf_low_4m(struct xe_ggtt *ggtt, u64 start, u64 size)
+{
+ ggtt_init_ranges(ggtt, start, size, size - SZ_4M, 0);
+}
+
static void ggtt_init_generic(struct xe_ggtt *ggtt, u64 start, u64 size)
{
struct xe_device *xe = tile_to_xe(ggtt->tile);
- if (!IS_SRIOV_PF(xe))
- ggtt_init_native(ggtt, start, size);
- else
+ if (IS_SRIOV_PF(xe))
ggtt_init_shared(ggtt, start, size);
+ else if (IS_SRIOV_VF(xe) && ggtt_needs_low_4m_wa(ggtt))
+ ggtt_init_vf_low_4m(ggtt, start, size);
+ else
+ ggtt_init_native(ggtt, start, size);
xe_tile_info(ggtt->tile, "GGTT usable %#llx-%#llx = %lluK\n",
ggtt->start, ggtt->start + ggtt->size - 1,
@@ -521,6 +534,39 @@ int xe_ggtt_init_kunit(struct xe_ggtt *ggtt, u32 start, u32 size)
}
EXPORT_SYMBOL_IF_KUNIT(xe_ggtt_init_kunit);
+/*
+ * Wa_14028597154: the PF provisions VF GGTT ranges 4MB aligned, above 4MB and
+ * of at least 8MB, and assigns the matching low-4MB PTEs to the VF. The VF can
+ * only modify these PTEs if the PF has assigned them, so write a non-present
+ * test PTE to each of them, read it back and restore the previous value.
+ */
+static bool ggtt_vf_low_4m_usable(struct xe_ggtt *ggtt, u64 start, u64 size)
+{
+ u64 mask = XE_PAGE_ADDR_MASK(XE_PTE_SHIFT);
+ u64 va;
+
+ if (start < SZ_4M || size < SZ_8M || !IS_ALIGNED(start | size, SZ_4M))
+ return false;
+
+ for (va = start; va < start + size; va += SZ_4M) {
+ u64 __iomem *pte = &ggtt->gsm[(va >> 10) >> XE_PTE_SHIFT];
+ u64 old = readq(pte);
+ u64 test = (old & mask) == XE_PAGE_SIZE ? 2 * XE_PAGE_SIZE : XE_PAGE_SIZE;
+ bool written;
+
+ writeq(test, pte);
+ ggtt_flush_pte_writes(ggtt);
+ written = (readq(pte) & mask) == test;
+ writeq(old, pte);
+ ggtt_flush_pte_writes(ggtt);
+
+ if (!written)
+ return false;
+ }
+
+ return true;
+}
+
static void dev_fini_ggtt(void *arg)
{
struct xe_ggtt *ggtt = arg;
@@ -563,6 +609,18 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
else
ggtt->pt_ops = &xelp_pt_ops;
+ /*
+ * Wa_14028597154: multi-queue is not used yet, so if the WA can't be
+ * applied to the VF GGTT range, don't use multi-queue on the VF.
+ */
+ if (IS_SRIOV_VF(xe) && ggtt_needs_low_4m_wa(ggtt) &&
+ !ggtt_vf_low_4m_usable(ggtt, ggtt_start, ggtt_size)) {
+ xe_tile_warn(ggtt->tile,
+ "Wa_14028597154 can't be applied to GGTT %#llx-%#llx, disabling multi-queue\n",
+ ggtt_start, ggtt_start + ggtt_size - 1);
+ xe_gt_disable_multi_queue(ggtt->tile->primary_gt);
+ }
+
ggtt->wq = alloc_workqueue("xe-ggtt-wq", WQ_MEM_RECLAIM | WQ_PERCPU, 0);
if (!ggtt->wq)
return -ENOMEM;
@@ -581,6 +639,14 @@ ALLOW_ERROR_INJECTION(xe_ggtt_init_early, ERRNO); /* See xe_pci_probe() */
static void xe_ggtt_invalidate(struct xe_ggtt *ggtt);
static void xe_ggtt_invalidate_engine(struct xe_ggtt *ggtt);
+static u64 ggtt_get_low_4m_pte(struct xe_ggtt *ggtt, u64 addr)
+{
+ xe_tile_assert(ggtt->tile, addr >= XE_PAGE_SIZE && addr < SZ_4M);
+ xe_tile_assert(ggtt->tile, !(addr & XE_PTE_MASK));
+
+ return readq(&ggtt->gsm[addr >> XE_PTE_SHIFT]);
+}
+
/*
* Return the low-4MB PTEs of the VF chunks in [start, start + size) to the PF
* dummy page. Chunks not assigned to a VF are left alone, so releasing a PF
@@ -662,8 +728,42 @@ static u64 ggtt_low_4m_hole_start(struct xe_ggtt *ggtt, u64 hole_start)
return hole_start + SZ_4M;
}
+/*
+ * Map the VF dummy page into the low-4MB PTEs matching the whole VF GGTT
+ * range from @start. The VF can only modify them if the PF has assigned them
+ * to it, so read them back to verify the mapping.
+ */
+static int ggtt_vf_map_low_4m_locked(struct xe_ggtt *ggtt, u64 start)
+{
+ u64 mask = XE_PAGE_ADDR_MASK(XE_PTE_SHIFT) | XE_PAGE_PRESENT;
+ u64 end = start + ggtt->full_size;
+ u64 va;
+
+ xe_tile_assert(ggtt->tile, IS_SRIOV_VF(tile_to_xe(ggtt->tile)));
+ xe_tile_assert(ggtt->tile, ggtt->low_4m_pte);
+ lockdep_assert_held(&ggtt->lock);
+
+ if (start < SZ_4M || !IS_ALIGNED(start | ggtt->full_size, SZ_4M))
+ return -ERANGE;
+
+ for (va = start; va < end; va += SZ_4M)
+ ggtt_set_low_4m_pte(ggtt, va >> 10, ggtt->low_4m_pte);
+
+ ggtt_flush_pte_writes(ggtt);
+
+ for (va = start; va < end; va += SZ_4M) {
+ u64 pte = ggtt_get_low_4m_pte(ggtt, va >> 10);
+
+ if ((pte & mask) != (ggtt->low_4m_pte & mask))
+ return -EPERM;
+ }
+
+ return 0;
+}
+
static void ggtt_restore_low_4m_locked(struct xe_ggtt *ggtt)
{
+ struct xe_device *xe = tile_to_xe(ggtt->tile);
u64 low_start = max_t(u64, ALIGN_DOWN(ggtt->start, SZ_4M) >> 10,
XE_PAGE_SIZE);
u64 low_end = min_t(u64,
@@ -676,6 +776,14 @@ static void ggtt_restore_low_4m_locked(struct xe_ggtt *ggtt)
if (!ggtt->low_4m_pte)
return;
+ /* A VF only owns the low-4MB PTEs matching its own GGTT range */
+ if (IS_SRIOV_VF(xe)) {
+ if (ggtt_vf_map_low_4m_locked(ggtt, ggtt->start))
+ xe_tile_err(ggtt->tile,
+ "Failed to restore low-4MB GGTT PTEs for Wa_14028597154\n");
+ return;
+ }
+
for (addr = low_start; addr < low_end; addr += XE_PAGE_SIZE) {
if (test_bit(addr >> XE_PTE_SHIFT, ggtt->vf_chunks))
continue;
@@ -694,16 +802,9 @@ static int ggtt_map_low_4m_wa(struct xe_ggtt *ggtt)
struct xe_device *xe = tile_to_xe(tile);
u16 pat_index = xe_cache_pat_idx(xe, XE_CACHE_WB);
struct xe_bo *bo;
+ int err = 0;
u64 pte;
- /*
- * TODO: SR-IOV VF support for Wa_14028597154 is deferred to a follow-up
- * (requires PF 4MB-aligned VF GGTT provisioning, low-4MB VFID PTE
- * assignment, and VF dummy-page mapping).
- */
- if (IS_SRIOV_VF(xe))
- return 0;
-
if (!ggtt_needs_low_4m_wa(ggtt))
return 0;
@@ -716,7 +817,21 @@ static int ggtt_map_low_4m_wa(struct xe_ggtt *ggtt)
scoped_guard(mutex, &ggtt->lock) {
ggtt->low_4m_pte = pte;
- ggtt_restore_low_4m_locked(ggtt);
+ if (IS_SRIOV_VF(xe))
+ err = ggtt_vf_map_low_4m_locked(ggtt, ggtt->start);
+ else
+ ggtt_restore_low_4m_locked(ggtt);
+ if (err)
+ ggtt->low_4m_pte = 0;
+ }
+
+ /* Multi-queue is not used yet, so the VF can still go without it */
+ if (err) {
+ xe_tile_warn(tile,
+ "Low-4MB GGTT range %#llx-%#llx not writable, disabling multi-queue (%pe)\n",
+ ggtt->start >> 10,
+ ((ggtt->start + ggtt->full_size) >> 10) - 1, ERR_PTR(err));
+ xe_gt_disable_multi_queue(tile->primary_gt);
}
return 0;
@@ -839,6 +954,11 @@ int xe_ggtt_init(struct xe_ggtt *ggtt)
struct xe_device *xe = tile_to_xe(ggtt->tile);
int err;
+ /* Before scratch, as the VF may disable multi-queue here */
+ err = ggtt_map_low_4m_wa(ggtt);
+ if (err)
+ return err;
+
/*
* Multi-queue misses engine GGTT TLB invalidations (GuC lite-restore
* skips the full context restore), so skip scratch: a stale translation
@@ -868,10 +988,6 @@ int xe_ggtt_init(struct xe_ggtt *ggtt)
xe_bo_size(ggtt->scratch));
}
- err = ggtt_map_low_4m_wa(ggtt);
- if (err)
- goto err;
-
/* Also invalidates GGTT TLBs for the low 4MB entries above */
xe_ggtt_initial_clear(ggtt);
@@ -945,23 +1061,48 @@ static void xe_ggtt_invalidate_engine(struct xe_ggtt *ggtt)
* Ensure that all struct &xe_ggtt_node are moved to the @new_start base address
* by changing the base offset of the GGTT.
*
- * This function may be called multiple times during recovery, but if
- * @new_start is unchanged from the current base, it's a noop.
+ * This function may be called multiple times during recovery. If @new_start
+ * is unchanged from the current base, the nodes stay where they are.
+ *
+ * When Wa_14028597154 is applied, the low-4MB PTEs matching the VF GGTT range
+ * are mapped to the VF dummy page again on every call, even if the base is
+ * unchanged, as they are not migrated with the VF.
*
* @new_start should be a value between the WOPCM size and #GUC_GGTT_TOP. VFs
* don't have access to the WOPCM size so we can't test against that.
+ *
+ * Return: 0 on success or a negative error code if the low-4MB PTEs for the
+ * new range can't be mapped, in which case the nodes are not moved.
*/
-void xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_start)
+int xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_start)
{
+ int err;
+
guard(mutex)(&ggtt->lock);
- xe_tile_assert(ggtt->tile, new_start + ggtt->size <= GUC_GGTT_TOP);
+ xe_tile_assert(ggtt->tile, new_start + ggtt->full_size <= GUC_GGTT_TOP);
#ifdef CONFIG_PCI_IOV
xe_tile_assert(ggtt->tile, ggtt->shareable_size == 0);
#endif
+ /*
+ * Wa_14028597154: the low-4MB PTEs lie outside the VF GGTT range, so no
+ * node covers them and they are not migrated with the VF. Map them again.
+ */
+ if (ggtt->low_4m_pte) {
+ err = ggtt_vf_map_low_4m_locked(ggtt, new_start);
+ if (err) {
+ xe_tile_err(ggtt->tile,
+ "Failed to map low-4MB GGTT PTEs for Wa_14028597154 (%pe)\n",
+ ERR_PTR(err));
+ return err;
+ }
+ }
+
/* pairs with READ_ONCE in xe_ggtt_node_addr() */
WRITE_ONCE(ggtt->start, new_start);
+
+ return 0;
}
static int ggtt_insert_node_in_range_locked(struct xe_ggtt_node *node, u32 size,
diff --git a/drivers/gpu/drm/xe/xe_ggtt.h b/drivers/gpu/drm/xe/xe_ggtt.h
index 7b5221d6f733d..22cf19d2b8eb2 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.h
+++ b/drivers/gpu/drm/xe/xe_ggtt.h
@@ -20,7 +20,7 @@ int xe_ggtt_init(struct xe_ggtt *ggtt);
void xe_ggtt_resume(struct xe_ggtt *ggtt);
bool xe_ggtt_has_low_4m_wa(struct xe_ggtt *ggtt);
-void xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_base);
+int xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_base);
u64 xe_ggtt_start(struct xe_ggtt *ggtt);
u64 xe_ggtt_size(struct xe_ggtt *ggtt);
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index 6cad30e4a892b..f28af714e7849 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -10,6 +10,8 @@
#include <drm/drm_managed.h>
#include <drm/drm_print.h>
+#include <generated/xe_wa_oob.h>
+
#include "abi/guc_actions_sriov_abi.h"
#include "abi/guc_communication_mmio_abi.h"
#include "abi/guc_klvs_abi.h"
@@ -38,6 +40,7 @@
#include "xe_tile_sriov_vf.h"
#include "xe_tlb_inval.h"
#include "xe_uc_fw.h"
+#include "xe_wa.h"
#include "xe_wedge.h"
#define make_u64_from_u32(hi, lo) ((u64)((u64)(u32)(hi) << 32 | (u32)(lo)))
@@ -535,9 +538,12 @@ static int vf_get_ggtt_info(struct xe_gt *gt)
* xe_ggtt_shift_nodes() may be called multiple times for each migration,
* but will be a noop if the base is unchanged.
*/
- xe_ggtt_shift_nodes(tile->mem.ggtt, start);
+ err = xe_ggtt_shift_nodes(tile->mem.ggtt, start);
+ if (err)
+ xe_gt_sriov_err(gt, "Failed to move GGTT to %#llx-%#llx (%pe)\n",
+ start, start + size - 1, ERR_PTR(err));
- return 0;
+ return err;
}
static int vf_get_lmem_info(struct xe_gt *gt)
@@ -729,6 +735,23 @@ int xe_gt_sriov_vf_query_config(struct xe_gt *gt)
return 0;
}
+/* Wa_14028597154: check that the PF has enabled the GuC part of the WA */
+static bool vf_low_4m_wa_enabled(struct xe_gt *gt)
+{
+ u32 key = GUC_FEATURE_KLV_DISABLE_PPHWSP_ACCESS_FOR_MULTIQ_SEM_TOKEN_64;
+ u32 enabled;
+ int err;
+
+ err = guc_action_query_single_klv32(>->uc.guc, key, &enabled);
+ if (err) {
+ xe_gt_sriov_dbg(gt, "Failed to query Wa_14028597154 status (%pe)\n",
+ ERR_PTR(err));
+ return false;
+ }
+
+ return enabled;
+}
+
/**
* xe_gt_sriov_vf_check_multi_queue() - Check if multi-queue is enabled in GuC.
* @gt: the &xe_gt
@@ -737,6 +760,9 @@ int xe_gt_sriov_vf_query_config(struct xe_gt *gt)
* Query the GuC and don't use multi-queue on the VF if it is disabled there.
* If the GuC can't report it, assume multi-queue is enabled.
*
+ * If Wa_14028597154 applies, also don't use multi-queue if the GuC part of
+ * the WA is not enabled.
+ *
* This function is for VF use only.
*/
void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt)
@@ -763,6 +789,13 @@ void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt)
if (disabled) {
xe_gt_sriov_info(gt, "Multi-queue disabled by the PF\n");
xe_gt_disable_multi_queue(gt);
+ return;
+ }
+
+ if (XE_GT_WA(gt, 14028597154) && !vf_low_4m_wa_enabled(gt)) {
+ xe_gt_sriov_notice(gt,
+ "Wa_14028597154 not enabled in GuC, disabling multi-queue\n");
+ xe_gt_disable_multi_queue(gt);
}
}
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH v3 5/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV VF
2026-12-03 23:18 ` [PATCH v3 5/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
@ 2026-12-04 2:09 ` Rodrigo Vivi
0 siblings, 0 replies; 10+ messages in thread
From: Rodrigo Vivi @ 2026-12-04 2:09 UTC (permalink / raw)
To: Piórkowski, Piotr
Cc: intel-xe, Varun Gupta, Matt Atwood, Satyanarayana K V P,
Tangudu Tilak Tirumalesh, Tomasz Lis
On Fri, Dec 04, 2026 at 12:18:35AM +0100, Piórkowski, Piotr wrote:
> From: Varun Gupta <varun.gupta@intel.com>
>
> Wa_14028597154 requires the low-4MB GGTT PTEs to be backed by a dummy
> page, as the HW may write multi-queue semaphore tokens there.
>
> The PF driver assigns these PTEs to each VF, matching the GGTT range
> provisioned for that VF. The VF driver then has to map them to its own
> dummy page.
>
> When the WA is active, map the VF dummy page into the low-4MB PTEs
> matching the VF GGTT range at probe, on resume and in
> xe_ggtt_shift_nodes(), even if the GGTT base did not change, as these
> PTEs are not migrated with the VF. Read them back to verify the mapping
> and log an error on resume if they were not written. Keep the top 4MB
> chunk of the VF GGTT range out of the usable range.
>
> The WA can only be applied if the PF has enabled the GuC part of it,
> the VF GGTT range is 4MB aligned, starts at or above 4MB, is at least
> 8MB and its low-4MB PTEs are assigned to the VF. Multi-queue is not used
> during the probe, so instead of failing the probe, don't use multi-queue
> on the VF if any of this is not met. Query the GuC part of the WA from
> the GuC together with the multi-queue status. Check the GGTT range and
> write a test PTE to each of the low-4MB PTEs in xe_ggtt_init_early().
> Map the VF dummy page in xe_ggtt_init() before the scratch page is set
> up, so the scratch setup sees the final multi-queue state.
>
> Let xe_ggtt_shift_nodes() return an error, without moving the nodes, if
> the low-4MB PTEs of the new GGTT range can't be mapped, so the
> post-migration recovery fails.
>
> v3:
> - Don't use multi-queue on the VF instead of failing the probe if the
> WA can't be applied
> - Flush the GSM writes before reading back the low-4MB PTEs
> - Move the VF GGTT range setup to a helper (Tomasz)
> - Reword comments and commit message (Tomasz)
>
> Cc: Matt Atwood <matthew.s.atwood@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> Cc: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
> Cc: Tomasz Lis <tomasz.lis@intel.com>
> Signed-off-by: Varun Gupta <varun.gupta@intel.com>
> Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
pushing it soon
> ---
> drivers/gpu/drm/xe/xe_ggtt.c | 181 +++++++++++++++++++++++++---
> drivers/gpu/drm/xe/xe_ggtt.h | 2 +-
> drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 37 +++++-
> 3 files changed, 197 insertions(+), 23 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
> index 64b81c0c48a38..065247ed358b6 100644
> --- a/drivers/gpu/drm/xe/xe_ggtt.c
> +++ b/drivers/gpu/drm/xe/xe_ggtt.c
> @@ -280,6 +280,11 @@ static void ggtt_set_low_4m_pte(struct xe_ggtt *ggtt, u64 addr, u64 pte)
> __xe_ggtt_set_pte(ggtt, addr, pte);
> }
>
> +static void ggtt_flush_pte_writes(struct xe_ggtt *ggtt)
> +{
> + xe_mmio_read32(xe_root_tile_mmio(tile_to_xe(ggtt->tile)), VF_CAP_REG);
> +}
> +
> static void xe_ggtt_set_pte_and_flush(struct xe_ggtt *ggtt, u64 addr, u64 pte)
> {
> xe_ggtt_set_pte(ggtt, addr, pte);
> @@ -493,14 +498,22 @@ static bool ggtt_needs_low_4m_wa(struct xe_ggtt *ggtt)
> xe_gt_has_multi_queue(tile->primary_gt);
> }
>
> +/* Wa_14028597154: the top 4MB chunk of the VF GGTT range is not usable */
> +static void ggtt_init_vf_low_4m(struct xe_ggtt *ggtt, u64 start, u64 size)
> +{
> + ggtt_init_ranges(ggtt, start, size, size - SZ_4M, 0);
> +}
> +
> static void ggtt_init_generic(struct xe_ggtt *ggtt, u64 start, u64 size)
> {
> struct xe_device *xe = tile_to_xe(ggtt->tile);
>
> - if (!IS_SRIOV_PF(xe))
> - ggtt_init_native(ggtt, start, size);
> - else
> + if (IS_SRIOV_PF(xe))
> ggtt_init_shared(ggtt, start, size);
> + else if (IS_SRIOV_VF(xe) && ggtt_needs_low_4m_wa(ggtt))
> + ggtt_init_vf_low_4m(ggtt, start, size);
> + else
> + ggtt_init_native(ggtt, start, size);
>
> xe_tile_info(ggtt->tile, "GGTT usable %#llx-%#llx = %lluK\n",
> ggtt->start, ggtt->start + ggtt->size - 1,
> @@ -521,6 +534,39 @@ int xe_ggtt_init_kunit(struct xe_ggtt *ggtt, u32 start, u32 size)
> }
> EXPORT_SYMBOL_IF_KUNIT(xe_ggtt_init_kunit);
>
> +/*
> + * Wa_14028597154: the PF provisions VF GGTT ranges 4MB aligned, above 4MB and
> + * of at least 8MB, and assigns the matching low-4MB PTEs to the VF. The VF can
> + * only modify these PTEs if the PF has assigned them, so write a non-present
> + * test PTE to each of them, read it back and restore the previous value.
> + */
> +static bool ggtt_vf_low_4m_usable(struct xe_ggtt *ggtt, u64 start, u64 size)
> +{
> + u64 mask = XE_PAGE_ADDR_MASK(XE_PTE_SHIFT);
> + u64 va;
> +
> + if (start < SZ_4M || size < SZ_8M || !IS_ALIGNED(start | size, SZ_4M))
> + return false;
> +
> + for (va = start; va < start + size; va += SZ_4M) {
> + u64 __iomem *pte = &ggtt->gsm[(va >> 10) >> XE_PTE_SHIFT];
> + u64 old = readq(pte);
> + u64 test = (old & mask) == XE_PAGE_SIZE ? 2 * XE_PAGE_SIZE : XE_PAGE_SIZE;
> + bool written;
> +
> + writeq(test, pte);
> + ggtt_flush_pte_writes(ggtt);
> + written = (readq(pte) & mask) == test;
> + writeq(old, pte);
> + ggtt_flush_pte_writes(ggtt);
> +
> + if (!written)
> + return false;
> + }
> +
> + return true;
> +}
> +
> static void dev_fini_ggtt(void *arg)
> {
> struct xe_ggtt *ggtt = arg;
> @@ -563,6 +609,18 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)
> else
> ggtt->pt_ops = &xelp_pt_ops;
>
> + /*
> + * Wa_14028597154: multi-queue is not used yet, so if the WA can't be
> + * applied to the VF GGTT range, don't use multi-queue on the VF.
> + */
> + if (IS_SRIOV_VF(xe) && ggtt_needs_low_4m_wa(ggtt) &&
> + !ggtt_vf_low_4m_usable(ggtt, ggtt_start, ggtt_size)) {
> + xe_tile_warn(ggtt->tile,
> + "Wa_14028597154 can't be applied to GGTT %#llx-%#llx, disabling multi-queue\n",
> + ggtt_start, ggtt_start + ggtt_size - 1);
> + xe_gt_disable_multi_queue(ggtt->tile->primary_gt);
> + }
> +
> ggtt->wq = alloc_workqueue("xe-ggtt-wq", WQ_MEM_RECLAIM | WQ_PERCPU, 0);
> if (!ggtt->wq)
> return -ENOMEM;
> @@ -581,6 +639,14 @@ ALLOW_ERROR_INJECTION(xe_ggtt_init_early, ERRNO); /* See xe_pci_probe() */
> static void xe_ggtt_invalidate(struct xe_ggtt *ggtt);
> static void xe_ggtt_invalidate_engine(struct xe_ggtt *ggtt);
>
> +static u64 ggtt_get_low_4m_pte(struct xe_ggtt *ggtt, u64 addr)
> +{
> + xe_tile_assert(ggtt->tile, addr >= XE_PAGE_SIZE && addr < SZ_4M);
> + xe_tile_assert(ggtt->tile, !(addr & XE_PTE_MASK));
> +
> + return readq(&ggtt->gsm[addr >> XE_PTE_SHIFT]);
> +}
> +
> /*
> * Return the low-4MB PTEs of the VF chunks in [start, start + size) to the PF
> * dummy page. Chunks not assigned to a VF are left alone, so releasing a PF
> @@ -662,8 +728,42 @@ static u64 ggtt_low_4m_hole_start(struct xe_ggtt *ggtt, u64 hole_start)
> return hole_start + SZ_4M;
> }
>
> +/*
> + * Map the VF dummy page into the low-4MB PTEs matching the whole VF GGTT
> + * range from @start. The VF can only modify them if the PF has assigned them
> + * to it, so read them back to verify the mapping.
> + */
> +static int ggtt_vf_map_low_4m_locked(struct xe_ggtt *ggtt, u64 start)
> +{
> + u64 mask = XE_PAGE_ADDR_MASK(XE_PTE_SHIFT) | XE_PAGE_PRESENT;
> + u64 end = start + ggtt->full_size;
> + u64 va;
> +
> + xe_tile_assert(ggtt->tile, IS_SRIOV_VF(tile_to_xe(ggtt->tile)));
> + xe_tile_assert(ggtt->tile, ggtt->low_4m_pte);
> + lockdep_assert_held(&ggtt->lock);
> +
> + if (start < SZ_4M || !IS_ALIGNED(start | ggtt->full_size, SZ_4M))
> + return -ERANGE;
> +
> + for (va = start; va < end; va += SZ_4M)
> + ggtt_set_low_4m_pte(ggtt, va >> 10, ggtt->low_4m_pte);
> +
> + ggtt_flush_pte_writes(ggtt);
> +
> + for (va = start; va < end; va += SZ_4M) {
> + u64 pte = ggtt_get_low_4m_pte(ggtt, va >> 10);
> +
> + if ((pte & mask) != (ggtt->low_4m_pte & mask))
> + return -EPERM;
> + }
> +
> + return 0;
> +}
> +
> static void ggtt_restore_low_4m_locked(struct xe_ggtt *ggtt)
> {
> + struct xe_device *xe = tile_to_xe(ggtt->tile);
> u64 low_start = max_t(u64, ALIGN_DOWN(ggtt->start, SZ_4M) >> 10,
> XE_PAGE_SIZE);
> u64 low_end = min_t(u64,
> @@ -676,6 +776,14 @@ static void ggtt_restore_low_4m_locked(struct xe_ggtt *ggtt)
> if (!ggtt->low_4m_pte)
> return;
>
> + /* A VF only owns the low-4MB PTEs matching its own GGTT range */
> + if (IS_SRIOV_VF(xe)) {
> + if (ggtt_vf_map_low_4m_locked(ggtt, ggtt->start))
> + xe_tile_err(ggtt->tile,
> + "Failed to restore low-4MB GGTT PTEs for Wa_14028597154\n");
> + return;
> + }
> +
> for (addr = low_start; addr < low_end; addr += XE_PAGE_SIZE) {
> if (test_bit(addr >> XE_PTE_SHIFT, ggtt->vf_chunks))
> continue;
> @@ -694,16 +802,9 @@ static int ggtt_map_low_4m_wa(struct xe_ggtt *ggtt)
> struct xe_device *xe = tile_to_xe(tile);
> u16 pat_index = xe_cache_pat_idx(xe, XE_CACHE_WB);
> struct xe_bo *bo;
> + int err = 0;
> u64 pte;
>
> - /*
> - * TODO: SR-IOV VF support for Wa_14028597154 is deferred to a follow-up
> - * (requires PF 4MB-aligned VF GGTT provisioning, low-4MB VFID PTE
> - * assignment, and VF dummy-page mapping).
> - */
> - if (IS_SRIOV_VF(xe))
> - return 0;
> -
> if (!ggtt_needs_low_4m_wa(ggtt))
> return 0;
>
> @@ -716,7 +817,21 @@ static int ggtt_map_low_4m_wa(struct xe_ggtt *ggtt)
>
> scoped_guard(mutex, &ggtt->lock) {
> ggtt->low_4m_pte = pte;
> - ggtt_restore_low_4m_locked(ggtt);
> + if (IS_SRIOV_VF(xe))
> + err = ggtt_vf_map_low_4m_locked(ggtt, ggtt->start);
> + else
> + ggtt_restore_low_4m_locked(ggtt);
> + if (err)
> + ggtt->low_4m_pte = 0;
> + }
> +
> + /* Multi-queue is not used yet, so the VF can still go without it */
> + if (err) {
> + xe_tile_warn(tile,
> + "Low-4MB GGTT range %#llx-%#llx not writable, disabling multi-queue (%pe)\n",
> + ggtt->start >> 10,
> + ((ggtt->start + ggtt->full_size) >> 10) - 1, ERR_PTR(err));
> + xe_gt_disable_multi_queue(tile->primary_gt);
> }
>
> return 0;
> @@ -839,6 +954,11 @@ int xe_ggtt_init(struct xe_ggtt *ggtt)
> struct xe_device *xe = tile_to_xe(ggtt->tile);
> int err;
>
> + /* Before scratch, as the VF may disable multi-queue here */
> + err = ggtt_map_low_4m_wa(ggtt);
> + if (err)
> + return err;
> +
> /*
> * Multi-queue misses engine GGTT TLB invalidations (GuC lite-restore
> * skips the full context restore), so skip scratch: a stale translation
> @@ -868,10 +988,6 @@ int xe_ggtt_init(struct xe_ggtt *ggtt)
> xe_bo_size(ggtt->scratch));
> }
>
> - err = ggtt_map_low_4m_wa(ggtt);
> - if (err)
> - goto err;
> -
> /* Also invalidates GGTT TLBs for the low 4MB entries above */
> xe_ggtt_initial_clear(ggtt);
>
> @@ -945,23 +1061,48 @@ static void xe_ggtt_invalidate_engine(struct xe_ggtt *ggtt)
> * Ensure that all struct &xe_ggtt_node are moved to the @new_start base address
> * by changing the base offset of the GGTT.
> *
> - * This function may be called multiple times during recovery, but if
> - * @new_start is unchanged from the current base, it's a noop.
> + * This function may be called multiple times during recovery. If @new_start
> + * is unchanged from the current base, the nodes stay where they are.
> + *
> + * When Wa_14028597154 is applied, the low-4MB PTEs matching the VF GGTT range
> + * are mapped to the VF dummy page again on every call, even if the base is
> + * unchanged, as they are not migrated with the VF.
> *
> * @new_start should be a value between the WOPCM size and #GUC_GGTT_TOP. VFs
> * don't have access to the WOPCM size so we can't test against that.
> + *
> + * Return: 0 on success or a negative error code if the low-4MB PTEs for the
> + * new range can't be mapped, in which case the nodes are not moved.
> */
> -void xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_start)
> +int xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_start)
> {
> + int err;
> +
> guard(mutex)(&ggtt->lock);
>
> - xe_tile_assert(ggtt->tile, new_start + ggtt->size <= GUC_GGTT_TOP);
> + xe_tile_assert(ggtt->tile, new_start + ggtt->full_size <= GUC_GGTT_TOP);
> #ifdef CONFIG_PCI_IOV
> xe_tile_assert(ggtt->tile, ggtt->shareable_size == 0);
> #endif
>
> + /*
> + * Wa_14028597154: the low-4MB PTEs lie outside the VF GGTT range, so no
> + * node covers them and they are not migrated with the VF. Map them again.
> + */
> + if (ggtt->low_4m_pte) {
> + err = ggtt_vf_map_low_4m_locked(ggtt, new_start);
> + if (err) {
> + xe_tile_err(ggtt->tile,
> + "Failed to map low-4MB GGTT PTEs for Wa_14028597154 (%pe)\n",
> + ERR_PTR(err));
> + return err;
> + }
> + }
> +
> /* pairs with READ_ONCE in xe_ggtt_node_addr() */
> WRITE_ONCE(ggtt->start, new_start);
> +
> + return 0;
> }
>
> static int ggtt_insert_node_in_range_locked(struct xe_ggtt_node *node, u32 size,
> diff --git a/drivers/gpu/drm/xe/xe_ggtt.h b/drivers/gpu/drm/xe/xe_ggtt.h
> index 7b5221d6f733d..22cf19d2b8eb2 100644
> --- a/drivers/gpu/drm/xe/xe_ggtt.h
> +++ b/drivers/gpu/drm/xe/xe_ggtt.h
> @@ -20,7 +20,7 @@ int xe_ggtt_init(struct xe_ggtt *ggtt);
> void xe_ggtt_resume(struct xe_ggtt *ggtt);
> bool xe_ggtt_has_low_4m_wa(struct xe_ggtt *ggtt);
>
> -void xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_base);
> +int xe_ggtt_shift_nodes(struct xe_ggtt *ggtt, u64 new_base);
> u64 xe_ggtt_start(struct xe_ggtt *ggtt);
> u64 xe_ggtt_size(struct xe_ggtt *ggtt);
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> index 6cad30e4a892b..f28af714e7849 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
> @@ -10,6 +10,8 @@
> #include <drm/drm_managed.h>
> #include <drm/drm_print.h>
>
> +#include <generated/xe_wa_oob.h>
> +
> #include "abi/guc_actions_sriov_abi.h"
> #include "abi/guc_communication_mmio_abi.h"
> #include "abi/guc_klvs_abi.h"
> @@ -38,6 +40,7 @@
> #include "xe_tile_sriov_vf.h"
> #include "xe_tlb_inval.h"
> #include "xe_uc_fw.h"
> +#include "xe_wa.h"
> #include "xe_wedge.h"
>
> #define make_u64_from_u32(hi, lo) ((u64)((u64)(u32)(hi) << 32 | (u32)(lo)))
> @@ -535,9 +538,12 @@ static int vf_get_ggtt_info(struct xe_gt *gt)
> * xe_ggtt_shift_nodes() may be called multiple times for each migration,
> * but will be a noop if the base is unchanged.
> */
> - xe_ggtt_shift_nodes(tile->mem.ggtt, start);
> + err = xe_ggtt_shift_nodes(tile->mem.ggtt, start);
> + if (err)
> + xe_gt_sriov_err(gt, "Failed to move GGTT to %#llx-%#llx (%pe)\n",
> + start, start + size - 1, ERR_PTR(err));
>
> - return 0;
> + return err;
> }
>
> static int vf_get_lmem_info(struct xe_gt *gt)
> @@ -729,6 +735,23 @@ int xe_gt_sriov_vf_query_config(struct xe_gt *gt)
> return 0;
> }
>
> +/* Wa_14028597154: check that the PF has enabled the GuC part of the WA */
> +static bool vf_low_4m_wa_enabled(struct xe_gt *gt)
> +{
> + u32 key = GUC_FEATURE_KLV_DISABLE_PPHWSP_ACCESS_FOR_MULTIQ_SEM_TOKEN_64;
> + u32 enabled;
> + int err;
> +
> + err = guc_action_query_single_klv32(>->uc.guc, key, &enabled);
> + if (err) {
> + xe_gt_sriov_dbg(gt, "Failed to query Wa_14028597154 status (%pe)\n",
> + ERR_PTR(err));
> + return false;
> + }
> +
> + return enabled;
> +}
> +
> /**
> * xe_gt_sriov_vf_check_multi_queue() - Check if multi-queue is enabled in GuC.
> * @gt: the &xe_gt
> @@ -737,6 +760,9 @@ int xe_gt_sriov_vf_query_config(struct xe_gt *gt)
> * Query the GuC and don't use multi-queue on the VF if it is disabled there.
> * If the GuC can't report it, assume multi-queue is enabled.
> *
> + * If Wa_14028597154 applies, also don't use multi-queue if the GuC part of
> + * the WA is not enabled.
> + *
> * This function is for VF use only.
> */
> void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt)
> @@ -763,6 +789,13 @@ void xe_gt_sriov_vf_check_multi_queue(struct xe_gt *gt)
> if (disabled) {
> xe_gt_sriov_info(gt, "Multi-queue disabled by the PF\n");
> xe_gt_disable_multi_queue(gt);
> + return;
> + }
> +
> + if (XE_GT_WA(gt, 14028597154) && !vf_low_4m_wa_enabled(gt)) {
> + xe_gt_sriov_notice(gt,
> + "Wa_14028597154 not enabled in GuC, disabling multi-queue\n");
> + xe_gt_disable_multi_queue(gt);
> }
> }
>
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✓ CI.KUnit: success for Apply Wa_14028597154 to SR-IOV VF (rev3)
2026-12-03 23:18 [PATCH v3 0/5] Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
` (4 preceding siblings ...)
2026-12-03 23:18 ` [PATCH v3 5/5] drm/xe/xe3p_lpg: Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
@ 2026-12-03 23:28 ` Patchwork
2026-12-04 0:03 ` ✓ Xe.CI.BAT: " Patchwork
6 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-12-03 23:28 UTC (permalink / raw)
To: Piórkowski, Piotr; +Cc: intel-xe
== Series Details ==
Series: Apply Wa_14028597154 to SR-IOV VF (rev3)
URL : https://patchwork.freedesktop.org/series/180447/
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
[23:26:19] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:26:24] 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
[23:26:44] Starting KUnit Kernel (1/1)...
[23:26:44] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:26:44] ================= gpu_buddy (15 subtests) ==================
[23:26:44] [PASSED] gpu_test_buddy_alloc_limit
[23:26:44] [PASSED] gpu_test_buddy_alloc_optimistic
[23:26:44] [PASSED] gpu_test_buddy_alloc_pessimistic
[23:26:44] [PASSED] gpu_test_buddy_alloc_pathological
[23:26:44] [PASSED] gpu_test_buddy_alloc_contiguous
[23:26:44] [PASSED] gpu_test_buddy_alloc_clear
[23:26:44] [PASSED] gpu_test_buddy_alloc_range
[23:26:44] [PASSED] gpu_test_buddy_alloc_range_bias
[23:26:44] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[23:26:45] [PASSED] gpu_test_buddy_fragmentation_performance
[23:26:46] [PASSED] gpu_test_buddy_dirty_tracker_performance
[23:26:46] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[23:26:46] [PASSED] gpu_test_buddy_offset_aligned_allocation
[23:26:46] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[23:26:46] [PASSED] gpu_test_buddy_addr_to_block
[23:26:46] ==================== [PASSED] gpu_buddy ====================
[23:26:46] ============================================================
[23:26:46] Testing complete. Ran 15 tests: passed: 15
[23:26:46] Elapsed time: 27.250s total, 5.105s configuring, 20.077s building, 2.004s 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
[23:26:46] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:26:49] 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
[23:27:27] Starting KUnit Kernel (1/1)...
[23:27:27] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:27:27] ================ xe_ggtt_iov (10 subtests) =================
[23:27:27] [PASSED] init_shared_pf
[23:27:27] [PASSED] init_partial_overlap
[23:27:27] [PASSED] alloc_usable_pool_low
[23:27:27] [PASSED] alloc_shareable_pool_high
[23:27:27] [PASSED] alloc_partial_overlap
[23:27:27] [PASSED] alloc_partial_overlap_usable_full
[23:27:27] [PASSED] alloc_partial_overlap_shareable_full
[23:27:27] [PASSED] alloc_shareable_pool_unavailable
[23:27:27] [PASSED] alloc_shareable_pool_oversized
[23:27:27] [PASSED] alloc_shareable_aligned_addr
[23:27:27] =================== [PASSED] xe_ggtt_iov ===================
[23:27:27] =================== xe_ggtt (3 subtests) ===================
[23:27:27] [PASSED] init_native
[23:27:27] [PASSED] alloc_usable_pool_native
[23:27:27] [PASSED] alloc_usable_pool_oversized
[23:27:27] ===================== [PASSED] xe_ggtt =====================
[23:27:27] ================== guc_buf (11 subtests) ===================
[23:27:27] [PASSED] test_smallest
[23:27:27] [PASSED] test_largest
[23:27:27] [PASSED] test_granular
[23:27:27] [PASSED] test_unique
[23:27:27] [PASSED] test_overlap
[23:27:27] [PASSED] test_reusable
[23:27:27] [PASSED] test_too_big
[23:27:27] [PASSED] test_flush
[23:27:27] [PASSED] test_lookup
[23:27:27] [PASSED] test_data
[23:27:27] [PASSED] test_class
[23:27:27] ===================== [PASSED] guc_buf =====================
[23:27:27] =================== guc_dbm (7 subtests) ===================
[23:27:27] [PASSED] test_empty
[23:27:27] [PASSED] test_default
[23:27:27] ======================== test_size ========================
[23:27:27] [PASSED] 4
[23:27:27] [PASSED] 8
[23:27:27] [PASSED] 32
[23:27:27] [PASSED] 256
[23:27:27] ==================== [PASSED] test_size ====================
[23:27:27] ======================= test_reuse ========================
[23:27:27] [PASSED] 4
[23:27:27] [PASSED] 8
[23:27:27] [PASSED] 32
[23:27:27] [PASSED] 256
[23:27:27] =================== [PASSED] test_reuse ====================
[23:27:27] =================== test_range_overlap ====================
[23:27:27] [PASSED] 4
[23:27:27] [PASSED] 8
[23:27:27] [PASSED] 32
[23:27:27] [PASSED] 256
[23:27:27] =============== [PASSED] test_range_overlap ================
[23:27:27] =================== test_range_compact ====================
[23:27:27] [PASSED] 4
[23:27:27] [PASSED] 8
[23:27:27] [PASSED] 32
[23:27:27] [PASSED] 256
[23:27:27] =============== [PASSED] test_range_compact ================
[23:27:27] ==================== test_range_spare =====================
[23:27:27] [PASSED] 4
[23:27:27] [PASSED] 8
[23:27:27] [PASSED] 32
[23:27:27] [PASSED] 256
[23:27:27] ================ [PASSED] test_range_spare =================
[23:27:27] ===================== [PASSED] guc_dbm =====================
[23:27:27] ================== guc_idm (22 subtests) ===================
[23:27:27] [PASSED] bad_init
[23:27:27] [PASSED] no_init
[23:27:27] [PASSED] init_fini
[23:27:27] [PASSED] check_init_small
[23:27:27] [PASSED] check_init_shared
[23:27:27] [PASSED] check_used
[23:27:27] [PASSED] check_quota
[23:27:27] [PASSED] check_all
[23:27:27] [PASSED] check_limits
[23:27:27] [PASSED] check_overlap
[23:27:27] [PASSED] check_overlap_alloc
[23:27:27] [PASSED] check_overlap_release
[23:27:27] [PASSED] check_overlap_partial_init
[23:27:27] [PASSED] check_overlap_partial_shared_range_blocking
[23:27:27] [PASSED] check_used_usable
[23:27:27] [PASSED] check_used_shareable
[23:27:27] [PASSED] check_used_mixed
[23:27:27] [PASSED] check_release_usable_range
[23:27:27] [PASSED] check_release_shareable_range
[23:27:27] [PASSED] check_split_boundaries
[23:27:27] [PASSED] check_shareable_spare
[23:27:27] [PASSED] check_shareable_spare_fragmented_tail
[23:27:27] ===================== [PASSED] guc_idm =====================
[23:27:27] ============== guc_klv_helpers (13 subtests) ===============
[23:27:27] [PASSED] test_count
[23:27:27] [PASSED] test_encode_u32
[23:27:27] [PASSED] test_encode_u64
[23:27:27] [PASSED] test_encode_string
[23:27:27] [PASSED] test_encode_object_raw
[23:27:27] [PASSED] test_encode_object_klv
[23:27:27] [PASSED] test_encode_object_nested
[23:27:27] [PASSED] test_encode_object_basic
[23:27:27] ===================== test_decode_u16 =====================
[23:27:27] [PASSED] empty
[23:27:27] [PASSED] valid
[23:27:27] [PASSED] max
[23:27:27] [PASSED] big
[23:27:27] [PASSED] long
[23:27:27] ================= [PASSED] test_decode_u16 =================
[23:27:27] ===================== test_decode_u32 =====================
[23:27:27] [PASSED] empty
[23:27:27] [PASSED] valid
[23:27:27] [PASSED] max
[23:27:27] [PASSED] long
[23:27:27] ================= [PASSED] test_decode_u32 =================
[23:27:27] ===================== test_decode_u64 =====================
[23:27:27] [PASSED] empty
[23:27:27] [PASSED] short
[23:27:27] [PASSED] valid
[23:27:27] [PASSED] max
[23:27:27] [PASSED] long
[23:27:27] ================= [PASSED] test_decode_u64 =================
[23:27:27] ===================== test_decode_str =====================
[23:27:27] [PASSED] empty
[23:27:27] [PASSED] one
[23:27:27] [PASSED] one_trash
[23:27:27] [PASSED] two
[23:27:27] [PASSED] two_trash
[23:27:27] [PASSED] three
[23:27:27] [PASSED] dword
[23:27:27] [PASSED] four
[23:27:27] [PASSED] five
[23:27:27] [PASSED] six
[23:27:27] [PASSED] seven
[23:27:27] [PASSED] qword
[23:27:27] ================= [PASSED] test_decode_str =================
[23:27:27] [PASSED] test_print
[23:27:27] ================= [PASSED] guc_klv_helpers =================
[23:27:27] =================== xe_log (6 subtests) ====================
[23:27:27] [PASSED] demo_cper
[23:27:27] [PASSED] demo_dmesg
[23:27:27] [PASSED] test_cper_null_xe
[23:27:27] ======================= test_dmesg ========================
[23:27:27] [PASSED] test_fatal
[23:27:27] [PASSED] test_fatal_tile
[23:27:27] [PASSED] test_fatal_gt
[23:27:27] [PASSED] test_fatal_comp
[23:27:27] [PASSED] test_fatal_comp_tile
[23:27:27] [PASSED] test_fatal_comp_gt
[23:27:27] [PASSED] test_fatal_all
[23:27:27] [PASSED] test_recoverable
[23:27:27] [PASSED] test_recoverable_tile
[23:27:28] [PASSED] test_recoverable_gt
[23:27:28] [PASSED] test_recoverable_comp
[23:27:28] [PASSED] test_recoverable_comp_tile
[23:27:28] [PASSED] test_recoverable_comp_gt
[23:27:28] [PASSED] test_recoverable_all
[23:27:28] [PASSED] test_info
[23:27:28] [PASSED] test_info_tile
[23:27:28] [PASSED] test_info_gt
[23:27:28] [PASSED] test_info_err
[23:27:28] [PASSED] test_info_comp
[23:27:28] [PASSED] test_info_comp_tile
[23:27:28] [PASSED] test_info_comp_gt
[23:27:28] [PASSED] test_info_all
[23:27:28] [PASSED] test_hw_fatal
[23:27:28] [PASSED] test_hw_recoverable
[23:27:28] [PASSED] test_hw_corrected
[23:27:28] [PASSED] test_hw_informational
[23:27:28] =================== [PASSED] test_dmesg ====================
[23:27:28] ====================== test_sw_cper =======================
[23:27:28] [PASSED] sw-fatal-errno
[23:27:28] [PASSED] sw-recoverable-errno
[23:27:28] [PASSED] sw-corrected
[23:27:28] [PASSED] sw-informational
[23:27:28] [PASSED] sw-with-error-class
[23:27:28] ================== [PASSED] test_sw_cper ===================
[23:27:28] ====================== test_invalid =======================
[23:27:28] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[23:27:28] ================== [SKIPPED] test_invalid ==================
[23:27:28] ===================== [PASSED] xe_log ======================
[23:27:28] ================== no_relay (3 subtests) ===================
[23:27:28] [PASSED] xe_drops_guc2pf_if_not_ready
[23:27:28] [PASSED] xe_drops_guc2vf_if_not_ready
[23:27:28] [PASSED] xe_rejects_send_if_not_ready
[23:27:28] ==================== [PASSED] no_relay =====================
[23:27:28] ================== pf_relay (14 subtests) ==================
[23:27:28] [PASSED] pf_rejects_guc2pf_too_short
[23:27:28] [PASSED] pf_rejects_guc2pf_too_long
[23:27:28] [PASSED] pf_rejects_guc2pf_no_payload
[23:27:28] [PASSED] pf_fails_no_payload
[23:27:28] [PASSED] pf_fails_bad_origin
[23:27:28] [PASSED] pf_fails_bad_type
[23:27:28] [PASSED] pf_txn_reports_error
[23:27:28] [PASSED] pf_txn_sends_pf2guc
[23:27:28] [PASSED] pf_sends_pf2guc
[23:27:28] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[23:27:28] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[23:27:28] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[23:27:28] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[23:27:28] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[23:27:28] ==================== [PASSED] pf_relay =====================
[23:27:28] ================== vf_relay (3 subtests) ===================
[23:27:28] [PASSED] vf_rejects_guc2vf_too_short
[23:27:28] [PASSED] vf_rejects_guc2vf_too_long
[23:27:28] [PASSED] vf_rejects_guc2vf_no_payload
[23:27:28] ==================== [PASSED] vf_relay =====================
[23:27:28] ================ pf_gt_config (9 subtests) =================
[23:27:28] [PASSED] fair_contexts_1vf
[23:27:28] [PASSED] fair_doorbells_1vf
[23:27:28] [PASSED] fair_ggtt_1vf
[23:27:28] ====================== fair_vram_1vf ======================
[23:27:28] [PASSED] 3.50 GiB
[23:27:28] [PASSED] 11.5 GiB
[23:27:28] [PASSED] 15.5 GiB
[23:27:28] [PASSED] 31.5 GiB
[23:27:28] [PASSED] 63.5 GiB
[23:27:28] [PASSED] 1.91 GiB
[23:27:28] ================== [PASSED] fair_vram_1vf ==================
[23:27:28] ================ fair_vram_1vf_admin_only =================
[23:27:28] [PASSED] 3.50 GiB
[23:27:28] [PASSED] 11.5 GiB
[23:27:28] [PASSED] 15.5 GiB
[23:27:28] [PASSED] 31.5 GiB
[23:27:28] [PASSED] 63.5 GiB
[23:27:28] [PASSED] 1.91 GiB
[23:27:28] ============ [PASSED] fair_vram_1vf_admin_only =============
[23:27:28] ====================== fair_contexts ======================
[23:27:28] [PASSED] 1 VF
[23:27:28] [PASSED] 2 VFs
[23:27:28] [PASSED] 3 VFs
[23:27:28] [PASSED] 4 VFs
[23:27:28] [PASSED] 5 VFs
[23:27:28] [PASSED] 6 VFs
[23:27:28] [PASSED] 7 VFs
[23:27:28] [PASSED] 8 VFs
[23:27:28] [PASSED] 9 VFs
[23:27:28] [PASSED] 10 VFs
[23:27:28] [PASSED] 11 VFs
[23:27:28] [PASSED] 12 VFs
[23:27:28] [PASSED] 13 VFs
[23:27:28] [PASSED] 14 VFs
[23:27:28] [PASSED] 15 VFs
[23:27:28] [PASSED] 16 VFs
[23:27:28] [PASSED] 17 VFs
[23:27:28] [PASSED] 18 VFs
[23:27:28] [PASSED] 19 VFs
[23:27:28] [PASSED] 20 VFs
[23:27:28] [PASSED] 21 VFs
[23:27:28] [PASSED] 22 VFs
[23:27:28] [PASSED] 23 VFs
[23:27:28] [PASSED] 24 VFs
[23:27:28] [PASSED] 25 VFs
[23:27:28] [PASSED] 26 VFs
[23:27:28] [PASSED] 27 VFs
[23:27:28] [PASSED] 28 VFs
[23:27:28] [PASSED] 29 VFs
[23:27:28] [PASSED] 30 VFs
[23:27:28] [PASSED] 31 VFs
[23:27:28] [PASSED] 32 VFs
[23:27:28] [PASSED] 33 VFs
[23:27:28] [PASSED] 34 VFs
[23:27:28] [PASSED] 35 VFs
[23:27:28] [PASSED] 36 VFs
[23:27:28] [PASSED] 37 VFs
[23:27:28] [PASSED] 38 VFs
[23:27:28] [PASSED] 39 VFs
[23:27:28] [PASSED] 40 VFs
[23:27:28] [PASSED] 41 VFs
[23:27:28] [PASSED] 42 VFs
[23:27:28] [PASSED] 43 VFs
[23:27:28] [PASSED] 44 VFs
[23:27:28] [PASSED] 45 VFs
[23:27:28] [PASSED] 46 VFs
[23:27:28] [PASSED] 47 VFs
[23:27:28] [PASSED] 48 VFs
[23:27:28] [PASSED] 49 VFs
[23:27:28] [PASSED] 50 VFs
[23:27:28] [PASSED] 51 VFs
[23:27:28] [PASSED] 52 VFs
[23:27:28] [PASSED] 53 VFs
[23:27:28] [PASSED] 54 VFs
[23:27:28] [PASSED] 55 VFs
[23:27:28] [PASSED] 56 VFs
[23:27:28] [PASSED] 57 VFs
[23:27:28] [PASSED] 58 VFs
[23:27:28] [PASSED] 59 VFs
[23:27:28] [PASSED] 60 VFs
[23:27:28] [PASSED] 61 VFs
[23:27:28] [PASSED] 62 VFs
[23:27:28] [PASSED] 63 VFs
[23:27:28] ================== [PASSED] fair_contexts ==================
[23:27:28] ===================== fair_doorbells ======================
[23:27:28] [PASSED] 1 VF
[23:27:28] [PASSED] 2 VFs
[23:27:28] [PASSED] 3 VFs
[23:27:28] [PASSED] 4 VFs
[23:27:28] [PASSED] 5 VFs
[23:27:28] [PASSED] 6 VFs
[23:27:28] [PASSED] 7 VFs
[23:27:28] [PASSED] 8 VFs
[23:27:28] [PASSED] 9 VFs
[23:27:28] [PASSED] 10 VFs
[23:27:28] [PASSED] 11 VFs
[23:27:28] [PASSED] 12 VFs
[23:27:28] [PASSED] 13 VFs
[23:27:28] [PASSED] 14 VFs
[23:27:28] [PASSED] 15 VFs
[23:27:28] [PASSED] 16 VFs
[23:27:28] [PASSED] 17 VFs
[23:27:28] [PASSED] 18 VFs
[23:27:28] [PASSED] 19 VFs
[23:27:28] [PASSED] 20 VFs
[23:27:28] [PASSED] 21 VFs
[23:27:28] [PASSED] 22 VFs
[23:27:28] [PASSED] 23 VFs
[23:27:28] [PASSED] 24 VFs
[23:27:28] [PASSED] 25 VFs
[23:27:28] [PASSED] 26 VFs
[23:27:28] [PASSED] 27 VFs
[23:27:28] [PASSED] 28 VFs
[23:27:28] [PASSED] 29 VFs
[23:27:28] [PASSED] 30 VFs
[23:27:28] [PASSED] 31 VFs
[23:27:28] [PASSED] 32 VFs
[23:27:28] [PASSED] 33 VFs
[23:27:28] [PASSED] 34 VFs
[23:27:28] [PASSED] 35 VFs
[23:27:28] [PASSED] 36 VFs
[23:27:28] [PASSED] 37 VFs
[23:27:28] [PASSED] 38 VFs
[23:27:28] [PASSED] 39 VFs
[23:27:28] [PASSED] 40 VFs
[23:27:28] [PASSED] 41 VFs
[23:27:28] [PASSED] 42 VFs
[23:27:28] [PASSED] 43 VFs
[23:27:28] [PASSED] 44 VFs
[23:27:28] [PASSED] 45 VFs
[23:27:28] [PASSED] 46 VFs
[23:27:28] [PASSED] 47 VFs
[23:27:28] [PASSED] 48 VFs
[23:27:28] [PASSED] 49 VFs
[23:27:28] [PASSED] 50 VFs
[23:27:28] [PASSED] 51 VFs
[23:27:28] [PASSED] 52 VFs
[23:27:28] [PASSED] 53 VFs
[23:27:28] [PASSED] 54 VFs
[23:27:28] [PASSED] 55 VFs
[23:27:28] [PASSED] 56 VFs
[23:27:28] [PASSED] 57 VFs
[23:27:28] [PASSED] 58 VFs
[23:27:28] [PASSED] 59 VFs
[23:27:28] [PASSED] 60 VFs
[23:27:28] [PASSED] 61 VFs
[23:27:28] [PASSED] 62 VFs
[23:27:28] [PASSED] 63 VFs
[23:27:28] ================= [PASSED] fair_doorbells ==================
[23:27:28] ======================== fair_ggtt ========================
[23:27:28] [PASSED] 1 VF
[23:27:28] [PASSED] 2 VFs
[23:27:28] [PASSED] 3 VFs
[23:27:28] [PASSED] 4 VFs
[23:27:28] [PASSED] 5 VFs
[23:27:28] [PASSED] 6 VFs
[23:27:28] [PASSED] 7 VFs
[23:27:28] [PASSED] 8 VFs
[23:27:28] [PASSED] 9 VFs
[23:27:28] [PASSED] 10 VFs
[23:27:28] [PASSED] 11 VFs
[23:27:28] [PASSED] 12 VFs
[23:27:28] [PASSED] 13 VFs
[23:27:28] [PASSED] 14 VFs
[23:27:28] [PASSED] 15 VFs
[23:27:28] [PASSED] 16 VFs
[23:27:28] [PASSED] 17 VFs
[23:27:28] [PASSED] 18 VFs
[23:27:28] [PASSED] 19 VFs
[23:27:28] [PASSED] 20 VFs
[23:27:28] [PASSED] 21 VFs
[23:27:28] [PASSED] 22 VFs
[23:27:28] [PASSED] 23 VFs
[23:27:28] [PASSED] 24 VFs
[23:27:28] [PASSED] 25 VFs
[23:27:28] [PASSED] 26 VFs
[23:27:28] [PASSED] 27 VFs
[23:27:28] [PASSED] 28 VFs
[23:27:28] [PASSED] 29 VFs
[23:27:28] [PASSED] 30 VFs
[23:27:28] [PASSED] 31 VFs
[23:27:28] [PASSED] 32 VFs
[23:27:28] [PASSED] 33 VFs
[23:27:28] [PASSED] 34 VFs
[23:27:28] [PASSED] 35 VFs
[23:27:28] [PASSED] 36 VFs
[23:27:28] [PASSED] 37 VFs
[23:27:28] [PASSED] 38 VFs
[23:27:28] [PASSED] 39 VFs
[23:27:28] [PASSED] 40 VFs
[23:27:28] [PASSED] 41 VFs
[23:27:28] [PASSED] 42 VFs
[23:27:28] [PASSED] 43 VFs
[23:27:28] [PASSED] 44 VFs
[23:27:28] [PASSED] 45 VFs
[23:27:28] [PASSED] 46 VFs
[23:27:28] [PASSED] 47 VFs
[23:27:28] [PASSED] 48 VFs
[23:27:28] [PASSED] 49 VFs
[23:27:28] [PASSED] 50 VFs
[23:27:28] [PASSED] 51 VFs
[23:27:28] [PASSED] 52 VFs
[23:27:28] [PASSED] 53 VFs
[23:27:28] [PASSED] 54 VFs
[23:27:28] [PASSED] 55 VFs
[23:27:28] [PASSED] 56 VFs
[23:27:28] [PASSED] 57 VFs
[23:27:28] [PASSED] 58 VFs
[23:27:28] [PASSED] 59 VFs
[23:27:28] [PASSED] 60 VFs
[23:27:28] [PASSED] 61 VFs
[23:27:28] [PASSED] 62 VFs
[23:27:28] [PASSED] 63 VFs
[23:27:28] ==================== [PASSED] fair_ggtt ====================
[23:27:28] ======================== fair_vram ========================
[23:27:28] [PASSED] 1 VF
[23:27:28] [PASSED] 2 VFs
[23:27:28] [PASSED] 3 VFs
[23:27:28] [PASSED] 4 VFs
[23:27:28] [PASSED] 5 VFs
[23:27:28] [PASSED] 6 VFs
[23:27:28] [PASSED] 7 VFs
[23:27:28] [PASSED] 8 VFs
[23:27:28] [PASSED] 9 VFs
[23:27:28] [PASSED] 10 VFs
[23:27:28] [PASSED] 11 VFs
[23:27:28] [PASSED] 12 VFs
[23:27:28] [PASSED] 13 VFs
[23:27:28] [PASSED] 14 VFs
[23:27:28] [PASSED] 15 VFs
[23:27:28] [PASSED] 16 VFs
[23:27:28] [PASSED] 17 VFs
[23:27:28] [PASSED] 18 VFs
[23:27:28] [PASSED] 19 VFs
[23:27:28] [PASSED] 20 VFs
[23:27:28] [PASSED] 21 VFs
[23:27:28] [PASSED] 22 VFs
[23:27:28] [PASSED] 23 VFs
[23:27:28] [PASSED] 24 VFs
[23:27:28] [PASSED] 25 VFs
[23:27:28] [PASSED] 26 VFs
[23:27:28] [PASSED] 27 VFs
[23:27:28] [PASSED] 28 VFs
[23:27:28] [PASSED] 29 VFs
[23:27:28] [PASSED] 30 VFs
[23:27:28] [PASSED] 31 VFs
[23:27:28] [PASSED] 32 VFs
[23:27:28] [PASSED] 33 VFs
[23:27:28] [PASSED] 34 VFs
[23:27:28] [PASSED] 35 VFs
[23:27:28] [PASSED] 36 VFs
[23:27:28] [PASSED] 37 VFs
[23:27:28] [PASSED] 38 VFs
[23:27:28] [PASSED] 39 VFs
[23:27:28] [PASSED] 40 VFs
[23:27:28] [PASSED] 41 VFs
[23:27:28] [PASSED] 42 VFs
[23:27:28] [PASSED] 43 VFs
[23:27:28] [PASSED] 44 VFs
[23:27:28] [PASSED] 45 VFs
[23:27:28] [PASSED] 46 VFs
[23:27:28] [PASSED] 47 VFs
[23:27:28] [PASSED] 48 VFs
[23:27:28] [PASSED] 49 VFs
[23:27:28] [PASSED] 50 VFs
[23:27:28] [PASSED] 51 VFs
[23:27:28] [PASSED] 52 VFs
[23:27:28] [PASSED] 53 VFs
[23:27:28] [PASSED] 54 VFs
[23:27:28] [PASSED] 55 VFs
[23:27:28] [PASSED] 56 VFs
[23:27:28] [PASSED] 57 VFs
[23:27:28] [PASSED] 58 VFs
[23:27:28] [PASSED] 59 VFs
[23:27:28] [PASSED] 60 VFs
[23:27:28] [PASSED] 61 VFs
[23:27:28] [PASSED] 62 VFs
[23:27:28] [PASSED] 63 VFs
[23:27:28] ==================== [PASSED] fair_vram ====================
[23:27:28] ================== [PASSED] pf_gt_config ===================
[23:27:28] ===================== lmtt (1 subtest) =====================
[23:27:28] ======================== test_ops =========================
[23:27:28] [PASSED] 2-level
[23:27:28] [PASSED] multi-level
[23:27:28] ==================== [PASSED] test_ops =====================
[23:27:28] ====================== [PASSED] lmtt =======================
[23:27:28] ================= sriov_packet (1 subtest) =================
[23:27:28] [PASSED] test_descriptor_init
[23:27:28] ================== [PASSED] sriov_packet ===================
[23:27:28] ================= pf_service (11 subtests) =================
[23:27:28] [PASSED] pf_negotiate_any
[23:27:28] [PASSED] pf_negotiate_base_match
[23:27:28] [PASSED] pf_negotiate_base_newer
[23:27:28] [PASSED] pf_negotiate_base_next
[23:27:28] [SKIPPED] pf_negotiate_base_older (no older minor)
[23:27:28] [PASSED] pf_negotiate_base_prev
[23:27:28] [PASSED] pf_negotiate_latest_match
[23:27:28] [PASSED] pf_negotiate_latest_newer
[23:27:28] [PASSED] pf_negotiate_latest_next
[23:27:28] [SKIPPED] pf_negotiate_latest_older (no older minor)
[23:27:28] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[23:27:28] =================== [PASSED] pf_service ====================
[23:27:28] ================= xe_guc_g2g (2 subtests) ==================
[23:27:28] ============== xe_live_guc_g2g_kunit_default ==============
[23:27:28] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[23:27:28] ============== xe_live_guc_g2g_kunit_allmem ===============
[23:27:28] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[23:27:28] =================== [SKIPPED] xe_guc_g2g ===================
[23:27:28] =================== xe_mocs (2 subtests) ===================
[23:27:28] ================ xe_live_mocs_kernel_kunit ================
[23:27:28] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[23:27:28] ================ xe_live_mocs_reset_kunit =================
[23:27:28] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[23:27:28] ==================== [SKIPPED] xe_mocs =====================
[23:27:28] ================= xe_migrate (3 subtests) ==================
[23:27:28] ================= xe_migrate_sanity_kunit =================
[23:27:28] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[23:27:28] ================== xe_validate_ccs_kunit ==================
[23:27:28] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[23:27:28] ============= xe_migrate_access_memory_kunit ==============
[23:27:28] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[23:27:28] =================== [SKIPPED] xe_migrate ===================
[23:27:28] ================== xe_dma_buf (1 subtest) ==================
[23:27:28] ==================== xe_dma_buf_kunit =====================
[23:27:28] ================ [SKIPPED] xe_dma_buf_kunit ================
[23:27:28] =================== [SKIPPED] xe_dma_buf ===================
[23:27:28] ================= xe_bo_shrink (1 subtest) =================
[23:27:28] =================== xe_bo_shrink_kunit ====================
[23:27:28] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[23:27:28] ================== [SKIPPED] xe_bo_shrink ==================
[23:27:28] ==================== xe_bo (2 subtests) ====================
[23:27:28] ================== xe_ccs_migrate_kunit ===================
[23:27:28] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[23:27:28] ==================== xe_bo_evict_kunit ====================
[23:27:28] =============== [SKIPPED] xe_bo_evict_kunit ================
[23:27:28] ===================== [SKIPPED] xe_bo ======================
[23:27:28] =================== xe_any (9 subtests) ====================
[23:27:28] [PASSED] test_to_xe
[23:27:28] [PASSED] test_to_dev
[23:27:28] [PASSED] test_to_pdev
[23:27:28] [PASSED] test_to_drm
[23:27:28] [PASSED] test_if_pdev
[23:27:28] [PASSED] test_if_xe
[23:27:28] [PASSED] test_if_tile
[23:27:28] [PASSED] test_if_gt
[23:27:28] [PASSED] test_to_id
[23:27:28] ===================== [PASSED] xe_any ======================
[23:27:28] ==================== args (13 subtests) ====================
[23:27:28] [PASSED] count_args_test
[23:27:28] [PASSED] call_args_example
[23:27:28] [PASSED] call_args_test
[23:27:28] [PASSED] drop_first_arg_example
[23:27:28] [PASSED] drop_first_arg_test
[23:27:28] [PASSED] first_arg_example
[23:27:28] [PASSED] first_arg_test
[23:27:28] [PASSED] last_arg_example
[23:27:28] [PASSED] last_arg_test
[23:27:28] [PASSED] pick_arg_example
[23:27:28] [PASSED] if_args_example
[23:27:28] [PASSED] if_args_test
[23:27:28] [PASSED] sep_comma_example
[23:27:28] ====================== [PASSED] args =======================
[23:27:28] =================== xe_pci (3 subtests) ====================
[23:27:28] ==================== check_graphics_ip ====================
[23:27:28] [PASSED] 12.00 Xe_LP
[23:27:28] [PASSED] 12.10 Xe_LP+
[23:27:28] [PASSED] 12.55 Xe_HPG
[23:27:28] [PASSED] 12.60 Xe_HPC
[23:27:28] [PASSED] 12.70 Xe_LPG
[23:27:28] [PASSED] 12.71 Xe_LPG
[23:27:28] [PASSED] 12.74 Xe_LPG+
[23:27:28] [PASSED] 20.01 Xe2_HPG
[23:27:28] [PASSED] 20.02 Xe2_HPG
[23:27:28] [PASSED] 20.04 Xe2_LPG
[23:27:28] [PASSED] 30.00 Xe3_LPG
[23:27:28] [PASSED] 30.01 Xe3_LPG
[23:27:28] [PASSED] 30.03 Xe3_LPG
[23:27:28] [PASSED] 30.04 Xe3_LPG
[23:27:28] [PASSED] 30.05 Xe3_LPG
[23:27:28] [PASSED] 35.10 Xe3p_LPG
[23:27:28] [PASSED] 35.11 Xe3p_XPC
[23:27:28] ================ [PASSED] check_graphics_ip ================
[23:27:28] ===================== check_media_ip ======================
[23:27:28] [PASSED] 12.00 Xe_M
[23:27:28] [PASSED] 12.55 Xe_HPM
[23:27:28] [PASSED] 13.00 Xe_LPM+
[23:27:28] [PASSED] 13.01 Xe2_HPM
[23:27:28] [PASSED] 20.00 Xe2_LPM
[23:27:28] [PASSED] 30.00 Xe3_LPM
[23:27:28] [PASSED] 30.02 Xe3_LPM
[23:27:28] [PASSED] 35.00 Xe3p_LPM
[23:27:28] [PASSED] 35.03 Xe3p_HPM
[23:27:28] ================= [PASSED] check_media_ip ==================
[23:27:28] =================== check_platform_desc ===================
[23:27:28] [PASSED] 0x9A60 (TIGERLAKE)
[23:27:28] [PASSED] 0x9A68 (TIGERLAKE)
[23:27:28] [PASSED] 0x9A70 (TIGERLAKE)
[23:27:28] [PASSED] 0x9A40 (TIGERLAKE)
[23:27:28] [PASSED] 0x9A49 (TIGERLAKE)
[23:27:28] [PASSED] 0x9A59 (TIGERLAKE)
[23:27:28] [PASSED] 0x9A78 (TIGERLAKE)
[23:27:28] [PASSED] 0x9AC0 (TIGERLAKE)
[23:27:28] [PASSED] 0x9AC9 (TIGERLAKE)
[23:27:28] [PASSED] 0x9AD9 (TIGERLAKE)
[23:27:28] [PASSED] 0x9AF8 (TIGERLAKE)
[23:27:28] [PASSED] 0x4C80 (ROCKETLAKE)
[23:27:28] [PASSED] 0x4C8A (ROCKETLAKE)
[23:27:28] [PASSED] 0x4C8B (ROCKETLAKE)
[23:27:28] [PASSED] 0x4C8C (ROCKETLAKE)
[23:27:28] [PASSED] 0x4C90 (ROCKETLAKE)
[23:27:28] [PASSED] 0x4C9A (ROCKETLAKE)
[23:27:28] [PASSED] 0x4680 (ALDERLAKE_S)
[23:27:28] [PASSED] 0x4682 (ALDERLAKE_S)
[23:27:28] [PASSED] 0x4688 (ALDERLAKE_S)
[23:27:28] [PASSED] 0x468A (ALDERLAKE_S)
[23:27:28] [PASSED] 0x468B (ALDERLAKE_S)
[23:27:28] [PASSED] 0x4690 (ALDERLAKE_S)
[23:27:28] [PASSED] 0x4692 (ALDERLAKE_S)
[23:27:28] [PASSED] 0x4693 (ALDERLAKE_S)
[23:27:28] [PASSED] 0x46A0 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46A1 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46A2 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46A3 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46A6 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46A8 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46AA (ALDERLAKE_P)
[23:27:28] [PASSED] 0x462A (ALDERLAKE_P)
[23:27:28] [PASSED] 0x4626 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x4628 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46B0 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46B1 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46B2 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46B3 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46C0 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46C1 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46C2 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46C3 (ALDERLAKE_P)
[23:27:28] [PASSED] 0x46D0 (ALDERLAKE_N)
[23:27:28] [PASSED] 0x46D1 (ALDERLAKE_N)
[23:27:28] [PASSED] 0x46D2 (ALDERLAKE_N)
[23:27:28] [PASSED] 0x46D3 (ALDERLAKE_N)
[23:27:28] [PASSED] 0x46D4 (ALDERLAKE_N)
[23:27:28] [PASSED] 0xA721 (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7A1 (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7A9 (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7AC (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7AD (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA720 (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7A0 (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7A8 (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7AA (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA7AB (ALDERLAKE_P)
[23:27:28] [PASSED] 0xA780 (ALDERLAKE_S)
[23:27:28] [PASSED] 0xA781 (ALDERLAKE_S)
[23:27:28] [PASSED] 0xA782 (ALDERLAKE_S)
[23:27:28] [PASSED] 0xA783 (ALDERLAKE_S)
[23:27:28] [PASSED] 0xA788 (ALDERLAKE_S)
[23:27:28] [PASSED] 0xA789 (ALDERLAKE_S)
[23:27:28] [PASSED] 0xA78A (ALDERLAKE_S)
[23:27:28] [PASSED] 0xA78B (ALDERLAKE_S)
[23:27:28] [PASSED] 0x4905 (DG1)
[23:27:28] [PASSED] 0x4906 (DG1)
[23:27:28] [PASSED] 0x4907 (DG1)
[23:27:28] [PASSED] 0x4908 (DG1)
[23:27:28] [PASSED] 0x4909 (DG1)
[23:27:28] [PASSED] 0x56C0 (DG2)
[23:27:28] [PASSED] 0x56C2 (DG2)
[23:27:28] [PASSED] 0x56C1 (DG2)
[23:27:28] [PASSED] 0x7D51 (METEORLAKE)
[23:27:28] [PASSED] 0x7DD1 (METEORLAKE)
[23:27:28] [PASSED] 0x7D41 (METEORLAKE)
[23:27:28] [PASSED] 0x7D67 (METEORLAKE)
[23:27:28] [PASSED] 0xB640 (METEORLAKE)
[23:27:28] [PASSED] 0x56A0 (DG2)
[23:27:28] [PASSED] 0x56A1 (DG2)
[23:27:28] [PASSED] 0x56A2 (DG2)
[23:27:28] [PASSED] 0x56BE (DG2)
[23:27:28] [PASSED] 0x56BF (DG2)
[23:27:28] [PASSED] 0x5690 (DG2)
[23:27:28] [PASSED] 0x5691 (DG2)
[23:27:28] [PASSED] 0x5692 (DG2)
[23:27:28] [PASSED] 0x56A5 (DG2)
[23:27:28] [PASSED] 0x56A6 (DG2)
[23:27:28] [PASSED] 0x56B0 (DG2)
[23:27:28] [PASSED] 0x56B1 (DG2)
[23:27:28] [PASSED] 0x56BA (DG2)
[23:27:28] [PASSED] 0x56BB (DG2)
[23:27:28] [PASSED] 0x56BC (DG2)
[23:27:28] [PASSED] 0x56BD (DG2)
[23:27:28] [PASSED] 0x5693 (DG2)
[23:27:28] [PASSED] 0x5694 (DG2)
[23:27:28] [PASSED] 0x5695 (DG2)
[23:27:28] [PASSED] 0x56A3 (DG2)
[23:27:28] [PASSED] 0x56A4 (DG2)
[23:27:28] [PASSED] 0x56B2 (DG2)
[23:27:28] [PASSED] 0x56B3 (DG2)
[23:27:28] [PASSED] 0x5696 (DG2)
[23:27:28] [PASSED] 0x5697 (DG2)
[23:27:28] [PASSED] 0xB69 (PVC)
[23:27:28] [PASSED] 0xB6E (PVC)
[23:27:28] [PASSED] 0xBD4 (PVC)
[23:27:28] [PASSED] 0xBD5 (PVC)
[23:27:28] [PASSED] 0xBD6 (PVC)
[23:27:28] [PASSED] 0xBD7 (PVC)
[23:27:28] [PASSED] 0xBD8 (PVC)
[23:27:28] [PASSED] 0xBD9 (PVC)
[23:27:28] [PASSED] 0xBDA (PVC)
[23:27:28] [PASSED] 0xBDB (PVC)
[23:27:28] [PASSED] 0xBE0 (PVC)
[23:27:28] [PASSED] 0xBE1 (PVC)
[23:27:28] [PASSED] 0xBE5 (PVC)
[23:27:28] [PASSED] 0x7D40 (METEORLAKE)
[23:27:28] [PASSED] 0x7D45 (METEORLAKE)
[23:27:28] [PASSED] 0x7D55 (METEORLAKE)
[23:27:28] [PASSED] 0x7D60 (METEORLAKE)
[23:27:28] [PASSED] 0x7DD5 (METEORLAKE)
[23:27:28] [PASSED] 0x6420 (LUNARLAKE)
[23:27:28] [PASSED] 0x64A0 (LUNARLAKE)
[23:27:28] [PASSED] 0x64B0 (LUNARLAKE)
[23:27:28] [PASSED] 0xE202 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE209 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE20B (BATTLEMAGE)
[23:27:28] [PASSED] 0xE20C (BATTLEMAGE)
[23:27:28] [PASSED] 0xE20D (BATTLEMAGE)
[23:27:28] [PASSED] 0xE210 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE211 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE212 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE216 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE220 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE221 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE222 (BATTLEMAGE)
[23:27:28] [PASSED] 0xE223 (BATTLEMAGE)
[23:27:28] [PASSED] 0xB080 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB081 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB082 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB083 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB084 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB085 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB086 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB087 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB08F (PANTHERLAKE)
[23:27:28] [PASSED] 0xB090 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB0A0 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB0A1 (PANTHERLAKE)
[23:27:28] [PASSED] 0xB0B0 (PANTHERLAKE)
[23:27:28] [PASSED] 0xFD80 (PANTHERLAKE)
[23:27:28] [PASSED] 0xFD81 (PANTHERLAKE)
[23:27:28] [PASSED] 0xD740 (NOVALAKE_S)
[23:27:28] [PASSED] 0xD741 (NOVALAKE_S)
[23:27:28] [PASSED] 0xD742 (NOVALAKE_S)
[23:27:28] [PASSED] 0xD743 (NOVALAKE_S)
[23:27:28] [PASSED] 0xD745 (NOVALAKE_S)
[23:27:28] [PASSED] 0xD74A (NOVALAKE_S)
[23:27:28] [PASSED] 0xD74B (NOVALAKE_S)
[23:27:28] [PASSED] 0x674C (CRESCENTISLAND)
[23:27:28] [PASSED] 0x674D (CRESCENTISLAND)
[23:27:28] [PASSED] 0x674E (CRESCENTISLAND)
[23:27:28] [PASSED] 0x674F (CRESCENTISLAND)
[23:27:28] [PASSED] 0x6750 (CRESCENTISLAND)
[23:27:28] [PASSED] 0x6751 (CRESCENTISLAND)
[23:27:28] [PASSED] 0x6752 (CRESCENTISLAND)
[23:27:28] [PASSED] 0x6753 (CRESCENTISLAND)
[23:27:28] [PASSED] 0x6754 (CRESCENTISLAND)
[23:27:28] [PASSED] 0x6755 (CRESCENTISLAND)
[23:27:28] [PASSED] 0x6756 (CRESCENTISLAND)
[23:27:28] [PASSED] 0xD750 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD751 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD752 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD753 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD754 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD755 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD756 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD757 (NOVALAKE_P)
[23:27:28] [PASSED] 0xD75F (NOVALAKE_P)
[23:27:28] =============== [PASSED] check_platform_desc ===============
[23:27:28] ===================== [PASSED] xe_pci ======================
[23:27:28] ============= xe_rtp_tables_test (5 subtests) ==============
[23:27:28] ================== xe_rtp_table_gt_test ===================
[23:27:28] [PASSED] gt_was/14011060649
[23:27:28] [PASSED] gt_was/14011059788
[23:27:28] [PASSED] gt_was/14015795083
[23:27:28] [PASSED] gt_was/16021867713
[23:27:28] [PASSED] gt_was/14019449301
[23:27:28] [PASSED] gt_was/16028005424
[23:27:28] [PASSED] gt_was/14026578760
[23:27:28] [PASSED] gt_was/1409420604
[23:27:28] [PASSED] gt_was/1408615072
[23:27:28] [PASSED] gt_was/22010523718
[23:27:28] [PASSED] gt_was/14011006942
[23:27:28] [PASSED] gt_was/14014830051
[23:27:28] [PASSED] gt_was/18018781329
[23:27:28] [PASSED] gt_was/1509235366
[23:27:28] [PASSED] gt_was/18018781329
[23:27:28] [PASSED] gt_was/16016694945
[23:27:28] [PASSED] gt_was/14018575942
[23:27:28] [PASSED] gt_was/22016670082
[23:27:28] [PASSED] gt_was/22016670082
[23:27:28] [PASSED] gt_was/14017421178
[23:27:28] [PASSED] gt_was/16025250150
[23:27:28] [PASSED] gt_was/14021871409
[23:27:28] [PASSED] gt_was/16021865536
[23:27:28] [PASSED] gt_was/14021486841
[23:27:28] [PASSED] gt_was/14025160223
[23:27:28] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[23:27:28] [PASSED] gt_was/14025635424
[23:27:28] [PASSED] gt_was/16028005424
[23:27:28] ============== [PASSED] xe_rtp_table_gt_test ===============
[23:27:28] ================== xe_rtp_table_gt_test ===================
[23:27:28] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[23:27:28] [PASSED] gt_tunings/Tuning: 32B Access Enable
[23:27:28] [PASSED] gt_tunings/Tuning: L3 cache
[23:27:28] [PASSED] gt_tunings/Tuning: L3 cache - media
[23:27:28] [PASSED] gt_tunings/Tuning: Compression Overfetch
[23:27:28] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[23:27:28] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[23:27:28] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[23:27:28] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[23:27:28] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[23:27:28] [PASSED] gt_tunings/Tuning: Stateless compression control
[23:27:28] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[23:27:28] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[23:27:28] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[23:27:28] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[23:27:28] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[23:27:28] ============== [PASSED] xe_rtp_table_gt_test ===============
[23:27:28] ================== xe_rtp_table_oob_test ==================
[23:27:28] [PASSED] oob_was/1607983814
[23:27:28] [PASSED] oob_was/16010904313
[23:27:28] [PASSED] oob_was/18022495364
[23:27:28] [PASSED] oob_was/22012773006
[23:27:28] [PASSED] oob_was/14014475959
[23:27:28] [PASSED] oob_was/22011391025
[23:27:28] [PASSED] oob_was/22012727170
[23:27:28] [PASSED] oob_was/22012727685
[23:27:28] [PASSED] oob_was/22016596838
[23:27:28] [PASSED] oob_was/18020744125
[23:27:28] [PASSED] oob_was/1409600907
[23:27:28] [PASSED] oob_was/22014953428
[23:27:28] [PASSED] oob_was/16017236439
[23:27:28] [PASSED] oob_was/14019821291
[23:27:28] [PASSED] oob_was/14015076503
[23:27:28] [PASSED] oob_was/22016122933
[23:27:28] [PASSED] oob_was/14018913170
[23:27:28] [PASSED] oob_was/14018094691
[23:27:28] [PASSED] oob_was/18024947630
[23:27:28] [PASSED] oob_was/16022287689
[23:27:28] [PASSED] oob_was/13011645652
[23:27:28] [PASSED] oob_was/14022293748
[23:27:28] [PASSED] oob_was/22019794406
[23:27:28] [PASSED] oob_was/22019338487
[23:27:28] [PASSED] oob_was/16023588340
[23:27:28] [PASSED] oob_was/14019789679
[23:27:28] [PASSED] oob_was/14022866841
[23:27:28] [PASSED] oob_was/16021333562
[23:27:28] [PASSED] oob_was/14016712196
[23:27:28] [PASSED] oob_was/14015568240
[23:27:28] [PASSED] oob_was/18013179988
[23:27:28] [PASSED] oob_was/1508761755
[23:27:28] [PASSED] oob_was/16023105232
[23:27:28] [PASSED] oob_was/16026508708
[23:27:28] [PASSED] oob_was/14020001231
[23:27:28] [PASSED] oob_was/16023683509
[23:27:28] [PASSED] oob_was/14025515070
[23:27:28] [PASSED] oob_was/15015404425_disable
[23:27:28] [PASSED] oob_was/16026007364
[23:27:28] [PASSED] oob_was/14020316580
[23:27:28] [PASSED] oob_was/14025883347
[23:27:28] [PASSED] oob_was/16029380221
[23:27:28] [PASSED] oob_was/22022079272
[23:27:28] [PASSED] oob_was/16029897822
[23:27:28] [PASSED] oob_was/14026539277
[23:27:28] [PASSED] oob_was/14028564128
[23:27:28] [PASSED] oob_was/14027054324
[23:27:28] [PASSED] oob_was/14025941587
[23:27:28] [PASSED] oob_was/16030224309
[23:27:28] [PASSED] oob_was/14028709524
[23:27:28] [PASSED] oob_was/14028250015
[23:27:28] [PASSED] oob_was/16031259911
[23:27:28] [PASSED] oob_was/14028597154
[23:27:28] ============== [PASSED] xe_rtp_table_oob_test ==============
[23:27:28] ================ xe_rtp_table_dev_oob_test ================
[23:27:28] [PASSED] device_oob_was/22010954014
[23:27:28] [PASSED] device_oob_was/15015404425
[23:27:28] [PASSED] device_oob_was/22019338487_display
[23:27:28] [PASSED] device_oob_was/14022085890
[23:27:28] [PASSED] device_oob_was/14026633728
[23:27:28] [PASSED] device_oob_was/14026746987
[23:27:28] [PASSED] device_oob_was/14026779378
[23:27:28] [PASSED] device_oob_was/14028586678
[23:27:28] [PASSED] device_oob_was/14028434957
[23:27:28] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[23:27:28] ========== xe_rtp_table_missing_upper_bound_test ==========
[23:27:28] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[23:27:28] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[23:27:28] [PASSED] register_whitelist/1806527549
[23:27:28] [PASSED] register_whitelist/allow_read_ctx_timestamp
[23:27:28] [PASSED] register_whitelist/allow_read_queue_timestamp
[23:27:28] [PASSED] register_whitelist/16014440446
[23:27:28] [PASSED] register_whitelist/16017236439
[23:27:28] [PASSED] register_whitelist/16020183090
[23:27:28] [PASSED] register_whitelist/14024997852
[23:27:28] [PASSED] register_whitelist/14024997852
[23:27:28] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[23:27:28] =============== [PASSED] xe_rtp_tables_test ================
[23:27:28] =================== xe_rtp (3 subtests) ====================
[23:27:28] =================== xe_rtp_rules_tests ====================
[23:27:28] [PASSED] no
[23:27:28] [PASSED] yes
[23:27:28] [PASSED] no-and-no
[23:27:28] [PASSED] no-and-yes
[23:27:28] [PASSED] yes-and-no
[23:27:28] [PASSED] yes-and-yes
[23:27:28] [PASSED] no-or-no
[23:27:28] [PASSED] no-or-yes
[23:27:28] [PASSED] yes-or-no
[23:27:28] [PASSED] yes-or-yes
[23:27:28] [PASSED] no-yes-or-yes-no
[23:27:28] [PASSED] no-yes-or-yes-yes
[23:27:28] [PASSED] yes-yes-or-no-yes
[23:27:28] [PASSED] yes-yes-or-yes-yes
[23:27:28] [PASSED] no-no-or-yes-or-no
[23:27:28] [PASSED] or
[23:27:28] [PASSED] or-yes
[23:27:28] [PASSED] or-no
[23:27:28] [PASSED] yes-or
[23:27:28] [PASSED] no-or
[23:27:28] [PASSED] no-or-or-yes
[23:27:28] [PASSED] yes-or-or-no
[23:27:28] [PASSED] no-or-or-no
[23:27:28] [PASSED] missing-context-engine-class
[23:27:28] [PASSED] missing-context-engine-class-or-yes
[23:27:28] [PASSED] missing-context-engine-class-or-or-yes
[23:27:28] =============== [PASSED] xe_rtp_rules_tests ================
[23:27:28] =============== xe_rtp_process_to_sr_tests ================
[23:27:28] [PASSED] coalesce-same-reg
[23:27:28] [PASSED] coalesce-same-reg-literal-and-func
[23:27:28] [PASSED] no-match-no-add
[23:27:28] [PASSED] two-regs-two-entries
[23:27:28] [PASSED] clr-one-set-other
[23:27:28] [PASSED] set-field
[23:27:28] [PASSED] conflict-duplicate
[23:27:28] [PASSED] conflict-not-disjoint
[23:27:28] [PASSED] conflict-not-disjoint-literal-and-func
[23:27:28] [PASSED] conflict-reg-type
[23:27:28] [PASSED] bad-mcr-reg-forced-to-regular
[23:27:28] [PASSED] bad-regular-reg-forced-to-mcr
[23:27:28] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[23:27:28] ================== xe_rtp_process_tests ===================
[23:27:28] [PASSED] active1
[23:27:28] [PASSED] active2
[23:27:28] [PASSED] active-inactive
[23:27:28] [PASSED] inactive-active
[23:27:28] [PASSED] inactive-active-inactive
[23:27:28] [PASSED] inactive-inactive-inactive
[23:27:28] ============== [PASSED] xe_rtp_process_tests ===============
[23:27:28] ===================== [PASSED] xe_rtp ======================
[23:27:28] ==================== xe_wa (1 subtest) =====================
[23:27:28] ======================== xe_wa_gt =========================
[23:27:28] [PASSED] TIGERLAKE B0
[23:27:28] [PASSED] DG1 A0
[23:27:28] [PASSED] DG1 B0
[23:27:28] [PASSED] ALDERLAKE_S A0
[23:27:28] [PASSED] ALDERLAKE_S B0
[23:27:28] [PASSED] ALDERLAKE_S C0
[23:27:28] [PASSED] ALDERLAKE_S D0
[23:27:28] [PASSED] ALDERLAKE_P A0
[23:27:28] [PASSED] ALDERLAKE_P B0
[23:27:28] [PASSED] ALDERLAKE_P C0
[23:27:28] [PASSED] ALDERLAKE_S RPLS D0
[23:27:28] [PASSED] ALDERLAKE_P RPLU E0
[23:27:28] [PASSED] DG2 G10 C0
[23:27:28] [PASSED] DG2 G11 B1
[23:27:28] [PASSED] DG2 G12 A1
[23:27:28] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[23:27:28] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[23:27:28] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[23:27:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[23:27:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[23:27:28] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[23:27:28] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[23:27:28] ==================== [PASSED] xe_wa_gt =====================
[23:27:28] ====================== [PASSED] xe_wa ======================
[23:27:28] ============================================================
[23:27:28] Testing complete. Ran 869 tests: passed: 840, skipped: 29
[23:27:28] Elapsed time: 41.642s total, 2.534s configuring, 38.342s building, 0.745s 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
[23:27:28] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:27:31] 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
[23:27:56] Starting KUnit Kernel (1/1)...
[23:27:56] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:27:56] ============ drm_test_pick_cmdline (2 subtests) ============
[23:27:56] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[23:27:56] =============== drm_test_pick_cmdline_named ===============
[23:27:56] [PASSED] NTSC
[23:27:56] [PASSED] NTSC-J
[23:27:56] [PASSED] PAL
[23:27:56] [PASSED] PAL-M
[23:27:56] =========== [PASSED] drm_test_pick_cmdline_named ===========
[23:27:56] ============== [PASSED] drm_test_pick_cmdline ==============
[23:27:56] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[23:27:56] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[23:27:56] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[23:27:56] =========== drm_validate_clone_mode (2 subtests) ===========
[23:27:56] ============== drm_test_check_in_clone_mode ===============
[23:27:56] [PASSED] in_clone_mode
[23:27:56] [PASSED] not_in_clone_mode
[23:27:56] ========== [PASSED] drm_test_check_in_clone_mode ===========
[23:27:56] =============== drm_test_check_valid_clones ===============
[23:27:56] [PASSED] not_in_clone_mode
[23:27:56] [PASSED] valid_clone
[23:27:56] [PASSED] invalid_clone
[23:27:56] =========== [PASSED] drm_test_check_valid_clones ===========
[23:27:56] ============= [PASSED] drm_validate_clone_mode =============
[23:27:56] ============= drm_validate_modeset (1 subtest) =============
[23:27:56] [PASSED] drm_test_check_connector_changed_modeset
[23:27:56] ============== [PASSED] drm_validate_modeset ===============
[23:27:56] ====== drm_test_bridge_get_current_state (1 subtest) =======
[23:27:56] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[23:27:56] ======== [PASSED] drm_test_bridge_get_current_state ========
[23:27:56] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[23:27:56] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[23:27:56] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[23:27:56] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[23:27:56] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[23:27:56] ============== drm_bridge_alloc (2 subtests) ===============
[23:27:56] [PASSED] drm_test_drm_bridge_alloc_basic
[23:27:56] [PASSED] drm_test_drm_bridge_alloc_get_put
[23:27:56] ================ [PASSED] drm_bridge_alloc =================
[23:27:56] ============= drm_bridge_bus_fmt (5 subtests) ==============
[23:27:56] [PASSED] drm_test_bridge_rgb_yuv_rgb
[23:27:56] [PASSED] drm_test_bridge_must_convert_to_yuv444
[23:27:56] [PASSED] drm_test_bridge_hdmi_auto_rgb
[23:27:56] [PASSED] drm_test_bridge_auto_first
[23:27:56] [PASSED] drm_test_bridge_rgb_yuv_no_path
[23:27:56] =============== [PASSED] drm_bridge_bus_fmt ================
[23:27:56] ============= drm_cmdline_parser (40 subtests) =============
[23:27:56] [PASSED] drm_test_cmdline_force_d_only
[23:27:56] [PASSED] drm_test_cmdline_force_D_only_dvi
[23:27:56] [PASSED] drm_test_cmdline_force_D_only_hdmi
[23:27:56] [PASSED] drm_test_cmdline_force_D_only_not_digital
[23:27:56] [PASSED] drm_test_cmdline_force_e_only
[23:27:56] [PASSED] drm_test_cmdline_res
[23:27:56] [PASSED] drm_test_cmdline_res_vesa
[23:27:56] [PASSED] drm_test_cmdline_res_vesa_rblank
[23:27:56] [PASSED] drm_test_cmdline_res_rblank
[23:27:56] [PASSED] drm_test_cmdline_res_bpp
[23:27:56] [PASSED] drm_test_cmdline_res_refresh
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[23:27:56] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[23:27:56] [PASSED] drm_test_cmdline_res_margins_force_on
[23:27:56] [PASSED] drm_test_cmdline_res_vesa_margins
[23:27:56] [PASSED] drm_test_cmdline_name
[23:27:56] [PASSED] drm_test_cmdline_name_bpp
[23:27:56] [PASSED] drm_test_cmdline_name_option
[23:27:56] [PASSED] drm_test_cmdline_name_bpp_option
[23:27:56] [PASSED] drm_test_cmdline_rotate_0
[23:27:56] [PASSED] drm_test_cmdline_rotate_90
[23:27:56] [PASSED] drm_test_cmdline_rotate_180
[23:27:56] [PASSED] drm_test_cmdline_rotate_270
[23:27:56] [PASSED] drm_test_cmdline_hmirror
[23:27:56] [PASSED] drm_test_cmdline_vmirror
[23:27:56] [PASSED] drm_test_cmdline_margin_options
[23:27:56] [PASSED] drm_test_cmdline_multiple_options
[23:27:56] [PASSED] drm_test_cmdline_bpp_extra_and_option
[23:27:56] [PASSED] drm_test_cmdline_extra_and_option
[23:27:56] [PASSED] drm_test_cmdline_freestanding_options
[23:27:56] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[23:27:56] [PASSED] drm_test_cmdline_panel_orientation
[23:27:56] ================ drm_test_cmdline_invalid =================
[23:27:56] [PASSED] margin_only
[23:27:56] [PASSED] interlace_only
[23:27:56] [PASSED] res_missing_x
[23:27:56] [PASSED] res_missing_y
[23:27:56] [PASSED] res_bad_y
[23:27:56] [PASSED] res_missing_y_bpp
[23:27:56] [PASSED] res_bad_bpp
[23:27:56] [PASSED] res_bad_refresh
[23:27:56] [PASSED] res_bpp_refresh_force_on_off
[23:27:56] [PASSED] res_invalid_mode
[23:27:56] [PASSED] res_bpp_wrong_place_mode
[23:27:56] [PASSED] name_bpp_refresh
[23:27:56] [PASSED] name_refresh
[23:27:56] [PASSED] name_refresh_wrong_mode
[23:27:56] [PASSED] name_refresh_invalid_mode
[23:27:56] [PASSED] rotate_multiple
[23:27:56] [PASSED] rotate_invalid_val
[23:27:56] [PASSED] rotate_truncated
[23:27:56] [PASSED] invalid_option
[23:27:56] [PASSED] invalid_tv_option
[23:27:56] [PASSED] truncated_tv_option
[23:27:56] ============ [PASSED] drm_test_cmdline_invalid =============
[23:27:56] =============== drm_test_cmdline_tv_options ===============
[23:27:56] [PASSED] NTSC
[23:27:56] [PASSED] NTSC_443
[23:27:56] [PASSED] NTSC_J
[23:27:56] [PASSED] PAL
[23:27:56] [PASSED] PAL_M
[23:27:56] [PASSED] PAL_N
[23:27:56] [PASSED] SECAM
[23:27:56] [PASSED] MONO_525
[23:27:56] [PASSED] MONO_625
[23:27:56] =========== [PASSED] drm_test_cmdline_tv_options ===========
[23:27:56] =============== [PASSED] drm_cmdline_parser ================
[23:27:56] ========== drmm_connector_hdmi_init (20 subtests) ==========
[23:27:56] [PASSED] drm_test_connector_hdmi_init_valid
[23:27:56] [PASSED] drm_test_connector_hdmi_init_bpc_8
[23:27:56] [PASSED] drm_test_connector_hdmi_init_bpc_10
[23:27:56] [PASSED] drm_test_connector_hdmi_init_bpc_12
[23:27:56] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[23:27:56] [PASSED] drm_test_connector_hdmi_init_bpc_null
[23:27:56] [PASSED] drm_test_connector_hdmi_init_formats_empty
[23:27:56] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[23:27:56] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[23:27:56] [PASSED] supported_formats=0x9 yuv420_allowed=1
[23:27:56] [PASSED] supported_formats=0x9 yuv420_allowed=0
[23:27:56] [PASSED] supported_formats=0x5 yuv420_allowed=1
[23:27:56] [PASSED] supported_formats=0x5 yuv420_allowed=0
[23:27:56] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[23:27:56] [PASSED] drm_test_connector_hdmi_init_null_ddc
[23:27:56] [PASSED] drm_test_connector_hdmi_init_null_product
[23:27:56] [PASSED] drm_test_connector_hdmi_init_null_vendor
[23:27:56] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[23:27:56] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[23:27:56] [PASSED] drm_test_connector_hdmi_init_product_valid
[23:27:56] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[23:27:56] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[23:27:56] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[23:27:56] ========= drm_test_connector_hdmi_init_type_valid =========
[23:27:56] [PASSED] HDMI-A
[23:27:56] [PASSED] HDMI-B
[23:27:56] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[23:27:56] ======== drm_test_connector_hdmi_init_type_invalid ========
[23:27:56] [PASSED] Unknown
[23:27:56] [PASSED] VGA
[23:27:56] [PASSED] DVI-I
[23:27:56] [PASSED] DVI-D
[23:27:56] [PASSED] DVI-A
[23:27:56] [PASSED] Composite
[23:27:56] [PASSED] SVIDEO
[23:27:56] [PASSED] LVDS
[23:27:56] [PASSED] Component
[23:27:56] [PASSED] DIN
[23:27:56] [PASSED] DP
[23:27:56] [PASSED] TV
[23:27:56] [PASSED] eDP
[23:27:56] [PASSED] Virtual
[23:27:56] [PASSED] DSI
[23:27:56] [PASSED] DPI
[23:27:56] [PASSED] Writeback
[23:27:56] [PASSED] SPI
[23:27:56] [PASSED] USB
[23:27:56] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[23:27:56] ============ [PASSED] drmm_connector_hdmi_init =============
[23:27:56] ============= drmm_connector_init (3 subtests) =============
[23:27:56] [PASSED] drm_test_drmm_connector_init
[23:27:56] [PASSED] drm_test_drmm_connector_init_null_ddc
[23:27:56] ========= drm_test_drmm_connector_init_type_valid =========
[23:27:56] [PASSED] Unknown
[23:27:56] [PASSED] VGA
[23:27:56] [PASSED] DVI-I
[23:27:56] [PASSED] DVI-D
[23:27:56] [PASSED] DVI-A
[23:27:56] [PASSED] Composite
[23:27:56] [PASSED] SVIDEO
[23:27:56] [PASSED] LVDS
[23:27:56] [PASSED] Component
[23:27:56] [PASSED] DIN
[23:27:56] [PASSED] DP
[23:27:56] [PASSED] HDMI-A
[23:27:56] [PASSED] HDMI-B
[23:27:56] [PASSED] TV
[23:27:56] [PASSED] eDP
[23:27:56] [PASSED] Virtual
[23:27:56] [PASSED] DSI
[23:27:56] [PASSED] DPI
[23:27:56] [PASSED] Writeback
[23:27:56] [PASSED] SPI
[23:27:56] [PASSED] USB
[23:27:56] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[23:27:56] =============== [PASSED] drmm_connector_init ===============
[23:27:56] ========= drm_connector_dynamic_init (6 subtests) ==========
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_init
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_init_properties
[23:27:56] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[23:27:56] [PASSED] Unknown
[23:27:56] [PASSED] VGA
[23:27:56] [PASSED] DVI-I
[23:27:56] [PASSED] DVI-D
[23:27:56] [PASSED] DVI-A
[23:27:56] [PASSED] Composite
[23:27:56] [PASSED] SVIDEO
[23:27:56] [PASSED] LVDS
[23:27:56] [PASSED] Component
[23:27:56] [PASSED] DIN
[23:27:56] [PASSED] DP
[23:27:56] [PASSED] HDMI-A
[23:27:56] [PASSED] HDMI-B
[23:27:56] [PASSED] TV
[23:27:56] [PASSED] eDP
[23:27:56] [PASSED] Virtual
[23:27:56] [PASSED] DSI
[23:27:56] [PASSED] DPI
[23:27:56] [PASSED] Writeback
[23:27:56] [PASSED] SPI
[23:27:56] [PASSED] USB
[23:27:56] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[23:27:56] ======== drm_test_drm_connector_dynamic_init_name =========
[23:27:56] [PASSED] Unknown
[23:27:56] [PASSED] VGA
[23:27:56] [PASSED] DVI-I
[23:27:56] [PASSED] DVI-D
[23:27:56] [PASSED] DVI-A
[23:27:56] [PASSED] Composite
[23:27:56] [PASSED] SVIDEO
[23:27:56] [PASSED] LVDS
[23:27:56] [PASSED] Component
[23:27:56] [PASSED] DIN
[23:27:56] [PASSED] DP
[23:27:56] [PASSED] HDMI-A
[23:27:56] [PASSED] HDMI-B
[23:27:56] [PASSED] TV
[23:27:56] [PASSED] eDP
[23:27:56] [PASSED] Virtual
[23:27:56] [PASSED] DSI
[23:27:56] [PASSED] DPI
[23:27:56] [PASSED] Writeback
[23:27:56] [PASSED] SPI
[23:27:56] [PASSED] USB
[23:27:56] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[23:27:56] =========== [PASSED] drm_connector_dynamic_init ============
[23:27:56] ==== drm_connector_dynamic_register_early (4 subtests) =====
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[23:27:56] ====== [PASSED] drm_connector_dynamic_register_early =======
[23:27:56] ======= drm_connector_dynamic_register (7 subtests) ========
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[23:27:56] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[23:27:56] ========= [PASSED] drm_connector_dynamic_register ==========
[23:27:56] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[23:27:56] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[23:27:56] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[23:27:56] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[23:27:56] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[23:27:56] ========== drm_test_get_tv_mode_from_name_valid ===========
[23:27:56] [PASSED] NTSC
[23:27:56] [PASSED] NTSC-443
[23:27:56] [PASSED] NTSC-J
[23:27:56] [PASSED] PAL
[23:27:56] [PASSED] PAL-M
[23:27:56] [PASSED] PAL-N
[23:27:56] [PASSED] SECAM
[23:27:56] [PASSED] Mono
[23:27:56] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[23:27:56] [PASSED] drm_test_get_tv_mode_from_name_truncated
[23:27:56] ============ [PASSED] drm_get_tv_mode_from_name ============
[23:27:56] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[23:27:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[23:27:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[23:27:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[23:27:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[23:27:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[23:27:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[23:27:56] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[23:27:56] [PASSED] VIC 96
[23:27:56] [PASSED] VIC 97
[23:27:56] [PASSED] VIC 101
[23:27:56] [PASSED] VIC 102
[23:27:56] [PASSED] VIC 106
[23:27:56] [PASSED] VIC 107
[23:27:56] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[23:27:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[23:27:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[23:27:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[23:27:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[23:27:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[23:27:56] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[23:27:56] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[23:27:56] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[23:27:56] [PASSED] Automatic
[23:27:56] [PASSED] Full
[23:27:56] [PASSED] Limited 16:235
[23:27:56] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[23:27:56] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[23:27:56] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[23:27:56] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[23:27:56] === drm_test_drm_hdmi_connector_get_output_format_name ====
[23:27:56] [PASSED] RGB
[23:27:56] [PASSED] YUV 4:2:0
[23:27:56] [PASSED] YUV 4:2:2
[23:27:56] [PASSED] YUV 4:4:4
[23:27:56] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[23:27:56] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[23:27:56] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[23:27:56] ============= drm_damage_helper (21 subtests) ==============
[23:27:56] [PASSED] drm_test_damage_iter_no_damage
[23:27:56] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[23:27:56] [PASSED] drm_test_damage_iter_no_damage_src_moved
[23:27:56] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[23:27:56] [PASSED] drm_test_damage_iter_no_damage_not_visible
[23:27:56] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[23:27:56] [PASSED] drm_test_damage_iter_no_damage_no_fb
[23:27:56] [PASSED] drm_test_damage_iter_simple_damage
[23:27:56] [PASSED] drm_test_damage_iter_single_damage
[23:27:56] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[23:27:56] [PASSED] drm_test_damage_iter_single_damage_outside_src
[23:27:56] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[23:27:56] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[23:27:56] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[23:27:56] [PASSED] drm_test_damage_iter_single_damage_src_moved
[23:27:56] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[23:27:56] [PASSED] drm_test_damage_iter_damage
[23:27:56] [PASSED] drm_test_damage_iter_damage_one_intersect
[23:27:56] [PASSED] drm_test_damage_iter_damage_one_outside
[23:27:56] [PASSED] drm_test_damage_iter_damage_src_moved
[23:27:56] [PASSED] drm_test_damage_iter_damage_not_visible
[23:27:56] ================ [PASSED] drm_damage_helper ================
[23:27:56] ============== drm_dp_mst_helper (3 subtests) ==============
[23:27:56] ============== drm_test_dp_mst_calc_pbn_mode ==============
[23:27:56] [PASSED] Clock 154000 BPP 30 DSC disabled
[23:27:56] [PASSED] Clock 234000 BPP 30 DSC disabled
[23:27:56] [PASSED] Clock 297000 BPP 24 DSC disabled
[23:27:56] [PASSED] Clock 332880 BPP 24 DSC enabled
[23:27:56] [PASSED] Clock 324540 BPP 24 DSC enabled
[23:27:56] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[23:27:56] ============== drm_test_dp_mst_calc_pbn_div ===============
[23:27:56] [PASSED] Link rate 2000000 lane count 4
[23:27:56] [PASSED] Link rate 2000000 lane count 2
[23:27:56] [PASSED] Link rate 2000000 lane count 1
[23:27:56] [PASSED] Link rate 1350000 lane count 4
[23:27:56] [PASSED] Link rate 1350000 lane count 2
[23:27:56] [PASSED] Link rate 1350000 lane count 1
[23:27:56] [PASSED] Link rate 1000000 lane count 4
[23:27:56] [PASSED] Link rate 1000000 lane count 2
[23:27:56] [PASSED] Link rate 1000000 lane count 1
[23:27:56] [PASSED] Link rate 810000 lane count 4
[23:27:56] [PASSED] Link rate 810000 lane count 2
[23:27:56] [PASSED] Link rate 810000 lane count 1
[23:27:56] [PASSED] Link rate 540000 lane count 4
[23:27:56] [PASSED] Link rate 540000 lane count 2
[23:27:56] [PASSED] Link rate 540000 lane count 1
[23:27:56] [PASSED] Link rate 270000 lane count 4
[23:27:56] [PASSED] Link rate 270000 lane count 2
[23:27:56] [PASSED] Link rate 270000 lane count 1
[23:27:56] [PASSED] Link rate 162000 lane count 4
[23:27:56] [PASSED] Link rate 162000 lane count 2
[23:27:56] [PASSED] Link rate 162000 lane count 1
[23:27:56] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[23:27:56] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[23:27:56] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[23:27:56] [PASSED] DP_POWER_UP_PHY with port number
[23:27:56] [PASSED] DP_POWER_DOWN_PHY with port number
[23:27:56] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[23:27:56] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[23:27:56] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[23:27:56] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[23:27:56] [PASSED] DP_QUERY_PAYLOAD with port number
[23:27:56] [PASSED] DP_QUERY_PAYLOAD with VCPI
[23:27:56] [PASSED] DP_REMOTE_DPCD_READ with port number
[23:27:56] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[23:27:56] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[23:27:56] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[23:27:56] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[23:27:56] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[23:27:56] [PASSED] DP_REMOTE_I2C_READ with port number
[23:27:56] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[23:27:56] [PASSED] DP_REMOTE_I2C_READ with transactions array
[23:27:56] [PASSED] DP_REMOTE_I2C_WRITE with port number
[23:27:56] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[23:27:56] [PASSED] DP_REMOTE_I2C_WRITE with data array
[23:27:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[23:27:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[23:27:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[23:27:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[23:27:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[23:27:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[23:27:56] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[23:27:56] ================ [PASSED] drm_dp_mst_helper ================
[23:27:56] ================== drm_exec (7 subtests) ===================
[23:27:56] [PASSED] sanitycheck
[23:27:56] [PASSED] test_lock
[23:27:56] [PASSED] test_lock_unlock
[23:27:56] [PASSED] test_duplicates
[23:27:56] [PASSED] test_prepare
[23:27:56] [PASSED] test_prepare_array
[23:27:56] [PASSED] test_multiple_loops
[23:27:56] ==================== [PASSED] drm_exec =====================
[23:27:56] =========== drm_format_helper_test (17 subtests) ===========
[23:27:56] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[23:27:56] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[23:27:56] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[23:27:56] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[23:27:56] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[23:27:56] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[23:27:56] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[23:27:56] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[23:27:56] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[23:27:56] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[23:27:56] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[23:27:56] ============== drm_test_fb_xrgb8888_to_mono ===============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[23:27:56] ==================== drm_test_fb_swab =====================
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ================ [PASSED] drm_test_fb_swab =================
[23:27:56] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[23:27:56] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[23:27:56] [PASSED] single_pixel_source_buffer
[23:27:56] [PASSED] single_pixel_clip_rectangle
[23:27:56] [PASSED] well_known_colors
[23:27:56] [PASSED] destination_pitch
[23:27:56] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[23:27:56] ================= drm_test_fb_clip_offset =================
[23:27:56] [PASSED] pass through
[23:27:56] [PASSED] horizontal offset
[23:27:56] [PASSED] vertical offset
[23:27:56] [PASSED] horizontal and vertical offset
[23:27:56] [PASSED] horizontal offset (custom pitch)
[23:27:56] [PASSED] vertical offset (custom pitch)
[23:27:56] [PASSED] horizontal and vertical offset (custom pitch)
[23:27:56] ============= [PASSED] drm_test_fb_clip_offset =============
[23:27:56] =================== drm_test_fb_memcpy ====================
[23:27:56] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[23:27:56] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[23:27:56] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[23:27:56] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[23:27:56] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[23:27:56] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[23:27:56] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[23:27:56] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[23:27:56] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[23:27:56] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[23:27:56] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[23:27:56] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[23:27:56] =============== [PASSED] drm_test_fb_memcpy ================
[23:27:56] ============= [PASSED] drm_format_helper_test ==============
[23:27:56] ================= drm_format (18 subtests) =================
[23:27:56] [PASSED] drm_test_format_block_width_invalid
[23:27:56] [PASSED] drm_test_format_block_width_one_plane
[23:27:56] [PASSED] drm_test_format_block_width_two_plane
[23:27:56] [PASSED] drm_test_format_block_width_three_plane
[23:27:56] [PASSED] drm_test_format_block_width_tiled
[23:27:56] [PASSED] drm_test_format_block_height_invalid
[23:27:56] [PASSED] drm_test_format_block_height_one_plane
[23:27:56] [PASSED] drm_test_format_block_height_two_plane
[23:27:56] [PASSED] drm_test_format_block_height_three_plane
[23:27:56] [PASSED] drm_test_format_block_height_tiled
[23:27:56] [PASSED] drm_test_format_min_pitch_invalid
[23:27:56] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[23:27:56] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[23:27:56] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[23:27:56] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[23:27:56] [PASSED] drm_test_format_min_pitch_two_plane
[23:27:56] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[23:27:56] [PASSED] drm_test_format_min_pitch_tiled
[23:27:56] =================== [PASSED] drm_format ====================
[23:27:56] ============== drm_framebuffer (10 subtests) ===============
[23:27:56] ========== drm_test_framebuffer_check_src_coords ==========
[23:27:56] [PASSED] Success: source fits into fb
[23:27:56] [PASSED] Fail: overflowing fb with x-axis coordinate
[23:27:56] [PASSED] Fail: overflowing fb with y-axis coordinate
[23:27:56] [PASSED] Fail: overflowing fb with source width
[23:27:56] [PASSED] Fail: overflowing fb with source height
[23:27:56] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[23:27:56] [PASSED] drm_test_framebuffer_cleanup
[23:27:56] =============== drm_test_framebuffer_create ===============
[23:27:56] [PASSED] ABGR8888 normal sizes
[23:27:56] [PASSED] ABGR8888 max sizes
[23:27:56] [PASSED] ABGR8888 pitch greater than min required
[23:27:56] [PASSED] ABGR8888 pitch less than min required
[23:27:56] [PASSED] ABGR8888 Invalid width
[23:27:56] [PASSED] ABGR8888 Invalid buffer handle
[23:27:56] [PASSED] No pixel format
[23:27:56] [PASSED] ABGR8888 Width 0
[23:27:56] [PASSED] ABGR8888 Height 0
[23:27:56] [PASSED] ABGR8888 Out of bound height * pitch combination
[23:27:56] [PASSED] ABGR8888 Large buffer offset
[23:27:56] [PASSED] ABGR8888 Buffer offset for inexistent plane
[23:27:56] [PASSED] ABGR8888 Invalid flag
[23:27:56] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[23:27:56] [PASSED] ABGR8888 Valid buffer modifier
[23:27:56] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[23:27:56] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[23:27:56] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[23:27:56] [PASSED] NV12 Normal sizes
[23:27:56] [PASSED] NV12 Max sizes
[23:27:56] [PASSED] NV12 Invalid pitch
[23:27:56] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[23:27:56] [PASSED] NV12 different modifier per-plane
[23:27:56] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[23:27:56] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[23:27:56] [PASSED] NV12 Modifier for inexistent plane
[23:27:56] [PASSED] NV12 Handle for inexistent plane
[23:27:56] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[23:27:56] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[23:27:56] [PASSED] YVU420 Normal sizes
[23:27:56] [PASSED] YVU420 Max sizes
[23:27:56] [PASSED] YVU420 Invalid pitch
[23:27:56] [PASSED] YVU420 Different pitches
[23:27:56] [PASSED] YVU420 Different buffer offsets/pitches
[23:27:56] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[23:27:56] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[23:27:56] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[23:27:56] [PASSED] YVU420 Valid modifier
[23:27:56] [PASSED] YVU420 Different modifiers per plane
[23:27:56] [PASSED] YVU420 Modifier for inexistent plane
[23:27:56] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[23:27:56] [PASSED] X0L2 Normal sizes
[23:27:56] [PASSED] X0L2 Max sizes
[23:27:56] [PASSED] X0L2 Invalid pitch
[23:27:56] [PASSED] X0L2 Pitch greater than minimum required
[23:27:56] [PASSED] X0L2 Handle for inexistent plane
[23:27:56] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[23:27:56] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[23:27:56] [PASSED] X0L2 Valid modifier
[23:27:56] [PASSED] X0L2 Modifier for inexistent plane
[23:27:56] =========== [PASSED] drm_test_framebuffer_create ===========
[23:27:56] [PASSED] drm_test_framebuffer_free
[23:27:56] [PASSED] drm_test_framebuffer_init
[23:27:56] [PASSED] drm_test_framebuffer_init_bad_format
[23:27:56] [PASSED] drm_test_framebuffer_init_dev_mismatch
[23:27:56] [PASSED] drm_test_framebuffer_lookup
[23:27:56] [PASSED] drm_test_framebuffer_lookup_inexistent
[23:27:56] [PASSED] drm_test_framebuffer_modifiers_not_supported
[23:27:56] ================= [PASSED] drm_framebuffer =================
[23:27:56] ================ drm_gem_shmem (8 subtests) ================
[23:27:56] [PASSED] drm_gem_shmem_test_obj_create
[23:27:56] [PASSED] drm_gem_shmem_test_obj_create_private
[23:27:56] [PASSED] drm_gem_shmem_test_pin_pages
[23:27:56] [PASSED] drm_gem_shmem_test_vmap
[23:27:56] [PASSED] drm_gem_shmem_test_get_sg_table
[23:27:56] [PASSED] drm_gem_shmem_test_get_pages_sgt
[23:27:56] [PASSED] drm_gem_shmem_test_madvise
[23:27:56] [PASSED] drm_gem_shmem_test_purge
[23:27:56] ================== [PASSED] drm_gem_shmem ==================
[23:27:56] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[23:27:56] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[23:27:56] [PASSED] Automatic
[23:27:56] [PASSED] Full
[23:27:56] [PASSED] Limited 16:235
[23:27:56] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[23:27:56] [PASSED] drm_test_check_disable_connector
[23:27:56] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[23:27:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[23:27:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[23:27:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[23:27:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[23:27:56] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[23:27:56] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[23:27:56] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[23:27:56] [PASSED] drm_test_check_output_bpc_dvi
[23:27:56] [PASSED] drm_test_check_output_bpc_format_vic_1
[23:27:56] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[23:27:56] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[23:27:56] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[23:27:56] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[23:27:56] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[23:27:56] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[23:27:56] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[23:27:56] ============ drm_test_check_hdmi_color_format =============
[23:27:56] [PASSED] AUTO -> RGB
[23:27:56] [PASSED] YCBCR422 -> YUV422
[23:27:56] [PASSED] YCBCR420 -> YUV420
[23:27:56] [PASSED] YCBCR444 -> YUV444
[23:27:56] [PASSED] RGB -> RGB
[23:27:56] ======== [PASSED] drm_test_check_hdmi_color_format =========
[23:27:56] ======== drm_test_check_hdmi_color_format_420_only ========
[23:27:56] [PASSED] RGB should fail
[23:27:56] [PASSED] YUV444 should fail
[23:27:56] [PASSED] YUV422 should fail
[23:27:56] [PASSED] YUV420 should work
[23:27:56] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[23:27:56] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[23:27:56] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[23:27:56] [PASSED] drm_test_check_broadcast_rgb_value
[23:27:56] [PASSED] drm_test_check_bpc_8_value
[23:27:56] [PASSED] drm_test_check_bpc_10_value
[23:27:56] [PASSED] drm_test_check_bpc_12_value
[23:27:56] [PASSED] drm_test_check_format_value
[23:27:56] [PASSED] drm_test_check_tmds_char_value
[23:27:56] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[23:27:56] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[23:27:56] [PASSED] drm_test_check_mode_valid
[23:27:56] [PASSED] drm_test_check_mode_valid_reject
[23:27:56] [PASSED] drm_test_check_mode_valid_reject_rate
[23:27:56] [PASSED] drm_test_check_mode_valid_reject_max_clock
[23:27:56] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[23:27:56] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[23:27:56] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[23:27:56] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[23:27:56] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[23:27:56] [PASSED] drm_test_check_infoframes
[23:27:56] [PASSED] drm_test_check_reject_avi_infoframe
[23:27:56] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[23:27:56] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[23:27:56] [PASSED] drm_test_check_reject_audio_infoframe
[23:27:56] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[23:27:56] ================= drm_managed (2 subtests) =================
[23:27:56] [PASSED] drm_test_managed_release_action
[23:27:56] [PASSED] drm_test_managed_run_action
[23:27:56] =================== [PASSED] drm_managed ===================
[23:27:56] =================== drm_mm (6 subtests) ====================
[23:27:56] [PASSED] drm_test_mm_init
[23:27:56] [PASSED] drm_test_mm_debug
[23:27:56] [PASSED] drm_test_mm_align32
[23:27:56] [PASSED] drm_test_mm_align64
[23:27:56] [PASSED] drm_test_mm_lowest
[23:27:56] [PASSED] drm_test_mm_highest
[23:27:56] ===================== [PASSED] drm_mm ======================
[23:27:56] ============= drm_modes_analog_tv (5 subtests) =============
[23:27:56] [PASSED] drm_test_modes_analog_tv_mono_576i
[23:27:56] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[23:27:56] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[23:27:56] [PASSED] drm_test_modes_analog_tv_pal_576i
[23:27:56] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[23:27:56] =============== [PASSED] drm_modes_analog_tv ===============
[23:27:56] ============== drm_panic_helper (3 subtests) ===============
[23:27:56] ============= drm_test_panic_screen_user_map ==============
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752)
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752)
[23:27:56] ========= [PASSED] drm_test_panic_screen_user_map ==========
[23:27:56] ============= drm_test_panic_screen_user_page =============
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752)
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752)
[23:27:56] ========= [PASSED] drm_test_panic_screen_user_page =========
[23:27:56] ========== drm_test_panic_screen_user_set_pixel ===========
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752)
[23:27:56] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752)
[23:27:56] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752)
[23:27:56] ====== [PASSED] drm_test_panic_screen_user_set_pixel =======
[23:27:56] ================ [PASSED] drm_panic_helper =================
[23:27:56] ============== drm_plane_helper (2 subtests) ===============
[23:27:56] =============== drm_test_check_plane_state ================
[23:27:56] [PASSED] clipping_simple
[23:27:56] [PASSED] clipping_rotate_reflect
[23:27:56] [PASSED] positioning_simple
[23:27:56] [PASSED] upscaling
[23:27:56] [PASSED] downscaling
[23:27:56] [PASSED] rounding1
[23:27:56] [PASSED] rounding2
[23:27:56] [PASSED] rounding3
[23:27:56] [PASSED] rounding4
[23:27:56] =========== [PASSED] drm_test_check_plane_state ============
[23:27:56] =========== drm_test_check_invalid_plane_state ============
[23:27:56] [PASSED] positioning_invalid
[23:27:56] [PASSED] upscaling_invalid
[23:27:56] [PASSED] downscaling_invalid
[23:27:56] ======= [PASSED] drm_test_check_invalid_plane_state ========
[23:27:56] ================ [PASSED] drm_plane_helper =================
[23:27:56] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[23:27:56] ====== drm_test_connector_helper_tv_get_modes_check =======
[23:27:56] [PASSED] None
[23:27:56] [PASSED] PAL
[23:27:56] [PASSED] NTSC
[23:27:56] [PASSED] Both, NTSC Default
[23:27:56] [PASSED] Both, PAL Default
[23:27:56] [PASSED] Both, NTSC Default, with PAL on command-line
[23:27:56] [PASSED] Both, PAL Default, with NTSC on command-line
[23:27:56] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[23:27:56] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[23:27:56] ================== drm_rect (9 subtests) ===================
[23:27:56] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[23:27:56] [PASSED] drm_test_rect_clip_scaled_not_clipped
[23:27:56] [PASSED] drm_test_rect_clip_scaled_clipped
[23:27:56] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[23:27:56] ================= drm_test_rect_intersect =================
[23:27:56] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[23:27:56] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[23:27:56] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[23:27:56] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[23:27:56] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[23:27:56] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[23:27:56] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[23:27:56] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[23:27:56] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[23:27:56] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[23:27:56] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[23:27:56] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[23:27:56] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[23:27:56] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[23:27:56] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[23:27:56] ============= [PASSED] drm_test_rect_intersect =============
[23:27:56] ================ drm_test_rect_calc_hscale ================
[23:27:56] [PASSED] normal use
[23:27:56] [PASSED] out of max range
[23:27:56] [PASSED] out of min range
[23:27:56] [PASSED] zero dst
[23:27:56] [PASSED] negative src
[23:27:56] [PASSED] negative dst
[23:27:56] ============ [PASSED] drm_test_rect_calc_hscale ============
[23:27:56] ================ drm_test_rect_calc_vscale ================
[23:27:56] [PASSED] normal use
[23:27:56] [PASSED] out of max range
[23:27:56] [PASSED] out of min range
[23:27:56] [PASSED] zero dst
[23:27:56] [PASSED] negative src
[23:27:56] [PASSED] negative dst
[23:27:56] ============ [PASSED] drm_test_rect_calc_vscale ============
[23:27:56] ================== drm_test_rect_rotate ===================
[23:27:56] [PASSED] reflect-x
[23:27:56] [PASSED] reflect-y
[23:27:56] [PASSED] rotate-0
[23:27:56] [PASSED] rotate-90
[23:27:56] [PASSED] rotate-180
[23:27:56] [PASSED] rotate-270
[23:27:56] ============== [PASSED] drm_test_rect_rotate ===============
[23:27:56] ================ drm_test_rect_rotate_inv =================
[23:27:56] [PASSED] reflect-x
[23:27:56] [PASSED] reflect-y
[23:27:56] [PASSED] rotate-0
[23:27:56] [PASSED] rotate-90
[23:27:56] [PASSED] rotate-180
[23:27:56] [PASSED] rotate-270
[23:27:56] ============ [PASSED] drm_test_rect_rotate_inv =============
[23:27:56] ==================== [PASSED] drm_rect =====================
[23:27:56] ============ drm_sysfb_modeset_test (1 subtest) ============
[23:27:56] ============ drm_test_sysfb_build_fourcc_list =============
[23:27:56] [PASSED] no native formats
[23:27:56] [PASSED] XRGB8888 as native format
[23:27:56] [PASSED] remove duplicates
[23:27:56] [PASSED] convert alpha formats
[23:27:56] [PASSED] random formats
[23:27:56] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[23:27:56] ============= [PASSED] drm_sysfb_modeset_test ==============
[23:27:56] ================== drm_fixp (2 subtests) ===================
[23:27:56] [PASSED] drm_test_int2fixp
[23:27:56] [PASSED] drm_test_sm2fixp
[23:27:56] ==================== [PASSED] drm_fixp =====================
[23:27:56] ============================================================
[23:27:56] Testing complete. Ran 667 tests: passed: 667
[23:27:56] Elapsed time: 28.354s total, 2.529s configuring, 25.505s building, 0.297s 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
[23:27:57] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:27: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
[23:28:09] Starting KUnit Kernel (1/1)...
[23:28:09] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:28:09] ================= ttm_device (5 subtests) ==================
[23:28:09] [PASSED] ttm_device_init_basic
[23:28:09] [PASSED] ttm_device_init_multiple
[23:28:09] [PASSED] ttm_device_fini_basic
[23:28:09] [PASSED] ttm_device_init_no_vma_man
[23:28:09] ================== ttm_device_init_pools ==================
[23:28:09] [PASSED] No DMA allocations, no DMA32 required
[23:28:09] [PASSED] DMA allocations, DMA32 required
[23:28:09] [PASSED] No DMA allocations, DMA32 required
[23:28:09] [PASSED] DMA allocations, no DMA32 required
[23:28:09] ============== [PASSED] ttm_device_init_pools ==============
[23:28:09] =================== [PASSED] ttm_device ====================
[23:28:09] ================== ttm_pool (8 subtests) ===================
[23:28:09] ================== ttm_pool_alloc_basic ===================
[23:28:09] [PASSED] One page
[23:28:09] [PASSED] More than one page
[23:28:09] [PASSED] Above the allocation limit
[23:28:09] [PASSED] One page, with coherent DMA mappings enabled
[23:28:09] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[23:28:09] ============== [PASSED] ttm_pool_alloc_basic ===============
[23:28:09] ============== ttm_pool_alloc_basic_dma_addr ==============
[23:28:09] [PASSED] One page
[23:28:09] [PASSED] More than one page
[23:28:09] [PASSED] Above the allocation limit
[23:28:09] [PASSED] One page, with coherent DMA mappings enabled
[23:28:09] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[23:28:09] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[23:28:09] [PASSED] ttm_pool_alloc_order_caching_match
[23:28:09] [PASSED] ttm_pool_alloc_caching_mismatch
[23:28:09] [PASSED] ttm_pool_alloc_order_mismatch
[23:28:09] [PASSED] ttm_pool_free_dma_alloc
[23:28:09] [PASSED] ttm_pool_free_no_dma_alloc
[23:28:09] [PASSED] ttm_pool_fini_basic
[23:28:09] ==================== [PASSED] ttm_pool =====================
[23:28:09] ================ ttm_resource (8 subtests) =================
[23:28:09] ================= ttm_resource_init_basic =================
[23:28:09] [PASSED] Init resource in TTM_PL_SYSTEM
[23:28:09] [PASSED] Init resource in TTM_PL_VRAM
[23:28:09] [PASSED] Init resource in a private placement
[23:28:09] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[23:28:09] ============= [PASSED] ttm_resource_init_basic =============
[23:28:09] [PASSED] ttm_resource_init_pinned
[23:28:09] [PASSED] ttm_resource_fini_basic
[23:28:09] [PASSED] ttm_resource_manager_init_basic
[23:28:09] [PASSED] ttm_resource_manager_usage_basic
[23:28:09] [PASSED] ttm_resource_manager_set_used_basic
[23:28:09] [PASSED] ttm_sys_man_alloc_basic
[23:28:09] [PASSED] ttm_sys_man_free_basic
[23:28:09] ================== [PASSED] ttm_resource ===================
[23:28:09] =================== ttm_tt (15 subtests) ===================
[23:28:09] ==================== ttm_tt_init_basic ====================
[23:28:09] [PASSED] Page-aligned size
[23:28:09] [PASSED] Extra pages requested
[23:28:09] ================ [PASSED] ttm_tt_init_basic ================
[23:28:09] [PASSED] ttm_tt_init_misaligned
[23:28:09] [PASSED] ttm_tt_fini_basic
[23:28:09] [PASSED] ttm_tt_fini_sg
[23:28:09] [PASSED] ttm_tt_fini_shmem
[23:28:09] [PASSED] ttm_tt_create_basic
[23:28:09] [PASSED] ttm_tt_create_invalid_bo_type
[23:28:09] [PASSED] ttm_tt_create_ttm_exists
[23:28:09] [PASSED] ttm_tt_create_failed
[23:28:09] [PASSED] ttm_tt_destroy_basic
[23:28:09] [PASSED] ttm_tt_populate_null_ttm
[23:28:09] [PASSED] ttm_tt_populate_populated_ttm
[23:28:09] [PASSED] ttm_tt_unpopulate_basic
[23:28:09] [PASSED] ttm_tt_unpopulate_empty_ttm
[23:28:09] [PASSED] ttm_tt_swapin_basic
[23:28:09] ===================== [PASSED] ttm_tt ======================
[23:28:09] =================== ttm_bo (14 subtests) ===================
[23:28:09] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[23:28:09] [PASSED] Cannot be interrupted and sleeps
[23:28:09] [PASSED] Cannot be interrupted, locks straight away
[23:28:09] [PASSED] Can be interrupted, sleeps
[23:28:09] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[23:28:09] [PASSED] ttm_bo_reserve_locked_no_sleep
[23:28:09] [PASSED] ttm_bo_reserve_no_wait_ticket
[23:28:09] [PASSED] ttm_bo_reserve_double_resv
[23:28:09] [PASSED] ttm_bo_reserve_interrupted
[23:28:09] [PASSED] ttm_bo_reserve_deadlock
[23:28:09] [PASSED] ttm_bo_unreserve_basic
[23:28:09] [PASSED] ttm_bo_unreserve_pinned
[23:28:09] [PASSED] ttm_bo_unreserve_bulk
[23:28:09] [PASSED] ttm_bo_fini_basic
[23:28:09] [PASSED] ttm_bo_fini_shared_resv
[23:28:09] [PASSED] ttm_bo_pin_basic
[23:28:09] [PASSED] ttm_bo_pin_unpin_resource
[23:28:09] [PASSED] ttm_bo_multiple_pin_one_unpin
[23:28:09] ===================== [PASSED] ttm_bo ======================
[23:28:09] ============== ttm_bo_validate (22 subtests) ===============
[23:28:09] ============== ttm_bo_init_reserved_sys_man ===============
[23:28:09] [PASSED] Buffer object for userspace
[23:28:09] [PASSED] Kernel buffer object
[23:28:09] [PASSED] Shared buffer object
[23:28:09] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[23:28:09] ============== ttm_bo_init_reserved_mock_man ==============
[23:28:09] [PASSED] Buffer object for userspace
[23:28:09] [PASSED] Kernel buffer object
[23:28:09] [PASSED] Shared buffer object
[23:28:09] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[23:28:09] [PASSED] ttm_bo_init_reserved_resv
[23:28:09] ================== ttm_bo_validate_basic ==================
[23:28:09] [PASSED] Buffer object for userspace
[23:28:09] [PASSED] Kernel buffer object
[23:28:09] [PASSED] Shared buffer object
[23:28:09] ============== [PASSED] ttm_bo_validate_basic ==============
[23:28:09] [PASSED] ttm_bo_validate_invalid_placement
[23:28:09] ============= ttm_bo_validate_same_placement ==============
[23:28:09] [PASSED] System manager
[23:28:09] [PASSED] VRAM manager
[23:28:09] ========= [PASSED] ttm_bo_validate_same_placement ==========
[23:28:09] [PASSED] ttm_bo_validate_failed_alloc
[23:28:09] [PASSED] ttm_bo_validate_pinned
[23:28:09] [PASSED] ttm_bo_validate_busy_placement
[23:28:09] ================ ttm_bo_validate_multihop =================
[23:28:09] [PASSED] Buffer object for userspace
[23:28:09] [PASSED] Kernel buffer object
[23:28:09] [PASSED] Shared buffer object
[23:28:09] ============ [PASSED] ttm_bo_validate_multihop =============
[23:28:09] ========== ttm_bo_validate_no_placement_signaled ==========
[23:28:09] [PASSED] Buffer object in system domain, no page vector
[23:28:09] [PASSED] Buffer object in system domain with an existing page vector
[23:28:09] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[23:28:09] ======== ttm_bo_validate_no_placement_not_signaled ========
[23:28:09] [PASSED] Buffer object for userspace
[23:28:09] [PASSED] Kernel buffer object
[23:28:09] [PASSED] Shared buffer object
[23:28:09] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[23:28:09] [PASSED] ttm_bo_validate_move_fence_signaled
[23:28:09] ========= ttm_bo_validate_move_fence_not_signaled =========
[23:28:09] [PASSED] Waits for GPU
[23:28:09] [PASSED] Tries to lock straight away
[23:28:09] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[23:28:09] [PASSED] ttm_bo_validate_swapout
[23:28:09] [PASSED] ttm_bo_validate_happy_evict
[23:28:09] [PASSED] ttm_bo_validate_all_pinned_evict
[23:28:09] [PASSED] ttm_bo_validate_allowed_only_evict
[23:28:09] [PASSED] ttm_bo_validate_deleted_evict
[23:28:09] [PASSED] ttm_bo_validate_busy_domain_evict
[23:28:09] [PASSED] ttm_bo_validate_evict_gutting
[23:28:09] [PASSED] ttm_bo_validate_recursive_evict
[23:28:09] ================= [PASSED] ttm_bo_validate =================
[23:28:09] ============================================================
[23:28:09] Testing complete. Ran 102 tests: passed: 102
[23:28:09] Elapsed time: 12.813s total, 2.540s configuring, 10.058s building, 0.186s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[23:28:10] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:28: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
[23:28:21] Starting KUnit Kernel (1/1)...
[23:28:21] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:28:21] =============== dma-buf-fence (12 subtests) ================
[23:28:21] [PASSED] test_sanitycheck
[23:28:21] [PASSED] test_signaling
[23:28:21] [PASSED] test_add_callback
[23:28:21] [PASSED] test_late_add_callback
[23:28:21] [PASSED] test_rm_callback
[23:28:21] [PASSED] test_late_rm_callback
[23:28:21] [PASSED] test_status
[23:28:21] [PASSED] test_error
[23:28:21] [PASSED] test_wait
[23:28:21] [PASSED] test_wait_timeout
[23:28:21] [PASSED] test_stub
[23:28:21] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[23:28:21] ================== [PASSED] dma-buf-fence ==================
[23:28:21] ============ dma-buf-fence-chain (11 subtests) =============
[23:28:21] [PASSED] test_sanitycheck
[23:28:21] [PASSED] test_find_seqno
[23:28:21] [PASSED] test_find_signaled
[23:28:21] [PASSED] test_find_out_of_order
[23:28:26] [PASSED] test_find_gap
[23:28:26] [PASSED] test_find_race
[23:28:26] [PASSED] test_signal_forward
[23:28:26] [PASSED] test_signal_backward
[23:28:26] [PASSED] test_wait_forward
[23:28:26] [PASSED] test_wait_backward
[23:28:26] [PASSED] test_wait_random
[23:28:26] =============== [PASSED] dma-buf-fence-chain ===============
[23:28:26] ============ dma-buf-fence-unwrap (11 subtests) ============
[23:28:26] [PASSED] test_sanitycheck
[23:28:26] [PASSED] test_unwrap_array
[23:28:26] [PASSED] test_unwrap_chain
[23:28:26] [PASSED] test_unwrap_chain_array
[23:28:26] [PASSED] test_unwrap_merge
[23:28:26] [PASSED] test_unwrap_merge_duplicate
[23:28:26] [PASSED] test_unwrap_merge_seqno
[23:28:26] [PASSED] test_unwrap_merge_order
[23:28:26] [PASSED] test_unwrap_merge_complex
[23:28:26] [PASSED] test_unwrap_merge_complex_seqno
[23:28:26] [PASSED] test_dedup_empty
[23:28:26] ============== [PASSED] dma-buf-fence-unwrap ===============
[23:28:26] ================ dma-buf-resv (5 subtests) =================
[23:28:26] [PASSED] test_sanitycheck
[23:28:26] ===================== test_signaling ======================
[23:28:26] [PASSED] kernel
[23:28:26] [PASSED] write
[23:28:26] [PASSED] read
[23:28:26] [PASSED] bookkeep
[23:28:26] ================= [PASSED] test_signaling ==================
[23:28:26] ====================== test_for_each ======================
[23:28:26] [PASSED] kernel
[23:28:26] [PASSED] write
[23:28:26] [PASSED] read
[23:28:26] [PASSED] bookkeep
[23:28:26] ================== [PASSED] test_for_each ==================
[23:28:26] ================= test_for_each_unlocked ==================
[23:28:26] [PASSED] kernel
[23:28:26] [PASSED] write
[23:28:26] [PASSED] read
[23:28:26] [PASSED] bookkeep
[23:28:26] ============= [PASSED] test_for_each_unlocked ==============
[23:28:26] ===================== test_get_fences =====================
[23:28:26] [PASSED] kernel
[23:28:26] [PASSED] write
[23:28:26] [PASSED] read
[23:28:26] [PASSED] bookkeep
[23:28:26] ================= [PASSED] test_get_fences =================
[23:28:26] ================== [PASSED] dma-buf-resv ===================
[23:28:26] ============================================================
[23:28:26] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[23:28:26] Elapsed time: 16.947s total, 2.544s configuring, 9.031s building, 5.337s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 10+ messages in thread* ✓ Xe.CI.BAT: success for Apply Wa_14028597154 to SR-IOV VF (rev3)
2026-12-03 23:18 [PATCH v3 0/5] Apply Wa_14028597154 to SR-IOV VF Piórkowski, Piotr
` (5 preceding siblings ...)
2026-12-03 23:28 ` ✓ CI.KUnit: success for Apply Wa_14028597154 to SR-IOV VF (rev3) Patchwork
@ 2026-12-04 0:03 ` Patchwork
6 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-12-04 0:03 UTC (permalink / raw)
To: Piórkowski, Piotr; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
== Series Details ==
Series: Apply Wa_14028597154 to SR-IOV VF (rev3)
URL : https://patchwork.freedesktop.org/series/180447/
State : success
== Summary ==
CI Bug Log - changes from xe-6292-eb69f50b19853224b27973de6286c9abf9f928af_BAT -> xe-pw-180447v3_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-6292-eb69f50b19853224b27973de6286c9abf9f928af -> xe-pw-180447v3
IGT_9224: 9224
xe-6292-eb69f50b19853224b27973de6286c9abf9f928af: eb69f50b19853224b27973de6286c9abf9f928af
xe-pw-180447v3: 180447v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-180447v3/index.html
[-- Attachment #2: Type: text/html, Size: 1411 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread