Skip to contentSkip to conversation

Add new debug infrastructure for configfs

PATCH In review Stuart Summers 6 participants 37 messages Aug 20 – Aug 28 Page 3 of 3

Subsystems (2)
lore
Share & tools
lore
#26 lore raw

PATCH 6/10 drm/xe/guc: Add configfs support for guc_log_level

In reply to Stuart Summers

Allow the GuC log level to be selected per-device via configfs in addition to the existing 'guc_log_level' module parameter. The configfs attribute lives under the new 'debug' configfs subdirectory:

/sys/kernel/config/xe/<bdf>/debug/guc_log_level

When the configfs attribute is set to a valid level (0-5), it overrides the module parameter for that device. The default value is -1 (XE_GUC_LOG_LEVEL_UNSET), which means 'unset' and falls back to the 'guc_log_level' module parameter, ensuring existing users that rely solely on the module parameter are unaffected by this change.

The module parameter implementation itself is untouched.

Note that the expectation is a user will only set the log level when CONFIG_DRM_XE_DEBUG is set.

Assisted-by Copilot:claude-sonnet-4.6,claude-opus-4.7,claude-sonnet-5,claude-opus-5
---
 drivers/gpu/drm/xe/xe_configfs.c       |  2 +
 drivers/gpu/drm/xe/xe_configfs_debug.c | 84 ++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_configfs_debug.h |  7 +++
 drivers/gpu/drm/xe/xe_configfs_types.h |  1 +
 drivers/gpu/drm/xe/xe_defaults.h       |  3 +
 drivers/gpu/drm/xe/xe_guc_log.c        |  3 +-
 6 files changed, 99 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_configfs.c +2 -0
index 111aacce8a84..ea09d5f9e925 100644
@@ -100,6 +100,7 @@ const struct xe_config_device xe_configfs_device_defaults = {
 	.debug = {
 		.engines_allowed = U64_MAX,
 		.gt_types_allowed = U64_MAX,
+		.guc_log_level = XE_GUC_LOG_LEVEL_UNSET,
 		.enable_multi_queue = true,
 		.enable_psmi = false,
 		.survivability_mode = false,
@@ -418,6 +419,7 @@ static void dump_custom_dev_config(struct pci_dev *pdev,
 #if IS_ENABLED(CONFIG_DRM_XE_DEBUG)
 	PRI_CUSTOM_ATTR("%llx", debug.engines_allowed);
 	PRI_CUSTOM_ATTR("%llx", debug.gt_types_allowed);
+	PRI_CUSTOM_ATTR("%d", debug.guc_log_level);
 	PRI_CUSTOM_ATTR("%d", debug.enable_multi_queue);
 	PRI_CUSTOM_ATTR("%d", debug.enable_psmi);
 	PRI_CUSTOM_ATTR("%d", debug.survivability_mode);
drivers/gpu/drm/xe/xe_configfs_debug.c +84 -0

120 lines not on this page · raw message

drivers/gpu/drm/xe/xe_configfs_debug.h +7 -0
index 4a027ea2082d..5fe39bb72f00 100644
@@ -7,7 +7,9 @@
 
 #include <linux/types.h>
 
+#include "xe_defaults.h"
 #include "xe_hw_engine_types.h"
+#include "xe_module.h"
 
 struct pci_dev;
 struct xe_config_device;
@@ -24,6 +26,7 @@ u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
 u64 xe_configfs_get_engines_allowed(struct pci_dev *pdev);
 bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev);
 bool xe_configfs_media_gt_allowed(struct pci_dev *pdev);
+int xe_configfs_get_guc_log_level(struct pci_dev *pdev);
 bool xe_configfs_get_enable_multi_queue(struct pci_dev *pdev);
 bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev);
 bool xe_configfs_get_survivability_mode(struct pci_dev *pdev);
@@ -42,6 +45,10 @@ static inline u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
 static inline u64 xe_configfs_get_engines_allowed(struct pci_dev *pdev) { return U64_MAX; }
 static inline bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev) { return true; }
 static inline bool xe_configfs_media_gt_allowed(struct pci_dev *pdev) { return true; }
+static inline int xe_configfs_get_guc_log_level(struct pci_dev *pdev)
+{
+	return xe_modparam.guc_log_level;
+}
 static inline bool xe_configfs_get_enable_multi_queue(struct pci_dev *pdev) { return true; }
 static inline bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev) { return false; }
 static inline bool xe_configfs_get_survivability_mode(struct pci_dev *pdev) { return false; }
drivers/gpu/drm/xe/xe_configfs_types.h +1 -0
index 6e8ba6f85fad..e9460c3de891 100644
@@ -38,6 +38,7 @@ struct xe_config_group_device {
 			struct wa_bb ctx_restore_post_bb[XE_ENGINE_CLASS_MAX];
 			u64 engines_allowed;
 			u64 gt_types_allowed;
+			int guc_log_level;
 			bool enable_multi_queue;
 			bool enable_psmi;
 			bool survivability_mode;
drivers/gpu/drm/xe/xe_defaults.h +3 -0
index 0884224ef7c7..a9467b77fabd 100644
@@ -13,6 +13,9 @@
 #define XE_DEFAULT_GUC_LOG_LEVEL		1
 #endif
 
+/* Sentinel value for guc_log_level configfs: not set, fall back to module param */
+#define XE_GUC_LOG_LEVEL_UNSET			-1
+
 #define XE_DEFAULT_PROBE_DISPLAY		IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
 #define XE_DEFAULT_VRAM_BAR_SIZE		0
 #define XE_DEFAULT_FORCE_PROBE			CONFIG_DRM_XE_FORCE_PROBE
drivers/gpu/drm/xe/xe_guc_log.c +2 -1
index 538d4df0f7aa..531b9759d520 100644
@@ -13,6 +13,7 @@
 #include "abi/guc_lfd_abi.h"
 #include "regs/xe_guc_regs.h"
 #include "xe_bo.h"
+#include "xe_configfs_debug.h"
 #include "xe_devcoredump.h"
 #include "xe_force_wake.h"
 #include "xe_gt_printk.h"
@@ -637,7 +638,7 @@ int xe_guc_log_init(struct xe_guc_log *log)
 
 	xe_map_memset(xe, &bo->vmap, 0, 0, xe_bo_size(bo));
 	log->bo = bo;
-	log->level = xe_modparam.guc_log_level;
+	log->level = xe_configfs_get_guc_log_level(to_pci_dev(xe->drm.dev));
 
 	return 0;
 }
Signature · 1 line
2.43.0
#27 lore raw

PATCH 7/10 drm/xe/guc: Add support for NPK as a GuC log target

In reply to Stuart Summers

GuC provides the ability to gather logs through a hardware interface called NPK. For certain debugging scenarios this can be advantageous over getting logs from memory (or in addition to).

Add a hook for this alternate debugging mode via a configfs. This translates into a parameter passed to GuC during load time.

v2: Convert to configfs from modparam (Matt)
v3: Configfs documentation formatting (Shuicheng)
Kerneldoc/comment add + configfs entry ordering Only set the guc_log_target when GuC log is enabled (Daniele)

Assisted-by Copilot:claude-sonnet-4.6,claude-opus-4.7,claude-sonnet-5
---
 drivers/gpu/drm/xe/abi/guc_log_abi.h   |  8 ++++
 drivers/gpu/drm/xe/xe_configfs.c       |  2 +
 drivers/gpu/drm/xe/xe_configfs_debug.c | 63 ++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_configfs_debug.h |  5 ++
 drivers/gpu/drm/xe/xe_configfs_types.h |  1 +
 drivers/gpu/drm/xe/xe_defaults.h       |  2 +
 drivers/gpu/drm/xe/xe_guc.c            | 11 +++--
 7 files changed, 89 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/abi/guc_log_abi.h +8 -0
