Skip to contentSkip to conversation

Introduce Xe Correctable Error Handling

PATCH Superseded Raag Jadav 4 participants 19 messages Mar 12 – Mar 24

Subsystems (2)

v3 of 7 Superseded Latest is v7 →

lore
Share & tools
lore

Raag Jadav

author
#0 lore raw

v3 cover Introduce Xe Correctable Error Handling

This series builds on top of system controller series[1] and adds initial support for correctable error handling in xe. This serves as a foundation for RAS infrastructure and will be further extended to facilitate other RAS features.

Detailed description in commit message.

[1] https://patchwork.freedesktop.org/series/159554/

v2: Use system_percpu_wq instead of dedicated (Matthew Brost)
Handle unexpected response length (Mallesh)

v3: Handle event flood (Mallesh)

Anoop Vijay (1):
drm/xe/sysctrl: Add System Controller

Raag Jadav (3):
drm/xe/sysctrl: Add system controller interrupt handler drm/xe/sysctrl: Add system controller event support drm/xe/ras: Introduce correctable error handling

 drivers/gpu/drm/xe/Makefile                   |   4 +
 drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h       |  31 ++
 drivers/gpu/drm/xe/regs/xe_irq_regs.h         |   1 +
 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h     |  36 ++
 drivers/gpu/drm/xe/xe_device.c                |   5 +
 drivers/gpu/drm/xe/xe_device_types.h          |   6 +
 drivers/gpu/drm/xe/xe_irq.c                   |   2 +
 drivers/gpu/drm/xe/xe_pci.c                   |   2 +
 drivers/gpu/drm/xe/xe_pci_types.h             |   1 +
 drivers/gpu/drm/xe/xe_ras.c                   |  89 +++++
 drivers/gpu/drm/xe/xe_ras.h                   |  14 +
 drivers/gpu/drm/xe/xe_ras_types.h             |  73 ++++
 drivers/gpu/drm/xe/xe_sysctrl.c               | 113 ++++++
 drivers/gpu/drm/xe/xe_sysctrl.h               |  23 ++
 drivers/gpu/drm/xe/xe_sysctrl_event.c         |  83 ++++
 drivers/gpu/drm/xe/xe_sysctrl_event_types.h   |  52 +++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c       | 364 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h       |  41 ++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h |  35 ++
 drivers/gpu/drm/xe/xe_sysctrl_types.h         |  39 ++
 20 files changed, 1014 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h
 create mode 100644 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_ras.c
 create mode 100644 drivers/gpu/drm/xe/xe_ras.h
 create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_types.h
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH v3 1/4 drm/xe/sysctrl: Add System Controller

From: Anoop Vijay <[email protected]>

Do not review, CI only.

---
 drivers/gpu/drm/xe/Makefile                   |   2 +
 drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h       |  31 ++
 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h     |  36 ++
 drivers/gpu/drm/xe/xe_device.c                |   5 +
 drivers/gpu/drm/xe/xe_device_types.h          |   6 +
 drivers/gpu/drm/xe/xe_pci.c                   |   2 +
 drivers/gpu/drm/xe/xe_pci_types.h             |   1 +
 drivers/gpu/drm/xe/xe_sysctrl.c               |  84 ++++
 drivers/gpu/drm/xe/xe_sysctrl.h               |  21 +
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c       | 364 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h       |  31 ++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h |  35 ++
 drivers/gpu/drm/xe/xe_sysctrl_types.h         |  32 ++
 13 files changed, 650 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h
 create mode 100644 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_types.h
drivers/gpu/drm/xe/Makefile +2 -0
index cbd84ac0d5ab..543eb0b2430b 100644
@@ -124,6 +124,8 @@ xe-y += xe_bb.o \
 	xe_step.o \
 	xe_survivability_mode.o \
 	xe_sync.o \
+	xe_sysctrl.o \
+	xe_sysctrl_mailbox.o \
 	xe_tile.o \
 	xe_tile_sysfs.o \
 	xe_tlb_inval.o \
drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h new file +31 -0
new file mode 100644
index 000000000000..bc4793fb21e5
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_ABI_H_
+#define _XE_SYSCTRL_ABI_H_
+
+#include <linux/types.h>
+
+struct xe_sysctrl_mailbox_schi_msg_hdr {
+	__le32 data;
+} __packed;
+
+struct xe_sysctrl_app_msg_hdr {
+	__le32 data;
+} __packed;
+
+#define SCHI_HDR_GROUP_ID_MASK		GENMASK(7, 0)
+#define SCHI_HDR_COMMAND_MASK		GENMASK(14, 8)
+#define SCHI_HDR_COMMAND_MAX		0x7f
+#define SCHI_HDR_IS_RESPONSE		BIT(15)
+#define SCHI_HDR_RESERVED_MASK		GENMASK(23, 16)
+#define SCHI_HDR_RESULT_MASK		GENMASK(31, 24)
+
+#define APP_HDR_GROUP_ID_MASK		GENMASK(7, 0)
+#define APP_HDR_COMMAND_MASK		GENMASK(15, 8)
+#define APP_HDR_VERSION_MASK		GENMASK(23, 16)
+#define APP_HDR_RESERVED_MASK		GENMASK(31, 24)
+
+#endif
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h new file +36 -0
new file mode 100644
index 000000000000..30dd78780ea9
@@ -0,0 +1,36 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_REGS_H_
+#define _XE_SYSCTRL_REGS_H_
+
+#include "xe_regs.h"
+
+#define SYSCTRL_BASE_OFFSET			0xdb000
+#define SYSCTRL_BASE				(SOC_BASE + SYSCTRL_BASE_OFFSET)
+#define SYSCTRL_MAILBOX_INDEX			0x03
+#define SYSCTRL_BAR_LENGTH			0x1000
+
+#define SYSCTRL_MB_CTRL				XE_REG(0x10)
+#define   SYSCTRL_MB_CTRL_RUN_BUSY		REG_BIT(31)
+#define   SYSCTRL_MB_CTRL_IRQ			REG_BIT(30)
+#define   SYSCTRL_MB_CTRL_RUN_BUSY_OUT		REG_BIT(29)
+#define   SYSCTRL_MB_CTRL_PARAM3_MASK		REG_GENMASK(28, 24)
+#define   SYSCTRL_MB_CTRL_PARAM2_MASK		REG_GENMASK(23, 16)
+#define   SYSCTRL_MB_CTRL_PARAM1_MASK		REG_GENMASK(15, 8)
+#define   SYSCTRL_MB_CTRL_COMMAND_MASK		REG_GENMASK(7, 0)
+#define   SYSCTRL_MB_CTRL_SCHI_CMD		REG_FIELD_PREP(SYSCTRL_MB_CTRL_COMMAND_MASK, 5)
+
+#define SYSCTRL_MB_DATA0			XE_REG(0x14)
+#define SYSCTRL_MB_DATA1			XE_REG(0x18)
+#define SYSCTRL_MB_DATA2			XE_REG(0x1c)
+#define SYSCTRL_MB_DATA3			XE_REG(0x20)
+
+#define SCHI_FRAME_PHASE			REG_BIT(24)
+#define SCHI_FRAME_CURRENT_MASK			REG_GENMASK(21, 16)
+#define SCHI_FRAME_TOTAL_MASK			REG_GENMASK(13, 8)
+#define SCHI_FRAME_COMMAND_MASK			REG_GENMASK(7, 0)
+
+#endif
drivers/gpu/drm/xe/xe_device.c +5 -0
index 92d4ffb72f26..f88b2478b7a0 100644
@@ -65,6 +65,7 @@
 #include "xe_survivability_mode.h"
 #include "xe_sriov.h"
 #include "xe_svm.h"
+#include "xe_sysctrl.h"
 #include "xe_tile.h"
 #include "xe_ttm_stolen_mgr.h"
 #include "xe_ttm_sys_mgr.h"
@@ -991,6 +992,10 @@ int xe_device_probe(struct xe_device *xe)
 	if (err)
 		goto err_unregister_display;
 
+	err = xe_sysctrl_init(xe);
+	if (err)
+		goto err_unregister_display;
+
 	err = xe_device_sysfs_init(xe);
 	if (err)
 		goto err_unregister_display;
drivers/gpu/drm/xe/xe_device_types.h +6 -0
index 615218d775b1..150c76b2acaf 100644
@@ -27,6 +27,7 @@
 #include "xe_sriov_vf_ccs_types.h"
 #include "xe_step_types.h"
 #include "xe_survivability_mode_types.h"
+#include "xe_sysctrl_types.h"
 #include "xe_tile_types.h"
 #include "xe_validation.h"
 
@@ -196,6 +197,8 @@ struct xe_device {
 		u8 has_soc_remapper_telem:1;
 		/** @info.has_sriov: Supports SR-IOV */
 		u8 has_sriov:1;
+		/** @info.has_sysctrl: Supports System Controller */
+		u8 has_sysctrl:1;
 		/** @info.has_usm: Device has unified shared memory support */
 		u8 has_usm:1;
 		/** @info.has_64bit_timestamp: Device supports 64-bit timestamps */
@@ -508,6 +511,9 @@ struct xe_device {
 	/** @i2c: I2C host controller */
 	struct xe_i2c *i2c;
 
+	/** @sc: System Controller */
+	struct xe_sysctrl sc;
+
 	/** @atomic_svm_timeslice_ms: Atomic SVM fault timeslice MS */
 	u32 atomic_svm_timeslice_ms;
 
drivers/gpu/drm/xe/xe_pci.c +2 -0
index f252ac3ea82c..d203255281c7 100644
@@ -465,6 +465,7 @@ static const struct xe_device_desc cri_desc = {
 	.has_soc_remapper_sysctrl = true,
 	.has_soc_remapper_telem = true,
 	.has_sriov = true,
+	.has_sysctrl = true,
 	.max_gt_per_tile = 2,
 	MULTI_LRC_MASK,
 	.require_force_probe = true,
@@ -763,6 +764,7 @@ static int xe_info_init_early(struct xe_device *xe,
 	xe->info.has_soc_remapper_telem = desc->has_soc_remapper_telem;
 	xe->info.has_sriov = xe_configfs_primary_gt_allowed(to_pci_dev(xe->drm.dev)) &&
 		desc->has_sriov;
+	xe->info.has_sysctrl = desc->has_sysctrl;
 	xe->info.skip_guc_pc = desc->skip_guc_pc;
 	xe->info.skip_mtcfg = desc->skip_mtcfg;
 	xe->info.skip_pcode = desc->skip_pcode;
drivers/gpu/drm/xe/xe_pci_types.h +1 -0
index 8eee4fb1c57c..08386c5eca27 100644
@@ -57,6 +57,7 @@ struct xe_device_desc {
 	u8 has_soc_remapper_sysctrl:1;
 	u8 has_soc_remapper_telem:1;
 	u8 has_sriov:1;
+	u8 has_sysctrl:1;
 	u8 needs_scratch:1;
 	u8 skip_guc_pc:1;
 	u8 skip_mtcfg:1;
drivers/gpu/drm/xe/xe_sysctrl.c new file +84 -0

84 lines not on this page · raw message

drivers/gpu/drm/xe/xe_sysctrl.h new file +21 -0
new file mode 100644
index 000000000000..d5d8735038ae
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_H_
+#define _XE_SYSCTRL_H_
+
+#include <linux/container_of.h>
+
+#include "xe_device_types.h"
+#include "xe_sysctrl_types.h"
+
+static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
+{
+	return container_of(sc, struct xe_device, sc);
+}
+
+int xe_sysctrl_init(struct xe_device *xe);
+
+#endif
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +364 -0

364 lines not on this page · raw message

drivers/gpu/drm/xe/xe_sysctrl_mailbox.h new file +31 -0
new file mode 100644
index 000000000000..91460be9e22c
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_MAILBOX_H_
+#define _XE_SYSCTRL_MAILBOX_H_
+
+#include <linux/bitfield.h>
+#include <linux/types.h>
+
+#include "abi/xe_sysctrl_abi.h"
+
+struct xe_sysctrl;
+struct xe_sysctrl_mailbox_command;
+
+#define XE_SYSCTRL_APP_HDR_GROUP_ID(hdr) \
+	FIELD_GET(APP_HDR_GROUP_ID_MASK, le32_to_cpu((hdr)->data))
+
+#define XE_SYSCTRL_APP_HDR_COMMAND(hdr) \
+	FIELD_GET(APP_HDR_COMMAND_MASK, le32_to_cpu((hdr)->data))
+
+#define XE_SYSCTRL_APP_HDR_VERSION(hdr) \
+	FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data))
+
+void xe_sysctrl_mailbox_init(struct xe_sysctrl *sc);
+int xe_sysctrl_send_command(struct xe_sysctrl *sc,
+			    struct xe_sysctrl_mailbox_command *cmd,
+			    size_t *rdata_len);
+
+#endif
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +35 -0
new file mode 100644
index 000000000000..fdf8d1d4e3cd
@@ -0,0 +1,35 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_MAILBOX_TYPES_H_
+#define _XE_SYSCTRL_MAILBOX_TYPES_H_
+
+#include <linux/types.h>
+
+#include "abi/xe_sysctrl_abi.h"
+
+/**
+ * struct xe_sysctrl_mailbox_command - System Controller mailbox command
+ */
+struct xe_sysctrl_mailbox_command {
+	/** @header: Application message header containing command information */
+	struct xe_sysctrl_app_msg_hdr header;
+	/** @data_in: Pointer to input payload data (can be NULL if no input data) */
+	void *data_in;
+	/** @data_in_len: Size of input payload in bytes (0 if no input data) */
+	size_t data_in_len;
+	/** @data_out: Pointer to output buffer for response data (can be NULL if no response) */
+	void *data_out;
+	/** @data_out_len: Size of output buffer in bytes (0 if no response expected) */
+	size_t data_out_len;
+};
+
+#define XE_SYSCTRL_MB_FRAME_SIZE	16
+#define XE_SYSCTRL_MB_MAX_FRAMES	64
+#define XE_SYSCTRL_MB_MAX_MESSAGE_SIZE	(XE_SYSCTRL_MB_FRAME_SIZE * XE_SYSCTRL_MB_MAX_FRAMES)
+
+#define XE_SYSCTRL_MB_DEFAULT_TIMEOUT_MS	500
+
+#endif
drivers/gpu/drm/xe/xe_sysctrl_types.h new file +32 -0
new file mode 100644
index 000000000000..8217f6befe70
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_TYPES_H_
+#define _XE_SYSCTRL_TYPES_H_
+
+#include <linux/mutex.h>
+#include <linux/types.h>
+
+struct xe_mmio;
+
+/**
+ * struct xe_sysctrl - System Controller driver context
+ *
+ * This structure maintains the runtime state for System Controller
+ * communication. All fields are initialized during xe_sysctrl_init()
+ * and protected appropriately for concurrent access.
+ */
+struct xe_sysctrl {
+	/** @mmio: MMIO region for system control registers */
+	struct xe_mmio *mmio;
+
+	/** @cmd_lock: Mutex protecting mailbox command operations */
+	struct mutex cmd_lock;
+
+	/** @phase_bit: Message boundary phase toggle bit (0 or 1) */
+	bool phase_bit;
+};
+
+#endif
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH v3 2/4 drm/xe/sysctrl: Add system controller interrupt handler

In reply to Raag Jadav

Add system controller interrupt handler which is denoted by 11th bit in GFX master interrupt register. While at it, add worker for scheduling system controller work.

---
v2: Use system_percpu_wq instead of dedicated (Matthew Brost)

---
 drivers/gpu/drm/xe/regs/xe_irq_regs.h |  1 +
 drivers/gpu/drm/xe/xe_irq.c           |  2 ++
 drivers/gpu/drm/xe/xe_sysctrl.c       | 39 ++++++++++++++++++++++-----
 drivers/gpu/drm/xe/xe_sysctrl.h       |  1 +
 drivers/gpu/drm/xe/xe_sysctrl_types.h |  7 +++++
 5 files changed, 43 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/regs/xe_irq_regs.h +1 -0
index 9d74f454d3ff..1d6b976c4de0 100644
@@ -22,6 +22,7 @@
 #define   DISPLAY_IRQ				REG_BIT(16)
 #define   SOC_H2DMEMINT_IRQ			REG_BIT(13)
 #define   I2C_IRQ				REG_BIT(12)
+#define   SYSCTRL_IRQ				REG_BIT(11)
 #define   GT_DW_IRQ(x)				REG_BIT(x)
 
 /*
drivers/gpu/drm/xe/xe_irq.c +2 -0
index 9a775c6588dc..e9f0b3cad06d 100644
@@ -24,6 +24,7 @@
 #include "xe_mmio.h"
 #include "xe_pxp.h"
 #include "xe_sriov.h"
+#include "xe_sysctrl.h"
 #include "xe_tile.h"
 
 /*
@@ -525,6 +526,7 @@ static irqreturn_t dg1_irq_handler(int irq, void *arg)
 				xe_heci_csc_irq_handler(xe, master_ctl);
 			xe_display_irq_handler(xe, master_ctl);
 			xe_i2c_irq_handler(xe, master_ctl);
+			xe_sysctrl_irq_handler(xe, master_ctl);
 			xe_mert_irq_handler(xe, master_ctl);
 			gu_misc_iir = gu_misc_irq_ack(xe, master_ctl);
 		}
drivers/gpu/drm/xe/xe_sysctrl.c +32 -7
index 365f73ef680d..30349df1c04b 100644
@@ -8,6 +8,7 @@
 
 #include <drm/drm_managed.h>
 
+#include "regs/xe_irq_regs.h"
 #include "regs/xe_sysctrl_regs.h"
 #include "xe_assert.h"
 #include "xe_device.h"
@@ -33,10 +34,16 @@
 static void sysctrl_fini(void *arg)
 {
 	struct xe_device *xe = arg;
+	struct xe_sysctrl *sc = &xe->sc;
 
+	cancel_work_sync(&sc->work);
 	xe->soc_remapper.set_sysctrl_region(xe, 0);
 }
 
+static void xe_sysctrl_work(struct work_struct *work)
+{
+}
+
 /**
  * xe_sysctrl_init() - Initialize System Controller subsystem
  * @xe: xe device instance
@@ -60,12 +67,6 @@ int xe_sysctrl_init(struct xe_device *xe)
 
 	xe_assert(xe, xe->soc_remapper.set_sysctrl_region);
 
-	xe->soc_remapper.set_sysctrl_region(xe, SYSCTRL_MAILBOX_INDEX);
-
-	ret = devm_add_action_or_reset(xe->drm.dev, sysctrl_fini, xe);
-	if (ret)
-		return ret;
-
 	sc->mmio = devm_kzalloc(xe->drm.dev, sizeof(*sc->mmio), GFP_KERNEL);
 	if (!sc->mmio)
 		return -ENOMEM;
@@ -78,7 +79,31 @@ int xe_sysctrl_init(struct xe_device *xe)
 	if (ret)
 		return ret;
 
+	ret = drmm_mutex_init(&xe->drm, &sc->work_lock);
+	if (ret)
+		return ret;
+
+	xe->soc_remapper.set_sysctrl_region(xe, SYSCTRL_MAILBOX_INDEX);
 	xe_sysctrl_mailbox_init(sc);
+	INIT_WORK(&sc->work, xe_sysctrl_work);
 
-	return 0;
+	return devm_add_action_or_reset(xe->drm.dev, sysctrl_fini, xe);
+}
+
+/**
+ * xe_sysctrl_irq_handler() - Handler for System Controller interrupts
+ * @xe: xe device instance
+ * @master_ctl: interrupt register
+ *
+ * Handle interrupts generated by System Controller.
+ */
+void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl)
+{
+	struct xe_sysctrl *sc = &xe->sc;
+
+	if (!xe->info.has_sysctrl)
+		return;
+
+	if (master_ctl & SYSCTRL_IRQ)
+		schedule_work(&sc->work);
 }
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index d5d8735038ae..ff60d42b52a7 100644
@@ -17,5 +17,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
 }
 
 int xe_sysctrl_init(struct xe_device *xe);
+void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
 
 #endif
drivers/gpu/drm/xe/xe_sysctrl_types.h +7 -0
index 8217f6befe70..13fbf2990280 100644
@@ -8,6 +8,7 @@
 
 #include <linux/mutex.h>
 #include <linux/types.h>
+#include <linux/workqueue_types.h>
 
 struct xe_mmio;
 
@@ -27,6 +28,12 @@ struct xe_sysctrl {
 
 	/** @phase_bit: Message boundary phase toggle bit (0 or 1) */
 	bool phase_bit;
+
+	/** @work: Pending events work */
+	struct work_struct work;
+
+	/** @work_lock: Mutex protecting pending events */
+	struct mutex work_lock;
 };
 
 #endif
Signature · 1 line
2.43.0
#3 lore raw

Re: [PATCH v3 2/4] drm/xe/sysctrl: Add system controller interrupt handler

Quoted 111 lines · Raag Jadav

Add system controller interrupt handler which is denoted by 11th bit in GFX master interrupt register. While at it, add worker for scheduling system controller work.

---
v2: Use system_percpu_wq instead of dedicated (Matthew Brost)

---
  drivers/gpu/drm/xe/regs/xe_irq_regs.h |  1 +
  drivers/gpu/drm/xe/xe_irq.c           |  2 ++
  drivers/gpu/drm/xe/xe_sysctrl.c       | 39 ++++++++++++++++++++++-----
  drivers/gpu/drm/xe/xe_sysctrl.h       |  1 +
  drivers/gpu/drm/xe/xe_sysctrl_types.h |  7 +++++
  5 files changed, 43 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/regs/xe_irq_regs.h +1 -0
index 9d74f454d3ff..1d6b976c4de0 100644
@@ -22,6 +22,7 @@
  #define   DISPLAY_IRQ				REG_BIT(16)
  #define   SOC_H2DMEMINT_IRQ			REG_BIT(13)
  #define   I2C_IRQ				REG_BIT(12)
+#define   SYSCTRL_IRQ				REG_BIT(11)
  #define   GT_DW_IRQ(x)				REG_BIT(x)
 
  /*
drivers/gpu/drm/xe/xe_irq.c +2 -0
index 9a775c6588dc..e9f0b3cad06d 100644
@@ -24,6 +24,7 @@
  #include "xe_mmio.h"
  #include "xe_pxp.h"
  #include "xe_sriov.h"
+#include "xe_sysctrl.h"
  #include "xe_tile.h"
 
  /*
@@ -525,6 +526,7 @@ static irqreturn_t dg1_irq_handler(int irq, void *arg)
  				xe_heci_csc_irq_handler(xe, master_ctl);
  			xe_display_irq_handler(xe, master_ctl);
  			xe_i2c_irq_handler(xe, master_ctl);
+			xe_sysctrl_irq_handler(xe, master_ctl);
  			xe_mert_irq_handler(xe, master_ctl);
  			gu_misc_iir = gu_misc_irq_ack(xe, master_ctl);
  		}
drivers/gpu/drm/xe/xe_sysctrl.c +20 -7
index 365f73ef680d..30349df1c04b 100644
@@ -8,6 +8,7 @@
 
  #include <drm/drm_managed.h>
 
+#include "regs/xe_irq_regs.h"
  #include "regs/xe_sysctrl_regs.h"
  #include "xe_assert.h"
  #include "xe_device.h"
@@ -33,10 +34,16 @@
  static void sysctrl_fini(void *arg)
  {
  	struct xe_device *xe = arg;
+	struct xe_sysctrl *sc = &xe->sc;
 
+	cancel_work_sync(&sc->work);
  	xe->soc_remapper.set_sysctrl_region(xe, 0);
  }
 
+static void xe_sysctrl_work(struct work_struct *work)
+{
+}
+
  /**
   * xe_sysctrl_init() - Initialize System Controller subsystem
   * @xe: xe device instance
@@ -60,12 +67,6 @@ int xe_sysctrl_init(struct xe_device *xe)
 
  	xe_assert(xe, xe->soc_remapper.set_sysctrl_region);
 
-	xe->soc_remapper.set_sysctrl_region(xe, SYSCTRL_MAILBOX_INDEX);
-
-	ret = devm_add_action_or_reset(xe->drm.dev, sysctrl_fini, xe);
-	if (ret)
-		return ret;
-
  	sc->mmio = devm_kzalloc(xe->drm.dev, sizeof(*sc->mmio), GFP_KERNEL);
  	if (!sc->mmio)
  		return -ENOMEM;
@@ -78,7 +79,31 @@ int xe_sysctrl_init(struct xe_device *xe)
  	if (ret)
  		return ret;
 
+	ret = drmm_mutex_init(&xe->drm, &sc->work_lock);
+	if (ret)
+		return ret;
+
+	xe->soc_remapper.set_sysctrl_region(xe, SYSCTRL_MAILBOX_INDEX);
  	xe_sysctrl_mailbox_init(sc);
+	INIT_WORK(&sc->work, xe_sysctrl_work);
 
-	return 0;
+	return devm_add_action_or_reset(xe->drm.dev, sysctrl_fini, xe);
+}
+
+/**
+ * xe_sysctrl_irq_handler() - Handler for System Controller interrupts
+ * @xe: xe device instance
+ * @master_ctl: interrupt register

drivers/gpu/drm/xe/xe_sysctrl.c int xe_sysctrl_init(struct xe_device *xe) · line 106

Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl.c +10 -0
+ *
+ * Handle interrupts generated by System Controller.
+ */
+void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl)
+{
+	struct xe_sysctrl *sc = &xe->sc;
+
+	if (!xe->info.has_sysctrl)
+		return;
+

We need to check sc->work.func if NULL then return, since initialization of interrupt enabled @ line: 923 xe_irq_install() after that line 989: xe_systctrl_init() set the work.func. In between

xe_sysctrl_irq_handler fired then work.func is NULL and going to schedule work which lead to panic @ worker->current_func(work).

Thanks,

-/Mallesh

Quoted 39 lines
drivers/gpu/drm/xe/xe_sysctrl.c +2 -0
+	if (master_ctl & SYSCTRL_IRQ)
+		schedule_work(&sc->work);
  }
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index d5d8735038ae..ff60d42b52a7 100644
@@ -17,5 +17,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
  }
 
  int xe_sysctrl_init(struct xe_device *xe);
+void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
 
  #endif
drivers/gpu/drm/xe/xe_sysctrl_types.h +7 -0
index 8217f6befe70..13fbf2990280 100644
@@ -8,6 +8,7 @@
 
  #include <linux/mutex.h>
  #include <linux/types.h>
+#include <linux/workqueue_types.h>
 
  struct xe_mmio;
 
@@ -27,6 +28,12 @@ struct xe_sysctrl {
 
  	/** @phase_bit: Message boundary phase toggle bit (0 or 1) */
  	bool phase_bit;
+
+	/** @work: Pending events work */
+	struct work_struct work;
+
+	/** @work_lock: Mutex protecting pending events */
+	struct mutex work_lock;
  };
 
  #endif
author
#4 lore raw

Re: [PATCH v3 2/4] drm/xe/sysctrl: Add system controller interrupt handler

Quoted 117 lines · Koujalagi
Quoted 101 lines · Raag Jadav

Add system controller interrupt handler which is denoted by 11th bit in GFX master interrupt register. While at it, add worker for scheduling system controller work.

---
v2: Use system_percpu_wq instead of dedicated (Matthew Brost)

---
  drivers/gpu/drm/xe/regs/xe_irq_regs.h |  1 +
  drivers/gpu/drm/xe/xe_irq.c           |  2 ++
  drivers/gpu/drm/xe/xe_sysctrl.c       | 39 ++++++++++++++++++++++-----
  drivers/gpu/drm/xe/xe_sysctrl.h       |  1 +
  drivers/gpu/drm/xe/xe_sysctrl_types.h |  7 +++++
  5 files changed, 43 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/regs/xe_irq_regs.h +1 -0
index 9d74f454d3ff..1d6b976c4de0 100644
@@ -22,6 +22,7 @@
  #define   DISPLAY_IRQ				REG_BIT(16)
  #define   SOC_H2DMEMINT_IRQ			REG_BIT(13)
  #define   I2C_IRQ				REG_BIT(12)
+#define   SYSCTRL_IRQ				REG_BIT(11)
  #define   GT_DW_IRQ(x)				REG_BIT(x)
  /*
drivers/gpu/drm/xe/xe_irq.c +2 -0
index 9a775c6588dc..e9f0b3cad06d 100644
@@ -24,6 +24,7 @@
  #include "xe_mmio.h"
  #include "xe_pxp.h"
  #include "xe_sriov.h"
+#include "xe_sysctrl.h"
  #include "xe_tile.h"
  /*
@@ -525,6 +526,7 @@ static irqreturn_t dg1_irq_handler(int irq, void *arg)
  				xe_heci_csc_irq_handler(xe, master_ctl);
  			xe_display_irq_handler(xe, master_ctl);
  			xe_i2c_irq_handler(xe, master_ctl);
+			xe_sysctrl_irq_handler(xe, master_ctl);
  			xe_mert_irq_handler(xe, master_ctl);
  			gu_misc_iir = gu_misc_irq_ack(xe, master_ctl);
  		}
drivers/gpu/drm/xe/xe_sysctrl.c +20 -7
index 365f73ef680d..30349df1c04b 100644
@@ -8,6 +8,7 @@
  #include <drm/drm_managed.h>
+#include "regs/xe_irq_regs.h"
  #include "regs/xe_sysctrl_regs.h"
  #include "xe_assert.h"
  #include "xe_device.h"
@@ -33,10 +34,16 @@
  static void sysctrl_fini(void *arg)
  {
  	struct xe_device *xe = arg;
+	struct xe_sysctrl *sc = &xe->sc;
+	cancel_work_sync(&sc->work);
  	xe->soc_remapper.set_sysctrl_region(xe, 0);
  }
+static void xe_sysctrl_work(struct work_struct *work)
+{
+}
+
  /**
   * xe_sysctrl_init() - Initialize System Controller subsystem
   * @xe: xe device instance
@@ -60,12 +67,6 @@ int xe_sysctrl_init(struct xe_device *xe)
  	xe_assert(xe, xe->soc_remapper.set_sysctrl_region);
-	xe->soc_remapper.set_sysctrl_region(xe, SYSCTRL_MAILBOX_INDEX);
-
-	ret = devm_add_action_or_reset(xe->drm.dev, sysctrl_fini, xe);
-	if (ret)
-		return ret;
-
  	sc->mmio = devm_kzalloc(xe->drm.dev, sizeof(*sc->mmio), GFP_KERNEL);
  	if (!sc->mmio)
  		return -ENOMEM;
@@ -78,7 +79,31 @@ int xe_sysctrl_init(struct xe_device *xe)
  	if (ret)
  		return ret;
+	ret = drmm_mutex_init(&xe->drm, &sc->work_lock);
+	if (ret)
+		return ret;
+
+	xe->soc_remapper.set_sysctrl_region(xe, SYSCTRL_MAILBOX_INDEX);
  	xe_sysctrl_mailbox_init(sc);
+	INIT_WORK(&sc->work, xe_sysctrl_work);
-	return 0;
+	return devm_add_action_or_reset(xe->drm.dev, sysctrl_fini, xe);
+}
+
+/**
+ * xe_sysctrl_irq_handler() - Handler for System Controller interrupts
+ * @xe: xe device instance
+ * @master_ctl: interrupt register

drivers/gpu/drm/xe/xe_sysctrl.c int xe_sysctrl_init(struct xe_device *xe) · line 104

Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl.c +10 -0
+ *
+ * Handle interrupts generated by System Controller.
+ */
+void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl)
+{
+	struct xe_sysctrl *sc = &xe->sc;
+
+	if (!xe->info.has_sysctrl)
+		return;
+

We need to check sc->work.func if NULL then return, since initialization of interrupt enabled @ line: 923 xe_irq_install() after that line 989:
xe_systctrl_init() set the work.func. In between

Quoted 2 lines

xe_sysctrl_irq_handler fired then work.func is NULL and going to schedule work which lead to panic @ worker->current_func(work).

Sure, thanks.

Raag

Quoted 32 lines
Quoted 32 lines
drivers/gpu/drm/xe/xe_sysctrl.c +2 -0
+	if (master_ctl & SYSCTRL_IRQ)
+		schedule_work(&sc->work);
  }
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index d5d8735038ae..ff60d42b52a7 100644
@@ -17,5 +17,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
  }
  int xe_sysctrl_init(struct xe_device *xe);
+void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
  #endif
drivers/gpu/drm/xe/xe_sysctrl_types.h +7 -0
index 8217f6befe70..13fbf2990280 100644
@@ -8,6 +8,7 @@
  #include <linux/mutex.h>
  #include <linux/types.h>
+#include <linux/workqueue_types.h>
  struct xe_mmio;
@@ -27,6 +28,12 @@ struct xe_sysctrl {
  	/** @phase_bit: Message boundary phase toggle bit (0 or 1) */
  	bool phase_bit;
+
+	/** @work: Pending events work */
+	struct work_struct work;
+
+	/** @work_lock: Mutex protecting pending events */
+	struct mutex work_lock;
  };
  #endif
author
#5 lore raw

PATCH v3 3/4 drm/xe/sysctrl: Add system controller event support

In reply to Raag Jadav

System controller reports different types of events to GFX endpoint for different usecases, add initial support for them. This will be further extended to service those usecases.

---
v2: Handle unexpected response length (Mallesh)
v3: Handle event flood (Mallesh)

---
 drivers/gpu/drm/xe/Makefile                 |  1 +
 drivers/gpu/drm/xe/xe_sysctrl.c             |  4 +
 drivers/gpu/drm/xe/xe_sysctrl.h             |  1 +
 drivers/gpu/drm/xe/xe_sysctrl_event.c       | 82 +++++++++++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_event_types.h | 52 +++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h     | 10 +++
 6 files changed, 150 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event_types.h
drivers/gpu/drm/xe/Makefile +1 -0
index 543eb0b2430b..373adb20afb2 100644
@@ -125,6 +125,7 @@ xe-y += xe_bb.o \
 	xe_survivability_mode.o \
 	xe_sync.o \
 	xe_sysctrl.o \
+	xe_sysctrl_event.o \
 	xe_sysctrl_mailbox.o \
 	xe_tile.o \
 	xe_tile_sysfs.o \