index fbf212d59a40..e1b121bff549 100644
@@ -51,6 +51,14 @@ enum guc_log_type {
 
 #define GUC_LOG_BUFFER_TYPE_MAX		3
 
+enum guc_log_target {
+	GUC_LOG_TARGET_MEM = 0,
+	GUC_LOG_TARGET_NPK,
+	GUC_LOG_TARGET_MEM_AND_NPK,
+};
+
+#define GUC_LOG_TARGET_MAX	GUC_LOG_TARGET_MEM_AND_NPK
+
 /**
  * struct guc_log_buffer_state - GuC log buffer state
  *
drivers/gpu/drm/xe/xe_configfs.c +2 -0
index ea09d5f9e925..c5d5017cd506 100644
@@ -101,6 +101,7 @@ const struct xe_config_device xe_configfs_device_defaults = {
 		.engines_allowed = U64_MAX,
 		.gt_types_allowed = U64_MAX,
 		.guc_log_level = XE_GUC_LOG_LEVEL_UNSET,
+		.guc_log_target = XE_DEFAULT_GUC_LOG_TARGET,
 		.enable_multi_queue = true,
 		.enable_psmi = false,
 		.survivability_mode = false,
@@ -420,6 +421,7 @@ static void dump_custom_dev_config(struct pci_dev *pdev,
 	PRI_CUSTOM_ATTR("%llx", debug.engines_allowed);
 	PRI_CUSTOM_ATTR("%llx", debug.gt_types_allowed);
 	PRI_CUSTOM_ATTR("%d", debug.guc_log_level);
+	PRI_CUSTOM_ATTR("%d", debug.guc_log_target);
 	PRI_CUSTOM_ATTR("%d", debug.enable_multi_queue);
 	PRI_CUSTOM_ATTR("%d", debug.enable_psmi);
 	PRI_CUSTOM_ATTR("%d", debug.survivability_mode);
drivers/gpu/drm/xe/xe_configfs_debug.c +63 -0

93 lines not on this page · raw message

drivers/gpu/drm/xe/xe_configfs_debug.h +5 -0
index 5fe39bb72f00..b97a7fff6652 100644
@@ -27,6 +27,7 @@ u64 xe_configfs_get_engines_allowed(struct pci_dev *pdev);
 bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev);
 bool xe_configfs_media_gt_allowed(struct pci_dev *pdev);
 int xe_configfs_get_guc_log_level(struct pci_dev *pdev);
+u8 xe_configfs_get_guc_log_target(struct pci_dev *pdev);
 bool xe_configfs_get_enable_multi_queue(struct pci_dev *pdev);
 bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev);
 bool xe_configfs_get_survivability_mode(struct pci_dev *pdev);
@@ -49,6 +50,10 @@ static inline int xe_configfs_get_guc_log_level(struct pci_dev *pdev)
 {
 	return xe_modparam.guc_log_level;
 }
+static inline u8 xe_configfs_get_guc_log_target(struct pci_dev *pdev)
+{
+	return XE_DEFAULT_GUC_LOG_TARGET;
+}
 static inline bool xe_configfs_get_enable_multi_queue(struct pci_dev *pdev) { return true; }
 static inline bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev) { return false; }
 static inline bool xe_configfs_get_survivability_mode(struct pci_dev *pdev) { return false; }
drivers/gpu/drm/xe/xe_configfs_types.h +1 -0
index e9460c3de891..1123f6e2a668 100644
@@ -39,6 +39,7 @@ struct xe_config_group_device {
 			u64 engines_allowed;
 			u64 gt_types_allowed;
 			int guc_log_level;
+			u8 guc_log_target;
 			bool enable_multi_queue;
 			bool enable_psmi;
 			bool survivability_mode;
drivers/gpu/drm/xe/xe_defaults.h +2 -0
index a9467b77fabd..20292e682bf9 100644
@@ -5,6 +5,7 @@
 #ifndef _XE_DEFAULTS_H_
 #define _XE_DEFAULTS_H_
 
+#include "abi/guc_log_abi.h"
 #include "xe_device_types.h"
 
 #if IS_ENABLED(CONFIG_DRM_XE_DEBUG)
@@ -12,6 +13,7 @@
 #else
 #define XE_DEFAULT_GUC_LOG_LEVEL		1
 #endif
+#define XE_DEFAULT_GUC_LOG_TARGET		GUC_LOG_TARGET_MEM
 
 /* Sentinel value for guc_log_level configfs: not set, fall back to module param */
 #define XE_GUC_LOG_LEVEL_UNSET			-1
drivers/gpu/drm/xe/xe_guc.c +8 -3
index bf7ca8f9d773..f463adff2737 100644
@@ -76,13 +76,18 @@ static u32 guc_bo_ggtt_addr(struct xe_guc *guc,
 
 static u32 guc_ctl_debug_flags(struct xe_guc *guc)
 {
+	struct pci_dev *pdev = to_pci_dev(guc_to_xe(guc)->drm.dev);
 	u32 level = xe_guc_log_get_level(&guc->log);
 	u32 flags = 0;
 
-	if (!GUC_LOG_LEVEL_IS_VERBOSE(level))
+	if (!GUC_LOG_LEVEL_IS_VERBOSE(level)) {
 		flags |= GUC_LOG_DISABLED;
-	else
-		flags |= FIELD_PREP(GUC_LOG_VERBOSITY, GUC_LOG_LEVEL_TO_VERBOSITY(level));
+	} else {
+		flags |= FIELD_PREP(GUC_LOG_VERBOSITY,
+				    GUC_LOG_LEVEL_TO_VERBOSITY(level));
+		flags |= FIELD_PREP(GUC_LOG_DESTINATION,
+				    xe_configfs_get_guc_log_target(pdev));
+	}
 
 	return flags;
 }
Signature · 1 line
2.43.0
#28 lore raw

PATCH 8/10 drm/xe: Add infrastructure for debug configfs parameters

In reply to Stuart Summers

Borrow the X-macro pattern from i915_debugfs_params.c and adapt it to the Xe debug configfs interface, so future debug-only configfs entries can be added with a single line.

Add a new header xe_configfs_debug_params.h that defines:

XE_CONFIGFS_DEBUG_PARAMS_FOR_EACH(param)

invoked as
'param(type, name, default, validator, visibility, getter, fallback)' for each debug configfs parameter. The matching backing struct, default initializer fragment, configfs_attribute objects, show/store handlers, entries in xe_configfs_debug_attrs[] and the xe_configfs_get_<name>() accessor are all generated from this single list.

Supported type tokens are int, bool, u8, u16, u32 and u64. Sized unsigned types are used directly rather than mirroring i915's int/unsigned int (which exists there only because those debugfs entries shadow module_param values, and module_param itself does not support sized types).

The validator slot is a function-like macro that takes the parsed typed value and returns 0 or a negative errno. XE_PARAM_VALIDATE_NONE is provided for parameters whose full type range is acceptable. Function-like macros (rather than function pointers) let the compiler fold trivial validators away entirely.

The visibility slot is a function-like macro that takes a config_item and returns whether the attribute should be visible.

The getter and fallback slots drive the generated xe_configfs_get_<name>(pdev) accessor: getter(dev, name) computes the return value from a found device group, while fallback is returned when no device group matches. Most parameters just read the stored value and repeat their default as the fallback (XE_PARAM_GETTER_READ); a parameter can override either slot when its accessor needs different behavior.

The auto-generated handlers, configfs_attribute objects and getters live in a new xe_configfs_debug_params.c so they do not crowd the hand-written entries in xe_configfs_debug.c. The attribute objects are non-static (declared 'extern' in the header) so xe_configfs_debug.c can splice them into xe_configfs_debug_attrs[] and reference them from is_visible().

The parameter list is intentionally empty in this patch; converting existing entries (or adding new ones) is left to follow-up changes so this infrastructure can be reviewed in isolation.

Note that the expectation is a user will only set these debug parameters when CONFIG_DRM_XE_DEBUG is set; the entire facility lives behind that Kconfig.

Assisted-by Copilot:claude-sonnet-4.6,claude-opus-4.7,claude-sonnet-5
---
 drivers/gpu/drm/xe/Makefile                   |   2 +-
 drivers/gpu/drm/xe/xe_configfs_debug_params.c | 151 +++++++++++++++
 drivers/gpu/drm/xe/xe_configfs_debug_params.h | 174 ++++++++++++++++++
 3 files changed, 326 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug_params.c
 create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug_params.h
drivers/gpu/drm/xe/Makefile +1 -1
index 0b71f311c9c4..2fcde432abc6 100644
@@ -163,7 +163,7 @@ xe-$(CONFIG_HWMON) += xe_hwmon.o
 
 xe-$(CONFIG_PERF_EVENTS) += xe_pmu.o
 xe-$(CONFIG_CONFIGFS_FS) += xe_configfs.o
-xe_debug_configfs_obj-$(CONFIG_DRM_XE_DEBUG) := xe_configfs_debug.o
+xe_debug_configfs_obj-$(CONFIG_DRM_XE_DEBUG) := xe_configfs_debug.o xe_configfs_debug_params.o
 xe-$(CONFIG_CONFIGFS_FS) += $(xe_debug_configfs_obj-y)
 
 # graphics virtualization (SR-IOV) support
drivers/gpu/drm/xe/xe_configfs_debug_params.c new file +151 -0

151 lines not on this page · raw message

drivers/gpu/drm/xe/xe_configfs_debug_params.h new file +174 -0

174 lines not on this page · raw message

Signature · 1 line
2.43.0
#29 lore raw

PATCH 9/10 drm/xe: Migrate existing debug configfs entries to params infrastructure

In reply to Stuart Summers

Move the existing debug configfs entries whose semantics fit the generic show/store template into the new parameter list.

Add validators for the guc_log_level and guc_log_target.

Add a custom getter for the guc_log_level to fall back to the modparam.

The new parameters are intentionally longer than the normal 80 character limit for readability.

Assisted-by Copilot:claude-sonnet-4.6,claude-opus-4.7,claude-sonnet-5
---
 drivers/gpu/drm/xe/xe_configfs.c              |  17 +-
 drivers/gpu/drm/xe/xe_configfs_debug.c        | 277 +-----------------
 drivers/gpu/drm/xe/xe_configfs_debug.h        |  20 +-
 drivers/gpu/drm/xe/xe_configfs_debug_params.c |   1 +
 drivers/gpu/drm/xe/xe_configfs_debug_params.h |  22 +-
 drivers/gpu/drm/xe/xe_configfs_types.h        |   7 +-
 drivers/gpu/drm/xe/xe_guc.c                   |   2 +-
 drivers/gpu/drm/xe/xe_psmi.c                  |   2 +-
 drivers/gpu/drm/xe/xe_rtp.c                   |   2 +-
 9 files changed, 47 insertions(+), 303 deletions(-)
drivers/gpu/drm/xe/xe_configfs.c +7 -10
index c5d5017cd506..62d3406c61b6 100644
@@ -100,11 +100,9 @@ const struct xe_config_device xe_configfs_device_defaults = {
 	.debug = {
 		.engines_allowed = U64_MAX,
 		.gt_types_allowed = U64_MAX,
-		.guc_log_level = XE_GUC_LOG_LEVEL_UNSET,
-		.guc_log_target = XE_DEFAULT_GUC_LOG_TARGET,
-		.enable_multi_queue = true,
-		.enable_psmi = false,
-		.survivability_mode = false,
+		.params = {
+			XE_CONFIGFS_DEBUG_PARAMS_DEFAULTS
+		},
 	},
 #endif
 	.sriov = {
@@ -420,11 +418,10 @@ static void dump_custom_dev_config(struct pci_dev *pdev,
 #if IS_ENABLED(CONFIG_DRM_XE_DEBUG)
 	PRI_CUSTOM_ATTR("%llx", debug.engines_allowed);
 	PRI_CUSTOM_ATTR("%llx", debug.gt_types_allowed);
-	PRI_CUSTOM_ATTR("%d", debug.guc_log_level);
-	PRI_CUSTOM_ATTR("%d", debug.guc_log_target);
-	PRI_CUSTOM_ATTR("%d", debug.enable_multi_queue);
-	PRI_CUSTOM_ATTR("%d", debug.enable_psmi);
-	PRI_CUSTOM_ATTR("%d", debug.survivability_mode);
+#define _XE_PARAM_DUMP(_T, _name, _def, _val, _vis, _get, _fallback) \
+	PRI_CUSTOM_ATTR(XE_PARAM_FMT_##_T, debug.params._name);
+	XE_CONFIGFS_DEBUG_PARAMS_FOR_EACH(_XE_PARAM_DUMP)
+#undef _XE_PARAM_DUMP
 #endif
 	PRI_CUSTOM_ATTR("%u", sriov.admin_only_pf);
 
drivers/gpu/drm/xe/xe_configfs_debug.c +10 -267

306 lines not on this page · raw message

drivers/gpu/drm/xe/xe_configfs_debug.h +3 -17
index b97a7fff6652..375ddc17ba36 100644
@@ -7,7 +7,7 @@
 
 #include <linux/types.h>
 
-#include "xe_defaults.h"
+#include "xe_configfs_debug_params.h"
 #include "xe_hw_engine_types.h"
 #include "xe_module.h"
 
@@ -26,11 +26,7 @@ u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
 u64 xe_configfs_get_engines_allowed(struct pci_dev *pdev);
 bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev);
 bool xe_configfs_media_gt_allowed(struct pci_dev *pdev);
-int xe_configfs_get_guc_log_level(struct pci_dev *pdev);
-u8 xe_configfs_get_guc_log_target(struct pci_dev *pdev);
-bool xe_configfs_get_enable_multi_queue(struct pci_dev *pdev);
-bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev);
-bool xe_configfs_get_survivability_mode(struct pci_dev *pdev);
+XE_CONFIGFS_DEBUG_PARAMS_FOR_EACH(XE_PARAM_DECLARE_GETTER)
 #else
 /*
  * Dummy values here are not used since these function accesses are always
@@ -46,17 +42,7 @@ static inline u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
 static inline u64 xe_configfs_get_engines_allowed(struct pci_dev *pdev) { return U64_MAX; }
 static inline bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev) { return true; }
 static inline bool xe_configfs_media_gt_allowed(struct pci_dev *pdev) { return true; }
-static inline int xe_configfs_get_guc_log_level(struct pci_dev *pdev)
-{
-	return xe_modparam.guc_log_level;
-}
-static inline u8 xe_configfs_get_guc_log_target(struct pci_dev *pdev)
-{
-	return XE_DEFAULT_GUC_LOG_TARGET;
-}
-static inline bool xe_configfs_get_enable_multi_queue(struct pci_dev *pdev) { return true; }
-static inline bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev) { return false; }
-static inline bool xe_configfs_get_survivability_mode(struct pci_dev *pdev) { return false; }
+XE_CONFIGFS_DEBUG_PARAMS_FOR_EACH(XE_PARAM_DECLARE_GETTER_STUB)
 #endif
 
 #endif /* _XE_CONFIGFS_DEBUG_H_ */
drivers/gpu/drm/xe/xe_configfs_debug_params.c +1 -0
index c28d2e4693f8..b85bd82c8c94 100644
@@ -40,6 +40,7 @@
 
 #include "xe_configfs_debug_params.h"
 #include "xe_configfs.h"
+#include "xe_configfs_debug.h"
 
 #define _XE_PARAM_DEFINE_OPS_NUMERIC(_T, _name, _kstrto, _fmt, _validator) \
 static ssize_t _name##_show(struct config_item *item, char *page) \
drivers/gpu/drm/xe/xe_configfs_debug_params.h +21 -1
index 3ed7ed22961f..d20c1f1250a1 100644
@@ -10,6 +10,12 @@
 #include <linux/errno.h>
 #include <linux/types.h>
 
+#include "abi/guc_log_abi.h"
+#include "xe_defaults.h"
+#include "xe_guc_fwif.h"
+#include "xe_guc_log.h"
+#include "xe_module.h"
+
 struct pci_dev;
 
 /*
@@ -49,6 +55,12 @@ struct pci_dev;
  */
 #define XE_PARAM_VALIDATE_NONE(_v)		(0)
 
+#define XE_PARAM_VALIDATE_GUC_LOG_LEVEL(_v) \
+	(((_v) == XE_GUC_LOG_LEVEL_UNSET || \
+	  ((_v) >= 0 && (_v) <= GUC_LOG_LEVEL_MAX)) ? 0 : -EINVAL)
+#define XE_PARAM_VALIDATE_GUC_LOG_TARGET(_v) \
+	(((_v) <= GUC_LOG_TARGET_MAX) ? 0 : -EINVAL)
+
 /*
  * Per-parameter getter helpers.
  *
@@ -71,6 +83,10 @@ struct pci_dev;
  */
 #define XE_PARAM_GETTER_READ(_dev, _name)	((_dev)->config.debug.params._name)
 
+#define XE_PARAM_GETTER_GUC_LOG_LEVEL(_dev, _name) \
+	({ typeof((_dev)->config.debug.params._name) __v = (_dev)->config.debug.params._name; \
+	   __v >= 0 ? __v : xe_modparam.guc_log_level; })
+
 /**
  * XE_CONFIGFS_DEBUG_PARAMS_FOR_EACH - iterate over debug configfs params
  * @param: function-like macro called as
@@ -106,7 +122,11 @@ struct pci_dev;
  * at runtime if needed.
  */
 #define XE_CONFIGFS_DEBUG_PARAMS_FOR_EACH(param) \
-	/* No parameters yet - add entries above this line. */
+	param(int,  guc_log_level,      XE_GUC_LOG_LEVEL_UNSET,    XE_PARAM_VALIDATE_GUC_LOG_LEVEL,  XE_PARAM_VISIBLE_ALWAYS,        XE_PARAM_GETTER_GUC_LOG_LEVEL, xe_modparam.guc_log_level) \
+	param(u8,   guc_log_target,     XE_DEFAULT_GUC_LOG_TARGET, XE_PARAM_VALIDATE_GUC_LOG_TARGET, XE_PARAM_VISIBLE_ALWAYS,        XE_PARAM_GETTER_READ,          XE_DEFAULT_GUC_LOG_TARGET) \
+	param(bool, enable_multi_queue, true,                      XE_PARAM_VALIDATE_NONE,           XE_PARAM_VISIBLE_ALWAYS,        XE_PARAM_GETTER_READ,          true) \
+	param(bool, enable_psmi,        false,                     XE_PARAM_VALIDATE_NONE,           XE_PARAM_VISIBLE_ALWAYS,        XE_PARAM_GETTER_READ,          false) \
+	param(bool, survivability_mode, false,                     XE_PARAM_VALIDATE_NONE,           XE_PARAM_VISIBLE_SURVIVABILITY, XE_PARAM_GETTER_READ,          false)
 
 /* Generate the struct that backs all debug params in xe_config_device. */
 #define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;
drivers/gpu/drm/xe/xe_configfs_types.h +2 -5
index 1123f6e2a668..c6eb90573866 100644
@@ -9,6 +9,7 @@
 #include <linux/mutex.h>
 #include <linux/types.h>
 
+#include "xe_configfs_debug_params.h"
 #include "xe_hw_engine_types.h"
 #include "xe_pci_types.h"
 #include "xe_sriov_types.h"
@@ -38,11 +39,7 @@ struct xe_config_group_device {
 			struct wa_bb ctx_restore_post_bb[XE_ENGINE_CLASS_MAX];
 			u64 engines_allowed;
 			u64 gt_types_allowed;
-			int guc_log_level;
-			u8 guc_log_target;
-			bool enable_multi_queue;
-			bool enable_psmi;
-			bool survivability_mode;
+			struct xe_configfs_debug_params params;
 		} debug;
 #endif
 		struct {
drivers/gpu/drm/xe/xe_guc.c +1 -1
index f463adff2737..1140f72406ee 100644
@@ -100,7 +100,7 @@ static u32 guc_ctl_feature_flags(struct xe_guc *guc)
 	if (!xe->info.skip_guc_pc)
 		flags |= GUC_CTL_ENABLE_SLPC;
 
-	if (xe_configfs_get_psmi_enabled(to_pci_dev(xe->drm.dev)))
+	if (xe_configfs_get_enable_psmi(to_pci_dev(xe->drm.dev)))
 		flags |= GUC_CTL_ENABLE_PSMI_LOGGING;
 
 	if (xe_guc_using_main_gamctrl_queues(guc))
drivers/gpu/drm/xe/xe_psmi.c +1 -1
index 59af3d145418..ff9a14949339 100644
@@ -34,7 +34,7 @@
 
 static bool psmi_enabled(struct xe_device *xe)
 {
-	return xe_configfs_get_psmi_enabled(to_pci_dev(xe->drm.dev));
+	return xe_configfs_get_enable_psmi(to_pci_dev(xe->drm.dev));
 }
 
 static void psmi_free_object(struct xe_bo *bo)
drivers/gpu/drm/xe/xe_rtp.c +1 -1
index 62068189320f..3ead1eac93f5 100644
@@ -450,7 +450,7 @@ bool xe_rtp_match_psmi_enabled(const struct xe_device *xe,
 			       const struct xe_gt *gt,
 			       const struct xe_hw_engine *hwe)
 {
-	return xe_configfs_get_psmi_enabled(to_pci_dev(xe->drm.dev));
+	return xe_configfs_get_enable_psmi(to_pci_dev(xe->drm.dev));
 }
 
 bool xe_rtp_match_gt_has_discontiguous_dss_groups(const struct xe_device *xe,
Signature · 1 line
2.43.0
#30 lore raw

PATCH 10/10 drm/xe: Taint kernel when debug configfs parameters are set

In reply to Stuart Summers

Writing any debug configfs attribute indicates the system is running in a non-standard configuration that may mask bugs or produce misleading behaviour. Taint the kernel with TAINT_TEST on each successful write so bug reports clearly reflect when debug settings were active.

Assisted-by Copilot:claude-sonnet-4.6,claude-sonnet-5
---
 drivers/gpu/drm/xe/xe_configfs_debug.c        | 12 ++++++++++++
 drivers/gpu/drm/xe/xe_configfs_debug_params.c |  6 ++++++
 2 files changed, 18 insertions(+)
drivers/gpu/drm/xe/xe_configfs_debug.c +12 -0
index 2429d11f27a7..6cd206ec2ec4 100644
@@ -8,6 +8,7 @@
 #include <linux/module.h>
 #include <linux/cleanup.h>
 #include <linux/find.h>
+#include <linux/panic.h>
 #include <linux/pci.h>
 #include <linux/string.h>
 
@@ -33,6 +34,10 @@
  * and driver debugging and are not stable ABI. Using them is "at your own
  * risk".
  *
+ * Writing any debug attribute taints the kernel with ``TAINT_TEST``. This
+ * makes it visible in bug reports when a non-standard or unsafe configuration
+ * was active.
+ *
  * See the top-level ``Xe Configfs`` documentation in ``xe_configfs.c``
  * for how to create, probe and remove configfs devices. Once a device
  * directory exists, the driver populates it with a ``debug/`` subdirectory
@@ -528,6 +533,7 @@ static ssize_t wa_bb_store(struct wa_bb wa_bb[static XE_ENGINE_CLASS_MAX],
 
 	if (!count) {
 		memset(wa_bb, 0, sizeof(tmp_wa_bb));
+		add_taint(TAINT_TEST, LOCKDEP_STILL_OK);
 		return len;
 	}
 
@@ -547,6 +553,8 @@ static ssize_t wa_bb_store(struct wa_bb wa_bb[static XE_ENGINE_CLASS_MAX],
 
 	memcpy(wa_bb, tmp_wa_bb, sizeof(tmp_wa_bb));
 
+	add_taint(TAINT_TEST, LOCKDEP_STILL_OK);
+
 	return len;
 }
 
@@ -699,6 +707,8 @@ static ssize_t engines_allowed_store(struct config_item *item, const char *page,
 
 	dev->config.debug.engines_allowed = val;
 
+	add_taint(TAINT_TEST, LOCKDEP_STILL_OK);
+
 	return len;
 }
 
@@ -789,6 +799,8 @@ static ssize_t gt_types_allowed_store(struct config_item *item, const char *page
 
 	dev->config.debug.gt_types_allowed = typemask;
 
+	add_taint(TAINT_TEST, LOCKDEP_STILL_OK);
+
 	return len;
 }
 
drivers/gpu/drm/xe/xe_configfs_debug_params.c +6 -0
index b85bd82c8c94..5a69d4b15442 100644
@@ -29,11 +29,15 @@
  * This file also generates the xe_configfs_get_<name>() accessors used
  * by the rest of the driver to read a parameter's effective value; see
  * the DOC section below.
+ *
+ * Setting these parameters taints the kernel since these are intended
+ * for debug and testing purposes only.
  */
 
 #include <linux/cleanup.h>
 #include <linux/configfs.h>
 #include <linux/kernel.h>
+#include <linux/panic.h>
 #include <linux/pci.h>
 #include <linux/string.h>
 #include <linux/sysfs.h>
@@ -65,6 +69,7 @@ static ssize_t _name##_store(struct config_item *item, const char *page, size_t
 	if (xe_configfs_is_bound(dev)) \
 		return -EBUSY; \
 	dev->config.debug.params._name = val; \
+	add_taint(TAINT_TEST, LOCKDEP_STILL_OK); \
 	return len; \
 }
 
@@ -101,6 +106,7 @@ static ssize_t _name##_store(struct config_item *item, const char *page, size_t
 	if (xe_configfs_is_bound(dev)) \
 		return -EBUSY; \
 	dev->config.debug.params._name = val; \
+	add_taint(TAINT_TEST, LOCKDEP_STILL_OK); \
 	return len; \
 }
 
Signature · 1 line
2.43.0
#31 lore raw

Re: [PATCH 10/10] drm/xe: Taint kernel when debug configfs parameters are set

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:

Pre-existing issues:
- [High] An out-of-bounds read occurs in parse_wa_bb_lines when parsing a configfs string that does not end with a newline or whitespace. --

--- Patch [10]: [PATCH 10/10] drm/xe: Taint kernel when debug configfs parameters are set --- commit 7e0ffcb5910459cff420b85bbfb7e80c0fa6b9b1
Author: Stuart Summers <[email protected]>

drm/xe: Taint kernel when debug configfs parameters are set

Writing any debug configfs attribute indicates the system is running in a non-standard configuration that may mask bugs or produce misleading behaviour. Taint the kernel with TAINT_TEST on each successful write so bug reports clearly reflect when debug settings were active.

Quoted 4 lines
drivers/gpu/drm/xe/xe_configfs_debug.c +0 -0
index 2429d11f27a75..6cd206ec2ec4f 100644

[ ... ]

drivers/gpu/drm/xe/xe_configfs_debug.c static ssize_t wa_bb_store(struct wa_bb wa_bb[static XE_ENGINE_CLASS_MAX], · line 538

Quoted 7 lines
drivers/gpu/drm/xe/xe_configfs_debug.c +1 -0
@@ -528,6 +533,7 @@ static ssize_t wa_bb_store(struct wa_bb wa_bb[static XE_ENGINE_CLASS_MAX],
 
 	if (!count) {
 		memset(wa_bb, 0, sizeof(tmp_wa_bb));
+		add_taint(TAINT_TEST, LOCKDEP_STILL_OK);
 		return len;
 	}

[Severity: High]
This isn't a bug introduced by this patch, but can this lead to an out-of-bounds read in parse_wa_bb_lines() when called from wa_bb_store()?

If userspace writes a string to the configfs attribute that does not end with a trailing newline (e.g., echo -n 'rcs cmd 1'), the inner parsing logic in parse_wa_bb_lines() processes the tokens and leaves the pointer at the null terminator:

drivers/gpu/drm/xe/xe_configfs_debug.c:parse_wa_bb_lines() {
    ...
    for (p = lines; *p; p++) {
        ...
        if (str_has_prefix(p, "cmd")) {
            for (p += strlen("cmd"); *p;) {
                ret = parse_hex(p, &val);
                ...
                p += ret;
            }
        }
        ...
    }
}

Because the outer loop unconditionally increments the pointer with p++ at the end of each iteration, if p is already at the null terminator ('\0') after the inner parsing, p++ pushes it out-of-bounds. The subsequent outer loop condition check *p then reads out-of-bounds memory.

If the configfs input string is exactly 4095 bytes long, this read could cross the PAGE_SIZE boundary of the allocated buffer and trigger a kernel panic.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=10
#32 lore raw

✗ CI.checkpatch: warning for Add new debug infrastructure for configfs (rev7)

In reply to Stuart Summers
== Series Details ==

== Series Details ==

Series: Add new debug infrastructure for configfs (rev7)
URL : https://patchwork.freedesktop.org/series/165879/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7b86d267b13e4e3a6c2f3de4f5901a48877fcdf4

Author: Stuart Summers <[email protected]>
Date:   Thu Aug 20 21:06:49 2026 +0000

drm/xe: Taint kernel when debug configfs parameters are set

Writing any debug configfs attribute indicates the system is running in a non-standard configuration that may mask bugs or produce misleading behaviour. Taint the kernel with TAINT_TEST on each successful write so bug reports clearly reflect when debug settings were active.

Assisted-by Copilot:claude-sonnet-4.6,claude-sonnet-5

+ /mt/dim checkpatch 75140c4ee9ad250b2524ff5bfffd7f9fe4bb6012 drm-intel f56981f3af33 drm/xe: Guard configfs attribute reads in getters dcc6dc1a9a2d drm/xe: Sort xe_config_device fields
-:825: WARNING:LINE_SPACING: Missing a blank line after declarations #825: FILE: drivers/gpu/drm/xe/xe_configfs.c:868:
+ struct xe_config_group_device *dev = to_xe_config_group_device(item);
+ char *buf __free(kfree) = kstrdup(page, GFP_KERNEL);

total: 0 errors, 1 warnings, 0 checks, 1269 lines checked
6589cf31edbb drm/xe: Split out configfs data structures
-:100: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #100:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 122 lines checked
0503066399a2 drm/xe: Add a new debug focused configfs group
-:51: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #51:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 61 lines checked 19ae7ad9b83c drm/xe: Move debug configfs entries to xe_configfs_debug.c -:1504: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #1504: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:219:
+ { .cls = "vcs", .mask = XE_HW_ENGINE_VCS_MASK, .engine_class = XE_ENGINE_CLASS_VIDEO_DECODE },

-:1505: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #1505: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:220:
+ { .cls = "vecs", .mask = XE_HW_ENGINE_VECS_MASK, .engine_class = XE_ENGINE_CLASS_VIDEO_ENHANCE },

-:2216: WARNING:MACRO_ARG_UNUSED: Argument '_item' is not used in function-like macro #2216: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:931:
+#define XE_PARAM_VISIBLE_ALWAYS(_item) \
+ (true)

-:2218: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_item' - possible side-effects? #2218: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:933:
+#define XE_PARAM_VISIBLE_SURVIVABILITY(_item) \
+ (xe_configfs_subgroup_to_group_device(_item)->desc->is_dgfx && \
+ xe_configfs_subgroup_to_group_device(_item)->desc->platform >= XE_BATTLEMAGE)

total: 0 errors, 3 warnings, 1 checks, 2338 lines checked
136a4c9d4c37 drm/xe/guc: Add configfs support for guc_log_level
c03e3d334a89 drm/xe/guc: Add support for NPK as a GuC log target
-:178: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #178: FILE: drivers/gpu/drm/xe/xe_configfs_debug.h:53:
}
+static inline u8 xe_configfs_get_guc_log_target(struct pci_dev *pdev)

total: 0 errors, 0 warnings, 1 checks, 180 lines checked
0ef926a4b2d9 drm/xe: Add infrastructure for debug configfs parameters
-:76: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #76:
new file mode 100644

-:124: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_name' - possible side-effects? #124: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:44:
+#define _XE_PARAM_DEFINE_OPS_NUMERIC(_T, _name, _kstrto, _fmt, _validator) \
+static ssize_t _name##_show(struct config_item *item, char *page) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_subgroup_to_group_device(item); \
+ XE_PARAM_TYPE_##_T val; \
+ scoped_guard(mutex, &dev->lock) \
+ val = dev->config.debug.params._name; \
+ return sprintf(page, _fmt "\n", val); \
+} \
+static ssize_t _name##_store(struct config_item *item, const char *page, size_t len) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_subgroup_to_group_device(item); \
+ XE_PARAM_TYPE_##_T val; \
+ int ret = _kstrto(page, 0, &val); \
+ if (ret) \
+ return ret; \
+ ret = _validator(val); \
+ if (ret) \
+ return ret; \
+ guard(mutex)(&dev->lock); \
+ if (xe_configfs_is_bound(dev)) \
+ return -EBUSY; \
+ dev->config.debug.params._name = val; \
+ return len; \
+}

-:160: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_name' - possible side-effects? #160: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:80:
+#define _XE_PARAM_DEFINE_OPS_bool(_name, _validator) \
+static ssize_t _name##_show(struct config_item *item, char *page) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_subgroup_to_group_device(item); \
+ bool val; \
+ scoped_guard(mutex, &dev->lock) \
+ val = dev->config.debug.params._name; \
+ return sprintf(page, "%d\n", val); \
+} \
+static ssize_t _name##_store(struct config_item *item, const char *page, size_t len) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_subgroup_to_group_device(item); \
+ bool val; \
+ int ret = kstrtobool(page, &val); \
+ if (ret) \
+ return ret; \
+ ret = _validator(val); \
+ if (ret) \
+ return ret; \
+ guard(mutex)(&dev->lock); \
+ if (xe_configfs_is_bound(dev)) \
+ return -EBUSY; \
+ dev->config.debug.params._name = val; \
+ return len; \
+}

-:186: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #186: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:106:
+#define _XE_PARAM_DEFINE_OPS(_T, _name, _def, _validator, _vis, _get, _fallback) \
+ _XE_PARAM_DEFINE_OPS_##_T(_name, _validator)

-:186: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #186: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:106:
+#define _XE_PARAM_DEFINE_OPS(_T, _name, _def, _validator, _vis, _get, _fallback) \
+ _XE_PARAM_DEFINE_OPS_##_T(_name, _validator)

-:186: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #186: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:106:
+#define _XE_PARAM_DEFINE_OPS(_T, _name, _def, _validator, _vis, _get, _fallback) \
+ _XE_PARAM_DEFINE_OPS_##_T(_name, _validator)

-:186: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #186: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:106:
+#define _XE_PARAM_DEFINE_OPS(_T, _name, _def, _validator, _vis, _get, _fallback) \
+ _XE_PARAM_DEFINE_OPS_##_T(_name, _validator)

-:194: WARNING:MACRO_ARG_UNUSED: Argument '_T' is not used in function-like macro #194: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:114:
+#define _XE_PARAM_DEFINE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+struct configfs_attribute xe_configfs_attr_##_name = { \
+ .ca_name = __stringify(_name), \
+ .ca_owner = THIS_MODULE, \
+ .ca_mode = 0644, \
+ .show = _name##_show, \
+ .store = _name##_store, \
+};

-:194: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #194: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:114:
+#define _XE_PARAM_DEFINE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+struct configfs_attribute xe_configfs_attr_##_name = { \
+ .ca_name = __stringify(_name), \
+ .ca_owner = THIS_MODULE, \
+ .ca_mode = 0644, \
+ .show = _name##_show, \
+ .store = _name##_store, \
+};