drivers/gpu/drm/xe/xe_sysctrl.c +4 -0
index 30349df1c04b..63b9aaf98669 100644
@@ -42,6 +42,10 @@ static void sysctrl_fini(void *arg)
 
 static void xe_sysctrl_work(struct work_struct *work)
 {
+	struct xe_sysctrl *sc = container_of(work, struct xe_sysctrl, work);
+
+	guard(mutex)(&sc->work_lock);
+	xe_sysctrl_event(sc);
 }
 
 /**
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index ff60d42b52a7..0821ea44893d 100644
@@ -18,5 +18,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
 
 int xe_sysctrl_init(struct xe_device *xe);
 void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
+void xe_sysctrl_event(struct xe_sysctrl *sc);
 
 #endif
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +82 -0

82 lines not on this page · raw message

drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +52 -0

52 lines not on this page · raw message

drivers/gpu/drm/xe/xe_sysctrl_mailbox.h +10 -0
index 91460be9e22c..d59a825597d3 100644
@@ -23,6 +23,16 @@ struct xe_sysctrl_mailbox_command;
 #define XE_SYSCTRL_APP_HDR_VERSION(hdr) \
 	FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data))
 
+/* Command groups */
+enum xe_sysctrl_group {
+	XE_SYSCTRL_GROUP_GFSP			= 0x01,
+};
+
+/* Commands supported by GFSP group */
+enum xe_sysctrl_gfsp_cmd {
+	XE_SYSCTRL_CMD_GET_PENDING_EVENT	= 0x07,
+};
+
 void xe_sysctrl_mailbox_init(struct xe_sysctrl *sc);
 int xe_sysctrl_send_command(struct xe_sysctrl *sc,
 			    struct xe_sysctrl_mailbox_command *cmd,
Signature · 1 line
2.43.0
#6 lore raw

Re: [PATCH v3 3/4] drm/xe/sysctrl: Add system controller event support

Hi Raag

Quoted 191 lines · Raag Jadav

System controller reports different types of events to GFX endpoint for different usecases, add initial support for them. This will be further extended to service those usecases.

---
v2: Handle unexpected response length (Mallesh)
v3: Handle event flood (Mallesh)

---
  drivers/gpu/drm/xe/Makefile                 |  1 +
  drivers/gpu/drm/xe/xe_sysctrl.c             |  4 +
  drivers/gpu/drm/xe/xe_sysctrl.h             |  1 +
  drivers/gpu/drm/xe/xe_sysctrl_event.c       | 82 +++++++++++++++++++++
  drivers/gpu/drm/xe/xe_sysctrl_event_types.h | 52 +++++++++++++
  drivers/gpu/drm/xe/xe_sysctrl_mailbox.h     | 10 +++
  6 files changed, 150 insertions(+)

create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 543eb0b2430b..373adb20afb2 100644
@@ -125,6 +125,7 @@ xe-y += xe_bb.o \
  	xe_survivability_mode.o \
  	xe_sync.o \
  	xe_sysctrl.o \
+	xe_sysctrl_event.o \
  	xe_sysctrl_mailbox.o \
  	xe_tile.o \
  	xe_tile_sysfs.o \
drivers/gpu/drm/xe/xe_sysctrl.c +4 -0
index 30349df1c04b..63b9aaf98669 100644
@@ -42,6 +42,10 @@ static void sysctrl_fini(void *arg)
 
  static void xe_sysctrl_work(struct work_struct *work)
  {
+	struct xe_sysctrl *sc = container_of(work, struct xe_sysctrl, work);
+
+	guard(mutex)(&sc->work_lock);
+	xe_sysctrl_event(sc);
  }
 
  /**
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index ff60d42b52a7..0821ea44893d 100644
@@ -18,5 +18,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
 
  int xe_sysctrl_init(struct xe_device *xe);
  void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
+void xe_sysctrl_event(struct xe_sysctrl *sc);
 
  #endif
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +82 -0
new file mode 100644
index 000000000000..47afca586bd1
@@ -0,0 +1,82 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_device.h"
+#include "xe_irq.h"
+#include "xe_printk.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+#include "xe_sysctrl_mailbox.h"
+#include "xe_sysctrl_mailbox_types.h"
+
+static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
+					 struct xe_sysctrl_mailbox_command *command)
+{
+	struct xe_sysctrl_event_response response;
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 count = 0;
+	size_t len;
+	int ret;
+
+	command->data_out = &response;
+	command->data_out_len = sizeof(response);
+
+	do {
+		memset(&response, 0, sizeof(response));
+
+		ret = xe_sysctrl_send_command(sc, command, &len);
+		if (ret) {
+			xe_err(xe, "sysctrl: failed to get pending event %d\n", ret);
+			return;
+		}
+
+		if (len != sizeof(response)) {
+			xe_err(xe, "sysctrl: unexpected pending event response length %ld\n", len);
+			return;
+		}
+
+		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
+			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+		} else {
+			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
+			return;
+		}
+
+		if (++count > XE_SYSCTRL_EVENT_FLOOD) {
+			xe_err(xe, "sysctrl: event flooding\n");
+			return;
+		}
+
+		xe_dbg(xe, "sysctrl: %u events pending\n", response.count);
+	} while (response.count);
+}
+
+static void xe_sysctrl_event_request_prep(struct xe_device *xe,
+					  struct xe_sysctrl_app_msg_hdr *header,
+					  struct xe_sysctrl_event_request *request)
+{
+	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
+
+	header->data = REG_FIELD_PREP(APP_HDR_GROUP_ID_MASK, XE_SYSCTRL_GROUP_GFSP) |
+		       REG_FIELD_PREP(APP_HDR_COMMAND_MASK, XE_SYSCTRL_CMD_GET_PENDING_EVENT);
+
+	request->vector = xe_device_has_msix(xe) ? XE_IRQ_DEFAULT_MSIX : 0;
+	request->fn = PCI_FUNC(pdev->devfn);
+}
+
+void xe_sysctrl_event(struct xe_sysctrl *sc)
+{
+	struct xe_sysctrl_mailbox_command command = {};
+	struct xe_sysctrl_event_request request = {};
+	struct xe_sysctrl_app_msg_hdr header = {};
+
+	xe_sysctrl_event_request_prep(sc_to_xe(sc), &header, &request);
+
+	command.header = header;
+	command.data_in = &request;
+	command.data_in_len = sizeof(request);
+
+	xe_sysctrl_get_pending_event(sc, &command);
+}
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +40 -0
new file mode 100644
index 000000000000..1430a7ee2b39
@@ -0,0 +1,52 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_EVENT_TYPES_H_
+#define _XE_SYSCTRL_EVENT_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_SYSCTRL_EVENT_DATA_LEN		59
+
+/* Modify as needed */
+#define XE_SYSCTRL_EVENT_FLOOD			16
+
+enum xe_sysctrl_event {
+	XE_SYSCTRL_EVENT_THRESHOLD_CROSSED = 1,
+};
+
+/**
+ * struct xe_sysctrl_event_request - Request structure for pending event
+ */
+struct xe_sysctrl_event_request {
+	/** @vector: MSI-X vector that was triggered */
+	u32 vector;
+	/** @fn: Function index (0-7) of PCIe device */
+	u8 fn;
+	/** @reserved: Reserved for future use */
+	u32 reserved:24;
+	/** @reserved2: Reserved for future use */
+	u32 reserved2[2];
+} __packed;
+
+/**
+ * struct xe_sysctrl_event_response - Response structure for pending event
+ */
+struct xe_sysctrl_event_response {
+	/** @count: Number of pending events */
+	u32 count;
+	/** @event: Pending event */

drivers/gpu/drm/xe/xe_sysctrl_event_types.h line 50

Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +10 -0
+	enum xe_sysctrl_event event;
+	/** @timestamp: Timestamp of most recent event */
+	u64 timestamp;
+	/** @extended: Event has extended payload */
+	u8 extended:1;
+	/** @reserved: Reserved for future use */
+	u32 reserved:31;
+	/** @data: Generic event data */
+	u32 data[XE_SYSCTRL_EVENT_DATA_LEN];
+} __packed;

Let's add this in xe_ras_types.h to have a separate RAS layer that utilizes system controller.

Since multiple functions will be using system controller keeping their headers and functions in a separate file

will avoid cluttering everything in a single file. Let sysctrl.c only be an interface to the firmware.

Thanks
Riana

Quoted 23 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +2 -0
+
+#endif /* _XE_SYSCTRL_EVENT_TYPES_H_ */
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h +10 -0
index 91460be9e22c..d59a825597d3 100644
@@ -23,6 +23,16 @@ struct xe_sysctrl_mailbox_command;
  #define XE_SYSCTRL_APP_HDR_VERSION(hdr) \
  	FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data))
 
+/* Command groups */
+enum xe_sysctrl_group {
+	XE_SYSCTRL_GROUP_GFSP			= 0x01,
+};
+
+/* Commands supported by GFSP group */
+enum xe_sysctrl_gfsp_cmd {
+	XE_SYSCTRL_CMD_GET_PENDING_EVENT	= 0x07,
+};
+
  void xe_sysctrl_mailbox_init(struct xe_sysctrl *sc);
  int xe_sysctrl_send_command(struct xe_sysctrl *sc,
  			    struct xe_sysctrl_mailbox_command *cmd,
author
#7 lore raw

Re: [PATCH v3 3/4] drm/xe/sysctrl: Add system controller event support

Quoted 202 lines · Riana
Quoted 187 lines · Raag Jadav

System controller reports different types of events to GFX endpoint for different usecases, add initial support for them. This will be further extended to service those usecases.

---
v2: Handle unexpected response length (Mallesh)
v3: Handle event flood (Mallesh)

---
  drivers/gpu/drm/xe/Makefile                 |  1 +
  drivers/gpu/drm/xe/xe_sysctrl.c             |  4 +
  drivers/gpu/drm/xe/xe_sysctrl.h             |  1 +
  drivers/gpu/drm/xe/xe_sysctrl_event.c       | 82 +++++++++++++++++++++
  drivers/gpu/drm/xe/xe_sysctrl_event_types.h | 52 +++++++++++++
  drivers/gpu/drm/xe/xe_sysctrl_mailbox.h     | 10 +++
  6 files changed, 150 insertions(+)

create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 543eb0b2430b..373adb20afb2 100644
@@ -125,6 +125,7 @@ xe-y += xe_bb.o \
  	xe_survivability_mode.o \
  	xe_sync.o \
  	xe_sysctrl.o \
+	xe_sysctrl_event.o \
  	xe_sysctrl_mailbox.o \
  	xe_tile.o \
  	xe_tile_sysfs.o \
drivers/gpu/drm/xe/xe_sysctrl.c +4 -0
index 30349df1c04b..63b9aaf98669 100644
@@ -42,6 +42,10 @@ static void sysctrl_fini(void *arg)
  static void xe_sysctrl_work(struct work_struct *work)
  {
+	struct xe_sysctrl *sc = container_of(work, struct xe_sysctrl, work);
+
+	guard(mutex)(&sc->work_lock);
+	xe_sysctrl_event(sc);
  }
  /**
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index ff60d42b52a7..0821ea44893d 100644
@@ -18,5 +18,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
  int xe_sysctrl_init(struct xe_device *xe);
  void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
+void xe_sysctrl_event(struct xe_sysctrl *sc);
  #endif
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +82 -0
new file mode 100644
index 000000000000..47afca586bd1
@@ -0,0 +1,82 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_device.h"
+#include "xe_irq.h"
+#include "xe_printk.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+#include "xe_sysctrl_mailbox.h"
+#include "xe_sysctrl_mailbox_types.h"
+
+static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
+					 struct xe_sysctrl_mailbox_command *command)
+{
+	struct xe_sysctrl_event_response response;
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 count = 0;
+	size_t len;
+	int ret;
+
+	command->data_out = &response;
+	command->data_out_len = sizeof(response);
+
+	do {
+		memset(&response, 0, sizeof(response));
+
+		ret = xe_sysctrl_send_command(sc, command, &len);
+		if (ret) {
+			xe_err(xe, "sysctrl: failed to get pending event %d\n", ret);
+			return;
+		}
+
+		if (len != sizeof(response)) {
+			xe_err(xe, "sysctrl: unexpected pending event response length %ld\n", len);
+			return;
+		}
+
+		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
+			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+		} else {
+			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
+			return;
+		}
+
+		if (++count > XE_SYSCTRL_EVENT_FLOOD) {
+			xe_err(xe, "sysctrl: event flooding\n");
+			return;
+		}
+
+		xe_dbg(xe, "sysctrl: %u events pending\n", response.count);
+	} while (response.count);
+}
+
+static void xe_sysctrl_event_request_prep(struct xe_device *xe,
+					  struct xe_sysctrl_app_msg_hdr *header,
+					  struct xe_sysctrl_event_request *request)
+{
+	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
+
+	header->data = REG_FIELD_PREP(APP_HDR_GROUP_ID_MASK, XE_SYSCTRL_GROUP_GFSP) |
+		       REG_FIELD_PREP(APP_HDR_COMMAND_MASK, XE_SYSCTRL_CMD_GET_PENDING_EVENT);
+
+	request->vector = xe_device_has_msix(xe) ? XE_IRQ_DEFAULT_MSIX : 0;
+	request->fn = PCI_FUNC(pdev->devfn);
+}
+
+void xe_sysctrl_event(struct xe_sysctrl *sc)
+{
+	struct xe_sysctrl_mailbox_command command = {};
+	struct xe_sysctrl_event_request request = {};
+	struct xe_sysctrl_app_msg_hdr header = {};
+
+	xe_sysctrl_event_request_prep(sc_to_xe(sc), &header, &request);
+
+	command.header = header;
+	command.data_in = &request;
+	command.data_in_len = sizeof(request);
+
+	xe_sysctrl_get_pending_event(sc, &command);
+}
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +40 -0
new file mode 100644
index 000000000000..1430a7ee2b39
@@ -0,0 +1,52 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_EVENT_TYPES_H_
+#define _XE_SYSCTRL_EVENT_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_SYSCTRL_EVENT_DATA_LEN		59
+
+/* Modify as needed */
+#define XE_SYSCTRL_EVENT_FLOOD			16
+
+enum xe_sysctrl_event {
+	XE_SYSCTRL_EVENT_THRESHOLD_CROSSED = 1,
+};
+
+/**
+ * struct xe_sysctrl_event_request - Request structure for pending event
+ */
+struct xe_sysctrl_event_request {
+	/** @vector: MSI-X vector that was triggered */
+	u32 vector;
+	/** @fn: Function index (0-7) of PCIe device */
+	u8 fn;
+	/** @reserved: Reserved for future use */
+	u32 reserved:24;
+	/** @reserved2: Reserved for future use */
+	u32 reserved2[2];
+} __packed;
+
+/**
+ * struct xe_sysctrl_event_response - Response structure for pending event
+ */
+struct xe_sysctrl_event_response {
+	/** @count: Number of pending events */
+	u32 count;
+	/** @event: Pending event */

drivers/gpu/drm/xe/xe_sysctrl_event_types.h line 50

Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +10 -0
+	enum xe_sysctrl_event event;
+	/** @timestamp: Timestamp of most recent event */
+	u64 timestamp;
+	/** @extended: Event has extended payload */
+	u8 extended:1;
+	/** @reserved: Reserved for future use */
+	u32 reserved:31;
+	/** @data: Generic event data */
+	u32 data[XE_SYSCTRL_EVENT_DATA_LEN];
+} __packed;

Let's add this in xe_ras_types.h to have a separate RAS layer that utilizes system controller.

Quoted 5 lines

Since multiple functions will be using system controller keeping their headers and functions in a separate file

will avoid cluttering everything in a single file. Let sysctrl.c only be an interface to the firmware.

I had an impression that a sysctrl event is meant for wider usecases than RAS. Did things change (again)?

Raag

Quoted 22 lines
Quoted 22 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +2 -0
+
+#endif /* _XE_SYSCTRL_EVENT_TYPES_H_ */
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h +10 -0
index 91460be9e22c..d59a825597d3 100644
@@ -23,6 +23,16 @@ struct xe_sysctrl_mailbox_command;
  #define XE_SYSCTRL_APP_HDR_VERSION(hdr) \
  	FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data))
+/* Command groups */
+enum xe_sysctrl_group {
+	XE_SYSCTRL_GROUP_GFSP			= 0x01,
+};
+
+/* Commands supported by GFSP group */
+enum xe_sysctrl_gfsp_cmd {
+	XE_SYSCTRL_CMD_GET_PENDING_EVENT	= 0x07,
+};
+
  void xe_sysctrl_mailbox_init(struct xe_sysctrl *sc);
  int xe_sysctrl_send_command(struct xe_sysctrl *sc,
  			    struct xe_sysctrl_mailbox_command *cmd,
#8 lore raw

Re: [PATCH v3 3/4] drm/xe/sysctrl: Add system controller event support

Hi Raag,

Quoted 75 lines · Raag Jadav
Quoted 74 lines · Riana
Quoted 73 lines · Raag Jadav

System controller reports different types of events to GFX endpoint for different usecases, add initial support for them. This will be further extended to service those usecases.

---
v2: Handle unexpected response length (Mallesh)
v3: Handle event flood (Mallesh)

---
   drivers/gpu/drm/xe/Makefile                 |  1 +
   drivers/gpu/drm/xe/xe_sysctrl.c             |  4 +
   drivers/gpu/drm/xe/xe_sysctrl.h             |  1 +
   drivers/gpu/drm/xe/xe_sysctrl_event.c       | 82 +++++++++++++++++++++
   drivers/gpu/drm/xe/xe_sysctrl_event_types.h | 52 +++++++++++++
   drivers/gpu/drm/xe/xe_sysctrl_mailbox.h     | 10 +++
   6 files changed, 150 insertions(+)

create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 543eb0b2430b..373adb20afb2 100644
@@ -125,6 +125,7 @@ xe-y += xe_bb.o \
   	xe_survivability_mode.o \
   	xe_sync.o \
   	xe_sysctrl.o \
+	xe_sysctrl_event.o \
   	xe_sysctrl_mailbox.o \
   	xe_tile.o \
   	xe_tile_sysfs.o \
drivers/gpu/drm/xe/xe_sysctrl.c +4 -0
index 30349df1c04b..63b9aaf98669 100644
@@ -42,6 +42,10 @@ static void sysctrl_fini(void *arg)
   static void xe_sysctrl_work(struct work_struct *work)
   {
+	struct xe_sysctrl *sc = container_of(work, struct xe_sysctrl, work);
+
+	guard(mutex)(&sc->work_lock);
+	xe_sysctrl_event(sc);
   }
   /**
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index ff60d42b52a7..0821ea44893d 100644
@@ -18,5 +18,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
   int xe_sysctrl_init(struct xe_device *xe);
   void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
+void xe_sysctrl_event(struct xe_sysctrl *sc);
   #endif
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +14 -0
new file mode 100644
index 000000000000..47afca586bd1
@@ -0,0 +1,82 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_device.h"
+#include "xe_irq.h"
+#include "xe_printk.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+#include "xe_sysctrl_mailbox.h"
+#include "xe_sysctrl_mailbox_types.h"
+
+static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
Quoted 8 lines
Quoted 8 lines

drivers/gpu/drm/xe/xe_sysctrl_event.c line 22

Quoted 8 lines
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +8 -0
+					 struct xe_sysctrl_mailbox_command *command)
+{
+	struct xe_sysctrl_event_response response;
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 count = 0;
+	size_t len;
+	int ret;
+

Ensure that response structure fits in mailbox buffer by checking against XE_SYSCTRL_MB_MAX_MESSAGE_SIZE (1024).

Thanks,

-/Mallesh

Quoted 151 lines
Quoted 119 lines
Quoted 106 lines
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +60 -0
+	command->data_out = &response;
+	command->data_out_len = sizeof(response);
+
+	do {
+		memset(&response, 0, sizeof(response));
+
+		ret = xe_sysctrl_send_command(sc, command, &len);
+		if (ret) {
+			xe_err(xe, "sysctrl: failed to get pending event %d\n", ret);
+			return;
+		}
+
+		if (len != sizeof(response)) {
+			xe_err(xe, "sysctrl: unexpected pending event response length %ld\n", len);
+			return;
+		}
+
+		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
+			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+		} else {
+			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
+			return;
+		}
+
+		if (++count > XE_SYSCTRL_EVENT_FLOOD) {
+			xe_err(xe, "sysctrl: event flooding\n");
+			return;
+		}
+
+		xe_dbg(xe, "sysctrl: %u events pending\n", response.count);
+	} while (response.count);
+}
+
+static void xe_sysctrl_event_request_prep(struct xe_device *xe,
+					  struct xe_sysctrl_app_msg_hdr *header,
+					  struct xe_sysctrl_event_request *request)
+{
+	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
+
+	header->data = REG_FIELD_PREP(APP_HDR_GROUP_ID_MASK, XE_SYSCTRL_GROUP_GFSP) |
+		       REG_FIELD_PREP(APP_HDR_COMMAND_MASK, XE_SYSCTRL_CMD_GET_PENDING_EVENT);
+
+	request->vector = xe_device_has_msix(xe) ? XE_IRQ_DEFAULT_MSIX : 0;
+	request->fn = PCI_FUNC(pdev->devfn);
+}
+
+void xe_sysctrl_event(struct xe_sysctrl *sc)
+{
+	struct xe_sysctrl_mailbox_command command = {};
+	struct xe_sysctrl_event_request request = {};
+	struct xe_sysctrl_app_msg_hdr header = {};
+
+	xe_sysctrl_event_request_prep(sc_to_xe(sc), &header, &request);
+
+	command.header = header;
+	command.data_in = &request;
+	command.data_in_len = sizeof(request);
+
+	xe_sysctrl_get_pending_event(sc, &command);
+}
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +40 -0
new file mode 100644
index 000000000000..1430a7ee2b39
@@ -0,0 +1,52 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_EVENT_TYPES_H_
+#define _XE_SYSCTRL_EVENT_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_SYSCTRL_EVENT_DATA_LEN		59
+
+/* Modify as needed */
+#define XE_SYSCTRL_EVENT_FLOOD			16
+
+enum xe_sysctrl_event {
+	XE_SYSCTRL_EVENT_THRESHOLD_CROSSED = 1,
+};
+
+/**
+ * struct xe_sysctrl_event_request - Request structure for pending event
+ */
+struct xe_sysctrl_event_request {
+	/** @vector: MSI-X vector that was triggered */
+	u32 vector;
+	/** @fn: Function index (0-7) of PCIe device */
+	u8 fn;
+	/** @reserved: Reserved for future use */
+	u32 reserved:24;
+	/** @reserved2: Reserved for future use */
+	u32 reserved2[2];
+} __packed;
+
+/**
+ * struct xe_sysctrl_event_response - Response structure for pending event
+ */
+struct xe_sysctrl_event_response {
+	/** @count: Number of pending events */
+	u32 count;
+	/** @event: Pending event */

drivers/gpu/drm/xe/xe_sysctrl_event_types.h line 50

Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +10 -0
+	enum xe_sysctrl_event event;
+	/** @timestamp: Timestamp of most recent event */
+	u64 timestamp;
+	/** @extended: Event has extended payload */
+	u8 extended:1;
+	/** @reserved: Reserved for future use */
+	u32 reserved:31;
+	/** @data: Generic event data */
+	u32 data[XE_SYSCTRL_EVENT_DATA_LEN];
+} __packed;

Let's add this in xe_ras_types.h to have a separate RAS layer that utilizes system controller.

Quoted 5 lines

Since multiple functions will be using system controller keeping their headers and functions in a separate file

will avoid cluttering everything in a single file. Let sysctrl.c only be an interface to the firmware.

I had an impression that a sysctrl event is meant for wider usecases than RAS. Did things change (again)?

Raag

Quoted 22 lines
Quoted 22 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +2 -0
+
+#endif /* _XE_SYSCTRL_EVENT_TYPES_H_ */
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h +10 -0
index 91460be9e22c..d59a825597d3 100644
@@ -23,6 +23,16 @@ struct xe_sysctrl_mailbox_command;
   #define XE_SYSCTRL_APP_HDR_VERSION(hdr) \
   	FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data))
+/* Command groups */
+enum xe_sysctrl_group {
+	XE_SYSCTRL_GROUP_GFSP			= 0x01,
+};
+
+/* Commands supported by GFSP group */
+enum xe_sysctrl_gfsp_cmd {
+	XE_SYSCTRL_CMD_GET_PENDING_EVENT	= 0x07,
+};
+
   void xe_sysctrl_mailbox_init(struct xe_sysctrl *sc);
   int xe_sysctrl_send_command(struct xe_sysctrl *sc,
   			    struct xe_sysctrl_mailbox_command *cmd,
author
#9 lore raw

Re: [PATCH v3 3/4] drm/xe/sysctrl: Add system controller event support

Quoted 79 lines · Koujalagi
Quoted 78 lines · Raag Jadav
Quoted 77 lines · Riana
Quoted 76 lines · Raag Jadav

System controller reports different types of events to GFX endpoint for different usecases, add initial support for them. This will be further extended to service those usecases.

---
v2: Handle unexpected response length (Mallesh)
v3: Handle event flood (Mallesh)

---
   drivers/gpu/drm/xe/Makefile                 |  1 +
   drivers/gpu/drm/xe/xe_sysctrl.c             |  4 +
   drivers/gpu/drm/xe/xe_sysctrl.h             |  1 +
   drivers/gpu/drm/xe/xe_sysctrl_event.c       | 82 +++++++++++++++++++++
   drivers/gpu/drm/xe/xe_sysctrl_event_types.h | 52 +++++++++++++
   drivers/gpu/drm/xe/xe_sysctrl_mailbox.h     | 10 +++
   6 files changed, 150 insertions(+)

create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 543eb0b2430b..373adb20afb2 100644
@@ -125,6 +125,7 @@ xe-y += xe_bb.o \
   	xe_survivability_mode.o \
   	xe_sync.o \
   	xe_sysctrl.o \
+	xe_sysctrl_event.o \
   	xe_sysctrl_mailbox.o \
   	xe_tile.o \
   	xe_tile_sysfs.o \
drivers/gpu/drm/xe/xe_sysctrl.c +4 -0
index 30349df1c04b..63b9aaf98669 100644
@@ -42,6 +42,10 @@ static void sysctrl_fini(void *arg)
   static void xe_sysctrl_work(struct work_struct *work)
   {
+	struct xe_sysctrl *sc = container_of(work, struct xe_sysctrl, work);
+
+	guard(mutex)(&sc->work_lock);
+	xe_sysctrl_event(sc);
   }
   /**
drivers/gpu/drm/xe/xe_sysctrl.h +1 -0
index ff60d42b52a7..0821ea44893d 100644
@@ -18,5 +18,6 @@ static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
   int xe_sysctrl_init(struct xe_device *xe);
   void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
+void xe_sysctrl_event(struct xe_sysctrl *sc);
   #endif
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +17 -0
new file mode 100644
index 000000000000..47afca586bd1
@@ -0,0 +1,82 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_device.h"
+#include "xe_irq.h"
+#include "xe_printk.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+#include "xe_sysctrl_mailbox.h"
+#include "xe_sysctrl_mailbox_types.h"
+
+static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
+					 struct xe_sysctrl_mailbox_command *command)
+{
+	struct xe_sysctrl_event_response response;
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines

drivers/gpu/drm/xe/xe_sysctrl_event.c line 22

Quoted 5 lines
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +5 -0
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 count = 0;
+	size_t len;
+	int ret;
+

Ensure that response structure fits in mailbox buffer by checking against XE_SYSCTRL_MB_MAX_MESSAGE_SIZE (1024).

Any mailbox parameter validation should be part of mailbox call itself and not for its user to worry about.

Raag

Quoted 151 lines
Quoted 151 lines
Quoted 119 lines
Quoted 106 lines
drivers/gpu/drm/xe/xe_sysctrl_event.c new file +60 -0
+	command->data_out = &response;
+	command->data_out_len = sizeof(response);
+
+	do {
+		memset(&response, 0, sizeof(response));
+
+		ret = xe_sysctrl_send_command(sc, command, &len);
+		if (ret) {
+			xe_err(xe, "sysctrl: failed to get pending event %d\n", ret);
+			return;
+		}
+
+		if (len != sizeof(response)) {
+			xe_err(xe, "sysctrl: unexpected pending event response length %ld\n", len);
+			return;
+		}
+
+		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
+			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+		} else {
+			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
+			return;
+		}
+
+		if (++count > XE_SYSCTRL_EVENT_FLOOD) {
+			xe_err(xe, "sysctrl: event flooding\n");
+			return;
+		}
+
+		xe_dbg(xe, "sysctrl: %u events pending\n", response.count);
+	} while (response.count);
+}
+
+static void xe_sysctrl_event_request_prep(struct xe_device *xe,
+					  struct xe_sysctrl_app_msg_hdr *header,
+					  struct xe_sysctrl_event_request *request)
+{
+	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
+
+	header->data = REG_FIELD_PREP(APP_HDR_GROUP_ID_MASK, XE_SYSCTRL_GROUP_GFSP) |
+		       REG_FIELD_PREP(APP_HDR_COMMAND_MASK, XE_SYSCTRL_CMD_GET_PENDING_EVENT);
+
+	request->vector = xe_device_has_msix(xe) ? XE_IRQ_DEFAULT_MSIX : 0;
+	request->fn = PCI_FUNC(pdev->devfn);
+}
+
+void xe_sysctrl_event(struct xe_sysctrl *sc)
+{
+	struct xe_sysctrl_mailbox_command command = {};
+	struct xe_sysctrl_event_request request = {};
+	struct xe_sysctrl_app_msg_hdr header = {};
+
+	xe_sysctrl_event_request_prep(sc_to_xe(sc), &header, &request);
+
+	command.header = header;
+	command.data_in = &request;
+	command.data_in_len = sizeof(request);
+
+	xe_sysctrl_get_pending_event(sc, &command);
+}
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +40 -0
new file mode 100644
index 000000000000..1430a7ee2b39
@@ -0,0 +1,52 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_SYSCTRL_EVENT_TYPES_H_
+#define _XE_SYSCTRL_EVENT_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_SYSCTRL_EVENT_DATA_LEN		59
+
+/* Modify as needed */
+#define XE_SYSCTRL_EVENT_FLOOD			16
+
+enum xe_sysctrl_event {
+	XE_SYSCTRL_EVENT_THRESHOLD_CROSSED = 1,
+};
+
+/**
+ * struct xe_sysctrl_event_request - Request structure for pending event
+ */
+struct xe_sysctrl_event_request {
+	/** @vector: MSI-X vector that was triggered */
+	u32 vector;
+	/** @fn: Function index (0-7) of PCIe device */
+	u8 fn;
+	/** @reserved: Reserved for future use */
+	u32 reserved:24;
+	/** @reserved2: Reserved for future use */
+	u32 reserved2[2];
+} __packed;
+
+/**
+ * struct xe_sysctrl_event_response - Response structure for pending event
+ */
+struct xe_sysctrl_event_response {
+	/** @count: Number of pending events */
+	u32 count;
+	/** @event: Pending event */

drivers/gpu/drm/xe/xe_sysctrl_event_types.h line 50

Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +10 -0
+	enum xe_sysctrl_event event;
+	/** @timestamp: Timestamp of most recent event */
+	u64 timestamp;
+	/** @extended: Event has extended payload */
+	u8 extended:1;
+	/** @reserved: Reserved for future use */
+	u32 reserved:31;
+	/** @data: Generic event data */
+	u32 data[XE_SYSCTRL_EVENT_DATA_LEN];
+} __packed;

Let's add this in xe_ras_types.h to have a separate RAS layer that utilizes system controller.

Quoted 5 lines

Since multiple functions will be using system controller keeping their headers and functions in a separate file

will avoid cluttering everything in a single file. Let sysctrl.c only be an interface to the firmware.

I had an impression that a sysctrl event is meant for wider usecases than RAS. Did things change (again)?

Raag

Quoted 22 lines
Quoted 22 lines
drivers/gpu/drm/xe/xe_sysctrl_event_types.h new file +2 -0
+
+#endif /* _XE_SYSCTRL_EVENT_TYPES_H_ */
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h +10 -0
index 91460be9e22c..d59a825597d3 100644
@@ -23,6 +23,16 @@ struct xe_sysctrl_mailbox_command;
   #define XE_SYSCTRL_APP_HDR_VERSION(hdr) \
   	FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data))
+/* Command groups */
+enum xe_sysctrl_group {
+	XE_SYSCTRL_GROUP_GFSP			= 0x01,
+};
+
+/* Commands supported by GFSP group */
+enum xe_sysctrl_gfsp_cmd {
+	XE_SYSCTRL_CMD_GET_PENDING_EVENT	= 0x07,
+};
+
   void xe_sysctrl_mailbox_init(struct xe_sysctrl *sc);
   int xe_sysctrl_send_command(struct xe_sysctrl *sc,
   			    struct xe_sysctrl_mailbox_command *cmd,
author
#10 lore raw

PATCH v3 4/4 drm/xe/ras: Introduce correctable error handling

In reply to Raag Jadav

Add initial support for correctable error handling which is serviced using system controller event. Currently we only log the errors in dmesg but this serves as a foundation for RAS infrastructure and will be further extended to facilitate other RAS features.

---
 drivers/gpu/drm/xe/Makefile           |  1 +
 drivers/gpu/drm/xe/xe_ras.c           | 89 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_ras.h           | 14 +++++
 drivers/gpu/drm/xe/xe_ras_types.h     | 73 ++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_event.c |  3 +-
 5 files changed, 179 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/xe_ras.c
 create mode 100644 drivers/gpu/drm/xe/xe_ras.h
 create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h
drivers/gpu/drm/xe/Makefile +1 -0
index 373adb20afb2..9811cf732260 100644
@@ -113,6 +113,7 @@ xe-y += xe_bb.o \
 	xe_pxp_submit.o \
 	xe_query.o \
 	xe_range_fence.o \
+	xe_ras.o \
 	xe_reg_sr.o \
 	xe_reg_whitelist.o \
 	xe_ring_ops.o \
drivers/gpu/drm/xe/xe_ras.c new file +89 -0

89 lines not on this page · raw message

drivers/gpu/drm/xe/xe_ras.h new file +14 -0
new file mode 100644
index 000000000000..22f035fa498d
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_H_
+#define _XE_RAS_H_
+
+struct xe_sysctrl;
+struct xe_sysctrl_event_response;
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response);
+
+#endif
drivers/gpu/drm/xe/xe_ras_types.h new file +73 -0

73 lines not on this page · raw message

drivers/gpu/drm/xe/xe_sysctrl_event.c +2 -1
index 47afca586bd1..1833ecadd9a1 100644
@@ -6,6 +6,7 @@
 #include "xe_device.h"
 #include "xe_irq.h"
 #include "xe_printk.h"
+#include "xe_ras.h"
 #include "xe_sysctrl.h"
 #include "xe_sysctrl_event_types.h"
 #include "xe_sysctrl_mailbox.h"
@@ -38,7 +39,7 @@ static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
 		}
 
 		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
-			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+			xe_ras_event_log(sc, &response);
 		} else {
 			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
 			return;
Signature · 1 line
2.43.0
#11 lore raw

Re: [PATCH v3 4/4] drm/xe/ras: Introduce correctable error handling

Hi Raag

Quoted 112 lines · Raag Jadav

Add initial support for correctable error handling which is serviced using system controller event. Currently we only log the errors in dmesg but this serves as a foundation for RAS infrastructure and will be further extended to facilitate other RAS features.

---
  drivers/gpu/drm/xe/Makefile           |  1 +
  drivers/gpu/drm/xe/xe_ras.c           | 89 +++++++++++++++++++++++++++
  drivers/gpu/drm/xe/xe_ras.h           | 14 +++++
  drivers/gpu/drm/xe/xe_ras_types.h     | 73 ++++++++++++++++++++++
  drivers/gpu/drm/xe/xe_sysctrl_event.c |  3 +-
  5 files changed, 179 insertions(+), 1 deletion(-)

create mode 100644 drivers/gpu/drm/xe/xe_ras.c create mode 100644 drivers/gpu/drm/xe/xe_ras.h create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 373adb20afb2..9811cf732260 100644
@@ -113,6 +113,7 @@ xe-y += xe_bb.o \
  	xe_pxp_submit.o \
  	xe_query.o \
  	xe_range_fence.o \
+	xe_ras.o \
  	xe_reg_sr.o \
  	xe_reg_whitelist.o \
  	xe_ring_ops.o \
drivers/gpu/drm/xe/xe_ras.c new file +77 -0
new file mode 100644
index 000000000000..37a996a6abf8
@@ -0,0 +1,89 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_assert.h"
+#include "xe_printk.h"
+#include "xe_ras.h"
+#include "xe_ras_types.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+
+/* Severity of detected errors  */
+enum xe_ras_severity {
+	XE_RAS_SEV_NOT_SUPPORTED = 0,
+	XE_RAS_SEV_CORRECTABLE,
+	XE_RAS_SEV_UNCORRECTABLE,
+	XE_RAS_SEV_INFORMATIONAL,
+	XE_RAS_SEV_MAX
+};
+
+/* Major IP blocks/components where errors can originate */
+enum xe_ras_component {
+	XE_RAS_COMP_NOT_SUPPORTED = 0,
+	XE_RAS_COMP_DEVICE_MEMORY,
+	XE_RAS_COMP_CORE_COMPUTE,
+	XE_RAS_COMP_RESERVED,
+	XE_RAS_COMP_PCIE,
+	XE_RAS_COMP_FABRIC,
+	XE_RAS_COMP_SOC_INTERNAL,
+	XE_RAS_COMP_MAX
+};
+
+static const char *const xe_ras_severities[] = {
+	[XE_RAS_SEV_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_SEV_CORRECTABLE]		= "Correctable",
+	[XE_RAS_SEV_UNCORRECTABLE]		= "Uncorrectable",
+	[XE_RAS_SEV_INFORMATIONAL]		= "Informational",
+};
+static_assert(ARRAY_SIZE(xe_ras_severities) == XE_RAS_SEV_MAX);
+
+static const char *const xe_ras_components[] = {
+	[XE_RAS_COMP_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_COMP_DEVICE_MEMORY]		= "Device Memory",
+	[XE_RAS_COMP_CORE_COMPUTE]		= "Core Compute",
+	[XE_RAS_COMP_RESERVED]			= "Reserved",
+	[XE_RAS_COMP_PCIE]			= "PCIe",
+	[XE_RAS_COMP_FABRIC]			= "Fabric",
+	[XE_RAS_COMP_SOC_INTERNAL]		= "SoC Internal",
+};
+static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
+
+static inline const char *sev_to_str(struct xe_device *xe, u32 sev)
+{
+	xe_assert(xe, sev < XE_RAS_SEV_MAX);
+
+	return sev < XE_RAS_SEV_MAX ? xe_ras_severities[sev] : "Unknown";
+}
+
+static inline const char *comp_to_str(struct xe_device *xe, u32 comp)
+{
+	xe_assert(xe, comp < XE_RAS_COMP_MAX);
+
+	return comp < XE_RAS_COMP_MAX ? xe_ras_components[comp] : "Unknown";
+}
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response)
+{
+	struct xe_ras_event_threshold_crossed *pending = (void *)&response->data;
+	struct xe_ras_error *errors = pending->counters;
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 cid, sev, comp, inst, cause;
+	u8 tile;
+
+	xe_assert(xe, pending->ncounters < XE_RAS_NUM_COUNTERS);
+	xe_warn(xe, "[RAS]: threshold crossed, %u new errors\n", pending->ncounters);
+

drivers/gpu/drm/xe/xe_ras.c line 87

Quoted 10 lines
drivers/gpu/drm/xe/xe_ras.c new file +10 -0
+	for (cid = 0; cid < pending->ncounters && cid < XE_RAS_NUM_COUNTERS; cid++) {
+		sev = errors[cid].common.severity;
+		comp = errors[cid].common.component;
+
+		tile = errors[cid].product.unit.tile;
+		inst = errors[cid].product.unit.instance;
+		cause = errors[cid].product.cause.cause;
+
+		xe_warn(xe, "[RAS]: Tile:%u Instance:%u Component:%s Error:%s Cause:%#x\n",
+			tile, inst, comp_to_str(xe, sev), sev_to_str(xe, comp), cause);

We can have minimal logging here with only severity and component and add additional logging

in following patches.

Quoted 74 lines
drivers/gpu/drm/xe/xe_ras.c new file +2 -0
+	}
+}
drivers/gpu/drm/xe/xe_ras.h new file +14 -0
new file mode 100644
index 000000000000..22f035fa498d
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_H_
+#define _XE_RAS_H_
+
+struct xe_sysctrl;
+struct xe_sysctrl_event_response;
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response);
+
+#endif
drivers/gpu/drm/xe/xe_ras_types.h new file +46 -0
new file mode 100644
index 000000000000..2982c4696b6d
@@ -0,0 +1,73 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_TYPES_H_
+#define _XE_RAS_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_RAS_NUM_COUNTERS			16
+
+/**
+ * struct xe_ras_error_common - Error fields that are common across all products
+ */
+struct xe_ras_error_common {
+	/** @severity: Error severity */
+	u8 severity;
+	/** @component: IP block where error originated */
+	u8 component;
+} __packed;
+
+/**
+ * struct xe_ras_error_unit - Error unit information
+ */
+struct xe_ras_error_unit {
+	/** @tile: Tile identifier */
+	u8 tile;
+	/** @instance: Instance identifier specific to IP */
+	u32 instance;
+} __packed;
+
+/**
+ * struct xe_ras_error_cause - Error cause information
+ */
+struct xe_ras_error_cause {
+	/** @cause: Cause/checker */
+	u32 cause;
+	/** @reserved: For future use */
+	u8 reserved;
+} __packed;
+
+/**
+ * struct xe_ras_error_product - Error fields that are specific to the product
+ */
+struct xe_ras_error_product {

drivers/gpu/drm/xe/xe_ras_types.h line 56

Quoted 10 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +10 -0
+	/** @unit: Unit within IP block */
+	struct xe_ras_error_unit unit;
+	/** @cause: Cause/checker */
+	struct xe_ras_error_cause cause;
+} __packed;
+
+/**
+ * struct xe_ras_error - Combines common and product-specific parts
+ */
+struct xe_ras_error {

error_class ?

Thanks
Riana

Quoted 38 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +17 -0
+	/** @common: Common error type and component */
+	struct xe_ras_error_common common;
+	/** @product: Product-specific unit and cause */
+	struct xe_ras_error_product product;
+} __packed;
+
+/**
+ * struct xe_ras_event_threshold_crossed - Event data for threshold crossed event
+ */
+struct xe_ras_event_threshold_crossed {
+	/** @ncounters: Number of error counters that crossed thresholds */
+	u32 ncounters;
+	/** @counters: Array of error counters that crossed threshold */
+	struct xe_ras_error counters[XE_RAS_NUM_COUNTERS];
+} __packed;
+
+#endif
drivers/gpu/drm/xe/xe_sysctrl_event.c +2 -1
index 47afca586bd1..1833ecadd9a1 100644
@@ -6,6 +6,7 @@
  #include "xe_device.h"
  #include "xe_irq.h"
  #include "xe_printk.h"