-:194: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #194: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:114:
+#define _XE_PARAM_DEFINE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+struct configfs_attribute xe_configfs_attr_##_name = { \
+ .ca_name = __stringify(_name), \
+ .ca_owner = THIS_MODULE, \
+ .ca_mode = 0644, \
+ .show = _name##_show, \
+ .store = _name##_store, \
+};

-:194: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #194: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:114:
+#define _XE_PARAM_DEFINE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+struct configfs_attribute xe_configfs_attr_##_name = { \
+ .ca_name = __stringify(_name), \
+ .ca_owner = THIS_MODULE, \
+ .ca_mode = 0644, \
+ .show = _name##_show, \
+ .store = _name##_store, \
+};

-:194: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #194: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:114:
+#define _XE_PARAM_DEFINE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+struct configfs_attribute xe_configfs_attr_##_name = { \
+ .ca_name = __stringify(_name), \
+ .ca_owner = THIS_MODULE, \
+ .ca_mode = 0644, \
+ .show = _name##_show, \
+ .store = _name##_store, \
+};

-:194: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #194: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:114:
+#define _XE_PARAM_DEFINE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+struct configfs_attribute xe_configfs_attr_##_name = { \
+ .ca_name = __stringify(_name), \
+ .ca_owner = THIS_MODULE, \
+ .ca_mode = 0644, \
+ .show = _name##_show, \
+ .store = _name##_store, \
+};

-:194: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #194: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:114:
+#define _XE_PARAM_DEFINE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+struct configfs_attribute xe_configfs_attr_##_name = { \
+ .ca_name = __stringify(_name), \
+ .ca_owner = THIS_MODULE, \
+ .ca_mode = 0644, \
+ .show = _name##_show, \
+ .store = _name##_store, \
+};

-:218: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #218: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:138:
+#define _XE_PARAM_DEFINE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_find_group_device(pdev); \
+ XE_PARAM_TYPE_##_T ret; \
+ if (!dev) \
+ return (_fallback); \
+ scoped_guard(mutex, &dev->lock) \
+ ret = _get(dev, _name); \
+ config_group_put(&dev->group); \
+ return ret; \
+}

BUT SEE:

do {} while (0) advice is over-stated in a few situations:

The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.

More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.

Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.

Enjoy this qualification while we work to improve our heuristics.

-:218: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #218: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:138:
+#define _XE_PARAM_DEFINE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_find_group_device(pdev); \
+ XE_PARAM_TYPE_##_T ret; \
+ if (!dev) \
+ return (_fallback); \
+ scoped_guard(mutex, &dev->lock) \
+ ret = _get(dev, _name); \
+ config_group_put(&dev->group); \
+ return ret; \
+}

-:218: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #218: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:138:
+#define _XE_PARAM_DEFINE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_find_group_device(pdev); \
+ XE_PARAM_TYPE_##_T ret; \
+ if (!dev) \
+ return (_fallback); \
+ scoped_guard(mutex, &dev->lock) \
+ ret = _get(dev, _name); \
+ config_group_put(&dev->group); \
+ return ret; \
+}

-:218: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #218: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:138:
+#define _XE_PARAM_DEFINE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ struct xe_config_group_device *dev = xe_configfs_find_group_device(pdev); \
+ XE_PARAM_TYPE_##_T ret; \
+ if (!dev) \
+ return (_fallback); \
+ scoped_guard(mutex, &dev->lock) \
+ ret = _get(dev, _name); \
+ config_group_put(&dev->group); \
+ return ret; \
+}

-:230: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #230: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.c:150:
+}
+XE_CONFIGFS_DEBUG_PARAMS_FOR_EACH(_XE_PARAM_DEFINE_GETTER)

-:287: WARNING:MACRO_ARG_UNUSED: Argument '_v' is not used in function-like macro #287: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:50:
+#define XE_PARAM_VALIDATE_NONE(_v) (0)

-:349: WARNING:MULTISTATEMENT_MACRO_USE_DO_WHILE: Non-declarative macros with multiple statements should be enclosed in a do - while loop #349: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:112:
+#define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;

BUT SEE:

do {} while (0) advice is over-stated in a few situations:

The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.

More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.

Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.

Enjoy this qualification while we work to improve our heuristics.

-:349: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #349: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:112:
+#define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;

-:349: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #349: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:112:
+#define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;

-:349: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #349: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:112:
+#define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;

-:349: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #349: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:112:
+#define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;

-:349: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #349: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:112:
+#define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;

-:349: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #349: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:112:
+#define _XE_PARAM_MEMBER(_T, _name, _def, _val, _vis, _get, _fallback) XE_PARAM_TYPE_##_T _name;

-:363: WARNING:MACRO_ARG_UNUSED: Argument '_T' is not used in function-like macro #363: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:126:
+#define _XE_PARAM_DEFAULT_INIT(_T, _name, _def, _val, _vis, _get, _fallback) ._name = (_def),

-:363: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #363: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:126:
+#define _XE_PARAM_DEFAULT_INIT(_T, _name, _def, _val, _vis, _get, _fallback) ._name = (_def),

-:363: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #363: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:126:
+#define _XE_PARAM_DEFAULT_INIT(_T, _name, _def, _val, _vis, _get, _fallback) ._name = (_def),

-:363: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #363: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:126:
+#define _XE_PARAM_DEFAULT_INIT(_T, _name, _def, _val, _vis, _get, _fallback) ._name = (_def),

-:363: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #363: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:126:
+#define _XE_PARAM_DEFAULT_INIT(_T, _name, _def, _val, _vis, _get, _fallback) ._name = (_def),

-:376: WARNING:MACRO_ARG_UNUSED: Argument '_T' is not used in function-like macro #376: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:139:
+#define _XE_PARAM_DECLARE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ extern struct configfs_attribute xe_configfs_attr_##_name;

-:376: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #376: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:139:
+#define _XE_PARAM_DECLARE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ extern struct configfs_attribute xe_configfs_attr_##_name;

-:376: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #376: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:139:
+#define _XE_PARAM_DECLARE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ extern struct configfs_attribute xe_configfs_attr_##_name;

-:376: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #376: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:139:
+#define _XE_PARAM_DECLARE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ extern struct configfs_attribute xe_configfs_attr_##_name;

-:376: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #376: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:139:
+#define _XE_PARAM_DECLARE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ extern struct configfs_attribute xe_configfs_attr_##_name;

-:376: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #376: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:139:
+#define _XE_PARAM_DECLARE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ extern struct configfs_attribute xe_configfs_attr_##_name;

-:376: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #376: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:139:
+#define _XE_PARAM_DECLARE_ATTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ extern struct configfs_attribute xe_configfs_attr_##_name;

-:385: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #385: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:148:
+#define XE_PARAM_ATTR_PTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ &xe_configfs_attr_##_name,

BUT SEE:

do {} while (0) advice is over-stated in a few situations:

The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.

More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.

Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.

Enjoy this qualification while we work to improve our heuristics.

-:385: WARNING:MACRO_ARG_UNUSED: Argument '_T' is not used in function-like macro #385: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:148:
+#define XE_PARAM_ATTR_PTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ &xe_configfs_attr_##_name,

-:385: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #385: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:148:
+#define XE_PARAM_ATTR_PTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ &xe_configfs_attr_##_name,

-:385: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #385: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:148:
+#define XE_PARAM_ATTR_PTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ &xe_configfs_attr_##_name,

-:385: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #385: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:148:
+#define XE_PARAM_ATTR_PTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ &xe_configfs_attr_##_name,

-:385: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #385: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:148:
+#define XE_PARAM_ATTR_PTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ &xe_configfs_attr_##_name,

-:385: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #385: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:148:
+#define XE_PARAM_ATTR_PTR(_T, _name, _def, _val, _vis, _get, _fallback) \
+ &xe_configfs_attr_##_name,

-:396: WARNING:MULTISTATEMENT_MACRO_USE_DO_WHILE: Non-declarative macros with multiple statements should be enclosed in a do - while loop #396: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:159:
+#define XE_PARAM_DECLARE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+ XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev);

BUT SEE:

do {} while (0) advice is over-stated in a few situations:

The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.

More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.

Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.

Enjoy this qualification while we work to improve our heuristics.

-:396: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #396: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:159:
+#define XE_PARAM_DECLARE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+ XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev);

-:396: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #396: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:159:
+#define XE_PARAM_DECLARE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+ XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev);

-:396: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #396: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:159:
+#define XE_PARAM_DECLARE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+ XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev);

-:396: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #396: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:159:
+#define XE_PARAM_DECLARE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+ XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev);

-:396: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #396: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:159:
+#define XE_PARAM_DECLARE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+ XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev);

-:396: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #396: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:159:
+#define XE_PARAM_DECLARE_GETTER(_T, _name, _def, _val, _vis, _get, _fallback) \
+ XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev);

-:405: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #405: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:168:
+#define XE_PARAM_DECLARE_GETTER_STUB(_T, _name, _def, _val, _vis, _get, _fallback) \
+static inline XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ return _fallback; \
+}

BUT SEE:

do {} while (0) advice is over-stated in a few situations:

The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.

More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.

Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.

Enjoy this qualification while we work to improve our heuristics.

-:405: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #405: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:168:
+#define XE_PARAM_DECLARE_GETTER_STUB(_T, _name, _def, _val, _vis, _get, _fallback) \
+static inline XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ return _fallback; \
+}

-:405: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #405: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:168:
+#define XE_PARAM_DECLARE_GETTER_STUB(_T, _name, _def, _val, _vis, _get, _fallback) \
+static inline XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ return _fallback; \
+}

-:405: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #405: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:168:
+#define XE_PARAM_DECLARE_GETTER_STUB(_T, _name, _def, _val, _vis, _get, _fallback) \
+static inline XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ return _fallback; \
+}

-:405: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #405: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:168:
+#define XE_PARAM_DECLARE_GETTER_STUB(_T, _name, _def, _val, _vis, _get, _fallback) \
+static inline XE_PARAM_TYPE_##_T xe_configfs_get_##_name(struct pci_dev *pdev) \
+{ \
+ return _fallback; \
+}