+#include "xe_ras.h"
  #include "xe_sysctrl.h"
  #include "xe_sysctrl_event_types.h"
  #include "xe_sysctrl_mailbox.h"
@@ -38,7 +39,7 @@ static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
  		}
 
  		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
-			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+			xe_ras_event_log(sc, &response);
  		} else {
  			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
  			return;
author
#12 lore raw

Re: [PATCH v3 4/4] drm/xe/ras: Introduce correctable error handling

Quoted 127 lines · Riana
Quoted 112 lines · Raag Jadav

Add initial support for correctable error handling which is serviced using system controller event. Currently we only log the errors in dmesg but this serves as a foundation for RAS infrastructure and will be further extended to facilitate other RAS features.

---
  drivers/gpu/drm/xe/Makefile           |  1 +
  drivers/gpu/drm/xe/xe_ras.c           | 89 +++++++++++++++++++++++++++
  drivers/gpu/drm/xe/xe_ras.h           | 14 +++++
  drivers/gpu/drm/xe/xe_ras_types.h     | 73 ++++++++++++++++++++++
  drivers/gpu/drm/xe/xe_sysctrl_event.c |  3 +-
  5 files changed, 179 insertions(+), 1 deletion(-)

create mode 100644 drivers/gpu/drm/xe/xe_ras.c create mode 100644 drivers/gpu/drm/xe/xe_ras.h create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 373adb20afb2..9811cf732260 100644
@@ -113,6 +113,7 @@ xe-y += xe_bb.o \
  	xe_pxp_submit.o \
  	xe_query.o \
  	xe_range_fence.o \
+	xe_ras.o \
  	xe_reg_sr.o \
  	xe_reg_whitelist.o \
  	xe_ring_ops.o \
drivers/gpu/drm/xe/xe_ras.c new file +77 -0
new file mode 100644
index 000000000000..37a996a6abf8
@@ -0,0 +1,89 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_assert.h"
+#include "xe_printk.h"
+#include "xe_ras.h"
+#include "xe_ras_types.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+
+/* Severity of detected errors  */
+enum xe_ras_severity {
+	XE_RAS_SEV_NOT_SUPPORTED = 0,
+	XE_RAS_SEV_CORRECTABLE,
+	XE_RAS_SEV_UNCORRECTABLE,
+	XE_RAS_SEV_INFORMATIONAL,
+	XE_RAS_SEV_MAX
+};
+
+/* Major IP blocks/components where errors can originate */
+enum xe_ras_component {
+	XE_RAS_COMP_NOT_SUPPORTED = 0,
+	XE_RAS_COMP_DEVICE_MEMORY,
+	XE_RAS_COMP_CORE_COMPUTE,
+	XE_RAS_COMP_RESERVED,
+	XE_RAS_COMP_PCIE,
+	XE_RAS_COMP_FABRIC,
+	XE_RAS_COMP_SOC_INTERNAL,
+	XE_RAS_COMP_MAX
+};
+
+static const char *const xe_ras_severities[] = {
+	[XE_RAS_SEV_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_SEV_CORRECTABLE]		= "Correctable",
+	[XE_RAS_SEV_UNCORRECTABLE]		= "Uncorrectable",
+	[XE_RAS_SEV_INFORMATIONAL]		= "Informational",
+};
+static_assert(ARRAY_SIZE(xe_ras_severities) == XE_RAS_SEV_MAX);
+
+static const char *const xe_ras_components[] = {
+	[XE_RAS_COMP_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_COMP_DEVICE_MEMORY]		= "Device Memory",
+	[XE_RAS_COMP_CORE_COMPUTE]		= "Core Compute",
+	[XE_RAS_COMP_RESERVED]			= "Reserved",
+	[XE_RAS_COMP_PCIE]			= "PCIe",
+	[XE_RAS_COMP_FABRIC]			= "Fabric",
+	[XE_RAS_COMP_SOC_INTERNAL]		= "SoC Internal",
+};
+static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
+
+static inline const char *sev_to_str(struct xe_device *xe, u32 sev)
+{
+	xe_assert(xe, sev < XE_RAS_SEV_MAX);
+
+	return sev < XE_RAS_SEV_MAX ? xe_ras_severities[sev] : "Unknown";
+}
+
+static inline const char *comp_to_str(struct xe_device *xe, u32 comp)
+{
+	xe_assert(xe, comp < XE_RAS_COMP_MAX);
+
+	return comp < XE_RAS_COMP_MAX ? xe_ras_components[comp] : "Unknown";
+}
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response)
+{
+	struct xe_ras_event_threshold_crossed *pending = (void *)&response->data;
+	struct xe_ras_error *errors = pending->counters;
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 cid, sev, comp, inst, cause;
+	u8 tile;
+
+	xe_assert(xe, pending->ncounters < XE_RAS_NUM_COUNTERS);
+	xe_warn(xe, "[RAS]: threshold crossed, %u new errors\n", pending->ncounters);
+

drivers/gpu/drm/xe/xe_ras.c line 87

Quoted 10 lines
drivers/gpu/drm/xe/xe_ras.c new file +10 -0
+	for (cid = 0; cid < pending->ncounters && cid < XE_RAS_NUM_COUNTERS; cid++) {
+		sev = errors[cid].common.severity;
+		comp = errors[cid].common.component;
+
+		tile = errors[cid].product.unit.tile;
+		inst = errors[cid].product.unit.instance;
+		cause = errors[cid].product.cause.cause;
+
+		xe_warn(xe, "[RAS]: Tile:%u Instance:%u Component:%s Error:%s Cause:%#x\n",
+			tile, inst, comp_to_str(xe, sev), sev_to_str(xe, comp), cause);

We can have minimal logging here with only severity and component and add additional logging

Quoted 1 line

in following patches.

I plan to remove it entirely once we have cper in place, but until that happens (and given the fragility of things) it'll good for debugging.

Quoted 78 lines
Quoted 78 lines
drivers/gpu/drm/xe/xe_ras.c new file +2 -0
+	}
+}
drivers/gpu/drm/xe/xe_ras.h new file +14 -0
new file mode 100644
index 000000000000..22f035fa498d
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_H_
+#define _XE_RAS_H_
+
+struct xe_sysctrl;
+struct xe_sysctrl_event_response;
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response);
+
+#endif
drivers/gpu/drm/xe/xe_ras_types.h new file +50 -0
new file mode 100644
index 000000000000..2982c4696b6d
@@ -0,0 +1,73 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_TYPES_H_
+#define _XE_RAS_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_RAS_NUM_COUNTERS			16
+
+/**
+ * struct xe_ras_error_common - Error fields that are common across all products
+ */
+struct xe_ras_error_common {
+	/** @severity: Error severity */
+	u8 severity;
+	/** @component: IP block where error originated */
+	u8 component;
+} __packed;
+
+/**
+ * struct xe_ras_error_unit - Error unit information
+ */
+struct xe_ras_error_unit {
+	/** @tile: Tile identifier */
+	u8 tile;
+	/** @instance: Instance identifier specific to IP */
+	u32 instance;
+} __packed;
+
+/**
+ * struct xe_ras_error_cause - Error cause information
+ */
+struct xe_ras_error_cause {
+	/** @cause: Cause/checker */
+	u32 cause;
+	/** @reserved: For future use */
+	u8 reserved;
+} __packed;
+
+/**
+ * struct xe_ras_error_product - Error fields that are specific to the product
+ */
+struct xe_ras_error_product {
+	/** @unit: Unit within IP block */
+	struct xe_ras_error_unit unit;
+	/** @cause: Cause/checker */
+	struct xe_ras_error_cause cause;
Quoted 8 lines

drivers/gpu/drm/xe/xe_ras_types.h line 56

Quoted 6 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +6 -0
+} __packed;
+
+/**
+ * struct xe_ras_error - Combines common and product-specific parts
+ */
+struct xe_ras_error {

error_class ?

I know that how it's in the spec, but it's full of needless verbiage that doesn't add much to the meaning. I'm fine either way.

Raag

Quoted 37 lines
Quoted 37 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +17 -0
+	/** @common: Common error type and component */
+	struct xe_ras_error_common common;
+	/** @product: Product-specific unit and cause */
+	struct xe_ras_error_product product;
+} __packed;
+
+/**
+ * struct xe_ras_event_threshold_crossed - Event data for threshold crossed event
+ */
+struct xe_ras_event_threshold_crossed {
+	/** @ncounters: Number of error counters that crossed thresholds */
+	u32 ncounters;
+	/** @counters: Array of error counters that crossed threshold */
+	struct xe_ras_error counters[XE_RAS_NUM_COUNTERS];
+} __packed;
+
+#endif
drivers/gpu/drm/xe/xe_sysctrl_event.c +2 -1
index 47afca586bd1..1833ecadd9a1 100644
@@ -6,6 +6,7 @@
  #include "xe_device.h"
  #include "xe_irq.h"
  #include "xe_printk.h"
+#include "xe_ras.h"
  #include "xe_sysctrl.h"
  #include "xe_sysctrl_event_types.h"
  #include "xe_sysctrl_mailbox.h"
@@ -38,7 +39,7 @@ static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
  		}
  		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
-			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+			xe_ras_event_log(sc, &response);
  		} else {
  			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
  			return;
#13 lore raw

Re: [PATCH v3 4/4] drm/xe/ras: Introduce correctable error handling

Quoted 116 lines · Raag Jadav
Quoted 115 lines · Riana
Quoted 114 lines · Raag Jadav

Add initial support for correctable error handling which is serviced using system controller event. Currently we only log the errors in dmesg but this serves as a foundation for RAS infrastructure and will be further extended to facilitate other RAS features.

---
   drivers/gpu/drm/xe/Makefile           |  1 +
   drivers/gpu/drm/xe/xe_ras.c           | 89 +++++++++++++++++++++++++++
   drivers/gpu/drm/xe/xe_ras.h           | 14 +++++
   drivers/gpu/drm/xe/xe_ras_types.h     | 73 ++++++++++++++++++++++
   drivers/gpu/drm/xe/xe_sysctrl_event.c |  3 +-
   5 files changed, 179 insertions(+), 1 deletion(-)

create mode 100644 drivers/gpu/drm/xe/xe_ras.c create mode 100644 drivers/gpu/drm/xe/xe_ras.h create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 373adb20afb2..9811cf732260 100644
@@ -113,6 +113,7 @@ xe-y += xe_bb.o \
   	xe_pxp_submit.o \
   	xe_query.o \
   	xe_range_fence.o \
+	xe_ras.o \
   	xe_reg_sr.o \
   	xe_reg_whitelist.o \
   	xe_ring_ops.o \
drivers/gpu/drm/xe/xe_ras.c new file +79 -0
new file mode 100644
index 000000000000..37a996a6abf8
@@ -0,0 +1,89 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_assert.h"
+#include "xe_printk.h"
+#include "xe_ras.h"
+#include "xe_ras_types.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+
+/* Severity of detected errors  */
+enum xe_ras_severity {
+	XE_RAS_SEV_NOT_SUPPORTED = 0,
+	XE_RAS_SEV_CORRECTABLE,
+	XE_RAS_SEV_UNCORRECTABLE,
+	XE_RAS_SEV_INFORMATIONAL,
+	XE_RAS_SEV_MAX
+};
+
+/* Major IP blocks/components where errors can originate */
+enum xe_ras_component {
+	XE_RAS_COMP_NOT_SUPPORTED = 0,
+	XE_RAS_COMP_DEVICE_MEMORY,
+	XE_RAS_COMP_CORE_COMPUTE,
+	XE_RAS_COMP_RESERVED,
+	XE_RAS_COMP_PCIE,
+	XE_RAS_COMP_FABRIC,
+	XE_RAS_COMP_SOC_INTERNAL,
+	XE_RAS_COMP_MAX
+};
+
+static const char *const xe_ras_severities[] = {
+	[XE_RAS_SEV_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_SEV_CORRECTABLE]		= "Correctable",
+	[XE_RAS_SEV_UNCORRECTABLE]		= "Uncorrectable",
+	[XE_RAS_SEV_INFORMATIONAL]		= "Informational",
+};
+static_assert(ARRAY_SIZE(xe_ras_severities) == XE_RAS_SEV_MAX);
+
+static const char *const xe_ras_components[] = {
+	[XE_RAS_COMP_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_COMP_DEVICE_MEMORY]		= "Device Memory",
+	[XE_RAS_COMP_CORE_COMPUTE]		= "Core Compute",
+	[XE_RAS_COMP_RESERVED]			= "Reserved",
+	[XE_RAS_COMP_PCIE]			= "PCIe",
+	[XE_RAS_COMP_FABRIC]			= "Fabric",
+	[XE_RAS_COMP_SOC_INTERNAL]		= "SoC Internal",
+};
+static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
+
+static inline const char *sev_to_str(struct xe_device *xe, u32 sev)
+{
+	xe_assert(xe, sev < XE_RAS_SEV_MAX);
+
+	return sev < XE_RAS_SEV_MAX ? xe_ras_severities[sev] : "Unknown";
+}
+
+static inline const char *comp_to_str(struct xe_device *xe, u32 comp)
+{
+	xe_assert(xe, comp < XE_RAS_COMP_MAX);
+
+	return comp < XE_RAS_COMP_MAX ? xe_ras_components[comp] : "Unknown";
+}
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response)
+{
+	struct xe_ras_event_threshold_crossed *pending = (void *)&response->data;
+	struct xe_ras_error *errors = pending->counters;
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 cid, sev, comp, inst, cause;
+	u8 tile;
+
+	xe_assert(xe, pending->ncounters < XE_RAS_NUM_COUNTERS);
+	xe_warn(xe, "[RAS]: threshold crossed, %u new errors\n", pending->ncounters);
+
+	for (cid = 0; cid < pending->ncounters && cid < XE_RAS_NUM_COUNTERS; cid++) {
+		sev = errors[cid].common.severity;
Quoted 8 lines
Quoted 8 lines

drivers/gpu/drm/xe/xe_ras.c line 87

Quoted 8 lines
drivers/gpu/drm/xe/xe_ras.c new file +8 -0
+		comp = errors[cid].common.component;
+
+		tile = errors[cid].product.unit.tile;
+		inst = errors[cid].product.unit.instance;
+		cause = errors[cid].product.cause.cause;
+
+		xe_warn(xe, "[RAS]: Tile:%u Instance:%u Component:%s Error:%s Cause:%#x\n",
+			tile, inst, comp_to_str(xe, sev), sev_to_str(xe, comp), cause);

Please fix Severity/Component Parameter Swap.

Thanks,

-/Mallesh

Quoted 134 lines
Quoted 4 lines

We can have minimal logging here with only severity and component and add additional logging

in following patches.

I plan to remove it entirely once we have cper in place, but until that happens (and given the fragility of things) it'll good for debugging.

Quoted 77 lines
Quoted 77 lines
drivers/gpu/drm/xe/xe_ras.c new file +2 -0
+	}
+}
drivers/gpu/drm/xe/xe_ras.h new file +14 -0
new file mode 100644
index 000000000000..22f035fa498d
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_H_
+#define _XE_RAS_H_
+
+struct xe_sysctrl;
+struct xe_sysctrl_event_response;
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response);
+
+#endif
drivers/gpu/drm/xe/xe_ras_types.h new file +49 -0
new file mode 100644
index 000000000000..2982c4696b6d
@@ -0,0 +1,73 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_TYPES_H_
+#define _XE_RAS_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_RAS_NUM_COUNTERS			16
+
+/**
+ * struct xe_ras_error_common - Error fields that are common across all products
+ */
+struct xe_ras_error_common {
+	/** @severity: Error severity */
+	u8 severity;
+	/** @component: IP block where error originated */
+	u8 component;
+} __packed;
+
+/**
+ * struct xe_ras_error_unit - Error unit information
+ */
+struct xe_ras_error_unit {
+	/** @tile: Tile identifier */
+	u8 tile;
+	/** @instance: Instance identifier specific to IP */
+	u32 instance;
+} __packed;
+
+/**
+ * struct xe_ras_error_cause - Error cause information
+ */
+struct xe_ras_error_cause {
+	/** @cause: Cause/checker */
+	u32 cause;
+	/** @reserved: For future use */
+	u8 reserved;
+} __packed;
+
+/**
+ * struct xe_ras_error_product - Error fields that are specific to the product
+ */
+struct xe_ras_error_product {
+	/** @unit: Unit within IP block */
+	struct xe_ras_error_unit unit;
+	/** @cause: Cause/checker */
Quoted 8 lines

drivers/gpu/drm/xe/xe_ras_types.h line 56

Quoted 7 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +7 -0
+	struct xe_ras_error_cause cause;
+} __packed;
+
+/**
+ * struct xe_ras_error - Combines common and product-specific parts
+ */
+struct xe_ras_error {

error_class ?

I know that how it's in the spec, but it's full of needless verbiage that doesn't add much to the meaning. I'm fine either way.

Raag

Quoted 37 lines
Quoted 37 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +17 -0
+	/** @common: Common error type and component */
+	struct xe_ras_error_common common;
+	/** @product: Product-specific unit and cause */
+	struct xe_ras_error_product product;
+} __packed;
+
+/**
+ * struct xe_ras_event_threshold_crossed - Event data for threshold crossed event
+ */
+struct xe_ras_event_threshold_crossed {
+	/** @ncounters: Number of error counters that crossed thresholds */
+	u32 ncounters;
+	/** @counters: Array of error counters that crossed threshold */
+	struct xe_ras_error counters[XE_RAS_NUM_COUNTERS];
+} __packed;
+
+#endif
drivers/gpu/drm/xe/xe_sysctrl_event.c +2 -1
index 47afca586bd1..1833ecadd9a1 100644
@@ -6,6 +6,7 @@
   #include "xe_device.h"
   #include "xe_irq.h"
   #include "xe_printk.h"
+#include "xe_ras.h"
   #include "xe_sysctrl.h"
   #include "xe_sysctrl_event_types.h"
   #include "xe_sysctrl_mailbox.h"
@@ -38,7 +39,7 @@ static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
   		}
   		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
-			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+			xe_ras_event_log(sc, &response);
   		} else {
   			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
   			return;
author
#14 lore raw

Re: [PATCH v3 4/4] drm/xe/ras: Introduce correctable error handling

Quoted 119 lines · Koujalagi
Quoted 118 lines · Raag Jadav
Quoted 117 lines · Riana
Quoted 116 lines · Raag Jadav

Add initial support for correctable error handling which is serviced using system controller event. Currently we only log the errors in dmesg but this serves as a foundation for RAS infrastructure and will be further extended to facilitate other RAS features.

---
   drivers/gpu/drm/xe/Makefile           |  1 +
   drivers/gpu/drm/xe/xe_ras.c           | 89 +++++++++++++++++++++++++++
   drivers/gpu/drm/xe/xe_ras.h           | 14 +++++
   drivers/gpu/drm/xe/xe_ras_types.h     | 73 ++++++++++++++++++++++
   drivers/gpu/drm/xe/xe_sysctrl_event.c |  3 +-
   5 files changed, 179 insertions(+), 1 deletion(-)

create mode 100644 drivers/gpu/drm/xe/xe_ras.c create mode 100644 drivers/gpu/drm/xe/xe_ras.h create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h

drivers/gpu/drm/xe/Makefile +1 -0
index 373adb20afb2..9811cf732260 100644
@@ -113,6 +113,7 @@ xe-y += xe_bb.o \
   	xe_pxp_submit.o \
   	xe_query.o \
   	xe_range_fence.o \
+	xe_ras.o \
   	xe_reg_sr.o \
   	xe_reg_whitelist.o \
   	xe_ring_ops.o \
drivers/gpu/drm/xe/xe_ras.c new file +81 -0
new file mode 100644
index 000000000000..37a996a6abf8
@@ -0,0 +1,89 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_assert.h"
+#include "xe_printk.h"
+#include "xe_ras.h"
+#include "xe_ras_types.h"
+#include "xe_sysctrl.h"
+#include "xe_sysctrl_event_types.h"
+
+/* Severity of detected errors  */
+enum xe_ras_severity {
+	XE_RAS_SEV_NOT_SUPPORTED = 0,
+	XE_RAS_SEV_CORRECTABLE,
+	XE_RAS_SEV_UNCORRECTABLE,
+	XE_RAS_SEV_INFORMATIONAL,
+	XE_RAS_SEV_MAX
+};
+
+/* Major IP blocks/components where errors can originate */
+enum xe_ras_component {
+	XE_RAS_COMP_NOT_SUPPORTED = 0,
+	XE_RAS_COMP_DEVICE_MEMORY,
+	XE_RAS_COMP_CORE_COMPUTE,
+	XE_RAS_COMP_RESERVED,
+	XE_RAS_COMP_PCIE,
+	XE_RAS_COMP_FABRIC,
+	XE_RAS_COMP_SOC_INTERNAL,
+	XE_RAS_COMP_MAX
+};
+
+static const char *const xe_ras_severities[] = {
+	[XE_RAS_SEV_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_SEV_CORRECTABLE]		= "Correctable",
+	[XE_RAS_SEV_UNCORRECTABLE]		= "Uncorrectable",
+	[XE_RAS_SEV_INFORMATIONAL]		= "Informational",
+};
+static_assert(ARRAY_SIZE(xe_ras_severities) == XE_RAS_SEV_MAX);
+
+static const char *const xe_ras_components[] = {
+	[XE_RAS_COMP_NOT_SUPPORTED]		= "Not Supported",
+	[XE_RAS_COMP_DEVICE_MEMORY]		= "Device Memory",
+	[XE_RAS_COMP_CORE_COMPUTE]		= "Core Compute",
+	[XE_RAS_COMP_RESERVED]			= "Reserved",
+	[XE_RAS_COMP_PCIE]			= "PCIe",
+	[XE_RAS_COMP_FABRIC]			= "Fabric",
+	[XE_RAS_COMP_SOC_INTERNAL]		= "SoC Internal",
+};
+static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
+
+static inline const char *sev_to_str(struct xe_device *xe, u32 sev)
+{
+	xe_assert(xe, sev < XE_RAS_SEV_MAX);
+
+	return sev < XE_RAS_SEV_MAX ? xe_ras_severities[sev] : "Unknown";
+}
+
+static inline const char *comp_to_str(struct xe_device *xe, u32 comp)
+{
+	xe_assert(xe, comp < XE_RAS_COMP_MAX);
+
+	return comp < XE_RAS_COMP_MAX ? xe_ras_components[comp] : "Unknown";
+}
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response)
+{
+	struct xe_ras_event_threshold_crossed *pending = (void *)&response->data;
+	struct xe_ras_error *errors = pending->counters;
+	struct xe_device *xe = sc_to_xe(sc);
+	u32 cid, sev, comp, inst, cause;
+	u8 tile;
+
+	xe_assert(xe, pending->ncounters < XE_RAS_NUM_COUNTERS);
+	xe_warn(xe, "[RAS]: threshold crossed, %u new errors\n", pending->ncounters);
+
+	for (cid = 0; cid < pending->ncounters && cid < XE_RAS_NUM_COUNTERS; cid++) {
+		sev = errors[cid].common.severity;
+		comp = errors[cid].common.component;
+
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines

drivers/gpu/drm/xe/xe_ras.c line 87

Quoted 6 lines
drivers/gpu/drm/xe/xe_ras.c new file +6 -0
+		tile = errors[cid].product.unit.tile;
+		inst = errors[cid].product.unit.instance;
+		cause = errors[cid].product.cause.cause;
+
+		xe_warn(xe, "[RAS]: Tile:%u Instance:%u Component:%s Error:%s Cause:%#x\n",
+			tile, inst, comp_to_str(xe, sev), sev_to_str(xe, comp), cause);

Please fix Severity/Component Parameter Swap.

Yep, missed it.

Raag

Quoted 134 lines
Quoted 134 lines
Quoted 4 lines

We can have minimal logging here with only severity and component and add additional logging

in following patches.

I plan to remove it entirely once we have cper in place, but until that happens (and given the fragility of things) it'll good for debugging.

Quoted 77 lines
Quoted 77 lines
drivers/gpu/drm/xe/xe_ras.c new file +2 -0
+	}
+}
drivers/gpu/drm/xe/xe_ras.h new file +14 -0
new file mode 100644
index 000000000000..22f035fa498d
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_H_
+#define _XE_RAS_H_
+
+struct xe_sysctrl;
+struct xe_sysctrl_event_response;
+
+void xe_ras_event_log(struct xe_sysctrl *sc, struct xe_sysctrl_event_response *response);
+
+#endif
drivers/gpu/drm/xe/xe_ras_types.h new file +49 -0
new file mode 100644
index 000000000000..2982c4696b6d
@@ -0,0 +1,73 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_RAS_TYPES_H_
+#define _XE_RAS_TYPES_H_
+
+#include <linux/types.h>
+
+#define XE_RAS_NUM_COUNTERS			16
+
+/**
+ * struct xe_ras_error_common - Error fields that are common across all products
+ */
+struct xe_ras_error_common {
+	/** @severity: Error severity */
+	u8 severity;
+	/** @component: IP block where error originated */
+	u8 component;
+} __packed;
+
+/**
+ * struct xe_ras_error_unit - Error unit information
+ */
+struct xe_ras_error_unit {
+	/** @tile: Tile identifier */
+	u8 tile;
+	/** @instance: Instance identifier specific to IP */
+	u32 instance;
+} __packed;
+
+/**
+ * struct xe_ras_error_cause - Error cause information
+ */
+struct xe_ras_error_cause {
+	/** @cause: Cause/checker */
+	u32 cause;
+	/** @reserved: For future use */
+	u8 reserved;
+} __packed;
+
+/**
+ * struct xe_ras_error_product - Error fields that are specific to the product
+ */
+struct xe_ras_error_product {
+	/** @unit: Unit within IP block */
+	struct xe_ras_error_unit unit;
+	/** @cause: Cause/checker */
Quoted 8 lines

drivers/gpu/drm/xe/xe_ras_types.h line 56

Quoted 7 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +7 -0
+	struct xe_ras_error_cause cause;
+} __packed;
+
+/**
+ * struct xe_ras_error - Combines common and product-specific parts
+ */
+struct xe_ras_error {

error_class ?

I know that how it's in the spec, but it's full of needless verbiage that doesn't add much to the meaning. I'm fine either way.

Raag

Quoted 37 lines
Quoted 37 lines
drivers/gpu/drm/xe/xe_ras_types.h new file +17 -0
+	/** @common: Common error type and component */
+	struct xe_ras_error_common common;
+	/** @product: Product-specific unit and cause */
+	struct xe_ras_error_product product;
+} __packed;
+
+/**
+ * struct xe_ras_event_threshold_crossed - Event data for threshold crossed event
+ */
+struct xe_ras_event_threshold_crossed {
+	/** @ncounters: Number of error counters that crossed thresholds */
+	u32 ncounters;
+	/** @counters: Array of error counters that crossed threshold */
+	struct xe_ras_error counters[XE_RAS_NUM_COUNTERS];
+} __packed;
+
+#endif
drivers/gpu/drm/xe/xe_sysctrl_event.c +2 -1
index 47afca586bd1..1833ecadd9a1 100644
@@ -6,6 +6,7 @@
   #include "xe_device.h"
   #include "xe_irq.h"
   #include "xe_printk.h"
+#include "xe_ras.h"
   #include "xe_sysctrl.h"
   #include "xe_sysctrl_event_types.h"
   #include "xe_sysctrl_mailbox.h"
@@ -38,7 +39,7 @@ static void xe_sysctrl_get_pending_event(struct xe_sysctrl *sc,
   		}
   		if (response.event == XE_SYSCTRL_EVENT_THRESHOLD_CROSSED) {
-			xe_warn(xe, "[RAS]: error counter threshold crossed\n");
+			xe_ras_event_log(sc, &response);
   		} else {
   			xe_err(xe, "sysctrl: unexpected event %#x\n", response.event);
   			return;
#15 lore raw

✗ CI.checkpatch: warning for Introduce Xe Correctable Error Handling (rev3)

In reply to Raag Jadav
== Series Details ==

== Series Details ==

Series: Introduce Xe Correctable Error Handling (rev3)
URL : https://patchwork.freedesktop.org/series/160184/
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 1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7f5afc3640464ff04b27d2ae1ee2635021c317b3

Author: Raag Jadav <[email protected]>
Date:   Thu Mar 12 14:36:57 2026 +0530

drm/xe/ras: Introduce correctable error handling

Add initial support for correctable error handling which is serviced using system controller event. Currently we only log the errors in dmesg but this serves as a foundation for RAS infrastructure and will be further extended to facilitate other RAS features.

+ /mt/dim checkpatch a0e231ebb0df84f6febf147ee5fcaafd40c2dafe drm-intel e888fb13cfad drm/xe/sysctrl: Add System Controller
-:24: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #24:
new file mode 100644

-:537: WARNING:LINE_SPACING: Missing a blank line after declarations #537: FILE: drivers/gpu/drm/xe/xe_sysctrl_mailbox.c:227:
+ size_t remain = sizeof(*schi_hdr) + data_out_len;
+ u8 *buffer __free(kfree) = kzalloc(remain, GFP_KERNEL);

-:790: ERROR:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Anoop Vijay <[email protected]>'

total: 1 errors, 2 warnings, 0 checks, 704 lines checked
faccaf4f539a drm/xe/sysctrl: Add system controller interrupt handler
5a9a480770d6 drm/xe/sysctrl: Add system controller event support
-: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, 173 lines checked
7f5afc364046 drm/xe/ras: Introduce correctable error handling
-:26: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #26:
new file mode 100644

-:70: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #70: FILE: drivers/gpu/drm/xe/xe_ras.c:40:
+};
+static_assert(ARRAY_SIZE(xe_ras_severities) == XE_RAS_SEV_MAX);

-:81: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #81: FILE: drivers/gpu/drm/xe/xe_ras.c:51:
+};
+static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);

total: 0 errors, 1 warnings, 2 checks, 198 lines checked

#16 lore raw

✓ CI.KUnit: success for Introduce Xe Correctable Error Handling (rev3)

In reply to Raag Jadav
== Series Details ==

== Series Details ==

Series: Introduce Xe Correctable Error Handling (rev3)
URL : https://patchwork.freedesktop.org/series/160184/
State : success

== Summary ==

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