total: 3 errors, 52 warnings, 3 checks, 333 lines checked
9659ee30f198 drm/xe: Migrate existing debug configfs entries to params infrastructure -:48: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #48: FILE: drivers/gpu/drm/xe/xe_configfs.c:421:
+#define _XE_PARAM_DUMP(_T, _name, _def, _val, _vis, _get, _fallback) \
+ PRI_CUSTOM_ATTR(XE_PARAM_FMT_##_T, debug.params._name);

-:48: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #48: FILE: drivers/gpu/drm/xe/xe_configfs.c:421:
+#define _XE_PARAM_DUMP(_T, _name, _def, _val, _vis, _get, _fallback) \
+ PRI_CUSTOM_ATTR(XE_PARAM_FMT_##_T, debug.params._name);

-:48: WARNING:MACRO_ARG_UNUSED: Argument '_vis' is not used in function-like macro #48: FILE: drivers/gpu/drm/xe/xe_configfs.c:421:
+#define _XE_PARAM_DUMP(_T, _name, _def, _val, _vis, _get, _fallback) \
+ PRI_CUSTOM_ATTR(XE_PARAM_FMT_##_T, debug.params._name);

-:48: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #48: FILE: drivers/gpu/drm/xe/xe_configfs.c:421:
+#define _XE_PARAM_DUMP(_T, _name, _def, _val, _vis, _get, _fallback) \
+ PRI_CUSTOM_ATTR(XE_PARAM_FMT_##_T, debug.params._name);

-:48: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #48: FILE: drivers/gpu/drm/xe/xe_configfs.c:421:
+#define _XE_PARAM_DUMP(_T, _name, _def, _val, _vis, _get, _fallback) \
+ PRI_CUSTOM_ATTR(XE_PARAM_FMT_##_T, debug.params._name);

-:48: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #48: FILE: drivers/gpu/drm/xe/xe_configfs.c:421:
+#define _XE_PARAM_DUMP(_T, _name, _def, _val, _vis, _get, _fallback) \
+ PRI_CUSTOM_ATTR(XE_PARAM_FMT_##_T, debug.params._name);

-:338: CHECK:LINE_SPACING: Please don't use multiple blank lines #338: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:809:

+

-:352: ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros starting with if should be enclosed by a do - while loop to avoid possible if/else logic defects #352: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:828:
+#define _XE_PARAM_VIS_CHECK(_T, _name, _def, _val, _vis, _get, _fallback) \
+ if (attr == &xe_configfs_attr_##_name) \
+ return _vis(item);

-:352: WARNING:MACRO_ARG_UNUSED: Argument '_T' is not used in function-like macro #352: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:828:
+#define _XE_PARAM_VIS_CHECK(_T, _name, _def, _val, _vis, _get, _fallback) \
+ if (attr == &xe_configfs_attr_##_name) \
+ return _vis(item);

-:352: WARNING:MACRO_ARG_UNUSED: Argument '_def' is not used in function-like macro #352: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:828:
+#define _XE_PARAM_VIS_CHECK(_T, _name, _def, _val, _vis, _get, _fallback) \
+ if (attr == &xe_configfs_attr_##_name) \
+ return _vis(item);

-:352: WARNING:MACRO_ARG_UNUSED: Argument '_val' is not used in function-like macro #352: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:828:
+#define _XE_PARAM_VIS_CHECK(_T, _name, _def, _val, _vis, _get, _fallback) \
+ if (attr == &xe_configfs_attr_##_name) \
+ return _vis(item);

-:352: WARNING:MACRO_ARG_UNUSED: Argument '_get' is not used in function-like macro #352: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:828:
+#define _XE_PARAM_VIS_CHECK(_T, _name, _def, _val, _vis, _get, _fallback) \
+ if (attr == &xe_configfs_attr_##_name) \
+ return _vis(item);

-:352: WARNING:MACRO_ARG_UNUSED: Argument '_fallback' is not used in function-like macro #352: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:828:
+#define _XE_PARAM_VIS_CHECK(_T, _name, _def, _val, _vis, _get, _fallback) \
+ if (attr == &xe_configfs_attr_##_name) \
+ return _vis(item);

-:352: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #352: FILE: drivers/gpu/drm/xe/xe_configfs_debug.c:828:
+#define _XE_PARAM_VIS_CHECK(_T, _name, _def, _val, _vis, _get, _fallback) \
+ if (attr == &xe_configfs_attr_##_name) \
+ return _vis(item);

-:445: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_v' - possible side-effects? #445: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:58:
+#define XE_PARAM_VALIDATE_GUC_LOG_LEVEL(_v) \
+ (((_v) == XE_GUC_LOG_LEVEL_UNSET || \
+ ((_v) >= 0 && (_v) <= GUC_LOG_LEVEL_MAX)) ? 0 : -EINVAL)

-:458: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_name' - possible side-effects? #458: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:86:
+#define XE_PARAM_GETTER_GUC_LOG_LEVEL(_dev, _name) \
+ ({ typeof((_dev)->config.debug.params._name) __v = (_dev)->config.debug.params._name; \
+ __v >= 0 ? __v : xe_modparam.guc_log_level; })

-:470: WARNING:LONG_LINE: line length of 192 exceeds 100 columns #470: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:125:
+ param(int, guc_log_level, XE_GUC_LOG_LEVEL_UNSET, XE_PARAM_VALIDATE_GUC_LOG_LEVEL, XE_PARAM_VISIBLE_ALWAYS, XE_PARAM_GETTER_GUC_LOG_LEVEL, xe_modparam.guc_log_level) \

-:471: WARNING:LONG_LINE: line length of 192 exceeds 100 columns #471: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:126:
+ param(u8, guc_log_target, XE_DEFAULT_GUC_LOG_TARGET, XE_PARAM_VALIDATE_GUC_LOG_TARGET, XE_PARAM_VISIBLE_ALWAYS, XE_PARAM_GETTER_READ, XE_DEFAULT_GUC_LOG_TARGET) \

-:472: WARNING:LONG_LINE: line length of 171 exceeds 100 columns #472: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:127:
+ param(bool, enable_multi_queue, true, XE_PARAM_VALIDATE_NONE, XE_PARAM_VISIBLE_ALWAYS, XE_PARAM_GETTER_READ, true) \

-:473: WARNING:LONG_LINE: line length of 172 exceeds 100 columns #473: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:128:
+ param(bool, enable_psmi, false, XE_PARAM_VALIDATE_NONE, XE_PARAM_VISIBLE_ALWAYS, XE_PARAM_GETTER_READ, false) \

-:474: WARNING:LONG_LINE: line length of 170 exceeds 100 columns #474: FILE: drivers/gpu/drm/xe/xe_configfs_debug_params.h:129:
+ param(bool, survivability_mode, false, XE_PARAM_VALIDATE_NONE, XE_PARAM_VISIBLE_SURVIVABILITY, XE_PARAM_GETTER_READ, false)

total: 1 errors, 17 warnings, 3 checks, 469 lines checked 7b86d267b13e drm/xe: Taint kernel when debug configfs parameters are set

#33 lore raw

✓ CI.KUnit: success for Add new debug infrastructure for configfs (rev7)

In reply to Stuart Summers
== Series Details ==

== Series Details ==

Series: Add new debug infrastructure for configfs (rev7)
URL : https://patchwork.freedesktop.org/series/165879/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [22:12:01] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[22:12:05] 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
[22:12:37] Starting KUnit Kernel (1/1)...
[22:12:37] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:12:37] ================== guc_buf (11 subtests) ===================
[22:12:37] [PASSED] test_smallest
[22:12:37] [PASSED] test_largest
[22:12:37] [PASSED] test_granular
[22:12:37] [PASSED] test_unique
[22:12:37] [PASSED] test_overlap
[22:12:37] [PASSED] test_reusable
[22:12:37] [PASSED] test_too_big
[22:12:37] [PASSED] test_flush
[22:12:37] [PASSED] test_lookup
[22:12:37] [PASSED] test_data
[22:12:37] [PASSED] test_class
[22:12:37] ===================== [PASSED] guc_buf =====================
[22:12:37] =================== guc_dbm (7 subtests) ===================
[22:12:37] [PASSED] test_empty
[22:12:37] [PASSED] test_default
[22:12:37] ======================== test_size  ========================
[22:12:37] [PASSED] 4
[22:12:37] [PASSED] 8
[22:12:37] [PASSED] 32
[22:12:37] [PASSED] 256
[22:12:37] ==================== [PASSED] test_size ====================
[22:12:37] ======================= test_reuse  ========================
[22:12:37] [PASSED] 4
[22:12:37] [PASSED] 8
[22:12:37] [PASSED] 32
[22:12:37] [PASSED] 256
[22:12:37] =================== [PASSED] test_reuse ====================
[22:12:37] =================== test_range_overlap  ====================
[22:12:37] [PASSED] 4
[22:12:37] [PASSED] 8
[22:12:37] [PASSED] 32
[22:12:37] [PASSED] 256
[22:12:37] =============== [PASSED] test_range_overlap ================
[22:12:37] =================== test_range_compact  ====================
[22:12:37] [PASSED] 4
[22:12:37] [PASSED] 8
[22:12:37] [PASSED] 32
[22:12:37] [PASSED] 256
[22:12:37] =============== [PASSED] test_range_compact ================
[22:12:37] ==================== test_range_spare  =====================
[22:12:37] [PASSED] 4
[22:12:37] [PASSED] 8
[22:12:37] [PASSED] 32
[22:12:37] [PASSED] 256
[22:12:37] ================ [PASSED] test_range_spare =================
[22:12:37] ===================== [PASSED] guc_dbm =====================
[22:12:37] =================== guc_idm (6 subtests) ===================
[22:12:37] [PASSED] bad_init
[22:12:37] [PASSED] no_init
[22:12:37] [PASSED] init_fini
[22:12:37] [PASSED] check_used
[22:12:38] [PASSED] check_quota
[22:12:38] [PASSED] check_all
[22:12:38] ===================== [PASSED] guc_idm =====================
[22:12:38] =============== guc_klv_helpers (9 subtests) ===============
[22:12:38] [PASSED] test_count
[22:12:38] [PASSED] test_encode_u32
[22:12:38] [PASSED] test_encode_u64
[22:12:38] [PASSED] test_encode_string
[22:12:38] [PASSED] test_encode_object_raw
[22:12:38] [PASSED] test_encode_object_klv
[22:12:38] [PASSED] test_encode_object_nested
[22:12:38] [PASSED] test_encode_object_basic
[22:12:38] [PASSED] test_print
[22:12:38] ================= [PASSED] guc_klv_helpers =================
[22:12:38] =================== xe_log (4 subtests) ====================
[22:12:38] [PASSED] demo_cper
[22:12:38] [PASSED] demo_dmesg
[22:12:38] ======================= test_dmesg  ========================
[22:12:38] [PASSED] test_fatal
[22:12:38] [PASSED] test_fatal_tile
[22:12:38] [PASSED] test_fatal_gt
[22:12:38] [PASSED] test_fatal_comp
[22:12:38] [PASSED] test_fatal_comp_tile
[22:12:38] [PASSED] test_fatal_comp_gt
[22:12:38] [PASSED] test_fatal_all
[22:12:38] [PASSED] test_recoverable
[22:12:38] [PASSED] test_recoverable_tile
[22:12:38] [PASSED] test_recoverable_gt
[22:12:38] [PASSED] test_recoverable_comp
[22:12:38] [PASSED] test_recoverable_comp_tile
[22:12:38] [PASSED] test_recoverable_comp_gt
[22:12:38] [PASSED] test_recoverable_all
[22:12:38] [PASSED] test_info
[22:12:38] [PASSED] test_info_tile
[22:12:38] [PASSED] test_info_gt
[22:12:38] [PASSED] test_info_err
[22:12:38] [PASSED] test_info_comp
[22:12:38] [PASSED] test_info_comp_tile
[22:12:38] [PASSED] test_info_comp_gt
[22:12:38] [PASSED] test_info_all
[22:12:38] [PASSED] test_hw_fatal
[22:12:38] [PASSED] test_hw_recoverable
[22:12:38] [PASSED] test_hw_corrected
[22:12:38] [PASSED] test_hw_informational
[22:12:38] =================== [PASSED] test_dmesg ====================
[22:12:38] ====================== test_invalid  =======================
[22:12:38] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[22:12:38] ================== [SKIPPED] test_invalid ==================
[22:12:38] ===================== [PASSED] xe_log ======================
[22:12:38] ================== no_relay (3 subtests) ===================
[22:12:38] [PASSED] xe_drops_guc2pf_if_not_ready
[22:12:38] [PASSED] xe_drops_guc2vf_if_not_ready
[22:12:38] [PASSED] xe_rejects_send_if_not_ready
[22:12:38] ==================== [PASSED] no_relay =====================
[22:12:38] ================== pf_relay (14 subtests) ==================
[22:12:38] [PASSED] pf_rejects_guc2pf_too_short
[22:12:38] [PASSED] pf_rejects_guc2pf_too_long
[22:12:38] [PASSED] pf_rejects_guc2pf_no_payload
[22:12:38] [PASSED] pf_fails_no_payload
[22:12:38] [PASSED] pf_fails_bad_origin
[22:12:38] [PASSED] pf_fails_bad_type
[22:12:38] [PASSED] pf_txn_reports_error
[22:12:38] [PASSED] pf_txn_sends_pf2guc
[22:12:38] [PASSED] pf_sends_pf2guc
[22:12:38] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[22:12:38] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[22:12:38] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[22:12:38] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[22:12:38] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[22:12:38] ==================== [PASSED] pf_relay =====================
[22:12:38] ================== vf_relay (3 subtests) ===================
[22:12:38] [PASSED] vf_rejects_guc2vf_too_short
[22:12:38] [PASSED] vf_rejects_guc2vf_too_long
[22:12:38] [PASSED] vf_rejects_guc2vf_no_payload
[22:12:38] ==================== [PASSED] vf_relay =====================
[22:12:38] ================ pf_gt_config (9 subtests) =================
[22:12:38] [PASSED] fair_contexts_1vf
[22:12:38] [PASSED] fair_doorbells_1vf
[22:12:38] [PASSED] fair_ggtt_1vf
[22:12:38] ====================== fair_vram_1vf  ======================
[22:12:38] [PASSED] 3.50 GiB
[22:12:38] [PASSED] 11.5 GiB
[22:12:38] [PASSED] 15.5 GiB
[22:12:38] [PASSED] 31.5 GiB
[22:12:38] [PASSED] 63.5 GiB
[22:12:38] [PASSED] 1.91 GiB
[22:12:38] ================== [PASSED] fair_vram_1vf ==================
[22:12:38] ================ fair_vram_1vf_admin_only  =================
[22:12:38] [PASSED] 3.50 GiB
[22:12:38] [PASSED] 11.5 GiB
[22:12:38] [PASSED] 15.5 GiB
[22:12:38] [PASSED] 31.5 GiB
[22:12:38] [PASSED] 63.5 GiB
[22:12:38] [PASSED] 1.91 GiB
[22:12:38] ============ [PASSED] fair_vram_1vf_admin_only =============
[22:12:38] ====================== fair_contexts  ======================
[22:12:38] [PASSED] 1 VF
[22:12:38] [PASSED] 2 VFs
[22:12:38] [PASSED] 3 VFs
[22:12:38] [PASSED] 4 VFs
[22:12:38] [PASSED] 5 VFs
[22:12:38] [PASSED] 6 VFs
[22:12:38] [PASSED] 7 VFs
[22:12:38] [PASSED] 8 VFs
[22:12:38] [PASSED] 9 VFs
[22:12:38] [PASSED] 10 VFs
[22:12:38] [PASSED] 11 VFs
[22:12:38] [PASSED] 12 VFs
[22:12:38] [PASSED] 13 VFs
[22:12:38] [PASSED] 14 VFs
[22:12:38] [PASSED] 15 VFs
[22:12:38] [PASSED] 16 VFs
[22:12:38] [PASSED] 17 VFs
[22:12:38] [PASSED] 18 VFs
[22:12:38] [PASSED] 19 VFs
[22:12:38] [PASSED] 20 VFs
[22:12:38] [PASSED] 21 VFs
[22:12:38] [PASSED] 22 VFs
[22:12:38] [PASSED] 23 VFs
[22:12:38] [PASSED] 24 VFs
[22:12:38] [PASSED] 25 VFs
[22:12:38] [PASSED] 26 VFs
[22:12:38] [PASSED] 27 VFs
[22:12:38] [PASSED] 28 VFs
[22:12:38] [PASSED] 29 VFs
[22:12:38] [PASSED] 30 VFs
[22:12:38] [PASSED] 31 VFs
[22:12:38] [PASSED] 32 VFs
[22:12:38] [PASSED] 33 VFs
[22:12:38] [PASSED] 34 VFs
[22:12:38] [PASSED] 35 VFs
[22:12:38] [PASSED] 36 VFs
[22:12:38] [PASSED] 37 VFs
[22:12:38] [PASSED] 38 VFs
[22:12:38] [PASSED] 39 VFs
[22:12:38] [PASSED] 40 VFs
[22:12:38] [PASSED] 41 VFs
[22:12:38] [PASSED] 42 VFs
[22:12:38] [PASSED] 43 VFs
[22:12:38] [PASSED] 44 VFs
[22:12:38] [PASSED] 45 VFs
[22:12:38] [PASSED] 46 VFs
[22:12:38] [PASSED] 47 VFs
[22:12:38] [PASSED] 48 VFs
[22:12:38] [PASSED] 49 VFs
[22:12:38] [PASSED] 50 VFs
[22:12:38] [PASSED] 51 VFs
[22:12:38] [PASSED] 52 VFs
[22:12:38] [PASSED] 53 VFs
[22:12:38] [PASSED] 54 VFs
[22:12:38] [PASSED] 55 VFs
[22:12:38] [PASSED] 56 VFs
[22:12:38] [PASSED] 57 VFs
[22:12:38] [PASSED] 58 VFs
[22:12:38] [PASSED] 59 VFs
[22:12:38] [PASSED] 60 VFs
[22:12:38] [PASSED] 61 VFs
[22:12:38] [PASSED] 62 VFs
[22:12:38] [PASSED] 63 VFs
[22:12:38] ================== [PASSED] fair_contexts ==================
[22:12:38] ===================== fair_doorbells  ======================
[22:12:38] [PASSED] 1 VF
[22:12:38] [PASSED] 2 VFs
[22:12:38] [PASSED] 3 VFs
[22:12:38] [PASSED] 4 VFs
[22:12:38] [PASSED] 5 VFs
[22:12:38] [PASSED] 6 VFs
[22:12:38] [PASSED] 7 VFs
[22:12:38] [PASSED] 8 VFs
[22:12:38] [PASSED] 9 VFs
[22:12:38] [PASSED] 10 VFs
[22:12:38] [PASSED] 11 VFs
[22:12:38] [PASSED] 12 VFs
[22:12:38] [PASSED] 13 VFs
[22:12:38] [PASSED] 14 VFs
[22:12:38] [PASSED] 15 VFs
[22:12:38] [PASSED] 16 VFs
[22:12:38] [PASSED] 17 VFs
[22:12:38] [PASSED] 18 VFs
[22:12:38] [PASSED] 19 VFs
[22:12:38] [PASSED] 20 VFs
[22:12:38] [PASSED] 21 VFs
[22:12:38] [PASSED] 22 VFs
[22:12:38] [PASSED] 23 VFs
[22:12:38] [PASSED] 24 VFs
[22:12:38] [PASSED] 25 VFs
[22:12:38] [PASSED] 26 VFs
[22:12:38] [PASSED] 27 VFs
[22:12:38] [PASSED] 28 VFs
[22:12:38] [PASSED] 29 VFs
[22:12:38] [PASSED] 30 VFs
[22:12:38] [PASSED] 31 VFs
[22:12:38] [PASSED] 32 VFs
[22:12:38] [PASSED] 33 VFs
[22:12:38] [PASSED] 34 VFs
[22:12:38] [PASSED] 35 VFs
[22:12:38] [PASSED] 36 VFs
[22:12:38] [PASSED] 37 VFs
[22:12:38] [PASSED] 38 VFs
[22:12:38] [PASSED] 39 VFs
[22:12:38] [PASSED] 40 VFs
[22:12:38] [PASSED] 41 VFs
[22:12:38] [PASSED] 42 VFs
[22:12:38] [PASSED] 43 VFs
[22:12:38] [PASSED] 44 VFs
[22:12:38] [PASSED] 45 VFs
[22:12:38] [PASSED] 46 VFs
[22:12:38] [PASSED] 47 VFs
[22:12:38] [PASSED] 48 VFs
[22:12:38] [PASSED] 49 VFs
[22:12:38] [PASSED] 50 VFs
[22:12:38] [PASSED] 51 VFs
[22:12:38] [PASSED] 52 VFs
[22:12:38] [PASSED] 53 VFs
[22:12:38] [PASSED] 54 VFs
[22:12:38] [PASSED] 55 VFs
[22:12:38] [PASSED] 56 VFs
[22:12:38] [PASSED] 57 VFs
[22:12:38] [PASSED] 58 VFs
[22:12:38] [PASSED] 59 VFs
[22:12:38] [PASSED] 60 VFs
[22:12:38] [PASSED] 61 VFs
[22:12:38] [PASSED] 62 VFs
[22:12:38] [PASSED] 63 VFs
[22:12:38] ================= [PASSED] fair_doorbells ==================
[22:12:38] ======================== fair_ggtt  ========================
[22:12:38] [PASSED] 1 VF
[22:12:38] [PASSED] 2 VFs
[22:12:38] [PASSED] 3 VFs
[22:12:38] [PASSED] 4 VFs
[22:12:38] [PASSED] 5 VFs
[22:12:38] [PASSED] 6 VFs
[22:12:38] [PASSED] 7 VFs
[22:12:38] [PASSED] 8 VFs
[22:12:38] [PASSED] 9 VFs
[22:12:38] [PASSED] 10 VFs
[22:12:38] [PASSED] 11 VFs
[22:12:38] [PASSED] 12 VFs
[22:12:38] [PASSED] 13 VFs
[22:12:38] [PASSED] 14 VFs
[22:12:38] [PASSED] 15 VFs
[22:12:38] [PASSED] 16 VFs
[22:12:38] [PASSED] 17 VFs
[22:12:38] [PASSED] 18 VFs
[22:12:38] [PASSED] 19 VFs
[22:12:38] [PASSED] 20 VFs
[22:12:38] [PASSED] 21 VFs
[22:12:38] [PASSED] 22 VFs
[22:12:38] [PASSED] 23 VFs
[22:12:38] [PASSED] 24 VFs
[22:12:38] [PASSED] 25 VFs
[22:12:38] [PASSED] 26 VFs
[22:12:38] [PASSED] 27 VFs
[22:12:38] [PASSED] 28 VFs
[22:12:38] [PASSED] 29 VFs
[22:12:38] [PASSED] 30 VFs
[22:12:38] [PASSED] 31 VFs
[22:12:38] [PASSED] 32 VFs
[22:12:38] [PASSED] 33 VFs
[22:12:38] [PASSED] 34 VFs
[22:12:38] [PASSED] 35 VFs
[22:12:38] [PASSED] 36 VFs
[22:12:38] [PASSED] 37 VFs
[22:12:38] [PASSED] 38 VFs
[22:12:38] [PASSED] 39 VFs
[22:12:38] [PASSED] 40 VFs
[22:12:38] [PASSED] 41 VFs
[22:12:38] [PASSED] 42 VFs
[22:12:38] [PASSED] 43 VFs
[22:12:38] [PASSED] 44 VFs
[22:12:38] [PASSED] 45 VFs
[22:12:38] [PASSED] 46 VFs
[22:12:38] [PASSED] 47 VFs
[22:12:38] [PASSED] 48 VFs
[22:12:38] [PASSED] 49 VFs
[22:12:38] [PASSED] 50 VFs
[22:12:38] [PASSED] 51 VFs
[22:12:38] [PASSED] 52 VFs
[22:12:38] [PASSED] 53 VFs
[22:12:38] [PASSED] 54 VFs
[22:12:38] [PASSED] 55 VFs
[22:12:38] [PASSED] 56 VFs
[22:12:38] [PASSED] 57 VFs
[22:12:38] [PASSED] 58 VFs
[22:12:38] [PASSED] 59 VFs
[22:12:38] [PASSED] 60 VFs
[22:12:38] [PASSED] 61 VFs
[22:12:38] [PASSED] 62 VFs
[22:12:38] [PASSED] 63 VFs
[22:12:38] ==================== [PASSED] fair_ggtt ====================
[22:12:38] ======================== fair_vram  ========================
[22:12:38] [PASSED] 1 VF
[22:12:38] [PASSED] 2 VFs
[22:12:38] [PASSED] 3 VFs
[22:12:38] [PASSED] 4 VFs
[22:12:38] [PASSED] 5 VFs
[22:12:38] [PASSED] 6 VFs
[22:12:38] [PASSED] 7 VFs
[22:12:38] [PASSED] 8 VFs
[22:12:38] [PASSED] 9 VFs
[22:12:38] [PASSED] 10 VFs
[22:12:38] [PASSED] 11 VFs
[22:12:38] [PASSED] 12 VFs
[22:12:38] [PASSED] 13 VFs
[22:12:38] [PASSED] 14 VFs
[22:12:38] [PASSED] 15 VFs
[22:12:38] [PASSED] 16 VFs
[22:12:38] [PASSED] 17 VFs
[22:12:38] [PASSED] 18 VFs
[22:12:38] [PASSED] 19 VFs
[22:12:38] [PASSED] 20 VFs
[22:12:38] [PASSED] 21 VFs
[22:12:38] [PASSED] 22 VFs
[22:12:38] [PASSED] 23 VFs
[22:12:38] [PASSED] 24 VFs
[22:12:38] [PASSED] 25 VFs
[22:12:38] [PASSED] 26 VFs
[22:12:38] [PASSED] 27 VFs
[22:12:38] [PASSED] 28 VFs
[22:12:38] [PASSED] 29 VFs
[22:12:38] [PASSED] 30 VFs
[22:12:38] [PASSED] 31 VFs
[22:12:38] [PASSED] 32 VFs
[22:12:38] [PASSED] 33 VFs
[22:12:38] [PASSED] 34 VFs
[22:12:38] [PASSED] 35 VFs
[22:12:38] [PASSED] 36 VFs
[22:12:38] [PASSED] 37 VFs
[22:12:38] [PASSED] 38 VFs
[22:12:38] [PASSED] 39 VFs
[22:12:38] [PASSED] 40 VFs
[22:12:38] [PASSED] 41 VFs
[22:12:38] [PASSED] 42 VFs
[22:12:38] [PASSED] 43 VFs
[22:12:38] [PASSED] 44 VFs
[22:12:38] [PASSED] 45 VFs
[22:12:38] [PASSED] 46 VFs
[22:12:38] [PASSED] 47 VFs
[22:12:38] [PASSED] 48 VFs
[22:12:38] [PASSED] 49 VFs
[22:12:38] [PASSED] 50 VFs
[22:12:38] [PASSED] 51 VFs
[22:12:38] [PASSED] 52 VFs
[22:12:38] [PASSED] 53 VFs
[22:12:38] [PASSED] 54 VFs
[22:12:38] [PASSED] 55 VFs
[22:12:38] [PASSED] 56 VFs
[22:12:38] [PASSED] 57 VFs
[22:12:38] [PASSED] 58 VFs
[22:12:38] [PASSED] 59 VFs
[22:12:38] [PASSED] 60 VFs
[22:12:38] [PASSED] 61 VFs
[22:12:38] [PASSED] 62 VFs
[22:12:38] [PASSED] 63 VFs
[22:12:38] ==================== [PASSED] fair_vram ====================
[22:12:38] ================== [PASSED] pf_gt_config ===================
[22:12:38] ===================== lmtt (1 subtest) =====================
[22:12:38] ======================== test_ops  =========================
[22:12:38] [PASSED] 2-level
[22:12:38] [PASSED] multi-level
[22:12:38] ==================== [PASSED] test_ops =====================
[22:12:38] ====================== [PASSED] lmtt =======================
[22:12:38] ================= sriov_packet (1 subtest) =================
[22:12:38] [PASSED] test_descriptor_init
[22:12:38] ================== [PASSED] sriov_packet ===================
[22:12:38] ================= pf_service (11 subtests) =================
[22:12:38] [PASSED] pf_negotiate_any
[22:12:38] [PASSED] pf_negotiate_base_match
[22:12:38] [PASSED] pf_negotiate_base_newer
[22:12:38] [PASSED] pf_negotiate_base_next
[22:12:38] [SKIPPED] pf_negotiate_base_older (no older minor)
[22:12:38] [PASSED] pf_negotiate_base_prev
[22:12:38] [PASSED] pf_negotiate_latest_match
[22:12:38] [PASSED] pf_negotiate_latest_newer
[22:12:38] [PASSED] pf_negotiate_latest_next
[22:12:38] [SKIPPED] pf_negotiate_latest_older (no older minor)
[22:12:38] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[22:12:38] =================== [PASSED] pf_service ====================
[22:12:38] ================= xe_guc_g2g (2 subtests) ==================
[22:12:38] ============== xe_live_guc_g2g_kunit_default  ==============
[22:12:38] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[22:12:38] ============== xe_live_guc_g2g_kunit_allmem  ===============
[22:12:38] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[22:12:38] =================== [SKIPPED] xe_guc_g2g ===================
[22:12:38] =================== xe_mocs (2 subtests) ===================
[22:12:38] ================ xe_live_mocs_kernel_kunit  ================
[22:12:38] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[22:12:38] ================ xe_live_mocs_reset_kunit  =================
[22:12:38] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[22:12:38] ==================== [SKIPPED] xe_mocs =====================
[22:12:38] ================= xe_migrate (2 subtests) ==================
[22:12:38] ================= xe_migrate_sanity_kunit  =================
[22:12:38] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[22:12:38] ================== xe_validate_ccs_kunit  ==================
[22:12:38] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[22:12:38] =================== [SKIPPED] xe_migrate ===================
[22:12:38] ================== xe_dma_buf (1 subtest) ==================
[22:12:38] ==================== xe_dma_buf_kunit  =====================
[22:12:38] ================ [SKIPPED] xe_dma_buf_kunit ================
[22:12:38] =================== [SKIPPED] xe_dma_buf ===================
[22:12:38] ================= xe_bo_shrink (1 subtest) =================
[22:12:38] =================== xe_bo_shrink_kunit  ====================
[22:12:38] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[22:12:38] ================== [SKIPPED] xe_bo_shrink ==================
[22:12:38] ==================== xe_bo (2 subtests) ====================
[22:12:38] ================== xe_ccs_migrate_kunit  ===================
[22:12:38] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[22:12:38] ==================== xe_bo_evict_kunit  ====================
[22:12:38] =============== [SKIPPED] xe_bo_evict_kunit ================
[22:12:38] ===================== [SKIPPED] xe_bo ======================
[22:12:38] =================== xe_any (9 subtests) ====================
[22:12:38] [PASSED] test_to_xe
[22:12:38] [PASSED] test_to_dev
[22:12:38] [PASSED] test_to_pdev
[22:12:38] [PASSED] test_to_drm
[22:12:38] [PASSED] test_if_pdev
[22:12:38] [PASSED] test_if_xe
[22:12:38] [PASSED] test_if_tile
[22:12:38] [PASSED] test_if_gt
[22:12:38] [PASSED] test_to_id
[22:12:38] ===================== [PASSED] xe_any ======================
[22:12:38] ==================== args (13 subtests) ====================
[22:12:38] [PASSED] count_args_test
[22:12:38] [PASSED] call_args_example
[22:12:38] [PASSED] call_args_test
[22:12:38] [PASSED] drop_first_arg_example
[22:12:38] [PASSED] drop_first_arg_test
[22:12:38] [PASSED] first_arg_example
[22:12:38] [PASSED] first_arg_test
[22:12:38] [PASSED] last_arg_example
[22:12:38] [PASSED] last_arg_test
[22:12:38] [PASSED] pick_arg_example
[22:12:38] [PASSED] if_args_example
[22:12:38] [PASSED] if_args_test
[22:12:38] [PASSED] sep_comma_example
[22:12:38] ====================== [PASSED] args =======================
[22:12:38] =================== xe_pci (3 subtests) ====================
[22:12:38] ==================== check_graphics_ip  ====================
[22:12:38] [PASSED] 12.00 Xe_LP
[22:12:38] [PASSED] 12.10 Xe_LP+
[22:12:38] [PASSED] 12.55 Xe_HPG
[22:12:38] [PASSED] 12.60 Xe_HPC
[22:12:38] [PASSED] 12.70 Xe_LPG
[22:12:38] [PASSED] 12.71 Xe_LPG
[22:12:38] [PASSED] 12.74 Xe_LPG+
[22:12:38] [PASSED] 20.01 Xe2_HPG
[22:12:38] [PASSED] 20.02 Xe2_HPG
[22:12:38] [PASSED] 20.04 Xe2_LPG
[22:12:38] [PASSED] 30.00 Xe3_LPG
[22:12:38] [PASSED] 30.01 Xe3_LPG
[22:12:38] [PASSED] 30.03 Xe3_LPG
[22:12:38] [PASSED] 30.04 Xe3_LPG
[22:12:38] [PASSED] 30.05 Xe3_LPG
[22:12:38] [PASSED] 35.10 Xe3p_LPG
[22:12:38] [PASSED] 35.11 Xe3p_XPC
[22:12:38] ================ [PASSED] check_graphics_ip ================
[22:12:38] ===================== check_media_ip  ======================
[22:12:38] [PASSED] 12.00 Xe_M
[22:12:38] [PASSED] 12.55 Xe_HPM
[22:12:38] [PASSED] 13.00 Xe_LPM+
[22:12:38] [PASSED] 13.01 Xe2_HPM
[22:12:38] [PASSED] 20.00 Xe2_LPM
[22:12:38] [PASSED] 30.00 Xe3_LPM
[22:12:38] [PASSED] 30.02 Xe3_LPM
[22:12:38] [PASSED] 35.00 Xe3p_LPM
[22:12:38] [PASSED] 35.03 Xe3p_HPM
[22:12:38] ================= [PASSED] check_media_ip ==================
[22:12:38] =================== check_platform_desc  ===================
[22:12:38] [PASSED] 0x9A60 (TIGERLAKE)
[22:12:38] [PASSED] 0x9A68 (TIGERLAKE)
[22:12:38] [PASSED] 0x9A70 (TIGERLAKE)
[22:12:38] [PASSED] 0x9A40 (TIGERLAKE)
[22:12:38] [PASSED] 0x9A49 (TIGERLAKE)
[22:12:38] [PASSED] 0x9A59 (TIGERLAKE)
[22:12:38] [PASSED] 0x9A78 (TIGERLAKE)
[22:12:38] [PASSED] 0x9AC0 (TIGERLAKE)
[22:12:38] [PASSED] 0x9AC9 (TIGERLAKE)
[22:12:38] [PASSED] 0x9AD9 (TIGERLAKE)
[22:12:38] [PASSED] 0x9AF8 (TIGERLAKE)
[22:12:38] [PASSED] 0x4C80 (ROCKETLAKE)
[22:12:38] [PASSED] 0x4C8A (ROCKETLAKE)
[22:12:38] [PASSED] 0x4C8B (ROCKETLAKE)
[22:12:38] [PASSED] 0x4C8C (ROCKETLAKE)
[22:12:38] [PASSED] 0x4C90 (ROCKETLAKE)
[22:12:38] [PASSED] 0x4C9A (ROCKETLAKE)
[22:12:38] [PASSED] 0x4680 (ALDERLAKE_S)
[22:12:38] [PASSED] 0x4682 (ALDERLAKE_S)
[22:12:38] [PASSED] 0x4688 (ALDERLAKE_S)
[22:12:38] [PASSED] 0x468A (ALDERLAKE_S)
[22:12:38] [PASSED] 0x468B (ALDERLAKE_S)
[22:12:38] [PASSED] 0x4690 (ALDERLAKE_S)
[22:12:38] [PASSED] 0x4692 (ALDERLAKE_S)
[22:12:38] [PASSED] 0x4693 (ALDERLAKE_S)
[22:12:38] [PASSED] 0x46A0 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46A1 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46A2 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46A3 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46A6 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46A8 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46AA (ALDERLAKE_P)
[22:12:38] [PASSED] 0x462A (ALDERLAKE_P)
[22:12:38] [PASSED] 0x4626 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x4628 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46B0 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46B1 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46B2 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46B3 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46C0 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46C1 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46C2 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46C3 (ALDERLAKE_P)
[22:12:38] [PASSED] 0x46D0 (ALDERLAKE_N)
[22:12:38] [PASSED] 0x46D1 (ALDERLAKE_N)
[22:12:38] [PASSED] 0x46D2 (ALDERLAKE_N)
[22:12:38] [PASSED] 0x46D3 (ALDERLAKE_N)
[22:12:38] [PASSED] 0x46D4 (ALDERLAKE_N)
[22:12:38] [PASSED] 0xA721 (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7A1 (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7A9 (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7AC (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7AD (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA720 (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7A0 (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7A8 (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7AA (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA7AB (ALDERLAKE_P)
[22:12:38] [PASSED] 0xA780 (ALDERLAKE_S)
[22:12:38] [PASSED] 0xA781 (ALDERLAKE_S)
[22:12:38] [PASSED] 0xA782 (ALDERLAKE_S)
[22:12:38] [PASSED] 0xA783 (ALDERLAKE_S)
[22:12:38] [PASSED] 0xA788 (ALDERLAKE_S)
[22:12:38] [PASSED] 0xA789 (ALDERLAKE_S)
[22:12:38] [PASSED] 0xA78A (ALDERLAKE_S)
[22:12:38] [PASSED] 0xA78B (ALDERLAKE_S)
[22:12:38] [PASSED] 0x4905 (DG1)
[22:12:38] [PASSED] 0x4906 (DG1)
[22:12:38] [PASSED] 0x4907 (DG1)
[22:12:38] [PASSED] 0x4908 (DG1)
[22:12:38] [PASSED] 0x4909 (DG1)
[22:12:38] [PASSED] 0x56C0 (DG2)
[22:12:38] [PASSED] 0x56C2 (DG2)
[22:12:38] [PASSED] 0x56C1 (DG2)
[22:12:38] [PASSED] 0x7D51 (METEORLAKE)
[22:12:38] [PASSED] 0x7DD1 (METEORLAKE)
[22:12:38] [PASSED] 0x7D41 (METEORLAKE)
[22:12:38] [PASSED] 0x7D67 (METEORLAKE)
[22:12:38] [PASSED] 0xB640 (METEORLAKE)
[22:12:38] [PASSED] 0x56A0 (DG2)
[22:12:38] [PASSED] 0x56A1 (DG2)
[22:12:38] [PASSED] 0x56A2 (DG2)
[22:12:38] [PASSED] 0x56BE (DG2)
[22:12:38] [PASSED] 0x56BF (DG2)
[22:12:38] [PASSED] 0x5690 (DG2)
[22:12:38] [PASSED] 0x5691 (DG2)
[22:12:38] [PASSED] 0x5692 (DG2)
[22:12:38] [PASSED] 0x56A5 (DG2)
[22:12:38] [PASSED] 0x56A6 (DG2)
[22:12:38] [PASSED] 0x56B0 (DG2)
[22:12:38] [PASSED] 0x56B1 (DG2)
[22:12:38] [PASSED] 0x56BA (DG2)
[22:12:38] [PASSED] 0x56BB (DG2)
[22:12:38] [PASSED] 0x56BC (DG2)
[22:12:38] [PASSED] 0x56BD (DG2)
[22:12:38] [PASSED] 0x5693 (DG2)
[22:12:38] [PASSED] 0x5694 (DG2)
[22:12:38] [PASSED] 0x5695 (DG2)
[22:12:38] [PASSED] 0x56A3 (DG2)
[22:12:38] [PASSED] 0x56A4 (DG2)
[22:12:38] [PASSED] 0x56B2 (DG2)
[22:12:38] [PASSED] 0x56B3 (DG2)
[22:12:38] [PASSED] 0x5696 (DG2)
[22:12:38] [PASSED] 0x5697 (DG2)
[22:12:38] [PASSED] 0xB69 (PVC)
[22:12:38] [PASSED] 0xB6E (PVC)
[22:12:38] [PASSED] 0xBD4 (PVC)
[22:12:38] [PASSED] 0xBD5 (PVC)
[22:12:38] [PASSED] 0xBD6 (PVC)
[22:12:38] [PASSED] 0xBD7 (PVC)
[22:12:38] [PASSED] 0xBD8 (PVC)
[22:12:38] [PASSED] 0xBD9 (PVC)
[22:12:38] [PASSED] 0xBDA (PVC)
[22:12:38] [PASSED] 0xBDB (PVC)
[22:12:38] [PASSED] 0xBE0 (PVC)
[22:12:38] [PASSED] 0xBE1 (PVC)
[22:12:38] [PASSED] 0xBE5 (PVC)
[22:12:38] [PASSED] 0x7D40 (METEORLAKE)
[22:12:38] [PASSED] 0x7D45 (METEORLAKE)
[22:12:38] [PASSED] 0x7D55 (METEORLAKE)
[22:12:38] [PASSED] 0x7D60 (METEORLAKE)
[22:12:38] [PASSED] 0x7DD5 (METEORLAKE)
[22:12:38] [PASSED] 0x6420 (LUNARLAKE)
[22:12:38] [PASSED] 0x64A0 (LUNARLAKE)
[22:12:38] [PASSED] 0x64B0 (LUNARLAKE)
[22:12:38] [PASSED] 0xE202 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE209 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE20B (BATTLEMAGE)
[22:12:38] [PASSED] 0xE20C (BATTLEMAGE)
[22:12:38] [PASSED] 0xE20D (BATTLEMAGE)
[22:12:38] [PASSED] 0xE210 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE211 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE212 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE216 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE220 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE221 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE222 (BATTLEMAGE)
[22:12:38] [PASSED] 0xE223 (BATTLEMAGE)
[22:12:38] [PASSED] 0xB080 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB081 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB082 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB083 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB084 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB085 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB086 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB087 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB08F (PANTHERLAKE)
[22:12:38] [PASSED] 0xB090 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB0A0 (PANTHERLAKE)
[22:12:38] [PASSED] 0xB0B0 (PANTHERLAKE)
[22:12:38] [PASSED] 0xFD80 (PANTHERLAKE)
[22:12:38] [PASSED] 0xFD81 (PANTHERLAKE)
[22:12:38] [PASSED] 0xD740 (NOVALAKE_S)
[22:12:38] [PASSED] 0xD741 (NOVALAKE_S)
[22:12:38] [PASSED] 0xD742 (NOVALAKE_S)
[22:12:38] [PASSED] 0xD743 (NOVALAKE_S)
[22:12:38] [PASSED] 0xD745 (NOVALAKE_S)
[22:12:38] [PASSED] 0xD74A (NOVALAKE_S)
[22:12:38] [PASSED] 0xD74B (NOVALAKE_S)
[22:12:38] [PASSED] 0x674C (CRESCENTISLAND)
[22:12:38] [PASSED] 0x674D (CRESCENTISLAND)
[22:12:38] [PASSED] 0x674E (CRESCENTISLAND)
[22:12:38] [PASSED] 0x674F (CRESCENTISLAND)
[22:12:38] [PASSED] 0x6750 (CRESCENTISLAND)
[22:12:38] [PASSED] 0xD750 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD751 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD752 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD753 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD754 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD755 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD756 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD757 (NOVALAKE_P)
[22:12:38] [PASSED] 0xD75F (NOVALAKE_P)
[22:12:38] =============== [PASSED] check_platform_desc ===============
[22:12:38] ===================== [PASSED] xe_pci ======================
[22:12:38] ============= xe_rtp_tables_test (5 subtests) ==============
[22:12:38] ================== xe_rtp_table_gt_test  ===================
[22:12:38] [PASSED] gt_was/14011060649
[22:12:38] [PASSED] gt_was/14011059788
[22:12:38] [PASSED] gt_was/14015795083
[22:12:38] [PASSED] gt_was/16021867713
[22:12:38] [PASSED] gt_was/14019449301
[22:12:38] [PASSED] gt_was/16028005424
[22:12:38] [PASSED] gt_was/14026578760
[22:12:38] [PASSED] gt_was/1409420604
[22:12:38] [PASSED] gt_was/1408615072
[22:12:38] [PASSED] gt_was/22010523718
[22:12:38] [PASSED] gt_was/14011006942
[22:12:38] [PASSED] gt_was/14014830051
[22:12:38] [PASSED] gt_was/18018781329
[22:12:38] [PASSED] gt_was/1509235366
[22:12:38] [PASSED] gt_was/18018781329
[22:12:38] [PASSED] gt_was/16016694945
[22:12:38] [PASSED] gt_was/14018575942
[22:12:38] [PASSED] gt_was/22016670082
[22:12:38] [PASSED] gt_was/22016670082
[22:12:38] [PASSED] gt_was/14017421178
[22:12:38] [PASSED] gt_was/16025250150
[22:12:38] [PASSED] gt_was/14021871409
[22:12:38] [PASSED] gt_was/16021865536
[22:12:38] [PASSED] gt_was/14021486841
[22:12:38] [PASSED] gt_was/14025160223
[22:12:38] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[22:12:38] [PASSED] gt_was/14025635424
[22:12:38] [PASSED] gt_was/16028005424
[22:12:38] ============== [PASSED] xe_rtp_table_gt_test ===============
[22:12:38] ================== xe_rtp_table_gt_test  ===================
[22:12:38] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[22:12:38] [PASSED] gt_tunings/Tuning: 32B Access Enable
[22:12:38] [PASSED] gt_tunings/Tuning: L3 cache
[22:12:38] [PASSED] gt_tunings/Tuning: L3 cache - media
[22:12:38] [PASSED] gt_tunings/Tuning: Compression Overfetch
[22:12:38] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[22:12:38] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[22:12:38] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[22:12:38] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[22:12:38] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[22:12:38] [PASSED] gt_tunings/Tuning: Stateless compression control
[22:12:38] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[22:12:38] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[22:12:38] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[22:12:38] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[22:12:38] ============== [PASSED] xe_rtp_table_gt_test ===============
[22:12:38] ================== xe_rtp_table_oob_test  ==================
[22:12:38] [PASSED] oob_was/1607983814
[22:12:38] [PASSED] oob_was/16010904313
[22:12:38] [PASSED] oob_was/18022495364
[22:12:38] [PASSED] oob_was/22012773006
[22:12:38] [PASSED] oob_was/14014475959
[22:12:38] [PASSED] oob_was/22011391025
[22:12:38] [PASSED] oob_was/22012727170
[22:12:38] [PASSED] oob_was/22012727685
[22:12:38] [PASSED] oob_was/22016596838
[22:12:38] [PASSED] oob_was/18020744125
[22:12:38] [PASSED] oob_was/1409600907
[22:12:38] [PASSED] oob_was/22014953428
[22:12:38] [PASSED] oob_was/16017236439
[22:12:38] [PASSED] oob_was/14019821291
[22:12:38] [PASSED] oob_was/14015076503
[22:12:38] [PASSED] oob_was/14018913170
[22:12:38] [PASSED] oob_was/14018094691
[22:12:38] [PASSED] oob_was/18024947630
[22:12:38] [PASSED] oob_was/16022287689
[22:12:38] [PASSED] oob_was/13011645652
[22:12:38] [PASSED] oob_was/14022293748
[22:12:38] [PASSED] oob_was/22019794406
[22:12:38] [PASSED] oob_was/22019338487
[22:12:38] [PASSED] oob_was/16023588340
[22:12:38] [PASSED] oob_was/14019789679
[22:12:38] [PASSED] oob_was/14022866841
[22:12:38] [PASSED] oob_was/16021333562
[22:12:38] [PASSED] oob_was/14016712196
[22:12:38] [PASSED] oob_was/14015568240
[22:12:38] [PASSED] oob_was/18013179988
[22:12:38] [PASSED] oob_was/1508761755
[22:12:38] [PASSED] oob_was/16023105232
[22:12:38] [PASSED] oob_was/16026508708
[22:12:38] [PASSED] oob_was/14020001231
[22:12:38] [PASSED] oob_was/16023683509
[22:12:38] [PASSED] oob_was/14025515070
[22:12:38] [PASSED] oob_was/15015404425_disable
[22:12:38] [PASSED] oob_was/16026007364
[22:12:38] [PASSED] oob_was/14020316580
[22:12:38] [PASSED] oob_was/14025883347
[22:12:38] [PASSED] oob_was/16029380221
[22:12:38] [PASSED] oob_was/22022079272
[22:12:38] [PASSED] oob_was/16029897822
[22:12:38] [PASSED] oob_was/14027054324
[22:12:38] ============== [PASSED] xe_rtp_table_oob_test ==============
[22:12:38] ================ xe_rtp_table_dev_oob_test  ================
[22:12:38] [PASSED] device_oob_was/22010954014
[22:12:38] [PASSED] device_oob_was/15015404425
[22:12:38] [PASSED] device_oob_was/22019338487_display
[22:12:38] [PASSED] device_oob_was/14022085890
[22:12:38] [PASSED] device_oob_was/14026539277
[22:12:38] [PASSED] device_oob_was/14026633728
[22:12:38] [PASSED] device_oob_was/14026746987
[22:12:38] [PASSED] device_oob_was/14026779378
[22:12:38] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[22:12:38] ========== xe_rtp_table_missing_upper_bound_test  ==========
[22:12:38] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[22:12:38] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[22:12:38] [PASSED] register_whitelist/1806527549
[22:12:38] [PASSED] register_whitelist/allow_read_ctx_timestamp
[22:12:38] [PASSED] register_whitelist/allow_read_queue_timestamp
[22:12:38] [PASSED] register_whitelist/16014440446
[22:12:38] [PASSED] register_whitelist/16017236439
[22:12:38] [PASSED] register_whitelist/16020183090
[22:12:38] [PASSED] register_whitelist/14024997852
[22:12:38] [PASSED] register_whitelist/14024997852
[22:12:38] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[22:12:38] =============== [PASSED] xe_rtp_tables_test ================
[22:12:38] =================== xe_rtp (3 subtests) ====================
[22:12:38] =================== xe_rtp_rules_tests  ====================
[22:12:38] [PASSED] no
[22:12:38] [PASSED] yes
[22:12:38] [PASSED] no-and-no
[22:12:38] [PASSED] no-and-yes
[22:12:38] [PASSED] yes-and-no
[22:12:38] [PASSED] yes-and-yes
[22:12:38] [PASSED] no-or-no
[22:12:38] [PASSED] no-or-yes
[22:12:38] [PASSED] yes-or-no
[22:12:38] [PASSED] yes-or-yes
[22:12:38] [PASSED] no-yes-or-yes-no
[22:12:38] [PASSED] no-yes-or-yes-yes
[22:12:38] [PASSED] yes-yes-or-no-yes
[22:12:38] [PASSED] yes-yes-or-yes-yes
[22:12:38] [PASSED] no-no-or-yes-or-no
[22:12:38] [PASSED] or
[22:12:38] [PASSED] or-yes
[22:12:38] [PASSED] or-no
[22:12:38] [PASSED] yes-or
[22:12:38] [PASSED] no-or
[22:12:38] [PASSED] no-or-or-yes
[22:12:38] [PASSED] yes-or-or-no
[22:12:38] [PASSED] no-or-or-no
[22:12:38] [PASSED] missing-context-engine-class
[22:12:38] [PASSED] missing-context-engine-class-or-yes
[22:12:38] [PASSED] missing-context-engine-class-or-or-yes
[22:12:38] =============== [PASSED] xe_rtp_rules_tests ================
[22:12:38] =============== xe_rtp_process_to_sr_tests  ================
[22:12:38] [PASSED] coalesce-same-reg
[22:12:38] [PASSED] coalesce-same-reg-literal-and-func
[22:12:38] [PASSED] no-match-no-add
[22:12:38] [PASSED] two-regs-two-entries
[22:12:38] [PASSED] clr-one-set-other
[22:12:38] [PASSED] set-field
[22:12:38] [PASSED] conflict-duplicate
[22:12:38] [PASSED] conflict-not-disjoint
[22:12:38] [PASSED] conflict-not-disjoint-literal-and-func
[22:12:38] [PASSED] conflict-reg-type
[22:12:38] [PASSED] bad-mcr-reg-forced-to-regular
[22:12:38] [PASSED] bad-regular-reg-forced-to-mcr
[22:12:38] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[22:12:38] ================== xe_rtp_process_tests  ===================
[22:12:38] [PASSED] active1
[22:12:38] [PASSED] active2
[22:12:38] [PASSED] active-inactive
[22:12:38] [PASSED] inactive-active
[22:12:38] [PASSED] inactive-active-inactive
[22:12:38] [PASSED] inactive-inactive-inactive
[22:12:38] ============== [PASSED] xe_rtp_process_tests ===============
[22:12:38] ===================== [PASSED] xe_rtp ======================
[22:12:38] ==================== xe_wa (1 subtest) =====================
[22:12:38] ======================== xe_wa_gt  =========================
[22:12:38] [PASSED] TIGERLAKE B0
[22:12:38] [PASSED] DG1 A0
[22:12:38] [PASSED] DG1 B0
[22:12:38] [PASSED] ALDERLAKE_S A0
[22:12:38] [PASSED] ALDERLAKE_S B0
[22:12:38] [PASSED] ALDERLAKE_S C0
[22:12:38] [PASSED] ALDERLAKE_S D0
[22:12:38] [PASSED] ALDERLAKE_P A0
[22:12:38] [PASSED] ALDERLAKE_P B0
[22:12:38] [PASSED] ALDERLAKE_P C0
[22:12:38] [PASSED] ALDERLAKE_S RPLS D0
[22:12:38] [PASSED] ALDERLAKE_P RPLU E0
[22:12:38] [PASSED] DG2 G10 C0
[22:12:38] [PASSED] DG2 G11 B1
[22:12:38] [PASSED] DG2 G12 A1
[22:12:38] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[22:12:38] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[22:12:38] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[22:12:38] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[22:12:38] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[22:12:38] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[22:12:38] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[22:12:38] ==================== [PASSED] xe_wa_gt =====================
[22:12:38] ====================== [PASSED] xe_wa ======================
[22:12:38] ============================================================
[22:12:38] Testing complete. Ran 789 tests: passed: 761, skipped: 28
[22:12:38] Elapsed time: 37.062s total, 4.402s configuring, 31.944s building, 0.683s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [22:12:38] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[22:12:40] 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
[22:13:05] Starting KUnit Kernel (1/1)...
[22:13:05] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:13:05] ============ drm_test_pick_cmdline (2 subtests) ============
[22:13:05] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[22:13:05] =============== drm_test_pick_cmdline_named  ===============
[22:13:05] [PASSED] NTSC
[22:13:05] [PASSED] NTSC-J
[22:13:05] [PASSED] PAL
[22:13:05] [PASSED] PAL-M
[22:13:05] =========== [PASSED] drm_test_pick_cmdline_named ===========
[22:13:05] ============== [PASSED] drm_test_pick_cmdline ==============
[22:13:05] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[22:13:05] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[22:13:05] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[22:13:05] =========== drm_validate_clone_mode (2 subtests) ===========
[22:13:05] ============== drm_test_check_in_clone_mode  ===============
[22:13:05] [PASSED] in_clone_mode
[22:13:05] [PASSED] not_in_clone_mode
[22:13:05] ========== [PASSED] drm_test_check_in_clone_mode ===========
[22:13:05] =============== drm_test_check_valid_clones  ===============
[22:13:05] [PASSED] not_in_clone_mode
[22:13:05] [PASSED] valid_clone
[22:13:05] [PASSED] invalid_clone
[22:13:05] =========== [PASSED] drm_test_check_valid_clones ===========
[22:13:05] ============= [PASSED] drm_validate_clone_mode =============
[22:13:05] ============= drm_validate_modeset (1 subtest) =============
[22:13:05] [PASSED] drm_test_check_connector_changed_modeset
[22:13:05] ============== [PASSED] drm_validate_modeset ===============
[22:13:05] ====== drm_test_bridge_get_current_state (1 subtest) =======
[22:13:05] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[22:13:05] ======== [PASSED] drm_test_bridge_get_current_state ========
[22:13:05] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[22:13:05] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[22:13:05] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[22:13:05] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[22:13:05] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[22:13:05] ============== drm_bridge_alloc (2 subtests) ===============
[22:13:05] [PASSED] drm_test_drm_bridge_alloc_basic
[22:13:05] [PASSED] drm_test_drm_bridge_alloc_get_put
[22:13:05] ================ [PASSED] drm_bridge_alloc =================
[22:13:05] ============= drm_bridge_bus_fmt (5 subtests) ==============
[22:13:05] [PASSED] drm_test_bridge_rgb_yuv_rgb
[22:13:05] [PASSED] drm_test_bridge_must_convert_to_yuv444
[22:13:05] [PASSED] drm_test_bridge_hdmi_auto_rgb
[22:13:05] [PASSED] drm_test_bridge_auto_first
[22:13:05] [PASSED] drm_test_bridge_rgb_yuv_no_path
[22:13:05] =============== [PASSED] drm_bridge_bus_fmt ================
[22:13:05] ============= drm_cmdline_parser (40 subtests) =============
[22:13:05] [PASSED] drm_test_cmdline_force_d_only
[22:13:05] [PASSED] drm_test_cmdline_force_D_only_dvi
[22:13:05] [PASSED] drm_test_cmdline_force_D_only_hdmi
[22:13:05] [PASSED] drm_test_cmdline_force_D_only_not_digital
[22:13:05] [PASSED] drm_test_cmdline_force_e_only
[22:13:05] [PASSED] drm_test_cmdline_res
[22:13:05] [PASSED] drm_test_cmdline_res_vesa
[22:13:05] [PASSED] drm_test_cmdline_res_vesa_rblank
[22:13:05] [PASSED] drm_test_cmdline_res_rblank
[22:13:05] [PASSED] drm_test_cmdline_res_bpp
[22:13:05] [PASSED] drm_test_cmdline_res_refresh
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[22:13:05] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[22:13:05] [PASSED] drm_test_cmdline_res_margins_force_on
[22:13:05] [PASSED] drm_test_cmdline_res_vesa_margins
[22:13:05] [PASSED] drm_test_cmdline_name
[22:13:05] [PASSED] drm_test_cmdline_name_bpp
[22:13:05] [PASSED] drm_test_cmdline_name_option
[22:13:05] [PASSED] drm_test_cmdline_name_bpp_option
[22:13:05] [PASSED] drm_test_cmdline_rotate_0
[22:13:05] [PASSED] drm_test_cmdline_rotate_90
[22:13:05] [PASSED] drm_test_cmdline_rotate_180
[22:13:05] [PASSED] drm_test_cmdline_rotate_270
[22:13:05] [PASSED] drm_test_cmdline_hmirror
[22:13:05] [PASSED] drm_test_cmdline_vmirror
[22:13:05] [PASSED] drm_test_cmdline_margin_options
[22:13:05] [PASSED] drm_test_cmdline_multiple_options
[22:13:05] [PASSED] drm_test_cmdline_bpp_extra_and_option
[22:13:05] [PASSED] drm_test_cmdline_extra_and_option
[22:13:05] [PASSED] drm_test_cmdline_freestanding_options
[22:13:05] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[22:13:05] [PASSED] drm_test_cmdline_panel_orientation
[22:13:05] ================ drm_test_cmdline_invalid  =================
[22:13:05] [PASSED] margin_only
[22:13:05] [PASSED] interlace_only
[22:13:05] [PASSED] res_missing_x
[22:13:05] [PASSED] res_missing_y
[22:13:05] [PASSED] res_bad_y
[22:13:05] [PASSED] res_missing_y_bpp
[22:13:05] [PASSED] res_bad_bpp
[22:13:05] [PASSED] res_bad_refresh
[22:13:05] [PASSED] res_bpp_refresh_force_on_off
[22:13:05] [PASSED] res_invalid_mode
[22:13:05] [PASSED] res_bpp_wrong_place_mode
[22:13:05] [PASSED] name_bpp_refresh
[22:13:05] [PASSED] name_refresh
[22:13:05] [PASSED] name_refresh_wrong_mode
[22:13:05] [PASSED] name_refresh_invalid_mode
[22:13:05] [PASSED] rotate_multiple
[22:13:05] [PASSED] rotate_invalid_val
[22:13:05] [PASSED] rotate_truncated
[22:13:05] [PASSED] invalid_option
[22:13:05] [PASSED] invalid_tv_option
[22:13:05] [PASSED] truncated_tv_option
[22:13:05] ============ [PASSED] drm_test_cmdline_invalid =============
[22:13:05] =============== drm_test_cmdline_tv_options  ===============
[22:13:05] [PASSED] NTSC
[22:13:05] [PASSED] NTSC_443
[22:13:05] [PASSED] NTSC_J
[22:13:05] [PASSED] PAL
[22:13:05] [PASSED] PAL_M
[22:13:05] [PASSED] PAL_N
[22:13:05] [PASSED] SECAM
[22:13:05] [PASSED] MONO_525
[22:13:05] [PASSED] MONO_625
[22:13:05] =========== [PASSED] drm_test_cmdline_tv_options ===========
[22:13:05] =============== [PASSED] drm_cmdline_parser ================
[22:13:05] ========== drmm_connector_hdmi_init (20 subtests) ==========
[22:13:05] [PASSED] drm_test_connector_hdmi_init_valid
[22:13:05] [PASSED] drm_test_connector_hdmi_init_bpc_8
[22:13:05] [PASSED] drm_test_connector_hdmi_init_bpc_10
[22:13:05] [PASSED] drm_test_connector_hdmi_init_bpc_12
[22:13:05] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[22:13:05] [PASSED] drm_test_connector_hdmi_init_bpc_null
[22:13:05] [PASSED] drm_test_connector_hdmi_init_formats_empty
[22:13:05] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[22:13:05] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[22:13:05] [PASSED] supported_formats=0x9 yuv420_allowed=1
[22:13:05] [PASSED] supported_formats=0x9 yuv420_allowed=0
[22:13:05] [PASSED] supported_formats=0x5 yuv420_allowed=1
[22:13:05] [PASSED] supported_formats=0x5 yuv420_allowed=0
[22:13:05] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[22:13:05] [PASSED] drm_test_connector_hdmi_init_null_ddc
[22:13:05] [PASSED] drm_test_connector_hdmi_init_null_product
[22:13:05] [PASSED] drm_test_connector_hdmi_init_null_vendor
[22:13:05] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[22:13:05] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[22:13:05] [PASSED] drm_test_connector_hdmi_init_product_valid
[22:13:05] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[22:13:05] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[22:13:05] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[22:13:05] ========= drm_test_connector_hdmi_init_type_valid  =========
[22:13:05] [PASSED] HDMI-A
[22:13:05] [PASSED] HDMI-B
[22:13:05] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[22:13:05] ======== drm_test_connector_hdmi_init_type_invalid  ========
[22:13:05] [PASSED] Unknown
[22:13:05] [PASSED] VGA
[22:13:05] [PASSED] DVI-I
[22:13:05] [PASSED] DVI-D
[22:13:05] [PASSED] DVI-A
[22:13:05] [PASSED] Composite
[22:13:05] [PASSED] SVIDEO
[22:13:05] [PASSED] LVDS
[22:13:05] [PASSED] Component
[22:13:05] [PASSED] DIN
[22:13:05] [PASSED] DP
[22:13:05] [PASSED] TV
[22:13:05] [PASSED] eDP
[22:13:05] [PASSED] Virtual
[22:13:05] [PASSED] DSI
[22:13:05] [PASSED] DPI
[22:13:05] [PASSED] Writeback
[22:13:05] [PASSED] SPI
[22:13:05] [PASSED] USB
[22:13:05] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[22:13:05] ============ [PASSED] drmm_connector_hdmi_init =============
[22:13:05] ============= drmm_connector_init (3 subtests) =============
[22:13:05] [PASSED] drm_test_drmm_connector_init
[22:13:05] [PASSED] drm_test_drmm_connector_init_null_ddc
[22:13:05] ========= drm_test_drmm_connector_init_type_valid  =========
[22:13:05] [PASSED] Unknown
[22:13:05] [PASSED] VGA
[22:13:05] [PASSED] DVI-I
[22:13:05] [PASSED] DVI-D
[22:13:05] [PASSED] DVI-A
[22:13:05] [PASSED] Composite
[22:13:05] [PASSED] SVIDEO
[22:13:05] [PASSED] LVDS
[22:13:05] [PASSED] Component
[22:13:05] [PASSED] DIN
[22:13:05] [PASSED] DP
[22:13:05] [PASSED] HDMI-A
[22:13:05] [PASSED] HDMI-B
[22:13:05] [PASSED] TV
[22:13:05] [PASSED] eDP
[22:13:05] [PASSED] Virtual
[22:13:05] [PASSED] DSI
[22:13:05] [PASSED] DPI
[22:13:05] [PASSED] Writeback
[22:13:05] [PASSED] SPI
[22:13:05] [PASSED] USB
[22:13:05] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[22:13:05] =============== [PASSED] drmm_connector_init ===============
[22:13:05] ========= drm_connector_dynamic_init (6 subtests) ==========
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_init
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_init_properties
[22:13:05] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[22:13:05] [PASSED] Unknown
[22:13:05] [PASSED] VGA
[22:13:05] [PASSED] DVI-I
[22:13:05] [PASSED] DVI-D
[22:13:05] [PASSED] DVI-A
[22:13:05] [PASSED] Composite
[22:13:05] [PASSED] SVIDEO
[22:13:05] [PASSED] LVDS
[22:13:05] [PASSED] Component
[22:13:05] [PASSED] DIN
[22:13:05] [PASSED] DP
[22:13:05] [PASSED] HDMI-A
[22:13:05] [PASSED] HDMI-B
[22:13:05] [PASSED] TV
[22:13:05] [PASSED] eDP
[22:13:05] [PASSED] Virtual
[22:13:05] [PASSED] DSI
[22:13:05] [PASSED] DPI
[22:13:05] [PASSED] Writeback
[22:13:05] [PASSED] SPI
[22:13:05] [PASSED] USB
[22:13:05] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[22:13:05] ======== drm_test_drm_connector_dynamic_init_name  =========
[22:13:05] [PASSED] Unknown
[22:13:05] [PASSED] VGA
[22:13:05] [PASSED] DVI-I
[22:13:05] [PASSED] DVI-D
[22:13:05] [PASSED] DVI-A
[22:13:05] [PASSED] Composite
[22:13:05] [PASSED] SVIDEO
[22:13:05] [PASSED] LVDS
[22:13:05] [PASSED] Component
[22:13:05] [PASSED] DIN
[22:13:05] [PASSED] DP
[22:13:05] [PASSED] HDMI-A
[22:13:05] [PASSED] HDMI-B
[22:13:05] [PASSED] TV
[22:13:05] [PASSED] eDP
[22:13:05] [PASSED] Virtual
[22:13:05] [PASSED] DSI
[22:13:05] [PASSED] DPI
[22:13:05] [PASSED] Writeback
[22:13:05] [PASSED] SPI
[22:13:05] [PASSED] USB
[22:13:05] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[22:13:05] =========== [PASSED] drm_connector_dynamic_init ============
[22:13:05] ==== drm_connector_dynamic_register_early (4 subtests) =====
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[22:13:05] ====== [PASSED] drm_connector_dynamic_register_early =======
[22:13:05] ======= drm_connector_dynamic_register (7 subtests) ========
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[22:13:05] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[22:13:05] ========= [PASSED] drm_connector_dynamic_register ==========
[22:13:05] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[22:13:05] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[22:13:05] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[22:13:05] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[22:13:05] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[22:13:05] ========== drm_test_get_tv_mode_from_name_valid  ===========
[22:13:05] [PASSED] NTSC
[22:13:05] [PASSED] NTSC-443
[22:13:05] [PASSED] NTSC-J
[22:13:05] [PASSED] PAL
[22:13:05] [PASSED] PAL-M
[22:13:05] [PASSED] PAL-N
[22:13:05] [PASSED] SECAM
[22:13:05] [PASSED] Mono
[22:13:05] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[22:13:05] [PASSED] drm_test_get_tv_mode_from_name_truncated
[22:13:05] ============ [PASSED] drm_get_tv_mode_from_name ============
[22:13:05] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[22:13:05] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[22:13:05] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[22:13:05] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[22:13:05] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[22:13:05] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[22:13:05] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[22:13:05] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[22:13:05] [PASSED] VIC 96
[22:13:05] [PASSED] VIC 97
[22:13:05] [PASSED] VIC 101
[22:13:05] [PASSED] VIC 102
[22:13:05] [PASSED] VIC 106
[22:13:05] [PASSED] VIC 107
[22:13:05] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[22:13:05] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[22:13:05] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[22:13:05] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[22:13:05] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[22:13:05] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[22:13:05] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[22:13:05] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[22:13:05] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[22:13:05] [PASSED] Automatic
[22:13:05] [PASSED] Full
[22:13:05] [PASSED] Limited 16:235
[22:13:05] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[22:13:05] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[22:13:05] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[22:13:05] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[22:13:05] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[22:13:05] [PASSED] RGB
[22:13:05] [PASSED] YUV 4:2:0
[22:13:05] [PASSED] YUV 4:2:2
[22:13:05] [PASSED] YUV 4:4:4
[22:13:05] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[22:13:05] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[22:13:05] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[22:13:05] ============= drm_damage_helper (21 subtests) ==============
[22:13:05] [PASSED] drm_test_damage_iter_no_damage
[22:13:05] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[22:13:05] [PASSED] drm_test_damage_iter_no_damage_src_moved
[22:13:05] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[22:13:05] [PASSED] drm_test_damage_iter_no_damage_not_visible
[22:13:05] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[22:13:05] [PASSED] drm_test_damage_iter_no_damage_no_fb
[22:13:05] [PASSED] drm_test_damage_iter_simple_damage
[22:13:05] [PASSED] drm_test_damage_iter_single_damage
[22:13:05] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[22:13:05] [PASSED] drm_test_damage_iter_single_damage_outside_src
[22:13:05] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[22:13:05] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[22:13:05] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[22:13:05] [PASSED] drm_test_damage_iter_single_damage_src_moved
[22:13:05] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[22:13:05] [PASSED] drm_test_damage_iter_damage
[22:13:05] [PASSED] drm_test_damage_iter_damage_one_intersect
[22:13:05] [PASSED] drm_test_damage_iter_damage_one_outside
[22:13:05] [PASSED] drm_test_damage_iter_damage_src_moved
[22:13:05] [PASSED] drm_test_damage_iter_damage_not_visible
[22:13:05] ================ [PASSED] drm_damage_helper ================
[22:13:05] ============== drm_dp_mst_helper (3 subtests) ==============
[22:13:05] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[22:13:05] [PASSED] Clock 154000 BPP 30 DSC disabled
[22:13:05] [PASSED] Clock 234000 BPP 30 DSC disabled
[22:13:05] [PASSED] Clock 297000 BPP 24 DSC disabled
[22:13:05] [PASSED] Clock 332880 BPP 24 DSC enabled
[22:13:05] [PASSED] Clock 324540 BPP 24 DSC enabled
[22:13:05] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[22:13:05] ============== drm_test_dp_mst_calc_pbn_div  ===============
[22:13:05] [PASSED] Link rate 2000000 lane count 4
[22:13:05] [PASSED] Link rate 2000000 lane count 2
[22:13:05] [PASSED] Link rate 2000000 lane count 1
[22:13:05] [PASSED] Link rate 1350000 lane count 4
[22:13:05] [PASSED] Link rate 1350000 lane count 2
[22:13:05] [PASSED] Link rate 1350000 lane count 1
[22:13:05] [PASSED] Link rate 1000000 lane count 4
[22:13:05] [PASSED] Link rate 1000000 lane count 2
[22:13:05] [PASSED] Link rate 1000000 lane count 1
[22:13:05] [PASSED] Link rate 810000 lane count 4
[22:13:05] [PASSED] Link rate 810000 lane count 2
[22:13:05] [PASSED] Link rate 810000 lane count 1
[22:13:05] [PASSED] Link rate 540000 lane count 4
[22:13:05] [PASSED] Link rate 540000 lane count 2
[22:13:05] [PASSED] Link rate 540000 lane count 1
[22:13:05] [PASSED] Link rate 270000 lane count 4
[22:13:05] [PASSED] Link rate 270000 lane count 2
[22:13:05] [PASSED] Link rate 270000 lane count 1
[22:13:05] [PASSED] Link rate 162000 lane count 4
[22:13:05] [PASSED] Link rate 162000 lane count 2
[22:13:05] [PASSED] Link rate 162000 lane count 1
[22:13:05] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[22:13:05] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[22:13:05] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[22:13:05] [PASSED] DP_POWER_UP_PHY with port number
[22:13:05] [PASSED] DP_POWER_DOWN_PHY with port number
[22:13:05] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[22:13:05] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[22:13:05] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[22:13:05] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[22:13:05] [PASSED] DP_QUERY_PAYLOAD with port number
[22:13:05] [PASSED] DP_QUERY_PAYLOAD with VCPI
[22:13:05] [PASSED] DP_REMOTE_DPCD_READ with port number
[22:13:05] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[22:13:05] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[22:13:05] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[22:13:05] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[22:13:05] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[22:13:05] [PASSED] DP_REMOTE_I2C_READ with port number
[22:13:05] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[22:13:05] [PASSED] DP_REMOTE_I2C_READ with transactions array
[22:13:05] [PASSED] DP_REMOTE_I2C_WRITE with port number
[22:13:05] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[22:13:05] [PASSED] DP_REMOTE_I2C_WRITE with data array
[22:13:05] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[22:13:05] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[22:13:05] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[22:13:05] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[22:13:05] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[22:13:05] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[22:13:05] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[22:13:05] ================ [PASSED] drm_dp_mst_helper ================
[22:13:05] ================== drm_exec (7 subtests) ===================
[22:13:05] [PASSED] sanitycheck
[22:13:05] [PASSED] test_lock
[22:13:05] [PASSED] test_lock_unlock
[22:13:05] [PASSED] test_duplicates
[22:13:05] [PASSED] test_prepare
[22:13:05] [PASSED] test_prepare_array
[22:13:05] [PASSED] test_multiple_loops
[22:13:05] ==================== [PASSED] drm_exec =====================
[22:13:05] =========== drm_format_helper_test (17 subtests) ===========
[22:13:05] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[22:13:05] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[22:13:05] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[22:13:05] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[22:13:05] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[22:13:05] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[22:13:05] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[22:13:05] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[22:13:05] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[22:13:05] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[22:13:05] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[22:13:05] ============== drm_test_fb_xrgb8888_to_mono  ===============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[22:13:05] ==================== drm_test_fb_swab  =====================
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ================ [PASSED] drm_test_fb_swab =================
[22:13:05] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[22:13:05] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[22:13:05] [PASSED] single_pixel_source_buffer
[22:13:05] [PASSED] single_pixel_clip_rectangle
[22:13:05] [PASSED] well_known_colors
[22:13:05] [PASSED] destination_pitch
[22:13:05] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[22:13:05] ================= drm_test_fb_clip_offset  =================
[22:13:05] [PASSED] pass through
[22:13:05] [PASSED] horizontal offset
[22:13:05] [PASSED] vertical offset
[22:13:05] [PASSED] horizontal and vertical offset
[22:13:05] [PASSED] horizontal offset (custom pitch)
[22:13:05] [PASSED] vertical offset (custom pitch)
[22:13:05] [PASSED] horizontal and vertical offset (custom pitch)
[22:13:05] ============= [PASSED] drm_test_fb_clip_offset =============
[22:13:05] =================== drm_test_fb_memcpy  ====================
[22:13:05] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[22:13:05] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[22:13:05] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[22:13:05] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[22:13:05] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[22:13:05] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[22:13:05] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[22:13:05] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[22:13:05] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[22:13:05] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[22:13:05] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[22:13:05] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[22:13:05] =============== [PASSED] drm_test_fb_memcpy ================
[22:13:05] ============= [PASSED] drm_format_helper_test ==============
[22:13:05] ================= drm_format (18 subtests) =================
[22:13:05] [PASSED] drm_test_format_block_width_invalid
[22:13:05] [PASSED] drm_test_format_block_width_one_plane
[22:13:05] [PASSED] drm_test_format_block_width_two_plane
[22:13:05] [PASSED] drm_test_format_block_width_three_plane
[22:13:05] [PASSED] drm_test_format_block_width_tiled
[22:13:05] [PASSED] drm_test_format_block_height_invalid
[22:13:05] [PASSED] drm_test_format_block_height_one_plane
[22:13:05] [PASSED] drm_test_format_block_height_two_plane
[22:13:05] [PASSED] drm_test_format_block_height_three_plane
[22:13:05] [PASSED] drm_test_format_block_height_tiled
[22:13:05] [PASSED] drm_test_format_min_pitch_invalid
[22:13:05] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[22:13:05] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[22:13:05] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[22:13:05] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[22:13:05] [PASSED] drm_test_format_min_pitch_two_plane
[22:13:05] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[22:13:05] [PASSED] drm_test_format_min_pitch_tiled
[22:13:05] =================== [PASSED] drm_format ====================
[22:13:05] ============== drm_framebuffer (10 subtests) ===============
[22:13:05] ========== drm_test_framebuffer_check_src_coords  ==========
[22:13:05] [PASSED] Success: source fits into fb
[22:13:05] [PASSED] Fail: overflowing fb with x-axis coordinate
[22:13:05] [PASSED] Fail: overflowing fb with y-axis coordinate
[22:13:05] [PASSED] Fail: overflowing fb with source width
[22:13:05] [PASSED] Fail: overflowing fb with source height
[22:13:05] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[22:13:05] [PASSED] drm_test_framebuffer_cleanup
[22:13:05] =============== drm_test_framebuffer_create  ===============
[22:13:05] [PASSED] ABGR8888 normal sizes
[22:13:05] [PASSED] ABGR8888 max sizes
[22:13:05] [PASSED] ABGR8888 pitch greater than min required
[22:13:05] [PASSED] ABGR8888 pitch less than min required
[22:13:05] [PASSED] ABGR8888 Invalid width
[22:13:05] [PASSED] ABGR8888 Invalid buffer handle
[22:13:05] [PASSED] No pixel format
[22:13:05] [PASSED] ABGR8888 Width 0
[22:13:05] [PASSED] ABGR8888 Height 0
[22:13:05] [PASSED] ABGR8888 Out of bound height * pitch combination
[22:13:05] [PASSED] ABGR8888 Large buffer offset
[22:13:05] [PASSED] ABGR8888 Buffer offset for inexistent plane
[22:13:05] [PASSED] ABGR8888 Invalid flag
[22:13:05] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[22:13:05] [PASSED] ABGR8888 Valid buffer modifier
[22:13:05] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[22:13:05] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[22:13:05] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[22:13:05] [PASSED] NV12 Normal sizes
[22:13:05] [PASSED] NV12 Max sizes
[22:13:05] [PASSED] NV12 Invalid pitch
[22:13:05] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[22:13:05] [PASSED] NV12 different  modifier per-plane
[22:13:05] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[22:13:05] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[22:13:05] [PASSED] NV12 Modifier for inexistent plane
[22:13:05] [PASSED] NV12 Handle for inexistent plane
[22:13:05] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[22:13:05] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[22:13:05] [PASSED] YVU420 Normal sizes
[22:13:05] [PASSED] YVU420 Max sizes
[22:13:05] [PASSED] YVU420 Invalid pitch
[22:13:05] [PASSED] YVU420 Different pitches
[22:13:05] [PASSED] YVU420 Different buffer offsets/pitches
[22:13:05] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[22:13:05] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[22:13:05] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[22:13:05] [PASSED] YVU420 Valid modifier
[22:13:05] [PASSED] YVU420 Different modifiers per plane
[22:13:05] [PASSED] YVU420 Modifier for inexistent plane
[22:13:05] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[22:13:05] [PASSED] X0L2 Normal sizes
[22:13:05] [PASSED] X0L2 Max sizes
[22:13:05] [PASSED] X0L2 Invalid pitch
[22:13:05] [PASSED] X0L2 Pitch greater than minimum required
[22:13:05] [PASSED] X0L2 Handle for inexistent plane
[22:13:05] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[22:13:05] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[22:13:05] [PASSED] X0L2 Valid modifier
[22:13:05] [PASSED] X0L2 Modifier for inexistent plane
[22:13:05] =========== [PASSED] drm_test_framebuffer_create ===========
[22:13:05] [PASSED] drm_test_framebuffer_free
[22:13:05] [PASSED] drm_test_framebuffer_init
[22:13:05] [PASSED] drm_test_framebuffer_init_bad_format
[22:13:05] [PASSED] drm_test_framebuffer_init_dev_mismatch
[22:13:05] [PASSED] drm_test_framebuffer_lookup
[22:13:05] [PASSED] drm_test_framebuffer_lookup_inexistent
[22:13:05] [PASSED] drm_test_framebuffer_modifiers_not_supported
[22:13:05] ================= [PASSED] drm_framebuffer =================
[22:13:05] ================ drm_gem_shmem (8 subtests) ================
[22:13:05] [PASSED] drm_gem_shmem_test_obj_create
[22:13:05] [PASSED] drm_gem_shmem_test_obj_create_private
[22:13:05] [PASSED] drm_gem_shmem_test_pin_pages
[22:13:05] [PASSED] drm_gem_shmem_test_vmap
[22:13:05] [PASSED] drm_gem_shmem_test_get_sg_table
[22:13:05] [PASSED] drm_gem_shmem_test_get_pages_sgt
[22:13:05] [PASSED] drm_gem_shmem_test_madvise
[22:13:05] [PASSED] drm_gem_shmem_test_purge
[22:13:05] ================== [PASSED] drm_gem_shmem ==================
[22:13:05] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[22:13:05] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[22:13:05] [PASSED] Automatic
[22:13:05] [PASSED] Full
[22:13:05] [PASSED] Limited 16:235
[22:13:05] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[22:13:05] [PASSED] drm_test_check_disable_connector
[22:13:05] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[22:13:05] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[22:13:05] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[22:13:05] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[22:13:05] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[22:13:05] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[22:13:05] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[22:13:05] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[22:13:05] [PASSED] drm_test_check_output_bpc_dvi
[22:13:05] [PASSED] drm_test_check_output_bpc_format_vic_1
[22:13:05] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[22:13:05] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[22:13:05] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[22:13:05] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[22:13:05] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[22:13:05] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[22:13:05] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[22:13:05] ============ drm_test_check_hdmi_color_format  =============
[22:13:05] [PASSED] AUTO -> RGB
[22:13:05] [PASSED] YCBCR422 -> YUV422
[22:13:05] [PASSED] YCBCR420 -> YUV420
[22:13:05] [PASSED] YCBCR444 -> YUV444
[22:13:05] [PASSED] RGB -> RGB
[22:13:05] ======== [PASSED] drm_test_check_hdmi_color_format =========
[22:13:05] ======== drm_test_check_hdmi_color_format_420_only  ========
[22:13:05] [PASSED] RGB should fail
[22:13:05] [PASSED] YUV444 should fail
[22:13:05] [PASSED] YUV422 should fail
[22:13:05] [PASSED] YUV420 should work
[22:13:05] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[22:13:05] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[22:13:05] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[22:13:05] [PASSED] drm_test_check_broadcast_rgb_value
[22:13:05] [PASSED] drm_test_check_bpc_8_value
[22:13:05] [PASSED] drm_test_check_bpc_10_value
[22:13:05] [PASSED] drm_test_check_bpc_12_value
[22:13:05] [PASSED] drm_test_check_format_value
[22:13:05] [PASSED] drm_test_check_tmds_char_value
[22:13:05] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[22:13:05] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[22:13:05] [PASSED] drm_test_check_mode_valid
[22:13:05] [PASSED] drm_test_check_mode_valid_reject
[22:13:05] [PASSED] drm_test_check_mode_valid_reject_rate
[22:13:05] [PASSED] drm_test_check_mode_valid_reject_max_clock
[22:13:05] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[22:13:05] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[22:13:05] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[22:13:05] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[22:13:05] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[22:13:05] [PASSED] drm_test_check_infoframes
[22:13:05] [PASSED] drm_test_check_reject_avi_infoframe
[22:13:05] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[22:13:05] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[22:13:05] [PASSED] drm_test_check_reject_audio_infoframe
[22:13:05] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[22:13:05] ================= drm_managed (2 subtests) =================
[22:13:05] [PASSED] drm_test_managed_release_action
[22:13:05] [PASSED] drm_test_managed_run_action
[22:13:05] =================== [PASSED] drm_managed ===================
[22:13:05] =================== drm_mm (6 subtests) ====================
[22:13:05] [PASSED] drm_test_mm_init
[22:13:05] [PASSED] drm_test_mm_debug
[22:13:05] [PASSED] drm_test_mm_align32
[22:13:05] [PASSED] drm_test_mm_align64
[22:13:05] [PASSED] drm_test_mm_lowest
[22:13:05] [PASSED] drm_test_mm_highest
[22:13:05] ===================== [PASSED] drm_mm ======================
[22:13:05] ============= drm_modes_analog_tv (5 subtests) =============
[22:13:05] [PASSED] drm_test_modes_analog_tv_mono_576i
[22:13:05] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[22:13:05] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[22:13:05] [PASSED] drm_test_modes_analog_tv_pal_576i
[22:13:05] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[22:13:05] =============== [PASSED] drm_modes_analog_tv ===============
[22:13:05] ============== drm_plane_helper (2 subtests) ===============
[22:13:05] =============== drm_test_check_plane_state  ================
[22:13:05] [PASSED] clipping_simple
[22:13:05] [PASSED] clipping_rotate_reflect
[22:13:05] [PASSED] positioning_simple
[22:13:05] [PASSED] upscaling
[22:13:05] [PASSED] downscaling
[22:13:05] [PASSED] rounding1
[22:13:05] [PASSED] rounding2
[22:13:05] [PASSED] rounding3
[22:13:05] [PASSED] rounding4
[22:13:05] =========== [PASSED] drm_test_check_plane_state ============
[22:13:05] =========== drm_test_check_invalid_plane_state  ============
[22:13:05] [PASSED] positioning_invalid
[22:13:05] [PASSED] upscaling_invalid
[22:13:05] [PASSED] downscaling_invalid
[22:13:05] ======= [PASSED] drm_test_check_invalid_plane_state ========
[22:13:05] ================ [PASSED] drm_plane_helper =================
[22:13:05] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[22:13:05] ====== drm_test_connector_helper_tv_get_modes_check  =======
[22:13:05] [PASSED] None
[22:13:05] [PASSED] PAL
[22:13:05] [PASSED] NTSC
[22:13:05] [PASSED] Both, NTSC Default
[22:13:05] [PASSED] Both, PAL Default
[22:13:05] [PASSED] Both, NTSC Default, with PAL on command-line
[22:13:05] [PASSED] Both, PAL Default, with NTSC on command-line
[22:13:05] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[22:13:05] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[22:13:05] ================== drm_rect (9 subtests) ===================
[22:13:05] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[22:13:05] [PASSED] drm_test_rect_clip_scaled_not_clipped
[22:13:05] [PASSED] drm_test_rect_clip_scaled_clipped
[22:13:05] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[22:13:05] ================= drm_test_rect_intersect  =================
[22:13:05] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[22:13:05] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[22:13:05] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[22:13:05] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[22:13:05] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[22:13:05] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[22:13:05] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[22:13:05] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[22:13:05] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[22:13:05] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[22:13:05] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[22:13:05] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[22:13:05] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[22:13:05] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[22:13:05] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[22:13:05] ============= [PASSED] drm_test_rect_intersect =============
[22:13:05] ================ drm_test_rect_calc_hscale  ================
[22:13:05] [PASSED] normal use
[22:13:05] [PASSED] out of max range
[22:13:05] [PASSED] out of min range
[22:13:05] [PASSED] zero dst
[22:13:05] [PASSED] negative src
[22:13:05] [PASSED] negative dst
[22:13:05] ============ [PASSED] drm_test_rect_calc_hscale ============
[22:13:05] ================ drm_test_rect_calc_vscale  ================
[22:13:05] [PASSED] normal use
[22:13:05] [PASSED] out of max range
[22:13:05] [PASSED] out of min range
[22:13:05] [PASSED] zero dst
[22:13:05] [PASSED] negative src
[22:13:05] [PASSED] negative dst
[22:13:05] ============ [PASSED] drm_test_rect_calc_vscale ============
[22:13:05] ================== drm_test_rect_rotate  ===================
[22:13:05] [PASSED] reflect-x
[22:13:05] [PASSED] reflect-y
[22:13:05] [PASSED] rotate-0
[22:13:05] [PASSED] rotate-90
[22:13:05] [PASSED] rotate-180
[22:13:05] [PASSED] rotate-270
[22:13:05] ============== [PASSED] drm_test_rect_rotate ===============
[22:13:05] ================ drm_test_rect_rotate_inv  =================
[22:13:05] [PASSED] reflect-x
[22:13:05] [PASSED] reflect-y
[22:13:05] [PASSED] rotate-0
[22:13:05] [PASSED] rotate-90
[22:13:05] [PASSED] rotate-180
[22:13:05] [PASSED] rotate-270
[22:13:05] ============ [PASSED] drm_test_rect_rotate_inv =============
[22:13:05] ==================== [PASSED] drm_rect =====================
[22:13:05] ============ drm_sysfb_modeset_test (1 subtest) ============
[22:13:05] ============ drm_test_sysfb_build_fourcc_list  =============
[22:13:05] [PASSED] no native formats
[22:13:05] [PASSED] XRGB8888 as native format
[22:13:05] [PASSED] remove duplicates
[22:13:05] [PASSED] convert alpha formats
[22:13:05] [PASSED] random formats
[22:13:05] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[22:13:05] ============= [PASSED] drm_sysfb_modeset_test ==============
[22:13:05] ================== drm_fixp (2 subtests) ===================
[22:13:05] [PASSED] drm_test_int2fixp
[22:13:05] [PASSED] drm_test_sm2fixp
[22:13:05] ==================== [PASSED] drm_fixp =====================
[22:13:05] ============================================================
[22:13:05] Testing complete. Ran 637 tests: passed: 637
[22:13:05] Elapsed time: 26.638s total, 1.820s configuring, 24.647s building, 0.151s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [22:13:05] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[22:13:07] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[22:13:17] Starting KUnit Kernel (1/1)...
[22:13:17] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:13:17] ================= ttm_device (5 subtests) ==================
[22:13:17] [PASSED] ttm_device_init_basic
[22:13:17] [PASSED] ttm_device_init_multiple
[22:13:17] [PASSED] ttm_device_fini_basic
[22:13:17] [PASSED] ttm_device_init_no_vma_man
[22:13:17] ================== ttm_device_init_pools  ==================
[22:13:17] [PASSED] No DMA allocations, no DMA32 required
[22:13:17] [PASSED] DMA allocations, DMA32 required
[22:13:17] [PASSED] No DMA allocations, DMA32 required
[22:13:17] [PASSED] DMA allocations, no DMA32 required
[22:13:17] ============== [PASSED] ttm_device_init_pools ==============
[22:13:17] =================== [PASSED] ttm_device ====================
[22:13:17] ================== ttm_pool (8 subtests) ===================
[22:13:17] ================== ttm_pool_alloc_basic  ===================
[22:13:17] [PASSED] One page
[22:13:17] [PASSED] More than one page
[22:13:17] [PASSED] Above the allocation limit
[22:13:17] [PASSED] One page, with coherent DMA mappings enabled
[22:13:17] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[22:13:17] ============== [PASSED] ttm_pool_alloc_basic ===============
[22:13:17] ============== ttm_pool_alloc_basic_dma_addr  ==============
[22:13:17] [PASSED] One page
[22:13:17] [PASSED] More than one page
[22:13:17] [PASSED] Above the allocation limit
[22:13:17] [PASSED] One page, with coherent DMA mappings enabled
[22:13:17] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[22:13:17] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[22:13:17] [PASSED] ttm_pool_alloc_order_caching_match
[22:13:17] [PASSED] ttm_pool_alloc_caching_mismatch
[22:13:17] [PASSED] ttm_pool_alloc_order_mismatch
[22:13:17] [PASSED] ttm_pool_free_dma_alloc
[22:13:17] [PASSED] ttm_pool_free_no_dma_alloc
[22:13:17] [PASSED] ttm_pool_fini_basic
[22:13:17] ==================== [PASSED] ttm_pool =====================
[22:13:17] ================ ttm_resource (8 subtests) =================
[22:13:17] ================= ttm_resource_init_basic  =================
[22:13:17] [PASSED] Init resource in TTM_PL_SYSTEM
[22:13:17] [PASSED] Init resource in TTM_PL_VRAM
[22:13:17] [PASSED] Init resource in a private placement
[22:13:17] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[22:13:17] ============= [PASSED] ttm_resource_init_basic =============
[22:13:17] [PASSED] ttm_resource_init_pinned
[22:13:17] [PASSED] ttm_resource_fini_basic
[22:13:17] [PASSED] ttm_resource_manager_init_basic
[22:13:17] [PASSED] ttm_resource_manager_usage_basic
[22:13:17] [PASSED] ttm_resource_manager_set_used_basic
[22:13:17] [PASSED] ttm_sys_man_alloc_basic
[22:13:17] [PASSED] ttm_sys_man_free_basic
[22:13:17] ================== [PASSED] ttm_resource ===================
[22:13:17] =================== ttm_tt (15 subtests) ===================
[22:13:17] ==================== ttm_tt_init_basic  ====================
[22:13:17] [PASSED] Page-aligned size
[22:13:17] [PASSED] Extra pages requested
[22:13:17] ================ [PASSED] ttm_tt_init_basic ================
[22:13:17] [PASSED] ttm_tt_init_misaligned
[22:13:17] [PASSED] ttm_tt_fini_basic
[22:13:17] [PASSED] ttm_tt_fini_sg
[22:13:17] [PASSED] ttm_tt_fini_shmem
[22:13:17] [PASSED] ttm_tt_create_basic
[22:13:17] [PASSED] ttm_tt_create_invalid_bo_type
[22:13:17] [PASSED] ttm_tt_create_ttm_exists
[22:13:17] [PASSED] ttm_tt_create_failed
[22:13:17] [PASSED] ttm_tt_destroy_basic
[22:13:17] [PASSED] ttm_tt_populate_null_ttm
[22:13:17] [PASSED] ttm_tt_populate_populated_ttm
[22:13:17] [PASSED] ttm_tt_unpopulate_basic
[22:13:17] [PASSED] ttm_tt_unpopulate_empty_ttm
[22:13:17] [PASSED] ttm_tt_swapin_basic
[22:13:17] ===================== [PASSED] ttm_tt ======================
[22:13:17] =================== ttm_bo (14 subtests) ===================
[22:13:17] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[22:13:17] [PASSED] Cannot be interrupted and sleeps
[22:13:17] [PASSED] Cannot be interrupted, locks straight away
[22:13:17] [PASSED] Can be interrupted, sleeps
[22:13:17] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[22:13:17] [PASSED] ttm_bo_reserve_locked_no_sleep
[22:13:17] [PASSED] ttm_bo_reserve_no_wait_ticket
[22:13:17] [PASSED] ttm_bo_reserve_double_resv
[22:13:17] [PASSED] ttm_bo_reserve_interrupted
[22:13:17] [PASSED] ttm_bo_reserve_deadlock
[22:13:17] [PASSED] ttm_bo_unreserve_basic
[22:13:17] [PASSED] ttm_bo_unreserve_pinned
[22:13:17] [PASSED] ttm_bo_unreserve_bulk
[22:13:17] [PASSED] ttm_bo_fini_basic
[22:13:17] [PASSED] ttm_bo_fini_shared_resv
[22:13:17] [PASSED] ttm_bo_pin_basic
[22:13:17] [PASSED] ttm_bo_pin_unpin_resource
[22:13:17] [PASSED] ttm_bo_multiple_pin_one_unpin
[22:13:17] ===================== [PASSED] ttm_bo ======================
[22:13:17] ============== ttm_bo_validate (22 subtests) ===============
[22:13:17] ============== ttm_bo_init_reserved_sys_man  ===============
[22:13:17] [PASSED] Buffer object for userspace
[22:13:17] [PASSED] Kernel buffer object
[22:13:17] [PASSED] Shared buffer object
[22:13:17] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[22:13:17] ============== ttm_bo_init_reserved_mock_man  ==============
[22:13:17] [PASSED] Buffer object for userspace
[22:13:17] [PASSED] Kernel buffer object
[22:13:17] [PASSED] Shared buffer object
[22:13:17] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[22:13:17] [PASSED] ttm_bo_init_reserved_resv
[22:13:17] ================== ttm_bo_validate_basic  ==================
[22:13:17] [PASSED] Buffer object for userspace
[22:13:17] [PASSED] Kernel buffer object
[22:13:17] [PASSED] Shared buffer object
[22:13:17] ============== [PASSED] ttm_bo_validate_basic ==============
[22:13:17] [PASSED] ttm_bo_validate_invalid_placement
[22:13:17] ============= ttm_bo_validate_same_placement  ==============
[22:13:17] [PASSED] System manager
[22:13:17] [PASSED] VRAM manager
[22:13:17] ========= [PASSED] ttm_bo_validate_same_placement ==========
[22:13:17] [PASSED] ttm_bo_validate_failed_alloc
[22:13:17] [PASSED] ttm_bo_validate_pinned
[22:13:17] [PASSED] ttm_bo_validate_busy_placement
[22:13:17] ================ ttm_bo_validate_multihop  =================
[22:13:17] [PASSED] Buffer object for userspace
[22:13:17] [PASSED] Kernel buffer object
[22:13:17] [PASSED] Shared buffer object
[22:13:17] ============ [PASSED] ttm_bo_validate_multihop =============
[22:13:17] ========== ttm_bo_validate_no_placement_signaled  ==========
[22:13:17] [PASSED] Buffer object in system domain, no page vector
[22:13:17] [PASSED] Buffer object in system domain with an existing page vector
[22:13:17] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[22:13:17] ======== ttm_bo_validate_no_placement_not_signaled  ========
[22:13:17] [PASSED] Buffer object for userspace
[22:13:17] [PASSED] Kernel buffer object
[22:13:17] [PASSED] Shared buffer object
[22:13:17] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[22:13:17] [PASSED] ttm_bo_validate_move_fence_signaled
[22:13:17] ========= ttm_bo_validate_move_fence_not_signaled  =========
[22:13:17] [PASSED] Waits for GPU
[22:13:17] [PASSED] Tries to lock straight away
[22:13:17] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[22:13:17] [PASSED] ttm_bo_validate_swapout
[22:13:17] [PASSED] ttm_bo_validate_happy_evict
[22:13:17] [PASSED] ttm_bo_validate_all_pinned_evict
[22:13:17] [PASSED] ttm_bo_validate_allowed_only_evict
[22:13:17] [PASSED] ttm_bo_validate_deleted_evict
[22:13:17] [PASSED] ttm_bo_validate_busy_domain_evict
[22:13:17] [PASSED] ttm_bo_validate_evict_gutting
[22:13:17] [PASSED] ttm_bo_validate_recrusive_evict
[22:13:17] ================= [PASSED] ttm_bo_validate =================
[22:13:17] ============================================================
[22:13:17] Testing complete. Ran 102 tests: passed: 102
[22:13:17] Elapsed time: 12.000s total, 1.798s configuring, 9.987s building, 0.184s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [22:13:17] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[22:13:19] 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
[22:13:27] Starting KUnit Kernel (1/1)...
[22:13:27] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:13:27] =============== dma-buf-fence (12 subtests) ================
[22:13:27] [PASSED] test_sanitycheck
[22:13:27] [PASSED] test_signaling
[22:13:27] [PASSED] test_add_callback
[22:13:27] [PASSED] test_late_add_callback
[22:13:27] [PASSED] test_rm_callback
[22:13:27] [PASSED] test_late_rm_callback
[22:13:27] [PASSED] test_status
[22:13:27] [PASSED] test_error
[22:13:27] [PASSED] test_wait
[22:13:27] [PASSED] test_wait_timeout
[22:13:27] [PASSED] test_stub
[22:13:27] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[22:13:27] ================== [PASSED] dma-buf-fence ==================
[22:13:27] ============ dma-buf-fence-chain (11 subtests) =============
[22:13:27] [PASSED] test_sanitycheck
[22:13:27] [PASSED] test_find_seqno
[22:13:27] [PASSED] test_find_signaled
[22:13:27] [PASSED] test_find_out_of_order
[22:13:33] [PASSED] test_find_gap
[22:13:33] [PASSED] test_find_race
[22:13:33] [PASSED] test_signal_forward
[22:13:33] [PASSED] test_signal_backward
[22:13:33] [PASSED] test_wait_forward
[22:13:33] [PASSED] test_wait_backward
[22:13:33] [PASSED] test_wait_random
[22:13:33] =============== [PASSED] dma-buf-fence-chain ===============
[22:13:33] ============ dma-buf-fence-unwrap (10 subtests) ============
[22:13:33] [PASSED] test_sanitycheck
[22:13:33] [PASSED] test_unwrap_array
[22:13:33] [PASSED] test_unwrap_chain
[22:13:33] [PASSED] test_unwrap_chain_array
[22:13:33] [PASSED] test_unwrap_merge
[22:13:33] [PASSED] test_unwrap_merge_duplicate
[22:13:33] [PASSED] test_unwrap_merge_seqno
[22:13:33] [PASSED] test_unwrap_merge_order
[22:13:33] [PASSED] test_unwrap_merge_complex
[22:13:33] [PASSED] test_unwrap_merge_complex_seqno
[22:13:33] ============== [PASSED] dma-buf-fence-unwrap ===============
[22:13:33] ================ dma-buf-resv (5 subtests) =================
[22:13:33] [PASSED] test_sanitycheck
[22:13:33] ===================== test_signaling  ======================
[22:13:33] [PASSED] kernel
[22:13:33] [PASSED] write
[22:13:33] [PASSED] read
[22:13:33] [PASSED] bookkeep
[22:13:33] ================= [PASSED] test_signaling ==================
[22:13:33] ====================== test_for_each  ======================
[22:13:33] [PASSED] kernel
[22:13:33] [PASSED] write
[22:13:33] [PASSED] read
[22:13:33] [PASSED] bookkeep
[22:13:33] ================== [PASSED] test_for_each ==================
[22:13:33] ================= test_for_each_unlocked  ==================
[22:13:33] [PASSED] kernel
[22:13:33] [PASSED] write
[22:13:33] [PASSED] read
[22:13:33] [PASSED] bookkeep
[22:13:33] ============= [PASSED] test_for_each_unlocked ==============
[22:13:33] ===================== test_get_fences  =====================
[22:13:33] [PASSED] kernel
[22:13:33] [PASSED] write
[22:13:33] [PASSED] read
[22:13:33] [PASSED] bookkeep
[22:13:33] ================= [PASSED] test_get_fences =================
[22:13:33] ================== [PASSED] dma-buf-resv ===================
[22:13:33] ============================================================
[22:13:33] Testing complete. Ran 50 tests: passed: 49, skipped: 1
[22:13:33] Elapsed time: 15.679s total, 1.773s configuring, 8.583s building, 5.272s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel

#34 lore raw

✓ Xe.CI.BAT: success for Add new debug infrastructure for configfs (rev7)

In reply to Stuart Summers
== Series Details ==

== Series Details ==

Series: Add new debug infrastructure for configfs (rev7)
URL : https://patchwork.freedesktop.org/series/165879/
State : success

== Summary ==

CI Bug Log - changes from xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93_BAT -> xe-pw-165879v7_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (13 -> 13)
------------------------------

No changes in participating hosts

Changes
-------

No changes found

Build changes
-------------

* Linux: xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93 -> xe-pw-165879v7

IGT_9066: 9066
xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93: 9d40f0739e6130e8a77620e2414fbce0bdcf0b93
xe-pw-165879v7: 165879v7

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/index.html

#35 lore raw

✗ Xe.CI.FULL: failure for Add new debug infrastructure for configfs (rev7)

In reply to Stuart Summers
== Series Details ==

== Series Details ==

Series: Add new debug infrastructure for configfs (rev7)
URL : https://patchwork.freedesktop.org/series/165879/
State : failure

== Summary ==

CI Bug Log - changes from xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93_FULL -> xe-pw-165879v7_FULL
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with xe-pw-165879v7_FULL absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in xe-pw-165879v7_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (2 -> 2)
------------------------------

No changes in participating hosts

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in xe-pw-165879v7_FULL:

### IGT changes ###

#### Possible regressions ####

* igt@xe_configfs@ctx-restore-post-bb:
- shard-lnl: [PASS][1] -> [FAIL][2] +3 other tests fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-lnl-5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-4/igt@[email protected]

* igt@xe_configfs@engines-allowed:
- shard-bmg: [PASS][3] -> [FAIL][4] +4 other tests fail
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-6/igt@[email protected]

Known issues
------------

Here are the changes found in xe-pw-165879v7_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@core_hotunplug@hotrebind-lateclose:
- shard-bmg: [PASS][5] -> [ABORT][6] ([Intel XE#8007]) +3 other tests abort
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-5/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [PASS][7] -> [FAIL][8] ([Intel XE#3718] / [Intel XE#6078])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-4/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-dp-2:
- shard-bmg: [PASS][9] -> [FAIL][10] ([Intel XE#6078])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-4/igt@kms_async_flips@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-4/igt@kms_async_flips@[email protected]

* igt@kms_async_flips@async-flip-suspend-resume@pipe-b-hdmi-a-3:
- shard-bmg: [PASS][11] -> [INCOMPLETE][12] ([Intel XE#8587]) +1 other test incomplete
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-10/igt@kms_async_flips@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-6/igt@kms_async_flips@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#1124]) +2 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#1124])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-5/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html

* igt@kms_bw@connected-linear-tiling-4-displays-target-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#7679])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_ccs@bad-rotation-90-yf-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#2887]) +2 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#3432])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2652]) +8 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@kms_ccs@[email protected]

* igt@kms_chamelium_edid@dp-edid-read:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2252]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_cursor_crc@cursor-random-512x512:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2321] / [Intel XE#7355])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-256x85:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2320])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_dsc@dsc-with-output-formats-with-bpc-bigjoiner:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#8265])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_flip@2x-flip-vs-blocking-wf-vblank:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#1421])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-5/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [PASS][24] -> [FAIL][25] ([Intel XE#301]) +3 other tests fail
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-lnl-1/igt@kms_flip@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-3/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend:
- shard-lnl: NOTRUN -> [INCOMPLETE][26] ([Intel XE#2597] / [Intel XE#8488]) +1 other test incomplete
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-shrfb-msflip-blt:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#6312])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-5/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-shrfb-msflip-blt.html

* igt@kms_frontbuffer_tracking@drrshdr-1p-rte:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#2311]) +13 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#4141]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#6312] / [Intel XE#651])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#7061])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@psrhdr-1p-pri-indfb-multidraw:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2313]) +13 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_pipe_stress@stress-xrgb8888-ytiled:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#4329] / [Intel XE#6912] / [Intel XE#7375])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#7283])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_plane_multiple@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#5020] / [Intel XE#7348])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#1489])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf.html

* igt@kms_psr@fbc-psr2-basic:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2234] / [Intel XE#2850]) +3 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][38] -> [INCOMPLETE][39] ([Intel XE#6321] / [Intel XE#8355])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-10/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-2/igt@[email protected]

* igt@xe_exec_basic@multigpu-once-bindexecqueue-rebind:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_exec_fault_mode@many-execqueues-multi-queue-prefetch:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#8374]) +1 other test skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_exec_multi_queue@two-queues-preempt-mode-fault-priority:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#8364]) +6 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_exec_reset@multi-queue-close-execqueues:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#8369])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_exec_system_allocator@many-execqueues-mmap-file-nomemset:
- shard-bmg: [PASS][44] -> [INCOMPLETE][45] ([Intel XE#8159])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-8/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-10/igt@[email protected]

* igt@xe_exec_threads@threads-multi-queue-fd-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#8378]) +1 other test skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-latency-copy-basic:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#6964])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_pat@pat-index-xelpg:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#2236] / [Intel XE#7590])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_pm@d3cold-mmap-vram:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#2284] / [Intel XE#7370])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

* igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_video_enhance1:
- shard-bmg: [PASS][50] -> [FAIL][51] ([Intel XE#8555]) +1 other test fail
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-2/igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_video_enhance1.html
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-6/igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_video_enhance1.html

* igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#4733] / [Intel XE#7417])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]

#### Possible fixes ####

* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [FAIL][53] ([Intel XE#7397]) -> [PASS][54] +1 other test pass
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-lnl-7/igt@kms_vrr@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-2/igt@kms_vrr@[email protected]

* igt@xe_exec_system_allocator@many-large-execqueues-mmap-remap-ro-eocheck:
- shard-lnl: [INCOMPLETE][55] -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-lnl-6/igt@xe_exec_system_allocator@many-large-execqueues-mmap-remap-ro-eocheck.html
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-5/igt@xe_exec_system_allocator@many-large-execqueues-mmap-remap-ro-eocheck.html

* igt@xe_fault_injection@exec-queue-create-fail-xe_exec_queue_create:
- shard-bmg: [ABORT][57] ([Intel XE#8007]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-9/igt@xe_fault_injection@exec-queue-create-fail-xe_exec_queue_create.html
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@xe_fault_injection@exec-queue-create-fail-xe_exec_queue_create.html

* igt@xe_module_load@load:
- shard-bmg: ([PASS][59], [PASS][60], [SKIP][61], [PASS][62], [PASS][63], [PASS][64], [PASS][65], [PASS][66], [PASS][67], [PASS][68], [PASS][69], [PASS][70], [PASS][71], [PASS][72], [PASS][73], [PASS][74], [PASS][75], [PASS][76], [PASS][77], [PASS][78], [PASS][79], [PASS][80], [PASS][81], [PASS][82], [PASS][83], [PASS][84]) ([Intel XE#2457] / [Intel XE#7405]) -> ([PASS][85], [PASS][86], [PASS][87], [PASS][88], [PASS][89], [PASS][90], [PASS][91], [PASS][92], [PASS][93], [PASS][94], [PASS][95], [PASS][96], [PASS][97], [PASS][98], [PASS][99], [PASS][100], [PASS][101], [PASS][102], [PASS][103], [PASS][104], [PASS][105], [PASS][106], [PASS][107], [PASS][108], [PASS][109])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-7/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-7/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-2/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-4/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-2/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-10/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-2/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-9/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-3/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-9/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-6/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-5/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-5/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-5/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-10/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-3/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-4/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-8/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-8/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-10/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-1/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-1/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-8/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-1/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-6/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-6/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-10/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-2/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-2/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-1/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-5/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-5/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-5/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-8/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-7/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-7/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-1/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-10/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-6/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-6/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-9/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-9/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-1/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-1/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-10/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-3/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-4/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-4/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-9/igt@[email protected]

#### Warnings ####

* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-lnl: [SKIP][110] ([Intel XE#309] / [Intel XE#7343] / [Intel XE#7935]) -> [SKIP][111] ([Intel XE#309] / [Intel XE#7343])
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-lnl-8/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-lnl-5/igt@[email protected]

* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][112] ([Intel XE#3544]) -> [SKIP][113] ([Intel XE#3374] / [Intel XE#3544])
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-10/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-6/igt@[email protected]

* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][114] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][115] ([Intel XE#1729] / [Intel XE#7424])
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-8/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-1/igt@[email protected]

* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][116] ([Intel XE#2509] / [Intel XE#7437]) -> [SKIP][117] ([Intel XE#2426] / [Intel XE#5848])
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93/shard-bmg-3/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/shard-bmg-7/igt@[email protected]

[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2236]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2236
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2457]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2457
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4329]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4329
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7348
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
[Intel XE#7397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7397
[Intel XE#7405]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7405
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7935]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7935
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8159]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8159
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8488]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8488
[Intel XE#8555]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8555
[Intel XE#8587]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8587

Build changes
-------------

* Linux: xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93 -> xe-pw-165879v7

IGT_9066: 9066
xe-5627-9d40f0739e6130e8a77620e2414fbce0bdcf0b93: 9d40f0739e6130e8a77620e2414fbce0bdcf0b93
xe-pw-165879v7: 165879v7

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165879v7/index.html

#36 lore raw
In reply to Stuart Summers

I have the test changes for this up on the IGT mailing list:
https://patchwork.freedesktop.org/series/172602/

Thanks,
Stuart

Quoted 113 lines · Stuart Summers

Add a new configfs debug group. The intent of this structure is to allow us to separate ABI facing configfs entries from those which are purely for debug purposes. And it allows us more flexibility
in how we define those parameters used for debug.

Add a new infrastructure to this debug configfs group that lets us easily define the parameters in a quick list. This is primarily useful for simple, single-type parameters such as enable/disable features or simple values passed. For more complex parameters, we will still need to define these separately.

Pull the GuC target related changes from [1] to fit within this new structure and add a new definition for guc_log_level on top of the existing module parameter (to ensure we aren't impacting existing users of the module parameter).

Note that the debug parameters here are all to be used "at your own risk". Without having in depth knowledge of how these impact the software and hardware, there could be unforeseen consequences of setting them. As such, they are all wrapped in a CONFIG_DRM_XE_DEBUG configfs option.

In terms of the patches here, I'm sorting the existing parameters by name/type. I know we have a few other module parameters that could migrate here, but I didn't want to overload this series too much, so the focus for now is on the existing configfs entries and demonstrating the new structures with the GuC log level and target parameters.

I used GitHub Copilot with Claude pretty extensively through the process here and attributed as such. Happy to answer any questions around this. Took a bit of time getting back to this series around other work, and in that time I was playing around with a few different
models, hence some of the patches are showing multiple of them. I tried to attribute each as I was implementing the changes.

I also decided to drop John Harrison from the NPK patch. It has been modified quite a bit from the original, but more importantly John is no longer with Intel and that email address isn't available any more. If it makes a difference here, John and I had both separately
implemented this same change at different occasions for debug. The one I used to start that initial series was cherry-picked from his latest variant.

v2:
 - In this second revision I did confirm that the guc_log_level module parameter is taking precedence over the configfs parameter and ensured the other parameters seem to be autogenerating and working as expected.
 - I tried to address all the review feedback from the first revision, [2].
 - I also did another pass on the sorting since there were a few discrepancies I noticed in the first revision. I kept Gustavo's R-B on that one, but would like an ack before merging at least to confirm the patch is sane.
 - And finally I moved the getter functions into the X-macro generators so we can autogenerate more of the similar functions between the different parameters in that debug param list. v3:
 - Address a couple of comments from Sashiko around GuC log level input checking and proper guard implementation.
v4:
 - More review feedback from Sashiko addressed...
v5:
 - Move the goto to a return (more Sashiko feedback) in the GuC log level setter before moving to the X-macro solution. v6:
 - Make the autogenerated X-macro function names more specific to avoid naming collisions (Sashiko again).

Stuart Summers (10):
  drm/xe: Guard configfs attribute reads in getters drm/xe: Sort xe_config_device fields
  drm/xe: Split out configfs data structures drm/xe: Add a new debug focused configfs group drm/xe: Move debug configfs entries to xe_configfs_debug.c drm/xe/guc: Add configfs support for guc_log_level drm/xe/guc: Add support for NPK as a GuC log target drm/xe: Add infrastructure for debug configfs parameters drm/xe: Migrate existing debug configfs entries to params infrastructure
  drm/xe: Taint kernel when debug configfs parameters are set

 drivers/gpu/drm/xe/Makefile                   |    2 + drivers/gpu/drm/xe/abi/guc_log_abi.h          |    8 + drivers/gpu/drm/xe/xe_configfs.c              | 1017 +-------------- --
 drivers/gpu/drm/xe/xe_configfs.h              |   90 +- drivers/gpu/drm/xe/xe_configfs_debug.c        |  872 ++++++++++++++ drivers/gpu/drm/xe/xe_configfs_debug.h        |   48 + drivers/gpu/drm/xe/xe_configfs_debug_params.c |  158 +++ drivers/gpu/drm/xe/xe_configfs_debug_params.h |  194 ++++ drivers/gpu/drm/xe/xe_configfs_types.h        |   59 + drivers/gpu/drm/xe/xe_defaults.h              |    5 + drivers/gpu/drm/xe/xe_guc.c                   |   14 +- drivers/gpu/drm/xe/xe_guc_ads.c               |    1 + drivers/gpu/drm/xe/xe_guc_log.c               |    3 +- drivers/gpu/drm/xe/xe_hw_engine.c             |    1 + drivers/gpu/drm/xe/xe_lrc.c                   |    1 + drivers/gpu/drm/xe/xe_pci.c                   |    1 + drivers/gpu/drm/xe/xe_psmi.c                  |    3 +- drivers/gpu/drm/xe/xe_rtp.c                   |    3 +- drivers/gpu/drm/xe/xe_survivability_mode.c    |    1 +

 19 files changed, 1495 insertions(+), 986 deletions(-)

 create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug.c create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug.h create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug_params.c create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug_params.h create mode 100644 drivers/gpu/drm/xe/xe_configfs_types.h