$ make ARCH=um O=.kunit olddefconfig
[10:27:36] 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
[10:28:07] Starting KUnit Kernel (1/1)...
[10:28:07] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:28:07] ================== guc_buf (11 subtests) ===================
[10:28:07] [PASSED] test_smallest
[10:28:07] [PASSED] test_largest
[10:28:07] [PASSED] test_granular
[10:28:07] [PASSED] test_unique
[10:28:07] [PASSED] test_overlap
[10:28:07] [PASSED] test_reusable
[10:28:07] [PASSED] test_too_big
[10:28:07] [PASSED] test_flush
[10:28:07] [PASSED] test_lookup
[10:28:07] [PASSED] test_data
[10:28:07] [PASSED] test_class
[10:28:07] ===================== [PASSED] guc_buf =====================
[10:28:07] =================== guc_dbm (7 subtests) ===================
[10:28:07] [PASSED] test_empty
[10:28:07] [PASSED] test_default
[10:28:07] ======================== test_size  ========================
[10:28:07] [PASSED] 4
[10:28:07] [PASSED] 8
[10:28:07] [PASSED] 32
[10:28:07] [PASSED] 256
[10:28:07] ==================== [PASSED] test_size ====================
[10:28:07] ======================= test_reuse  ========================
[10:28:07] [PASSED] 4
[10:28:07] [PASSED] 8
[10:28:07] [PASSED] 32
[10:28:07] [PASSED] 256
[10:28:07] =================== [PASSED] test_reuse ====================
[10:28:07] =================== test_range_overlap  ====================
[10:28:07] [PASSED] 4
[10:28:07] [PASSED] 8
[10:28:07] [PASSED] 32
[10:28:07] [PASSED] 256
[10:28:07] =============== [PASSED] test_range_overlap ================
[10:28:07] =================== test_range_compact  ====================
[10:28:07] [PASSED] 4
[10:28:07] [PASSED] 8
[10:28:07] [PASSED] 32
[10:28:07] [PASSED] 256
[10:28:07] =============== [PASSED] test_range_compact ================
[10:28:07] ==================== test_range_spare  =====================
[10:28:07] [PASSED] 4
[10:28:07] [PASSED] 8
[10:28:07] [PASSED] 32
[10:28:07] [PASSED] 256
[10:28:07] ================ [PASSED] test_range_spare =================
[10:28:07] ===================== [PASSED] guc_dbm =====================
[10:28:07] =================== guc_idm (6 subtests) ===================
[10:28:07] [PASSED] bad_init
[10:28:07] [PASSED] no_init
[10:28:07] [PASSED] init_fini
[10:28:07] [PASSED] check_used
[10:28:07] [PASSED] check_quota
[10:28:07] [PASSED] check_all
[10:28:07] ===================== [PASSED] guc_idm =====================
[10:28:07] ================== no_relay (3 subtests) ===================
[10:28:07] [PASSED] xe_drops_guc2pf_if_not_ready
[10:28:07] [PASSED] xe_drops_guc2vf_if_not_ready
[10:28:07] [PASSED] xe_rejects_send_if_not_ready
[10:28:07] ==================== [PASSED] no_relay =====================
[10:28:07] ================== pf_relay (14 subtests) ==================
[10:28:07] [PASSED] pf_rejects_guc2pf_too_short
[10:28:07] [PASSED] pf_rejects_guc2pf_too_long
[10:28:07] [PASSED] pf_rejects_guc2pf_no_payload
[10:28:07] [PASSED] pf_fails_no_payload
[10:28:07] [PASSED] pf_fails_bad_origin
[10:28:07] [PASSED] pf_fails_bad_type
[10:28:07] [PASSED] pf_txn_reports_error
[10:28:07] [PASSED] pf_txn_sends_pf2guc
[10:28:07] [PASSED] pf_sends_pf2guc
[10:28:07] [SKIPPED] pf_loopback_nop
[10:28:07] [SKIPPED] pf_loopback_echo
[10:28:07] [SKIPPED] pf_loopback_fail
[10:28:07] [SKIPPED] pf_loopback_busy
[10:28:07] [SKIPPED] pf_loopback_retry
[10:28:07] ==================== [PASSED] pf_relay =====================
[10:28:07] ================== vf_relay (3 subtests) ===================
[10:28:07] [PASSED] vf_rejects_guc2vf_too_short
[10:28:07] [PASSED] vf_rejects_guc2vf_too_long
[10:28:07] [PASSED] vf_rejects_guc2vf_no_payload
[10:28:07] ==================== [PASSED] vf_relay =====================
[10:28:07] ================ pf_gt_config (9 subtests) =================
[10:28:07] [PASSED] fair_contexts_1vf
[10:28:07] [PASSED] fair_doorbells_1vf
[10:28:07] [PASSED] fair_ggtt_1vf
[10:28:07] ====================== fair_vram_1vf  ======================
[10:28:07] [PASSED] 3.50 GiB
[10:28:07] [PASSED] 11.5 GiB
[10:28:07] [PASSED] 15.5 GiB
[10:28:07] [PASSED] 31.5 GiB
[10:28:07] [PASSED] 63.5 GiB
[10:28:07] [PASSED] 1.91 GiB
[10:28:07] ================== [PASSED] fair_vram_1vf ==================
[10:28:07] ================ fair_vram_1vf_admin_only  =================
[10:28:07] [PASSED] 3.50 GiB
[10:28:07] [PASSED] 11.5 GiB
[10:28:07] [PASSED] 15.5 GiB
[10:28:07] [PASSED] 31.5 GiB
[10:28:07] [PASSED] 63.5 GiB
[10:28:07] [PASSED] 1.91 GiB
[10:28:07] ============ [PASSED] fair_vram_1vf_admin_only =============
[10:28:07] ====================== fair_contexts  ======================
[10:28:07] [PASSED] 1 VF
[10:28:07] [PASSED] 2 VFs
[10:28:07] [PASSED] 3 VFs
[10:28:07] [PASSED] 4 VFs
[10:28:07] [PASSED] 5 VFs
[10:28:07] [PASSED] 6 VFs
[10:28:07] [PASSED] 7 VFs
[10:28:07] [PASSED] 8 VFs
[10:28:07] [PASSED] 9 VFs
[10:28:07] [PASSED] 10 VFs
[10:28:07] [PASSED] 11 VFs
[10:28:07] [PASSED] 12 VFs
[10:28:07] [PASSED] 13 VFs
[10:28:07] [PASSED] 14 VFs
[10:28:07] [PASSED] 15 VFs
[10:28:07] [PASSED] 16 VFs
[10:28:07] [PASSED] 17 VFs
[10:28:07] [PASSED] 18 VFs
[10:28:07] [PASSED] 19 VFs
[10:28:07] [PASSED] 20 VFs
[10:28:07] [PASSED] 21 VFs
[10:28:07] [PASSED] 22 VFs
[10:28:07] [PASSED] 23 VFs
[10:28:07] [PASSED] 24 VFs
[10:28:07] [PASSED] 25 VFs
[10:28:07] [PASSED] 26 VFs
[10:28:07] [PASSED] 27 VFs
[10:28:07] [PASSED] 28 VFs
[10:28:07] [PASSED] 29 VFs
[10:28:07] [PASSED] 30 VFs
[10:28:07] [PASSED] 31 VFs
[10:28:07] [PASSED] 32 VFs
[10:28:07] [PASSED] 33 VFs
[10:28:07] [PASSED] 34 VFs
[10:28:07] [PASSED] 35 VFs
[10:28:07] [PASSED] 36 VFs
[10:28:07] [PASSED] 37 VFs
[10:28:07] [PASSED] 38 VFs
[10:28:07] [PASSED] 39 VFs
[10:28:07] [PASSED] 40 VFs
[10:28:07] [PASSED] 41 VFs
[10:28:07] [PASSED] 42 VFs
[10:28:07] [PASSED] 43 VFs
[10:28:07] [PASSED] 44 VFs
[10:28:07] [PASSED] 45 VFs
[10:28:07] [PASSED] 46 VFs
[10:28:07] [PASSED] 47 VFs
[10:28:07] [PASSED] 48 VFs
[10:28:07] [PASSED] 49 VFs
[10:28:07] [PASSED] 50 VFs
[10:28:07] [PASSED] 51 VFs
[10:28:07] [PASSED] 52 VFs
[10:28:07] [PASSED] 53 VFs
[10:28:07] [PASSED] 54 VFs
[10:28:07] [PASSED] 55 VFs
[10:28:07] [PASSED] 56 VFs
[10:28:07] [PASSED] 57 VFs
[10:28:07] [PASSED] 58 VFs
[10:28:07] [PASSED] 59 VFs
[10:28:07] [PASSED] 60 VFs
[10:28:07] [PASSED] 61 VFs
[10:28:07] [PASSED] 62 VFs
[10:28:07] [PASSED] 63 VFs
[10:28:07] ================== [PASSED] fair_contexts ==================
[10:28:07] ===================== fair_doorbells  ======================
[10:28:07] [PASSED] 1 VF
[10:28:07] [PASSED] 2 VFs
[10:28:07] [PASSED] 3 VFs
[10:28:07] [PASSED] 4 VFs
[10:28:07] [PASSED] 5 VFs
[10:28:07] [PASSED] 6 VFs
[10:28:07] [PASSED] 7 VFs
[10:28:07] [PASSED] 8 VFs
[10:28:07] [PASSED] 9 VFs
[10:28:07] [PASSED] 10 VFs
[10:28:07] [PASSED] 11 VFs
[10:28:07] [PASSED] 12 VFs
[10:28:07] [PASSED] 13 VFs
[10:28:07] [PASSED] 14 VFs
[10:28:07] [PASSED] 15 VFs
[10:28:07] [PASSED] 16 VFs
[10:28:07] [PASSED] 17 VFs
[10:28:07] [PASSED] 18 VFs
[10:28:07] [PASSED] 19 VFs
[10:28:07] [PASSED] 20 VFs
[10:28:07] [PASSED] 21 VFs
[10:28:07] [PASSED] 22 VFs
[10:28:07] [PASSED] 23 VFs
[10:28:07] [PASSED] 24 VFs
[10:28:07] [PASSED] 25 VFs
[10:28:07] [PASSED] 26 VFs
[10:28:07] [PASSED] 27 VFs
[10:28:07] [PASSED] 28 VFs
[10:28:07] [PASSED] 29 VFs
[10:28:07] [PASSED] 30 VFs
[10:28:07] [PASSED] 31 VFs
[10:28:07] [PASSED] 32 VFs
[10:28:07] [PASSED] 33 VFs
[10:28:07] [PASSED] 34 VFs
[10:28:07] [PASSED] 35 VFs
[10:28:07] [PASSED] 36 VFs
[10:28:07] [PASSED] 37 VFs
[10:28:07] [PASSED] 38 VFs
[10:28:07] [PASSED] 39 VFs
[10:28:07] [PASSED] 40 VFs
[10:28:07] [PASSED] 41 VFs
[10:28:07] [PASSED] 42 VFs
[10:28:07] [PASSED] 43 VFs
[10:28:07] [PASSED] 44 VFs
[10:28:07] [PASSED] 45 VFs
[10:28:07] [PASSED] 46 VFs
[10:28:07] [PASSED] 47 VFs
[10:28:07] [PASSED] 48 VFs
[10:28:07] [PASSED] 49 VFs
[10:28:07] [PASSED] 50 VFs
[10:28:07] [PASSED] 51 VFs
[10:28:07] [PASSED] 52 VFs
[10:28:07] [PASSED] 53 VFs
[10:28:07] [PASSED] 54 VFs
[10:28:07] [PASSED] 55 VFs
[10:28:07] [PASSED] 56 VFs
[10:28:07] [PASSED] 57 VFs
[10:28:07] [PASSED] 58 VFs
[10:28:07] [PASSED] 59 VFs
[10:28:07] [PASSED] 60 VFs
[10:28:07] [PASSED] 61 VFs
[10:28:07] [PASSED] 62 VFs
[10:28:07] [PASSED] 63 VFs
[10:28:07] ================= [PASSED] fair_doorbells ==================
[10:28:07] ======================== fair_ggtt  ========================
[10:28:07] [PASSED] 1 VF
[10:28:07] [PASSED] 2 VFs
[10:28:07] [PASSED] 3 VFs
[10:28:07] [PASSED] 4 VFs
[10:28:07] [PASSED] 5 VFs
[10:28:07] [PASSED] 6 VFs
[10:28:07] [PASSED] 7 VFs
[10:28:07] [PASSED] 8 VFs
[10:28:07] [PASSED] 9 VFs
[10:28:07] [PASSED] 10 VFs
[10:28:07] [PASSED] 11 VFs
[10:28:07] [PASSED] 12 VFs
[10:28:07] [PASSED] 13 VFs
[10:28:07] [PASSED] 14 VFs
[10:28:07] [PASSED] 15 VFs
[10:28:07] [PASSED] 16 VFs
[10:28:07] [PASSED] 17 VFs
[10:28:07] [PASSED] 18 VFs
[10:28:07] [PASSED] 19 VFs
[10:28:07] [PASSED] 20 VFs
[10:28:07] [PASSED] 21 VFs
[10:28:07] [PASSED] 22 VFs
[10:28:07] [PASSED] 23 VFs
[10:28:07] [PASSED] 24 VFs
[10:28:07] [PASSED] 25 VFs
[10:28:07] [PASSED] 26 VFs
[10:28:07] [PASSED] 27 VFs
[10:28:07] [PASSED] 28 VFs
[10:28:07] [PASSED] 29 VFs
[10:28:07] [PASSED] 30 VFs
[10:28:07] [PASSED] 31 VFs
[10:28:07] [PASSED] 32 VFs
[10:28:07] [PASSED] 33 VFs
[10:28:07] [PASSED] 34 VFs
[10:28:07] [PASSED] 35 VFs
[10:28:07] [PASSED] 36 VFs
[10:28:07] [PASSED] 37 VFs
[10:28:07] [PASSED] 38 VFs
[10:28:07] [PASSED] 39 VFs
[10:28:07] [PASSED] 40 VFs
[10:28:07] [PASSED] 41 VFs
[10:28:07] [PASSED] 42 VFs
[10:28:07] [PASSED] 43 VFs
[10:28:07] [PASSED] 44 VFs
[10:28:07] [PASSED] 45 VFs
[10:28:07] [PASSED] 46 VFs
[10:28:07] [PASSED] 47 VFs
[10:28:07] [PASSED] 48 VFs
[10:28:07] [PASSED] 49 VFs
[10:28:07] [PASSED] 50 VFs
[10:28:07] [PASSED] 51 VFs
[10:28:07] [PASSED] 52 VFs
[10:28:07] [PASSED] 53 VFs
[10:28:07] [PASSED] 54 VFs
[10:28:07] [PASSED] 55 VFs
[10:28:07] [PASSED] 56 VFs
[10:28:07] [PASSED] 57 VFs
[10:28:07] [PASSED] 58 VFs
[10:28:07] [PASSED] 59 VFs
[10:28:07] [PASSED] 60 VFs
[10:28:07] [PASSED] 61 VFs
[10:28:07] [PASSED] 62 VFs
[10:28:07] [PASSED] 63 VFs
[10:28:07] ==================== [PASSED] fair_ggtt ====================
[10:28:07] ======================== fair_vram  ========================
[10:28:07] [PASSED] 1 VF
[10:28:07] [PASSED] 2 VFs
[10:28:07] [PASSED] 3 VFs
[10:28:07] [PASSED] 4 VFs
[10:28:07] [PASSED] 5 VFs
[10:28:07] [PASSED] 6 VFs
[10:28:07] [PASSED] 7 VFs
[10:28:07] [PASSED] 8 VFs
[10:28:07] [PASSED] 9 VFs
[10:28:07] [PASSED] 10 VFs
[10:28:07] [PASSED] 11 VFs
[10:28:07] [PASSED] 12 VFs
[10:28:07] [PASSED] 13 VFs
[10:28:07] [PASSED] 14 VFs
[10:28:07] [PASSED] 15 VFs
[10:28:07] [PASSED] 16 VFs
[10:28:07] [PASSED] 17 VFs
[10:28:07] [PASSED] 18 VFs
[10:28:07] [PASSED] 19 VFs
[10:28:07] [PASSED] 20 VFs
[10:28:07] [PASSED] 21 VFs
[10:28:07] [PASSED] 22 VFs
[10:28:07] [PASSED] 23 VFs
[10:28:07] [PASSED] 24 VFs
[10:28:07] [PASSED] 25 VFs
[10:28:07] [PASSED] 26 VFs
[10:28:07] [PASSED] 27 VFs
[10:28:07] [PASSED] 28 VFs
[10:28:07] [PASSED] 29 VFs
[10:28:07] [PASSED] 30 VFs
[10:28:07] [PASSED] 31 VFs
[10:28:07] [PASSED] 32 VFs
[10:28:07] [PASSED] 33 VFs
[10:28:07] [PASSED] 34 VFs
[10:28:07] [PASSED] 35 VFs
[10:28:07] [PASSED] 36 VFs
[10:28:07] [PASSED] 37 VFs
[10:28:07] [PASSED] 38 VFs
[10:28:07] [PASSED] 39 VFs
[10:28:07] [PASSED] 40 VFs
[10:28:07] [PASSED] 41 VFs
[10:28:07] [PASSED] 42 VFs
[10:28:07] [PASSED] 43 VFs
[10:28:07] [PASSED] 44 VFs
[10:28:07] [PASSED] 45 VFs
[10:28:07] [PASSED] 46 VFs
[10:28:07] [PASSED] 47 VFs
[10:28:07] [PASSED] 48 VFs
[10:28:07] [PASSED] 49 VFs
[10:28:07] [PASSED] 50 VFs
[10:28:07] [PASSED] 51 VFs
[10:28:07] [PASSED] 52 VFs
[10:28:07] [PASSED] 53 VFs
[10:28:07] [PASSED] 54 VFs
[10:28:07] [PASSED] 55 VFs
[10:28:07] [PASSED] 56 VFs
[10:28:07] [PASSED] 57 VFs
[10:28:07] [PASSED] 58 VFs
[10:28:07] [PASSED] 59 VFs
[10:28:07] [PASSED] 60 VFs
[10:28:07] [PASSED] 61 VFs
[10:28:07] [PASSED] 62 VFs
[10:28:07] [PASSED] 63 VFs
[10:28:07] ==================== [PASSED] fair_vram ====================
[10:28:07] ================== [PASSED] pf_gt_config ===================
[10:28:07] ===================== lmtt (1 subtest) =====================
[10:28:07] ======================== test_ops  =========================
[10:28:07] [PASSED] 2-level
[10:28:07] [PASSED] multi-level
[10:28:07] ==================== [PASSED] test_ops =====================
[10:28:07] ====================== [PASSED] lmtt =======================
[10:28:07] ================= pf_service (11 subtests) =================
[10:28:07] [PASSED] pf_negotiate_any
[10:28:07] [PASSED] pf_negotiate_base_match
[10:28:07] [PASSED] pf_negotiate_base_newer
[10:28:07] [PASSED] pf_negotiate_base_next
[10:28:07] [SKIPPED] pf_negotiate_base_older
[10:28:07] [PASSED] pf_negotiate_base_prev
[10:28:07] [PASSED] pf_negotiate_latest_match
[10:28:07] [PASSED] pf_negotiate_latest_newer
[10:28:07] [PASSED] pf_negotiate_latest_next
[10:28:07] [SKIPPED] pf_negotiate_latest_older
[10:28:07] [SKIPPED] pf_negotiate_latest_prev
[10:28:07] =================== [PASSED] pf_service ====================
[10:28:07] ================= xe_guc_g2g (2 subtests) ==================
[10:28:07] ============== xe_live_guc_g2g_kunit_default  ==============
[10:28:07] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[10:28:07] ============== xe_live_guc_g2g_kunit_allmem  ===============
[10:28:07] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[10:28:07] =================== [SKIPPED] xe_guc_g2g ===================
[10:28:07] =================== xe_mocs (2 subtests) ===================
[10:28:07] ================ xe_live_mocs_kernel_kunit  ================
[10:28:07] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[10:28:07] ================ xe_live_mocs_reset_kunit  =================
[10:28:07] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[10:28:07] ==================== [SKIPPED] xe_mocs =====================
[10:28:07] ================= xe_migrate (2 subtests) ==================
[10:28:07] ================= xe_migrate_sanity_kunit  =================
[10:28:07] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[10:28:07] ================== xe_validate_ccs_kunit  ==================
[10:28:07] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[10:28:07] =================== [SKIPPED] xe_migrate ===================
[10:28:07] ================== xe_dma_buf (1 subtest) ==================
[10:28:07] ==================== xe_dma_buf_kunit  =====================
[10:28:07] ================ [SKIPPED] xe_dma_buf_kunit ================
[10:28:07] =================== [SKIPPED] xe_dma_buf ===================
[10:28:07] ================= xe_bo_shrink (1 subtest) =================
[10:28:07] =================== xe_bo_shrink_kunit  ====================
[10:28:07] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[10:28:07] ================== [SKIPPED] xe_bo_shrink ==================
[10:28:07] ==================== xe_bo (2 subtests) ====================
[10:28:07] ================== xe_ccs_migrate_kunit  ===================
[10:28:07] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[10:28:07] ==================== xe_bo_evict_kunit  ====================
[10:28:07] =============== [SKIPPED] xe_bo_evict_kunit ================
[10:28:07] ===================== [SKIPPED] xe_bo ======================
[10:28:07] ==================== args (13 subtests) ====================
[10:28:07] [PASSED] count_args_test
[10:28:07] [PASSED] call_args_example
[10:28:07] [PASSED] call_args_test
[10:28:07] [PASSED] drop_first_arg_example
[10:28:07] [PASSED] drop_first_arg_test
[10:28:07] [PASSED] first_arg_example
[10:28:07] [PASSED] first_arg_test
[10:28:07] [PASSED] last_arg_example
[10:28:07] [PASSED] last_arg_test
[10:28:07] [PASSED] pick_arg_example
[10:28:07] [PASSED] if_args_example
[10:28:07] [PASSED] if_args_test
[10:28:07] [PASSED] sep_comma_example
[10:28:07] ====================== [PASSED] args =======================
[10:28:07] =================== xe_pci (3 subtests) ====================
[10:28:07] ==================== check_graphics_ip  ====================
[10:28:07] [PASSED] 12.00 Xe_LP
[10:28:07] [PASSED] 12.10 Xe_LP+
[10:28:07] [PASSED] 12.55 Xe_HPG
[10:28:07] [PASSED] 12.60 Xe_HPC
[10:28:07] [PASSED] 12.70 Xe_LPG
[10:28:07] [PASSED] 12.71 Xe_LPG
[10:28:07] [PASSED] 12.74 Xe_LPG+
[10:28:07] [PASSED] 20.01 Xe2_HPG
[10:28:07] [PASSED] 20.02 Xe2_HPG
[10:28:07] [PASSED] 20.04 Xe2_LPG
[10:28:07] [PASSED] 30.00 Xe3_LPG
[10:28:07] [PASSED] 30.01 Xe3_LPG
[10:28:07] [PASSED] 30.03 Xe3_LPG
[10:28:07] [PASSED] 30.04 Xe3_LPG
[10:28:07] [PASSED] 30.05 Xe3_LPG
[10:28:07] [PASSED] 35.10 Xe3p_LPG
[10:28:07] [PASSED] 35.11 Xe3p_XPC
[10:28:07] ================ [PASSED] check_graphics_ip ================
[10:28:07] ===================== check_media_ip  ======================
[10:28:07] [PASSED] 12.00 Xe_M
[10:28:07] [PASSED] 12.55 Xe_HPM
[10:28:07] [PASSED] 13.00 Xe_LPM+
[10:28:07] [PASSED] 13.01 Xe2_HPM
[10:28:07] [PASSED] 20.00 Xe2_LPM
[10:28:07] [PASSED] 30.00 Xe3_LPM
[10:28:07] [PASSED] 30.02 Xe3_LPM
[10:28:07] [PASSED] 35.00 Xe3p_LPM
[10:28:07] [PASSED] 35.03 Xe3p_HPM
[10:28:07] ================= [PASSED] check_media_ip ==================
[10:28:07] =================== check_platform_desc  ===================
[10:28:07] [PASSED] 0x9A60 (TIGERLAKE)
[10:28:07] [PASSED] 0x9A68 (TIGERLAKE)
[10:28:07] [PASSED] 0x9A70 (TIGERLAKE)
[10:28:07] [PASSED] 0x9A40 (TIGERLAKE)
[10:28:07] [PASSED] 0x9A49 (TIGERLAKE)
[10:28:07] [PASSED] 0x9A59 (TIGERLAKE)
[10:28:07] [PASSED] 0x9A78 (TIGERLAKE)
[10:28:07] [PASSED] 0x9AC0 (TIGERLAKE)
[10:28:07] [PASSED] 0x9AC9 (TIGERLAKE)
[10:28:07] [PASSED] 0x9AD9 (TIGERLAKE)
[10:28:07] [PASSED] 0x9AF8 (TIGERLAKE)
[10:28:07] [PASSED] 0x4C80 (ROCKETLAKE)
[10:28:07] [PASSED] 0x4C8A (ROCKETLAKE)
[10:28:07] [PASSED] 0x4C8B (ROCKETLAKE)
[10:28:07] [PASSED] 0x4C8C (ROCKETLAKE)
[10:28:07] [PASSED] 0x4C90 (ROCKETLAKE)
[10:28:07] [PASSED] 0x4C9A (ROCKETLAKE)
[10:28:07] [PASSED] 0x4680 (ALDERLAKE_S)
[10:28:07] [PASSED] 0x4682 (ALDERLAKE_S)
[10:28:07] [PASSED] 0x4688 (ALDERLAKE_S)
[10:28:07] [PASSED] 0x468A (ALDERLAKE_S)
[10:28:07] [PASSED] 0x468B (ALDERLAKE_S)
[10:28:07] [PASSED] 0x4690 (ALDERLAKE_S)
[10:28:07] [PASSED] 0x4692 (ALDERLAKE_S)
[10:28:07] [PASSED] 0x4693 (ALDERLAKE_S)
[10:28:07] [PASSED] 0x46A0 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46A1 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46A2 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46A3 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46A6 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46A8 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46AA (ALDERLAKE_P)
[10:28:07] [PASSED] 0x462A (ALDERLAKE_P)
[10:28:07] [PASSED] 0x4626 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x4628 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46B0 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46B1 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46B2 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46B3 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46C0 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46C1 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46C2 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46C3 (ALDERLAKE_P)
[10:28:07] [PASSED] 0x46D0 (ALDERLAKE_N)
[10:28:07] [PASSED] 0x46D1 (ALDERLAKE_N)
[10:28:07] [PASSED] 0x46D2 (ALDERLAKE_N)
[10:28:07] [PASSED] 0x46D3 (ALDERLAKE_N)
[10:28:07] [PASSED] 0x46D4 (ALDERLAKE_N)
[10:28:07] [PASSED] 0xA721 (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7A1 (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7A9 (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7AC (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7AD (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA720 (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7A0 (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7A8 (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7AA (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA7AB (ALDERLAKE_P)
[10:28:07] [PASSED] 0xA780 (ALDERLAKE_S)
[10:28:07] [PASSED] 0xA781 (ALDERLAKE_S)
[10:28:07] [PASSED] 0xA782 (ALDERLAKE_S)
[10:28:07] [PASSED] 0xA783 (ALDERLAKE_S)
[10:28:07] [PASSED] 0xA788 (ALDERLAKE_S)
[10:28:07] [PASSED] 0xA789 (ALDERLAKE_S)
[10:28:07] [PASSED] 0xA78A (ALDERLAKE_S)
[10:28:07] [PASSED] 0xA78B (ALDERLAKE_S)
[10:28:07] [PASSED] 0x4905 (DG1)
[10:28:07] [PASSED] 0x4906 (DG1)
[10:28:07] [PASSED] 0x4907 (DG1)
[10:28:07] [PASSED] 0x4908 (DG1)
[10:28:07] [PASSED] 0x4909 (DG1)
[10:28:07] [PASSED] 0x56C0 (DG2)
[10:28:07] [PASSED] 0x56C2 (DG2)
[10:28:07] [PASSED] 0x56C1 (DG2)
[10:28:07] [PASSED] 0x7D51 (METEORLAKE)
[10:28:07] [PASSED] 0x7DD1 (METEORLAKE)
[10:28:07] [PASSED] 0x7D41 (METEORLAKE)
[10:28:07] [PASSED] 0x7D67 (METEORLAKE)
[10:28:07] [PASSED] 0xB640 (METEORLAKE)
[10:28:07] [PASSED] 0x56A0 (DG2)
[10:28:07] [PASSED] 0x56A1 (DG2)
[10:28:07] [PASSED] 0x56A2 (DG2)
[10:28:07] [PASSED] 0x56BE (DG2)
[10:28:07] [PASSED] 0x56BF (DG2)
[10:28:07] [PASSED] 0x5690 (DG2)
[10:28:07] [PASSED] 0x5691 (DG2)
[10:28:07] [PASSED] 0x5692 (DG2)
[10:28:07] [PASSED] 0x56A5 (DG2)
[10:28:07] [PASSED] 0x56A6 (DG2)
[10:28:07] [PASSED] 0x56B0 (DG2)
[10:28:07] [PASSED] 0x56B1 (DG2)
[10:28:07] [PASSED] 0x56BA (DG2)
[10:28:07] [PASSED] 0x56BB (DG2)
[10:28:07] [PASSED] 0x56BC (DG2)
[10:28:07] [PASSED] 0x56BD (DG2)
[10:28:07] [PASSED] 0x5693 (DG2)
[10:28:07] [PASSED] 0x5694 (DG2)
[10:28:07] [PASSED] 0x5695 (DG2)
[10:28:07] [PASSED] 0x56A3 (DG2)
[10:28:07] [PASSED] 0x56A4 (DG2)
[10:28:07] [PASSED] 0x56B2 (DG2)
[10:28:07] [PASSED] 0x56B3 (DG2)
[10:28:07] [PASSED] 0x5696 (DG2)
[10:28:07] [PASSED] 0x5697 (DG2)
[10:28:07] [PASSED] 0xB69 (PVC)
[10:28:07] [PASSED] 0xB6E (PVC)
[10:28:07] [PASSED] 0xBD4 (PVC)
[10:28:07] [PASSED] 0xBD5 (PVC)
[10:28:07] [PASSED] 0xBD6 (PVC)
[10:28:07] [PASSED] 0xBD7 (PVC)
[10:28:07] [PASSED] 0xBD8 (PVC)
[10:28:07] [PASSED] 0xBD9 (PVC)
[10:28:07] [PASSED] 0xBDA (PVC)
[10:28:07] [PASSED] 0xBDB (PVC)
[10:28:07] [PASSED] 0xBE0 (PVC)
[10:28:07] [PASSED] 0xBE1 (PVC)
[10:28:07] [PASSED] 0xBE5 (PVC)
[10:28:07] [PASSED] 0x7D40 (METEORLAKE)
[10:28:07] [PASSED] 0x7D45 (METEORLAKE)
[10:28:07] [PASSED] 0x7D55 (METEORLAKE)
[10:28:07] [PASSED] 0x7D60 (METEORLAKE)
[10:28:07] [PASSED] 0x7DD5 (METEORLAKE)
[10:28:07] [PASSED] 0x6420 (LUNARLAKE)
[10:28:07] [PASSED] 0x64A0 (LUNARLAKE)
[10:28:07] [PASSED] 0x64B0 (LUNARLAKE)
[10:28:07] [PASSED] 0xE202 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE209 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE20B (BATTLEMAGE)
[10:28:07] [PASSED] 0xE20C (BATTLEMAGE)
[10:28:07] [PASSED] 0xE20D (BATTLEMAGE)
[10:28:07] [PASSED] 0xE210 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE211 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE212 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE216 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE220 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE221 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE222 (BATTLEMAGE)
[10:28:07] [PASSED] 0xE223 (BATTLEMAGE)
[10:28:07] [PASSED] 0xB080 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB081 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB082 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB083 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB084 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB085 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB086 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB087 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB08F (PANTHERLAKE)
[10:28:07] [PASSED] 0xB090 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB0A0 (PANTHERLAKE)
[10:28:07] [PASSED] 0xB0B0 (PANTHERLAKE)
[10:28:07] [PASSED] 0xFD80 (PANTHERLAKE)
[10:28:07] [PASSED] 0xFD81 (PANTHERLAKE)
[10:28:07] [PASSED] 0xD740 (NOVALAKE_S)
[10:28:07] [PASSED] 0xD741 (NOVALAKE_S)
[10:28:07] [PASSED] 0xD742 (NOVALAKE_S)
[10:28:07] [PASSED] 0xD743 (NOVALAKE_S)
[10:28:07] [PASSED] 0xD744 (NOVALAKE_S)
[10:28:07] [PASSED] 0xD745 (NOVALAKE_S)
[10:28:07] [PASSED] 0x674C (CRESCENTISLAND)
[10:28:07] [PASSED] 0xD750 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD751 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD752 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD753 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD754 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD755 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD756 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD757 (NOVALAKE_P)
[10:28:07] [PASSED] 0xD75F (NOVALAKE_P)
[10:28:07] =============== [PASSED] check_platform_desc ===============
[10:28:07] ===================== [PASSED] xe_pci ======================
[10:28:07] =================== xe_rtp (2 subtests) ====================
[10:28:07] =============== xe_rtp_process_to_sr_tests  ================
[10:28:07] [PASSED] coalesce-same-reg
[10:28:07] [PASSED] no-match-no-add
[10:28:07] [PASSED] match-or
[10:28:07] [PASSED] match-or-xfail
[10:28:07] [PASSED] no-match-no-add-multiple-rules
[10:28:07] [PASSED] two-regs-two-entries
[10:28:07] [PASSED] clr-one-set-other
[10:28:07] [PASSED] set-field
[10:28:07] [PASSED] conflict-duplicate
stty: 'standard input': Inappropriate ioctl for device
[10:28:07] [PASSED] conflict-not-disjoint
[10:28:07] [PASSED] conflict-reg-type
[10:28:07] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[10:28:07] ================== xe_rtp_process_tests  ===================
[10:28:07] [PASSED] active1
[10:28:07] [PASSED] active2
[10:28:07] [PASSED] active-inactive
[10:28:07] [PASSED] inactive-active
[10:28:07] [PASSED] inactive-1st_or_active-inactive
[10:28:07] [PASSED] inactive-2nd_or_active-inactive
[10:28:07] [PASSED] inactive-last_or_active-inactive
[10:28:07] [PASSED] inactive-no_or_active-inactive
[10:28:07] ============== [PASSED] xe_rtp_process_tests ===============
[10:28:07] ===================== [PASSED] xe_rtp ======================
[10:28:07] ==================== xe_wa (1 subtest) =====================
[10:28:07] ======================== xe_wa_gt  =========================
[10:28:07] [PASSED] TIGERLAKE B0
[10:28:07] [PASSED] DG1 A0
[10:28:07] [PASSED] DG1 B0
[10:28:07] [PASSED] ALDERLAKE_S A0
[10:28:07] [PASSED] ALDERLAKE_S B0
[10:28:07] [PASSED] ALDERLAKE_S C0
[10:28:07] [PASSED] ALDERLAKE_S D0
[10:28:07] [PASSED] ALDERLAKE_P A0
[10:28:07] [PASSED] ALDERLAKE_P B0
[10:28:07] [PASSED] ALDERLAKE_P C0
[10:28:07] [PASSED] ALDERLAKE_S RPLS D0
[10:28:07] [PASSED] ALDERLAKE_P RPLU E0
[10:28:07] [PASSED] DG2 G10 C0
[10:28:07] [PASSED] DG2 G11 B1
[10:28:07] [PASSED] DG2 G12 A1
[10:28:07] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:28:07] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:28:07] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[10:28:07] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[10:28:07] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[10:28:07] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[10:28:07] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[10:28:07] ==================== [PASSED] xe_wa_gt =====================
[10:28:07] ====================== [PASSED] xe_wa ======================
[10:28:07] ============================================================
[10:28:07] Testing complete. Ran 597 tests: passed: 579, skipped: 18
[10:28:07] Elapsed time: 35.445s total, 4.283s configuring, 30.546s building, 0.592s running

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

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

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

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

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

#17 lore raw

✓ Xe.CI.BAT: success for Introduce Xe Correctable Error Handling (rev3)

In reply to Raag Jadav
== Series Details ==

== Series Details ==

Series: Introduce Xe Correctable Error Handling (rev3)
URL : https://patchwork.freedesktop.org/series/160184/
State : success

== Summary ==

CI Bug Log - changes from xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0_BAT -> xe-pw-160184v3_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (14 -> 14)
------------------------------

No changes in participating hosts

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

Here are the changes found in xe-pw-160184v3_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_flip@basic-flip-vs-wf_vblank@d-edp1:
- bat-adlp-7: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#7483])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0/bat-adlp-7/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/bat-adlp-7/igt@kms_flip@[email protected]

#### Possible fixes ####

* igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1:
- bat-adlp-7: [DMESG-WARN][3] ([Intel XE#7483]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0/bat-adlp-7/igt@kms_flip@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/bat-adlp-7/igt@kms_flip@[email protected]

* igt@xe_waitfence@engine:
- bat-dg2-oem2: [FAIL][5] ([Intel XE#6519]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0/bat-dg2-oem2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/bat-dg2-oem2/igt@[email protected]

* igt@xe_waitfence@reltime:
- bat-dg2-oem2: [FAIL][7] ([Intel XE#6520]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0/bat-dg2-oem2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/bat-dg2-oem2/igt@[email protected]

[Intel XE#6519]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6519
[Intel XE#6520]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6520
[Intel XE#7483]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7483

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

* IGT: IGT_8797 -> IGT_8798
* Linux: xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0 -> xe-pw-160184v3

IGT_8797: 8797
IGT_8798: 8798
xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0: 169ea69ad8f2fb0a126608399386e4580bb2d0b0
xe-pw-160184v3: 160184v3

== Logs ==

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

#18 lore raw

✓ Xe.CI.FULL: success for Introduce Xe Correctable Error Handling (rev3)

In reply to Raag Jadav
== Series Details ==

== Series Details ==

Series: Introduce Xe Correctable Error Handling (rev3)
URL : https://patchwork.freedesktop.org/series/160184/
State : success

== Summary ==

CI Bug Log - changes from xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0_FULL -> xe-pw-160184v3_FULL
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

No changes in participating hosts

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

Here are the changes found in xe-pw-160184v3_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
- shard-lnl: NOTRUN -> [SKIP][1] ([Intel XE#3658] / [Intel XE#7360])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-3/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html

* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][2] ([Intel XE#1407])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-8/igt@[email protected]

* igt@kms_bw@connected-linear-tiling-3-displays-2560x1440p:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#2191] / [Intel XE#7373])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-5/igt@[email protected]

* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs-cc:
- shard-lnl: NOTRUN -> [SKIP][4] ([Intel XE#3432])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-5/igt@[email protected]

* igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs:
- shard-lnl: NOTRUN -> [SKIP][5] ([Intel XE#2887])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-8/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-32x32:
- shard-lnl: NOTRUN -> [SKIP][6] ([Intel XE#1424])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-2/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions:
- shard-lnl: NOTRUN -> [SKIP][7] ([Intel XE#309] / [Intel XE#7343]) +1 other test skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-7/igt@[email protected]

* igt@kms_feature_discovery@display-3x:
- shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#703] / [Intel XE#7448])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-7/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling:
- shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-7/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling.html

* igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling@pipe-a-default-mode:
- shard-lnl: NOTRUN -> [SKIP][10] ([Intel XE#1397] / [Intel XE#7385])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-7/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling@pipe-a-default-mode.html

* igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-shrfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][11] ([Intel XE#6312])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-6/igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-shrfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@drrs-2p-rte:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#656]) +3 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-3/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-rgb565-draw-render:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#6312] / [Intel XE#651]) +2 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-8/igt@[email protected]

* igt@kms_psr2_sf@fbc-pr-overlay-plane-update-continuous-sf:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#2893] / [Intel XE#7304])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-8/igt@[email protected]

* igt@kms_psr@fbc-pr-cursor-plane-move:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#1406])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-4/igt@[email protected]

* igt@xe_eudebug@vma-ufence-faultable:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#4837])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-8/igt@[email protected]

* igt@xe_evict@evict-beng-threads-small-multi-vm:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#6540] / [Intel XE#688]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-2/igt@[email protected]

* igt@xe_exec_balancer@many-parallel-userptr:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#7482])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-1/igt@[email protected]

* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-null-defer-bind:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#1392]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-4/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-null-defer-bind.html

* igt@xe_exec_multi_queue@many-execs-close-fd:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#6874]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-7/igt@[email protected]

* igt@xe_exec_threads@threads-multi-queue-mixed-rebind:
- shard-lnl: NOTRUN -> [SKIP][21] ([Intel XE#7138])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-2/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-concurrent-access-basic:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#6964])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-5/igt@[email protected]

* igt@xe_pat@pat-index-xelpg:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#979])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-1/igt@[email protected]

#### Possible fixes ####

* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [FAIL][24] ([Intel XE#2142]) -> [PASS][25] +1 other test pass
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0/shard-lnl-7/igt@kms_vrr@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160184v3/shard-lnl-3/igt@kms_vrr@[email protected]

[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1397
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2191
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3658
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#703]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/703
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7360
[Intel XE#7373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7373
[Intel XE#7385]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7385
[Intel XE#7448]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7448
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979

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

* IGT: IGT_8797 -> IGT_8798
* Linux: xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0 -> xe-pw-160184v3

IGT_8797: 8797
IGT_8798: 8798
xe-4704-169ea69ad8f2fb0a126608399386e4580bb2d0b0: 169ea69ad8f2fb0a126608399386e4580bb2d0b0
xe-pw-160184v3: 160184v3

== Logs ==

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