* [PATCH v7 0/1] drm/xe: Add support for GPU health indicator
@ 2026-07-08 6:12 Soham Purkait
2026-07-08 6:12 ` [PATCH v7 1/1] drm/xe/xe_ras: Add RAS " Soham Purkait
` (4 more replies)
0 siblings, 5 replies; 13+ messages in thread
From: Soham Purkait @ 2026-07-08 6:12 UTC (permalink / raw)
To: intel-xe, riana.tauro, anshuman.gupta, aravind.iddamsetty,
badal.nilawar, raag.jadav, ravi.kishore.koppuravuri,
mallesh.koujalagi, andi.shyti, rodrigo.vivi
Cc: soham.purkait, anoop.c.vijay
GPUs commonly rely on various reactive health monitoring approaches.
The Xe GPU health indicator is intended to fit into such reactive
monitoring flows, where it could be used by management tools to fetch
and update GPU health status.
This patch adds Xe GPU health indicator support as a RAS feature.
It introduces the health command IDs and request/response structures
used by the System Controller mailbox, and integrates the feature
into Xe through the gpu_health sysfs interface.
The sysfs file, gpu_health, is created at the device level and
provides a simple interface for observing and updating the reported
GPU health state. It is exposed as read-only for non admin users while
write access is only provided to the admin users.
The sysfs file (gpu_health) is placed at the device level and behaves
as follows:
$ cat /sys/.../device/gpu_health
ok
$ echo critical > /sys/.../device/gpu_health
$ cat /sys/.../device/gpu_health
critical
Userspace consumer (Level Zero Sysman):
https://github.com/intel/compute-runtime/commit/3d974c6d9b65bede475c118e582761670ef110d2
Soham Purkait (1):
drm/xe/xe_ras: Add RAS GPU health indicator
.../ABI/testing/sysfs-driver-intel-xe-ras | 30 ++++
Documentation/gpu/xe/xe_device.rst | 9 ++
drivers/gpu/drm/xe/xe_ras.c | 139 ++++++++++++++++++
drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
5 files changed, 239 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-xe-ras
--
2.43.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 6:12 [PATCH v7 0/1] drm/xe: Add support for GPU health indicator Soham Purkait
@ 2026-07-08 6:12 ` Soham Purkait
2026-07-08 6:47 ` Raag Jadav
2026-07-08 7:40 ` Tauro, Riana
2026-07-08 6:18 ` ✗ CI.checkpatch: warning for drm/xe: Add support for " Patchwork
` (3 subsequent siblings)
4 siblings, 2 replies; 13+ messages in thread
From: Soham Purkait @ 2026-07-08 6:12 UTC (permalink / raw)
To: intel-xe, riana.tauro, anshuman.gupta, aravind.iddamsetty,
badal.nilawar, raag.jadav, ravi.kishore.koppuravuri,
mallesh.koujalagi, andi.shyti, rodrigo.vivi
Cc: soham.purkait, anoop.c.vijay
Add a sysfs interface that reports the current GPU health state and
lets admin users and management tools update it but is readable by all
users. Requests are routed through the sysctrl mailbox. The interface
is present only on platforms that support the GPU health indicator.
The interface is a single read/write file at the device level:
$ cat /sys/.../device/gpu_health
ok
$ echo critical > /sys/.../device/gpu_health
$ cat /sys/.../device/gpu_health
critical
v1:
- Add enum for health status. (Andi, Rodrigo)
- Return error number instead of error message in _show/_store. (Andi)
- Move GPU health sysfs init error logging to xe_ras_init. (Andi)
- Return only the current health state for sysfs read. (Andi, Rodrigo)
- Add documentation for sysfs interface. (Andi, Rodrigo)
v2:
- Make logs and structures consistent with their counterparts. (Riana)
- Drop unnecessary variables. (Andi, Riana)
- Add correct KernelVersion. (Raag)
v3:
- Add missing blank line before #endif. (Badal)
v4:
- Add consistent "gpu" nomenclature to the gpu health indicator
DOC blocks. (Riana)
- Add Kdoc for gpu health indicator. (Anshuman)
v5:
- Rename struct fields to response.health, request.health. (Riana, Raag)
- Use devm_device_add_group instead of custom sysfs init/fini. (Raag)
- Rename health enum to shorter XE_RAS_HEALTH_*, drop redundant
invalid-input log, and minor log/format cleanups. (Raag)
Signed-off-by: Soham Purkait <soham.purkait@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
---
.../ABI/testing/sysfs-driver-intel-xe-ras | 30 ++++
Documentation/gpu/xe/xe_device.rst | 9 ++
drivers/gpu/drm/xe/xe_ras.c | 139 ++++++++++++++++++
drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
5 files changed, 239 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-xe-ras
diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-ras b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
new file mode 100644
index 000000000000..9612b97b0f88
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
@@ -0,0 +1,30 @@
+What: /sys/bus/pci/drivers/xe/.../gpu_health
+Date: April 2026
+KernelVersion: 7.2
+Contact: intel-xe@lists.freedesktop.org
+Description:
+ This file exposes the current gpu health state and allows the gpu
+ health state to be updated.
+
+ This sysfs file is present only on Intel Xe platforms that support
+ the gpu health indicator interface for RAS. Reading the current
+ health state is available to all users, while updating the health
+ state is restricted to administrative users only.
+
+ Read returns a single line containing one of the valid values for
+ the current gpu health state. Writing one of the valid values
+ updates the current gpu health state.
+
+ The valid values for the gpu health state are:
+
+ ok
+ The gpu is healthy and operating within normal
+ parameters.
+
+ warning
+ The gpu is experiencing minor issues but remains
+ operational.
+
+ critical
+ The gpu is in a critical state and may not be
+ operational.
diff --git a/Documentation/gpu/xe/xe_device.rst b/Documentation/gpu/xe/xe_device.rst
index 39a937b97cd3..6fdba960c2d9 100644
--- a/Documentation/gpu/xe/xe_device.rst
+++ b/Documentation/gpu/xe/xe_device.rst
@@ -8,3 +8,12 @@ Xe Device Wedging
.. kernel-doc:: drivers/gpu/drm/xe/xe_device.c
:doc: Xe Device Wedging
+
+.. _xe-gpu-health-indicator:
+
+====================
+GPU Health Indicator
+====================
+
+.. kernel-doc:: drivers/gpu/drm/xe/xe_ras.c
+ :doc: GPU Health Indicator
diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
index 74d5016d9ffe..d1214a213d6e 100644
--- a/drivers/gpu/drm/xe/xe_ras.c
+++ b/drivers/gpu/drm/xe/xe_ras.c
@@ -65,6 +65,13 @@ static const char *const xe_ras_components[] = {
};
static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
+static const char * const gpu_health_states[] = {
+ [XE_RAS_HEALTH_OK] = "ok",
+ [XE_RAS_HEALTH_WARNING] = "warning",
+ [XE_RAS_HEALTH_CRITICAL] = "critical",
+};
+static_assert(ARRAY_SIZE(gpu_health_states) == XE_RAS_HEALTH_MAX);
+
static u8 drm_to_xe_ras_severity(u8 severity)
{
switch (severity) {
@@ -332,6 +339,132 @@ int xe_ras_clear_counter(struct xe_device *xe, u8 severity, u8 component)
return 0;
}
+static ssize_t gpu_health_show(struct device *dev, struct device_attribute *attr, char *buf)
+{
+ struct xe_ras_get_health_response response = {0};
+ struct xe_sysctrl_mailbox_command command = {0};
+ struct xe_ras_get_health_request request = {0};
+ struct xe_device *xe = kdev_to_xe_device(dev);
+ const char *health;
+ size_t rlen;
+ int ret;
+
+ xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP, XE_SYSCTRL_CMD_GET_HEALTH,
+ &request, sizeof(request), &response, sizeof(response));
+ guard(xe_pm_runtime)(xe);
+ ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
+ if (ret) {
+ xe_err(xe, "sysctrl: failed to get health %d\n", ret);
+ return ret;
+ }
+
+ if (rlen != sizeof(response)) {
+ xe_err(xe, "sysctrl: unexpected get health response length %zu (expected %zu)\n",
+ rlen, sizeof(response));
+ return -EIO;
+ }
+ if (response.health >= XE_RAS_HEALTH_MAX) {
+ xe_err(xe, "sysctrl: invalid health state %u\n",
+ response.health);
+ return -EIO;
+ }
+
+ health = gpu_health_states[response.health];
+
+ xe_dbg(xe, "[RAS]: get health: %s\n", health);
+
+ return sysfs_emit(buf, "%s\n", health);
+}
+
+static ssize_t gpu_health_store(struct device *dev, struct device_attribute *attr,
+ const char *buf, size_t count)
+{
+ struct xe_ras_set_health_response response = {0};
+ struct xe_sysctrl_mailbox_command command = {0};
+ struct xe_ras_set_health_request request = {0};
+ struct xe_device *xe = kdev_to_xe_device(dev);
+ const char *health;
+ size_t rlen;
+ int state;
+ int ret;
+
+ state = sysfs_match_string(gpu_health_states, buf);
+ if (state < 0)
+ return -EINVAL;
+
+ request.health = state;
+
+ xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP, XE_SYSCTRL_CMD_SET_HEALTH,
+ &request, sizeof(request), &response, sizeof(response));
+ guard(xe_pm_runtime)(xe);
+ ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
+ if (ret) {
+ xe_err(xe, "sysctrl: failed to set health %d\n", ret);
+ return ret;
+ }
+
+ if (rlen != sizeof(response)) {
+ xe_err(xe, "sysctrl: unexpected set health response length %zu (expected %zu)\n",
+ rlen, sizeof(response));
+ return -EIO;
+ }
+
+ ret = ras_status_to_errno(response.status);
+ if (ret) {
+ xe_err(xe, "sysctrl: set health command failed with status %#x\n",
+ response.status);
+ return ret;
+ }
+
+ if (response.health >= XE_RAS_HEALTH_MAX) {
+ xe_err(xe, "sysctrl: invalid health state %u\n",
+ response.health);
+ return -EIO;
+ }
+
+ health = gpu_health_states[response.health];
+
+ xe_dbg(xe, "[RAS]: set health: %s\n", health);
+
+ return count;
+}
+
+static DEVICE_ATTR_RW(gpu_health);
+
+static struct attribute *gpu_health_attrs[] = {
+ &dev_attr_gpu_health.attr,
+ NULL,
+};
+
+/**
+ * DOC: GPU Health Indicator
+ *
+ * On Intel Xe platforms that support the GPU health indicator interface,
+ * the driver exposes a sysfs attribute at the device level as:
+ *
+ * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
+ *
+ * Reading the attribute returns a single line containing the current GPU
+ * health state. Writing one of the valid values updates the same. Reads
+ * are available to all users; writes are restricted to administrative
+ * users only (attribute permissions ``0644``).
+ *
+ * The valid values for the GPU health state are:
+ *
+ * - ``ok``:
+ * The GPU is healthy and operating within normal parameters.
+ * - ``warning``:
+ * The GPU is experiencing minor issues but remains operational.
+ * - ``critical``:
+ * The GPU is in a critical state and may not be operational.
+ *
+ * See Documentation/ABI/testing/sysfs-driver-intel-xe-ras for the ABI
+ * specification.
+ */
+static const struct attribute_group gpu_health_group = {
+ .attrs = gpu_health_attrs,
+};
+
/**
* xe_ras_init - Initialize Xe RAS
* @xe: xe device instance
@@ -340,6 +473,8 @@ int xe_ras_clear_counter(struct xe_device *xe, u8 severity, u8 component)
*/
void xe_ras_init(struct xe_device *xe)
{
+ int ret;
+
if (!xe->info.has_drm_ras)
return;
@@ -350,4 +485,8 @@ void xe_ras_init(struct xe_device *xe)
if (IS_ENABLED(CONFIG_PCIEAER))
ras_usp_aer_init(xe);
+
+ ret = devm_device_add_group(xe->drm.dev, &gpu_health_group);
+ if (ret)
+ xe_err(xe, "Failed to initialize GPU health sysfs, err=%d\n", ret);
}
diff --git a/drivers/gpu/drm/xe/xe_ras_types.h b/drivers/gpu/drm/xe/xe_ras_types.h
index 6688e11f57a8..4c4fbc42c956 100644
--- a/drivers/gpu/drm/xe/xe_ras_types.h
+++ b/drivers/gpu/drm/xe/xe_ras_types.h
@@ -10,6 +10,21 @@
#define XE_RAS_NUM_COUNTERS 16
+/**
+ * enum xe_ras_health_status - gpu health status values
+ *
+ * @XE_RAS_HEALTH_OK: gpu is healthy and operating normally.
+ * @XE_RAS_HEALTH_WARNING: gpu has minor issues but is still operational.
+ * @XE_RAS_HEALTH_CRITICAL: gpu is in a critical state and may not be operational.
+ * @XE_RAS_HEALTH_MAX: Sentinel value for validation
+ */
+enum xe_ras_health_status {
+ XE_RAS_HEALTH_OK = 0,
+ XE_RAS_HEALTH_WARNING,
+ XE_RAS_HEALTH_CRITICAL,
+ XE_RAS_HEALTH_MAX
+};
+
/**
* struct xe_ras_error_common - Error fields that are common across all products
*/
@@ -121,4 +136,46 @@ struct xe_ras_clear_counter_response {
/** @reserved1: Reserved for future use */
u32 reserved1[3];
} __packed;
+
+/**
+ * struct xe_ras_get_health_request - Request structure for obtaining gpu health
+ */
+struct xe_ras_get_health_request {
+ /** @reserved: Reserved for future use. */
+ u32 reserved[2];
+} __packed;
+
+/**
+ * struct xe_ras_get_health_response - Response structure for obtaining gpu health
+ */
+struct xe_ras_get_health_response {
+ /** @health: Current gpu health, see &enum xe_ras_health_status */
+ u8 health;
+ /** @reserved: Reserved for future use */
+ u8 reserved[3];
+} __packed;
+
+/**
+ * struct xe_ras_set_health_request - Request structure for setting gpu health
+ */
+struct xe_ras_set_health_request {
+ /** @health: New gpu health to set, see &enum xe_ras_health_status */
+ u8 health;
+ /** @reserved: Reserved for future use */
+ u8 reserved[3];
+} __packed;
+
+/**
+ * struct xe_ras_set_health_response - Response structure for setting gpu health
+ */
+struct xe_ras_set_health_response {
+ /** @status: Status of set health operation, see &enum xe_ras_response_status */
+ u32 status;
+ /** @health: Resulting current gpu health, see &enum xe_ras_health_status */
+ u8 health;
+ /** @reserved: Reserved for future use */
+ u8 reserved[3];
+ /** @reserved1: Reserved for future use */
+ u32 reserved1[2];
+} __packed;
#endif
diff --git a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
index 6e3753554510..d4da6e9ef774 100644
--- a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
+++ b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
@@ -25,11 +25,15 @@ enum xe_sysctrl_group {
* @XE_SYSCTRL_CMD_GET_COUNTER: Get error counter value
* @XE_SYSCTRL_CMD_CLEAR_COUNTER: Clear error counter value
* @XE_SYSCTRL_CMD_GET_PENDING_EVENT: Retrieve pending event
+ * @XE_SYSCTRL_CMD_GET_HEALTH: Retrieve current health status
+ * @XE_SYSCTRL_CMD_SET_HEALTH: Set new health status
*/
enum xe_sysctrl_gfsp_cmd {
XE_SYSCTRL_CMD_GET_COUNTER = 0x03,
XE_SYSCTRL_CMD_CLEAR_COUNTER = 0x04,
XE_SYSCTRL_CMD_GET_PENDING_EVENT = 0x07,
+ XE_SYSCTRL_CMD_GET_HEALTH = 0x0B,
+ XE_SYSCTRL_CMD_SET_HEALTH = 0x0C,
};
/**
--
2.43.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* ✗ CI.checkpatch: warning for drm/xe: Add support for GPU health indicator
2026-07-08 6:12 [PATCH v7 0/1] drm/xe: Add support for GPU health indicator Soham Purkait
2026-07-08 6:12 ` [PATCH v7 1/1] drm/xe/xe_ras: Add RAS " Soham Purkait
@ 2026-07-08 6:18 ` Patchwork
2026-07-08 6:19 ` ✓ CI.KUnit: success " Patchwork
` (2 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2026-07-08 6:18 UTC (permalink / raw)
To: Soham Purkait; +Cc: intel-xe
== Series Details ==
Series: drm/xe: Add support for GPU health indicator
URL : https://patchwork.freedesktop.org/series/169976/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 90fc03dd7b50a27b03adb33f84d52bbe6a537eb9
Author: Soham Purkait <soham.purkait@intel.com>
Date: Wed Jul 8 11:42:23 2026 +0530
drm/xe/xe_ras: Add RAS GPU health indicator
Add a sysfs interface that reports the current GPU health state and
lets admin users and management tools update it but is readable by all
users. Requests are routed through the sysctrl mailbox. The interface
is present only on platforms that support the GPU health indicator.
The interface is a single read/write file at the device level:
$ cat /sys/.../device/gpu_health
ok
$ echo critical > /sys/.../device/gpu_health
$ cat /sys/.../device/gpu_health
critical
v1:
- Add enum for health status. (Andi, Rodrigo)
- Return error number instead of error message in _show/_store. (Andi)
- Move GPU health sysfs init error logging to xe_ras_init. (Andi)
- Return only the current health state for sysfs read. (Andi, Rodrigo)
- Add documentation for sysfs interface. (Andi, Rodrigo)
v2:
- Make logs and structures consistent with their counterparts. (Riana)
- Drop unnecessary variables. (Andi, Riana)
- Add correct KernelVersion. (Raag)
v3:
- Add missing blank line before #endif. (Badal)
v4:
- Add consistent "gpu" nomenclature to the gpu health indicator
DOC blocks. (Riana)
- Add Kdoc for gpu health indicator. (Anshuman)
v5:
- Rename struct fields to response.health, request.health. (Riana, Raag)
- Use devm_device_add_group instead of custom sysfs init/fini. (Raag)
- Rename health enum to shorter XE_RAS_HEALTH_*, drop redundant
invalid-input log, and minor log/format cleanups. (Raag)
Signed-off-by: Soham Purkait <soham.purkait@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
+ /mt/dim checkpatch 331949b3b9225375d72a6402cf94b5d6c6621d1c drm-intel
90fc03dd7b50 drm/xe/xe_ras: Add RAS GPU health indicator
-:53: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#53:
new file mode 100644
-:118: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#118: FILE: drivers/gpu/drm/xe/xe_ras.c:73:
+};
+static_assert(ARRAY_SIZE(gpu_health_states) == XE_RAS_HEALTH_MAX);
total: 0 errors, 1 warnings, 1 checks, 285 lines checked
^ permalink raw reply [flat|nested] 13+ messages in thread
* ✓ CI.KUnit: success for drm/xe: Add support for GPU health indicator
2026-07-08 6:12 [PATCH v7 0/1] drm/xe: Add support for GPU health indicator Soham Purkait
2026-07-08 6:12 ` [PATCH v7 1/1] drm/xe/xe_ras: Add RAS " Soham Purkait
2026-07-08 6:18 ` ✗ CI.checkpatch: warning for drm/xe: Add support for " Patchwork
@ 2026-07-08 6:19 ` Patchwork
2026-07-08 6:54 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-08 8:11 ` ✓ Xe.CI.FULL: " Patchwork
4 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2026-07-08 6:19 UTC (permalink / raw)
To: Soham Purkait; +Cc: intel-xe
== Series Details ==
Series: drm/xe: Add support for GPU health indicator
URL : https://patchwork.freedesktop.org/series/169976/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[06:18:04] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[06:18: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
../drivers/gpu/drm/xe/xe_pt.c:1430:13: warning: ‘xe_pt_svm_userptr_notifier_lock’ defined but not used [-Wunused-function]
1430 | static void xe_pt_svm_userptr_notifier_lock(struct xe_vm *vm)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[06:18:40] Starting KUnit Kernel (1/1)...
[06:18:40] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[06:18:41] ================== guc_buf (11 subtests) ===================
[06:18:41] [PASSED] test_smallest
[06:18:41] [PASSED] test_largest
[06:18:41] [PASSED] test_granular
[06:18:41] [PASSED] test_unique
[06:18:41] [PASSED] test_overlap
[06:18:41] [PASSED] test_reusable
[06:18:41] [PASSED] test_too_big
[06:18:41] [PASSED] test_flush
[06:18:41] [PASSED] test_lookup
[06:18:41] [PASSED] test_data
[06:18:41] [PASSED] test_class
[06:18:41] ===================== [PASSED] guc_buf =====================
[06:18:41] =================== guc_dbm (7 subtests) ===================
[06:18:41] [PASSED] test_empty
[06:18:41] [PASSED] test_default
[06:18:41] ======================== test_size ========================
[06:18:41] [PASSED] 4
[06:18:41] [PASSED] 8
[06:18:41] [PASSED] 32
[06:18:41] [PASSED] 256
[06:18:41] ==================== [PASSED] test_size ====================
[06:18:41] ======================= test_reuse ========================
[06:18:41] [PASSED] 4
[06:18:41] [PASSED] 8
[06:18:41] [PASSED] 32
[06:18:41] [PASSED] 256
[06:18:41] =================== [PASSED] test_reuse ====================
[06:18:41] =================== test_range_overlap ====================
[06:18:41] [PASSED] 4
[06:18:41] [PASSED] 8
[06:18:41] [PASSED] 32
[06:18:41] [PASSED] 256
[06:18:41] =============== [PASSED] test_range_overlap ================
[06:18:41] =================== test_range_compact ====================
[06:18:41] [PASSED] 4
[06:18:41] [PASSED] 8
[06:18:41] [PASSED] 32
[06:18:41] [PASSED] 256
[06:18:41] =============== [PASSED] test_range_compact ================
[06:18:41] ==================== test_range_spare =====================
[06:18:41] [PASSED] 4
[06:18:41] [PASSED] 8
[06:18:41] [PASSED] 32
[06:18:41] [PASSED] 256
[06:18:41] ================ [PASSED] test_range_spare =================
[06:18:41] ===================== [PASSED] guc_dbm =====================
[06:18:41] =================== guc_idm (6 subtests) ===================
[06:18:41] [PASSED] bad_init
[06:18:41] [PASSED] no_init
[06:18:41] [PASSED] init_fini
[06:18:41] [PASSED] check_used
[06:18:41] [PASSED] check_quota
[06:18:41] [PASSED] check_all
[06:18:41] ===================== [PASSED] guc_idm =====================
[06:18:41] ================== no_relay (3 subtests) ===================
[06:18:41] [PASSED] xe_drops_guc2pf_if_not_ready
[06:18:41] [PASSED] xe_drops_guc2vf_if_not_ready
[06:18:41] [PASSED] xe_rejects_send_if_not_ready
[06:18:41] ==================== [PASSED] no_relay =====================
[06:18:41] ================== pf_relay (14 subtests) ==================
[06:18:41] [PASSED] pf_rejects_guc2pf_too_short
[06:18:41] [PASSED] pf_rejects_guc2pf_too_long
[06:18:41] [PASSED] pf_rejects_guc2pf_no_payload
[06:18:41] [PASSED] pf_fails_no_payload
[06:18:41] [PASSED] pf_fails_bad_origin
[06:18:41] [PASSED] pf_fails_bad_type
[06:18:41] [PASSED] pf_txn_reports_error
[06:18:41] [PASSED] pf_txn_sends_pf2guc
[06:18:41] [PASSED] pf_sends_pf2guc
[06:18:41] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[06:18:41] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[06:18:41] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[06:18:41] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[06:18:41] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[06:18:41] ==================== [PASSED] pf_relay =====================
[06:18:41] ================== vf_relay (3 subtests) ===================
[06:18:41] [PASSED] vf_rejects_guc2vf_too_short
[06:18:41] [PASSED] vf_rejects_guc2vf_too_long
[06:18:41] [PASSED] vf_rejects_guc2vf_no_payload
[06:18:41] ==================== [PASSED] vf_relay =====================
[06:18:41] ================ pf_gt_config (9 subtests) =================
[06:18:41] [PASSED] fair_contexts_1vf
[06:18:41] [PASSED] fair_doorbells_1vf
[06:18:41] [PASSED] fair_ggtt_1vf
[06:18:41] ====================== fair_vram_1vf ======================
[06:18:41] [PASSED] 3.50 GiB
[06:18:41] [PASSED] 11.5 GiB
[06:18:41] [PASSED] 15.5 GiB
[06:18:41] [PASSED] 31.5 GiB
[06:18:41] [PASSED] 63.5 GiB
[06:18:41] [PASSED] 1.91 GiB
[06:18:41] ================== [PASSED] fair_vram_1vf ==================
[06:18:41] ================ fair_vram_1vf_admin_only =================
[06:18:41] [PASSED] 3.50 GiB
[06:18:41] [PASSED] 11.5 GiB
[06:18:41] [PASSED] 15.5 GiB
[06:18:41] [PASSED] 31.5 GiB
[06:18:41] [PASSED] 63.5 GiB
[06:18:41] [PASSED] 1.91 GiB
[06:18:41] ============ [PASSED] fair_vram_1vf_admin_only =============
[06:18:41] ====================== fair_contexts ======================
[06:18:41] [PASSED] 1 VF
[06:18:41] [PASSED] 2 VFs
[06:18:41] [PASSED] 3 VFs
[06:18:41] [PASSED] 4 VFs
[06:18:41] [PASSED] 5 VFs
[06:18:41] [PASSED] 6 VFs
[06:18:41] [PASSED] 7 VFs
[06:18:41] [PASSED] 8 VFs
[06:18:41] [PASSED] 9 VFs
[06:18:41] [PASSED] 10 VFs
[06:18:41] [PASSED] 11 VFs
[06:18:41] [PASSED] 12 VFs
[06:18:41] [PASSED] 13 VFs
[06:18:41] [PASSED] 14 VFs
[06:18:41] [PASSED] 15 VFs
[06:18:41] [PASSED] 16 VFs
[06:18:41] [PASSED] 17 VFs
[06:18:41] [PASSED] 18 VFs
[06:18:41] [PASSED] 19 VFs
[06:18:41] [PASSED] 20 VFs
[06:18:41] [PASSED] 21 VFs
[06:18:41] [PASSED] 22 VFs
[06:18:41] [PASSED] 23 VFs
[06:18:41] [PASSED] 24 VFs
[06:18:41] [PASSED] 25 VFs
[06:18:41] [PASSED] 26 VFs
[06:18:41] [PASSED] 27 VFs
[06:18:41] [PASSED] 28 VFs
[06:18:41] [PASSED] 29 VFs
[06:18:41] [PASSED] 30 VFs
[06:18:41] [PASSED] 31 VFs
[06:18:41] [PASSED] 32 VFs
[06:18:41] [PASSED] 33 VFs
[06:18:41] [PASSED] 34 VFs
[06:18:41] [PASSED] 35 VFs
[06:18:41] [PASSED] 36 VFs
[06:18:41] [PASSED] 37 VFs
[06:18:41] [PASSED] 38 VFs
[06:18:41] [PASSED] 39 VFs
[06:18:41] [PASSED] 40 VFs
[06:18:41] [PASSED] 41 VFs
[06:18:41] [PASSED] 42 VFs
[06:18:41] [PASSED] 43 VFs
[06:18:41] [PASSED] 44 VFs
[06:18:41] [PASSED] 45 VFs
[06:18:41] [PASSED] 46 VFs
[06:18:41] [PASSED] 47 VFs
[06:18:41] [PASSED] 48 VFs
[06:18:41] [PASSED] 49 VFs
[06:18:41] [PASSED] 50 VFs
[06:18:41] [PASSED] 51 VFs
[06:18:41] [PASSED] 52 VFs
[06:18:41] [PASSED] 53 VFs
[06:18:41] [PASSED] 54 VFs
[06:18:41] [PASSED] 55 VFs
[06:18:41] [PASSED] 56 VFs
[06:18:41] [PASSED] 57 VFs
[06:18:41] [PASSED] 58 VFs
[06:18:41] [PASSED] 59 VFs
[06:18:41] [PASSED] 60 VFs
[06:18:41] [PASSED] 61 VFs
[06:18:41] [PASSED] 62 VFs
[06:18:41] [PASSED] 63 VFs
[06:18:41] ================== [PASSED] fair_contexts ==================
[06:18:41] ===================== fair_doorbells ======================
[06:18:41] [PASSED] 1 VF
[06:18:41] [PASSED] 2 VFs
[06:18:41] [PASSED] 3 VFs
[06:18:41] [PASSED] 4 VFs
[06:18:41] [PASSED] 5 VFs
[06:18:41] [PASSED] 6 VFs
[06:18:41] [PASSED] 7 VFs
[06:18:41] [PASSED] 8 VFs
[06:18:41] [PASSED] 9 VFs
[06:18:41] [PASSED] 10 VFs
[06:18:41] [PASSED] 11 VFs
[06:18:41] [PASSED] 12 VFs
[06:18:41] [PASSED] 13 VFs
[06:18:41] [PASSED] 14 VFs
[06:18:41] [PASSED] 15 VFs
[06:18:41] [PASSED] 16 VFs
[06:18:41] [PASSED] 17 VFs
[06:18:41] [PASSED] 18 VFs
[06:18:41] [PASSED] 19 VFs
[06:18:41] [PASSED] 20 VFs
[06:18:41] [PASSED] 21 VFs
[06:18:41] [PASSED] 22 VFs
[06:18:41] [PASSED] 23 VFs
[06:18:41] [PASSED] 24 VFs
[06:18:41] [PASSED] 25 VFs
[06:18:41] [PASSED] 26 VFs
[06:18:41] [PASSED] 27 VFs
[06:18:41] [PASSED] 28 VFs
[06:18:41] [PASSED] 29 VFs
[06:18:41] [PASSED] 30 VFs
[06:18:41] [PASSED] 31 VFs
[06:18:41] [PASSED] 32 VFs
[06:18:41] [PASSED] 33 VFs
[06:18:41] [PASSED] 34 VFs
[06:18:41] [PASSED] 35 VFs
[06:18:41] [PASSED] 36 VFs
[06:18:41] [PASSED] 37 VFs
[06:18:41] [PASSED] 38 VFs
[06:18:41] [PASSED] 39 VFs
[06:18:41] [PASSED] 40 VFs
[06:18:41] [PASSED] 41 VFs
[06:18:41] [PASSED] 42 VFs
[06:18:41] [PASSED] 43 VFs
[06:18:41] [PASSED] 44 VFs
[06:18:41] [PASSED] 45 VFs
[06:18:41] [PASSED] 46 VFs
[06:18:41] [PASSED] 47 VFs
[06:18:41] [PASSED] 48 VFs
[06:18:41] [PASSED] 49 VFs
[06:18:41] [PASSED] 50 VFs
[06:18:41] [PASSED] 51 VFs
[06:18:41] [PASSED] 52 VFs
[06:18:41] [PASSED] 53 VFs
[06:18:41] [PASSED] 54 VFs
[06:18:41] [PASSED] 55 VFs
[06:18:41] [PASSED] 56 VFs
[06:18:41] [PASSED] 57 VFs
[06:18:41] [PASSED] 58 VFs
[06:18:41] [PASSED] 59 VFs
[06:18:41] [PASSED] 60 VFs
[06:18:41] [PASSED] 61 VFs
[06:18:41] [PASSED] 62 VFs
[06:18:41] [PASSED] 63 VFs
[06:18:41] ================= [PASSED] fair_doorbells ==================
[06:18:41] ======================== fair_ggtt ========================
[06:18:41] [PASSED] 1 VF
[06:18:41] [PASSED] 2 VFs
[06:18:41] [PASSED] 3 VFs
[06:18:41] [PASSED] 4 VFs
[06:18:41] [PASSED] 5 VFs
[06:18:41] [PASSED] 6 VFs
[06:18:41] [PASSED] 7 VFs
[06:18:41] [PASSED] 8 VFs
[06:18:41] [PASSED] 9 VFs
[06:18:41] [PASSED] 10 VFs
[06:18:41] [PASSED] 11 VFs
[06:18:41] [PASSED] 12 VFs
[06:18:41] [PASSED] 13 VFs
[06:18:41] [PASSED] 14 VFs
[06:18:41] [PASSED] 15 VFs
[06:18:41] [PASSED] 16 VFs
[06:18:41] [PASSED] 17 VFs
[06:18:41] [PASSED] 18 VFs
[06:18:41] [PASSED] 19 VFs
[06:18:41] [PASSED] 20 VFs
[06:18:41] [PASSED] 21 VFs
[06:18:41] [PASSED] 22 VFs
[06:18:41] [PASSED] 23 VFs
[06:18:41] [PASSED] 24 VFs
[06:18:41] [PASSED] 25 VFs
[06:18:41] [PASSED] 26 VFs
[06:18:41] [PASSED] 27 VFs
[06:18:41] [PASSED] 28 VFs
[06:18:41] [PASSED] 29 VFs
[06:18:41] [PASSED] 30 VFs
[06:18:41] [PASSED] 31 VFs
[06:18:41] [PASSED] 32 VFs
[06:18:41] [PASSED] 33 VFs
[06:18:41] [PASSED] 34 VFs
[06:18:41] [PASSED] 35 VFs
[06:18:41] [PASSED] 36 VFs
[06:18:41] [PASSED] 37 VFs
[06:18:41] [PASSED] 38 VFs
[06:18:41] [PASSED] 39 VFs
[06:18:41] [PASSED] 40 VFs
[06:18:41] [PASSED] 41 VFs
[06:18:41] [PASSED] 42 VFs
[06:18:41] [PASSED] 43 VFs
[06:18:41] [PASSED] 44 VFs
[06:18:41] [PASSED] 45 VFs
[06:18:41] [PASSED] 46 VFs
[06:18:41] [PASSED] 47 VFs
[06:18:41] [PASSED] 48 VFs
[06:18:41] [PASSED] 49 VFs
[06:18:41] [PASSED] 50 VFs
[06:18:41] [PASSED] 51 VFs
[06:18:41] [PASSED] 52 VFs
[06:18:41] [PASSED] 53 VFs
[06:18:41] [PASSED] 54 VFs
[06:18:41] [PASSED] 55 VFs
[06:18:41] [PASSED] 56 VFs
[06:18:41] [PASSED] 57 VFs
[06:18:41] [PASSED] 58 VFs
[06:18:41] [PASSED] 59 VFs
[06:18:41] [PASSED] 60 VFs
[06:18:41] [PASSED] 61 VFs
[06:18:41] [PASSED] 62 VFs
[06:18:41] [PASSED] 63 VFs
[06:18:41] ==================== [PASSED] fair_ggtt ====================
[06:18:41] ======================== fair_vram ========================
[06:18:41] [PASSED] 1 VF
[06:18:41] [PASSED] 2 VFs
[06:18:41] [PASSED] 3 VFs
[06:18:41] [PASSED] 4 VFs
[06:18:41] [PASSED] 5 VFs
[06:18:41] [PASSED] 6 VFs
[06:18:41] [PASSED] 7 VFs
[06:18:41] [PASSED] 8 VFs
[06:18:41] [PASSED] 9 VFs
[06:18:41] [PASSED] 10 VFs
[06:18:41] [PASSED] 11 VFs
[06:18:41] [PASSED] 12 VFs
[06:18:41] [PASSED] 13 VFs
[06:18:41] [PASSED] 14 VFs
[06:18:41] [PASSED] 15 VFs
[06:18:41] [PASSED] 16 VFs
[06:18:41] [PASSED] 17 VFs
[06:18:41] [PASSED] 18 VFs
[06:18:41] [PASSED] 19 VFs
[06:18:41] [PASSED] 20 VFs
[06:18:41] [PASSED] 21 VFs
[06:18:41] [PASSED] 22 VFs
[06:18:41] [PASSED] 23 VFs
[06:18:41] [PASSED] 24 VFs
[06:18:41] [PASSED] 25 VFs
[06:18:41] [PASSED] 26 VFs
[06:18:41] [PASSED] 27 VFs
[06:18:41] [PASSED] 28 VFs
[06:18:41] [PASSED] 29 VFs
[06:18:41] [PASSED] 30 VFs
[06:18:41] [PASSED] 31 VFs
[06:18:41] [PASSED] 32 VFs
[06:18:41] [PASSED] 33 VFs
[06:18:41] [PASSED] 34 VFs
[06:18:41] [PASSED] 35 VFs
[06:18:41] [PASSED] 36 VFs
[06:18:41] [PASSED] 37 VFs
[06:18:41] [PASSED] 38 VFs
[06:18:41] [PASSED] 39 VFs
[06:18:41] [PASSED] 40 VFs
[06:18:41] [PASSED] 41 VFs
[06:18:41] [PASSED] 42 VFs
[06:18:41] [PASSED] 43 VFs
[06:18:41] [PASSED] 44 VFs
[06:18:41] [PASSED] 45 VFs
[06:18:41] [PASSED] 46 VFs
[06:18:41] [PASSED] 47 VFs
[06:18:41] [PASSED] 48 VFs
[06:18:41] [PASSED] 49 VFs
[06:18:41] [PASSED] 50 VFs
[06:18:41] [PASSED] 51 VFs
[06:18:41] [PASSED] 52 VFs
[06:18:41] [PASSED] 53 VFs
[06:18:41] [PASSED] 54 VFs
[06:18:41] [PASSED] 55 VFs
[06:18:41] [PASSED] 56 VFs
[06:18:41] [PASSED] 57 VFs
[06:18:41] [PASSED] 58 VFs
[06:18:41] [PASSED] 59 VFs
[06:18:41] [PASSED] 60 VFs
[06:18:41] [PASSED] 61 VFs
[06:18:41] [PASSED] 62 VFs
[06:18:41] [PASSED] 63 VFs
[06:18:41] ==================== [PASSED] fair_vram ====================
[06:18:41] ================== [PASSED] pf_gt_config ===================
[06:18:41] ===================== lmtt (1 subtest) =====================
[06:18:41] ======================== test_ops =========================
[06:18:41] [PASSED] 2-level
[06:18:41] [PASSED] multi-level
[06:18:41] ==================== [PASSED] test_ops =====================
[06:18:41] ====================== [PASSED] lmtt =======================
[06:18:41] ================= pf_service (11 subtests) =================
[06:18:41] [PASSED] pf_negotiate_any
[06:18:41] [PASSED] pf_negotiate_base_match
[06:18:41] [PASSED] pf_negotiate_base_newer
[06:18:41] [PASSED] pf_negotiate_base_next
[06:18:41] [SKIPPED] pf_negotiate_base_older (no older minor)
[06:18:41] [PASSED] pf_negotiate_base_prev
[06:18:41] [PASSED] pf_negotiate_latest_match
[06:18:41] [PASSED] pf_negotiate_latest_newer
[06:18:41] [PASSED] pf_negotiate_latest_next
[06:18:41] [SKIPPED] pf_negotiate_latest_older (no older minor)
[06:18:41] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[06:18:41] =================== [PASSED] pf_service ====================
[06:18:41] ================= xe_guc_g2g (2 subtests) ==================
[06:18:41] ============== xe_live_guc_g2g_kunit_default ==============
[06:18:41] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[06:18:41] ============== xe_live_guc_g2g_kunit_allmem ===============
[06:18:41] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[06:18:41] =================== [SKIPPED] xe_guc_g2g ===================
[06:18:41] =================== xe_mocs (2 subtests) ===================
[06:18:41] ================ xe_live_mocs_kernel_kunit ================
[06:18:41] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[06:18:41] ================ xe_live_mocs_reset_kunit =================
[06:18:41] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[06:18:41] ==================== [SKIPPED] xe_mocs =====================
[06:18:41] ================= xe_migrate (2 subtests) ==================
[06:18:41] ================= xe_migrate_sanity_kunit =================
[06:18:41] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[06:18:41] ================== xe_validate_ccs_kunit ==================
[06:18:41] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[06:18:41] =================== [SKIPPED] xe_migrate ===================
[06:18:41] ================== xe_dma_buf (1 subtest) ==================
[06:18:41] ==================== xe_dma_buf_kunit =====================
[06:18:41] ================ [SKIPPED] xe_dma_buf_kunit ================
[06:18:41] =================== [SKIPPED] xe_dma_buf ===================
[06:18:41] ================= xe_bo_shrink (1 subtest) =================
[06:18:41] =================== xe_bo_shrink_kunit ====================
[06:18:41] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[06:18:41] ================== [SKIPPED] xe_bo_shrink ==================
[06:18:41] ==================== xe_bo (2 subtests) ====================
[06:18:41] ================== xe_ccs_migrate_kunit ===================
[06:18:41] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[06:18:41] ==================== xe_bo_evict_kunit ====================
[06:18:41] =============== [SKIPPED] xe_bo_evict_kunit ================
[06:18:41] ===================== [SKIPPED] xe_bo ======================
[06:18:41] ==================== args (13 subtests) ====================
[06:18:41] [PASSED] count_args_test
[06:18:41] [PASSED] call_args_example
[06:18:41] [PASSED] call_args_test
[06:18:41] [PASSED] drop_first_arg_example
[06:18:41] [PASSED] drop_first_arg_test
[06:18:41] [PASSED] first_arg_example
[06:18:41] [PASSED] first_arg_test
[06:18:41] [PASSED] last_arg_example
[06:18:41] [PASSED] last_arg_test
[06:18:41] [PASSED] pick_arg_example
[06:18:41] [PASSED] if_args_example
[06:18:41] [PASSED] if_args_test
[06:18:41] [PASSED] sep_comma_example
[06:18:41] ====================== [PASSED] args =======================
[06:18:41] =================== xe_pci (3 subtests) ====================
[06:18:41] ==================== check_graphics_ip ====================
[06:18:41] [PASSED] 12.00 Xe_LP
[06:18:41] [PASSED] 12.10 Xe_LP+
[06:18:41] [PASSED] 12.55 Xe_HPG
[06:18:41] [PASSED] 12.60 Xe_HPC
[06:18:41] [PASSED] 12.70 Xe_LPG
[06:18:41] [PASSED] 12.71 Xe_LPG
[06:18:41] [PASSED] 12.74 Xe_LPG+
[06:18:41] [PASSED] 20.01 Xe2_HPG
[06:18:41] [PASSED] 20.02 Xe2_HPG
[06:18:41] [PASSED] 20.04 Xe2_LPG
[06:18:41] [PASSED] 30.00 Xe3_LPG
[06:18:41] [PASSED] 30.01 Xe3_LPG
[06:18:41] [PASSED] 30.03 Xe3_LPG
[06:18:41] [PASSED] 30.04 Xe3_LPG
[06:18:41] [PASSED] 30.05 Xe3_LPG
[06:18:41] [PASSED] 35.10 Xe3p_LPG
[06:18:41] [PASSED] 35.11 Xe3p_XPC
[06:18:41] ================ [PASSED] check_graphics_ip ================
[06:18:41] ===================== check_media_ip ======================
[06:18:41] [PASSED] 12.00 Xe_M
[06:18:41] [PASSED] 12.55 Xe_HPM
[06:18:41] [PASSED] 13.00 Xe_LPM+
[06:18:41] [PASSED] 13.01 Xe2_HPM
[06:18:41] [PASSED] 20.00 Xe2_LPM
[06:18:41] [PASSED] 30.00 Xe3_LPM
[06:18:41] [PASSED] 30.02 Xe3_LPM
[06:18:41] [PASSED] 35.00 Xe3p_LPM
[06:18:41] [PASSED] 35.03 Xe3p_HPM
[06:18:41] ================= [PASSED] check_media_ip ==================
[06:18:41] =================== check_platform_desc ===================
[06:18:41] [PASSED] 0x9A60 (TIGERLAKE)
[06:18:41] [PASSED] 0x9A68 (TIGERLAKE)
[06:18:41] [PASSED] 0x9A70 (TIGERLAKE)
[06:18:41] [PASSED] 0x9A40 (TIGERLAKE)
[06:18:41] [PASSED] 0x9A49 (TIGERLAKE)
[06:18:41] [PASSED] 0x9A59 (TIGERLAKE)
[06:18:41] [PASSED] 0x9A78 (TIGERLAKE)
[06:18:41] [PASSED] 0x9AC0 (TIGERLAKE)
[06:18:41] [PASSED] 0x9AC9 (TIGERLAKE)
[06:18:41] [PASSED] 0x9AD9 (TIGERLAKE)
[06:18:41] [PASSED] 0x9AF8 (TIGERLAKE)
[06:18:41] [PASSED] 0x4C80 (ROCKETLAKE)
[06:18:41] [PASSED] 0x4C8A (ROCKETLAKE)
[06:18:41] [PASSED] 0x4C8B (ROCKETLAKE)
[06:18:41] [PASSED] 0x4C8C (ROCKETLAKE)
[06:18:41] [PASSED] 0x4C90 (ROCKETLAKE)
[06:18:41] [PASSED] 0x4C9A (ROCKETLAKE)
[06:18:41] [PASSED] 0x4680 (ALDERLAKE_S)
[06:18:41] [PASSED] 0x4682 (ALDERLAKE_S)
[06:18:41] [PASSED] 0x4688 (ALDERLAKE_S)
[06:18:41] [PASSED] 0x468A (ALDERLAKE_S)
[06:18:41] [PASSED] 0x468B (ALDERLAKE_S)
[06:18:41] [PASSED] 0x4690 (ALDERLAKE_S)
[06:18:41] [PASSED] 0x4692 (ALDERLAKE_S)
[06:18:41] [PASSED] 0x4693 (ALDERLAKE_S)
[06:18:41] [PASSED] 0x46A0 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46A1 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46A2 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46A3 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46A6 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46A8 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46AA (ALDERLAKE_P)
[06:18:41] [PASSED] 0x462A (ALDERLAKE_P)
[06:18:41] [PASSED] 0x4626 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x4628 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46B0 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46B1 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46B2 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46B3 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46C0 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46C1 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46C2 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46C3 (ALDERLAKE_P)
[06:18:41] [PASSED] 0x46D0 (ALDERLAKE_N)
[06:18:41] [PASSED] 0x46D1 (ALDERLAKE_N)
[06:18:41] [PASSED] 0x46D2 (ALDERLAKE_N)
[06:18:41] [PASSED] 0x46D3 (ALDERLAKE_N)
[06:18:41] [PASSED] 0x46D4 (ALDERLAKE_N)
[06:18:41] [PASSED] 0xA721 (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7A1 (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7A9 (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7AC (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7AD (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA720 (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7A0 (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7A8 (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7AA (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA7AB (ALDERLAKE_P)
[06:18:41] [PASSED] 0xA780 (ALDERLAKE_S)
[06:18:41] [PASSED] 0xA781 (ALDERLAKE_S)
[06:18:41] [PASSED] 0xA782 (ALDERLAKE_S)
[06:18:41] [PASSED] 0xA783 (ALDERLAKE_S)
[06:18:41] [PASSED] 0xA788 (ALDERLAKE_S)
[06:18:41] [PASSED] 0xA789 (ALDERLAKE_S)
[06:18:41] [PASSED] 0xA78A (ALDERLAKE_S)
[06:18:41] [PASSED] 0xA78B (ALDERLAKE_S)
[06:18:41] [PASSED] 0x4905 (DG1)
[06:18:41] [PASSED] 0x4906 (DG1)
[06:18:41] [PASSED] 0x4907 (DG1)
[06:18:41] [PASSED] 0x4908 (DG1)
[06:18:41] [PASSED] 0x4909 (DG1)
[06:18:41] [PASSED] 0x56C0 (DG2)
[06:18:41] [PASSED] 0x56C2 (DG2)
[06:18:41] [PASSED] 0x56C1 (DG2)
[06:18:41] [PASSED] 0x7D51 (METEORLAKE)
[06:18:41] [PASSED] 0x7DD1 (METEORLAKE)
[06:18:41] [PASSED] 0x7D41 (METEORLAKE)
[06:18:41] [PASSED] 0x7D67 (METEORLAKE)
[06:18:41] [PASSED] 0xB640 (METEORLAKE)
[06:18:41] [PASSED] 0x56A0 (DG2)
[06:18:41] [PASSED] 0x56A1 (DG2)
[06:18:41] [PASSED] 0x56A2 (DG2)
[06:18:41] [PASSED] 0x56BE (DG2)
[06:18:41] [PASSED] 0x56BF (DG2)
[06:18:41] [PASSED] 0x5690 (DG2)
[06:18:41] [PASSED] 0x5691 (DG2)
[06:18:41] [PASSED] 0x5692 (DG2)
[06:18:41] [PASSED] 0x56A5 (DG2)
[06:18:41] [PASSED] 0x56A6 (DG2)
[06:18:41] [PASSED] 0x56B0 (DG2)
[06:18:41] [PASSED] 0x56B1 (DG2)
[06:18:41] [PASSED] 0x56BA (DG2)
[06:18:41] [PASSED] 0x56BB (DG2)
[06:18:41] [PASSED] 0x56BC (DG2)
[06:18:41] [PASSED] 0x56BD (DG2)
[06:18:41] [PASSED] 0x5693 (DG2)
[06:18:41] [PASSED] 0x5694 (DG2)
[06:18:41] [PASSED] 0x5695 (DG2)
[06:18:41] [PASSED] 0x56A3 (DG2)
[06:18:41] [PASSED] 0x56A4 (DG2)
[06:18:41] [PASSED] 0x56B2 (DG2)
[06:18:41] [PASSED] 0x56B3 (DG2)
[06:18:41] [PASSED] 0x5696 (DG2)
[06:18:41] [PASSED] 0x5697 (DG2)
[06:18:41] [PASSED] 0xB69 (PVC)
[06:18:41] [PASSED] 0xB6E (PVC)
[06:18:41] [PASSED] 0xBD4 (PVC)
[06:18:41] [PASSED] 0xBD5 (PVC)
[06:18:41] [PASSED] 0xBD6 (PVC)
[06:18:41] [PASSED] 0xBD7 (PVC)
[06:18:41] [PASSED] 0xBD8 (PVC)
[06:18:41] [PASSED] 0xBD9 (PVC)
[06:18:41] [PASSED] 0xBDA (PVC)
[06:18:41] [PASSED] 0xBDB (PVC)
[06:18:41] [PASSED] 0xBE0 (PVC)
[06:18:41] [PASSED] 0xBE1 (PVC)
[06:18:41] [PASSED] 0xBE5 (PVC)
[06:18:41] [PASSED] 0x7D40 (METEORLAKE)
[06:18:41] [PASSED] 0x7D45 (METEORLAKE)
[06:18:41] [PASSED] 0x7D55 (METEORLAKE)
[06:18:41] [PASSED] 0x7D60 (METEORLAKE)
[06:18:41] [PASSED] 0x7DD5 (METEORLAKE)
[06:18:41] [PASSED] 0x6420 (LUNARLAKE)
[06:18:41] [PASSED] 0x64A0 (LUNARLAKE)
[06:18:41] [PASSED] 0x64B0 (LUNARLAKE)
[06:18:41] [PASSED] 0xE202 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE209 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE20B (BATTLEMAGE)
[06:18:41] [PASSED] 0xE20C (BATTLEMAGE)
[06:18:41] [PASSED] 0xE20D (BATTLEMAGE)
[06:18:41] [PASSED] 0xE210 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE211 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE212 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE216 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE220 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE221 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE222 (BATTLEMAGE)
[06:18:41] [PASSED] 0xE223 (BATTLEMAGE)
[06:18:41] [PASSED] 0xB080 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB081 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB082 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB083 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB084 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB085 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB086 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB087 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB08F (PANTHERLAKE)
[06:18:41] [PASSED] 0xB090 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB0A0 (PANTHERLAKE)
[06:18:41] [PASSED] 0xB0B0 (PANTHERLAKE)
[06:18:41] [PASSED] 0xFD80 (PANTHERLAKE)
[06:18:41] [PASSED] 0xFD81 (PANTHERLAKE)
[06:18:41] [PASSED] 0xD740 (NOVALAKE_S)
[06:18:41] [PASSED] 0xD741 (NOVALAKE_S)
[06:18:41] [PASSED] 0xD742 (NOVALAKE_S)
[06:18:41] [PASSED] 0xD743 (NOVALAKE_S)
[06:18:41] [PASSED] 0xD745 (NOVALAKE_S)
[06:18:41] [PASSED] 0xD74A (NOVALAKE_S)
[06:18:41] [PASSED] 0xD74B (NOVALAKE_S)
[06:18:41] [PASSED] 0x674C (CRESCENTISLAND)
[06:18:41] [PASSED] 0x674D (CRESCENTISLAND)
[06:18:41] [PASSED] 0x674E (CRESCENTISLAND)
[06:18:41] [PASSED] 0x674F (CRESCENTISLAND)
[06:18:41] [PASSED] 0x6750 (CRESCENTISLAND)
[06:18:41] [PASSED] 0xD750 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD751 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD752 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD753 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD754 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD755 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD756 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD757 (NOVALAKE_P)
[06:18:41] [PASSED] 0xD75F (NOVALAKE_P)
[06:18:41] =============== [PASSED] check_platform_desc ===============
[06:18:41] ===================== [PASSED] xe_pci ======================
[06:18:41] ============= xe_rtp_tables_test (5 subtests) ==============
[06:18:41] ================== xe_rtp_table_gt_test ===================
[06:18:41] [PASSED] gt_was/14011060649
[06:18:41] [PASSED] gt_was/14011059788
[06:18:41] [PASSED] gt_was/14015795083
[06:18:41] [PASSED] gt_was/16021867713
[06:18:41] [PASSED] gt_was/14019449301
[06:18:41] [PASSED] gt_was/16028005424
[06:18:41] [PASSED] gt_was/14026578760
[06:18:41] [PASSED] gt_was/1409420604
[06:18:41] [PASSED] gt_was/1408615072
[06:18:41] [PASSED] gt_was/22010523718
[06:18:41] [PASSED] gt_was/14011006942
[06:18:41] [PASSED] gt_was/14014830051
[06:18:41] [PASSED] gt_was/18018781329
[06:18:41] [PASSED] gt_was/1509235366
[06:18:41] [PASSED] gt_was/18018781329
[06:18:41] [PASSED] gt_was/16016694945
[06:18:41] [PASSED] gt_was/14018575942
[06:18:41] [PASSED] gt_was/22016670082
[06:18:41] [PASSED] gt_was/22016670082
[06:18:41] [PASSED] gt_was/14017421178
[06:18:41] [PASSED] gt_was/16025250150
[06:18:41] [PASSED] gt_was/14021871409
[06:18:41] [PASSED] gt_was/16021865536
[06:18:41] [PASSED] gt_was/14021486841
[06:18:41] [PASSED] gt_was/14025160223
[06:18:41] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[06:18:41] [PASSED] gt_was/14025635424
[06:18:41] [PASSED] gt_was/16028005424
[06:18:41] ============== [PASSED] xe_rtp_table_gt_test ===============
[06:18:41] ================== xe_rtp_table_gt_test ===================
[06:18:41] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[06:18:41] [PASSED] gt_tunings/Tuning: 32B Access Enable
[06:18:41] [PASSED] gt_tunings/Tuning: L3 cache
[06:18:41] [PASSED] gt_tunings/Tuning: L3 cache - media
[06:18:41] [PASSED] gt_tunings/Tuning: Compression Overfetch
[06:18:41] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[06:18:41] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[06:18:41] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[06:18:41] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[06:18:41] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[06:18:41] [PASSED] gt_tunings/Tuning: Stateless compression control
[06:18:41] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[06:18:41] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[06:18:41] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[06:18:41] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[06:18:41] ============== [PASSED] xe_rtp_table_gt_test ===============
[06:18:41] ================== xe_rtp_table_oob_test ==================
[06:18:41] [PASSED] oob_was/1607983814
[06:18:41] [PASSED] oob_was/16010904313
[06:18:41] [PASSED] oob_was/18022495364
[06:18:41] [PASSED] oob_was/22012773006
[06:18:41] [PASSED] oob_was/14014475959
[06:18:41] [PASSED] oob_was/22011391025
[06:18:41] [PASSED] oob_was/22012727170
[06:18:41] [PASSED] oob_was/22012727685
[06:18:41] [PASSED] oob_was/22016596838
[06:18:41] [PASSED] oob_was/18020744125
[06:18:41] [PASSED] oob_was/1409600907
[06:18:41] [PASSED] oob_was/22014953428
[06:18:41] [PASSED] oob_was/16017236439
[06:18:41] [PASSED] oob_was/14019821291
[06:18:41] [PASSED] oob_was/14015076503
[06:18:41] [PASSED] oob_was/14018913170
[06:18:41] [PASSED] oob_was/14018094691
[06:18:41] [PASSED] oob_was/18024947630
[06:18:41] [PASSED] oob_was/16022287689
[06:18:41] [PASSED] oob_was/13011645652
[06:18:41] [PASSED] oob_was/14022293748
[06:18:41] [PASSED] oob_was/22019794406
[06:18:41] [PASSED] oob_was/22019338487
[06:18:41] [PASSED] oob_was/16023588340
[06:18:41] [PASSED] oob_was/14019789679
[06:18:41] [PASSED] oob_was/14022866841
[06:18:41] [PASSED] oob_was/16021333562
[06:18:41] [PASSED] oob_was/14016712196
[06:18:41] [PASSED] oob_was/14015568240
[06:18:41] [PASSED] oob_was/18013179988
[06:18:41] [PASSED] oob_was/1508761755
[06:18:41] [PASSED] oob_was/16023105232
[06:18:41] [PASSED] oob_was/16026508708
[06:18:41] [PASSED] oob_was/14020001231
[06:18:41] [PASSED] oob_was/16023683509
[06:18:41] [PASSED] oob_was/14025515070
[06:18:41] [PASSED] oob_was/15015404425_disable
[06:18:41] [PASSED] oob_was/16026007364
[06:18:41] [PASSED] oob_was/14020316580
[06:18:41] [PASSED] oob_was/14025883347
[06:18:41] [PASSED] oob_was/16029380221
[06:18:41] ============== [PASSED] xe_rtp_table_oob_test ==============
[06:18:41] ================ xe_rtp_table_dev_oob_test ================
[06:18:41] [PASSED] device_oob_was/22010954014
[06:18:41] [PASSED] device_oob_was/15015404425
[06:18:41] [PASSED] device_oob_was/22019338487_display
[06:18:41] [PASSED] device_oob_was/14022085890
[06:18:41] [PASSED] device_oob_was/14026539277
[06:18:41] [PASSED] device_oob_was/14026633728
[06:18:41] [PASSED] device_oob_was/14026746987
[06:18:41] [PASSED] device_oob_was/14026779378
[06:18:41] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[06:18:41] ========== xe_rtp_table_missing_upper_bound_test ==========
[06:18:41] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[06:18:41] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[06:18:41] [PASSED] register_whitelist/1806527549
[06:18:41] [PASSED] register_whitelist/allow_read_ctx_timestamp
[06:18:41] [PASSED] register_whitelist/allow_read_queue_timestamp
[06:18:41] [PASSED] register_whitelist/16014440446
[06:18:41] [PASSED] register_whitelist/16017236439
[06:18:41] [PASSED] register_whitelist/16020183090
[06:18:41] [PASSED] register_whitelist/14024997852
[06:18:41] [PASSED] register_whitelist/14024997852
[06:18:41] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[06:18:41] =============== [PASSED] xe_rtp_tables_test ================
[06:18:41] =================== xe_rtp (3 subtests) ====================
[06:18:41] =================== xe_rtp_rules_tests ====================
[06:18:41] [PASSED] no
[06:18:41] [PASSED] yes
[06:18:41] [PASSED] no-and-no
[06:18:41] [PASSED] no-and-yes
[06:18:41] [PASSED] yes-and-no
[06:18:41] [PASSED] yes-and-yes
[06:18:41] [PASSED] no-or-no
[06:18:41] [PASSED] no-or-yes
[06:18:41] [PASSED] yes-or-no
[06:18:41] [PASSED] yes-or-yes
[06:18:41] [PASSED] no-yes-or-yes-no
[06:18:41] [PASSED] no-yes-or-yes-yes
[06:18:41] [PASSED] yes-yes-or-no-yes
[06:18:41] [PASSED] yes-yes-or-yes-yes
[06:18:41] [PASSED] no-no-or-yes-or-no
[06:18:41] [PASSED] or
[06:18:41] [PASSED] or-yes
[06:18:41] [PASSED] or-no
[06:18:41] [PASSED] yes-or
[06:18:41] [PASSED] no-or
[06:18:41] [PASSED] no-or-or-yes
[06:18:41] [PASSED] yes-or-or-no
[06:18:41] [PASSED] no-or-or-no
[06:18:41] [PASSED] missing-context-engine-class
[06:18:41] [PASSED] missing-context-engine-class-or-yes
[06:18:41] [PASSED] missing-context-engine-class-or-or-yes
[06:18:41] =============== [PASSED] xe_rtp_rules_tests ================
[06:18:41] =============== xe_rtp_process_to_sr_tests ================
[06:18:41] [PASSED] coalesce-same-reg
[06:18:41] [PASSED] coalesce-same-reg-literal-and-func
[06:18:41] [PASSED] no-match-no-add
[06:18:41] [PASSED] two-regs-two-entries
[06:18:41] [PASSED] clr-one-set-other
[06:18:41] [PASSED] set-field
[06:18:41] [PASSED] conflict-duplicate
[06:18:41] [PASSED] conflict-not-disjoint
[06:18:41] [PASSED] conflict-not-disjoint-literal-and-func
[06:18:41] [PASSED] conflict-reg-type
[06:18:41] [PASSED] bad-mcr-reg-forced-to-regular
[06:18:41] [PASSED] bad-regular-reg-forced-to-mcr
[06:18:41] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[06:18:41] ================== xe_rtp_process_tests ===================
[06:18:41] [PASSED] active1
[06:18:41] [PASSED] active2
[06:18:41] [PASSED] active-inactive
[06:18:41] [PASSED] inactive-active
[06:18:41] [PASSED] inactive-active-inactive
[06:18:41] [PASSED] inactive-inactive-inactive
[06:18:41] ============== [PASSED] xe_rtp_process_tests ===============
[06:18:41] ===================== [PASSED] xe_rtp ======================
[06:18:41] ==================== xe_wa (1 subtest) =====================
[06:18:41] ======================== xe_wa_gt =========================
[06:18:41] [PASSED] TIGERLAKE B0
[06:18:41] [PASSED] DG1 A0
[06:18:41] [PASSED] DG1 B0
[06:18:41] [PASSED] ALDERLAKE_S A0
[06:18:41] [PASSED] ALDERLAKE_S B0
[06:18:41] [PASSED] ALDERLAKE_S C0
[06:18:41] [PASSED] ALDERLAKE_S D0
[06:18:41] [PASSED] ALDERLAKE_P A0
[06:18:41] [PASSED] ALDERLAKE_P B0
[06:18:41] [PASSED] ALDERLAKE_P C0
[06:18:41] [PASSED] ALDERLAKE_S RPLS D0
[06:18:41] [PASSED] ALDERLAKE_P RPLU E0
[06:18:41] [PASSED] DG2 G10 C0
[06:18:41] [PASSED] DG2 G11 B1
[06:18:41] [PASSED] DG2 G12 A1
[06:18:41] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[06:18:41] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[06:18:41] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[06:18:41] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[06:18:41] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[06:18:41] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[06:18:41] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[06:18:41] ==================== [PASSED] xe_wa_gt =====================
[06:18:41] ====================== [PASSED] xe_wa ======================
[06:18:41] ============================================================
[06:18:41] Testing complete. Ran 729 tests: passed: 711, skipped: 18
[06:18:41] Elapsed time: 36.799s total, 4.461s configuring, 31.672s building, 0.647s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[06:18:41] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[06:18:43] 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
[06:19:08] Starting KUnit Kernel (1/1)...
[06:19:08] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[06:19:08] ============ drm_test_pick_cmdline (2 subtests) ============
[06:19:08] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[06:19:08] =============== drm_test_pick_cmdline_named ===============
[06:19:08] [PASSED] NTSC
[06:19:08] [PASSED] NTSC-J
[06:19:08] [PASSED] PAL
[06:19:08] [PASSED] PAL-M
[06:19:08] =========== [PASSED] drm_test_pick_cmdline_named ===========
[06:19:08] ============== [PASSED] drm_test_pick_cmdline ==============
[06:19:08] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[06:19:08] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[06:19:08] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[06:19:08] =========== drm_validate_clone_mode (2 subtests) ===========
[06:19:08] ============== drm_test_check_in_clone_mode ===============
[06:19:08] [PASSED] in_clone_mode
[06:19:08] [PASSED] not_in_clone_mode
[06:19:08] ========== [PASSED] drm_test_check_in_clone_mode ===========
[06:19:08] =============== drm_test_check_valid_clones ===============
[06:19:08] [PASSED] not_in_clone_mode
[06:19:08] [PASSED] valid_clone
[06:19:08] [PASSED] invalid_clone
[06:19:08] =========== [PASSED] drm_test_check_valid_clones ===========
[06:19:08] ============= [PASSED] drm_validate_clone_mode =============
[06:19:08] ============= drm_validate_modeset (1 subtest) =============
[06:19:08] [PASSED] drm_test_check_connector_changed_modeset
[06:19:08] ============== [PASSED] drm_validate_modeset ===============
[06:19:08] ====== drm_test_bridge_get_current_state (2 subtests) ======
[06:19:08] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[06:19:08] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[06:19:08] ======== [PASSED] drm_test_bridge_get_current_state ========
[06:19:08] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ======
[06:19:08] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[06:19:08] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[06:19:08] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[06:19:08] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[06:19:08] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[06:19:08] ============== drm_bridge_alloc (2 subtests) ===============
[06:19:08] [PASSED] drm_test_drm_bridge_alloc_basic
[06:19:08] [PASSED] drm_test_drm_bridge_alloc_get_put
[06:19:08] ================ [PASSED] drm_bridge_alloc =================
[06:19:08] ============= drm_bridge_bus_fmt (5 subtests) ==============
[06:19:08] [PASSED] drm_test_bridge_rgb_yuv_rgb
[06:19:08] [PASSED] drm_test_bridge_must_convert_to_yuv444
[06:19:08] [PASSED] drm_test_bridge_hdmi_auto_rgb
[06:19:08] [PASSED] drm_test_bridge_auto_first
[06:19:08] [PASSED] drm_test_bridge_rgb_yuv_no_path
[06:19:08] =============== [PASSED] drm_bridge_bus_fmt ================
[06:19:08] ============= drm_cmdline_parser (40 subtests) =============
[06:19:08] [PASSED] drm_test_cmdline_force_d_only
[06:19:08] [PASSED] drm_test_cmdline_force_D_only_dvi
[06:19:08] [PASSED] drm_test_cmdline_force_D_only_hdmi
[06:19:08] [PASSED] drm_test_cmdline_force_D_only_not_digital
[06:19:08] [PASSED] drm_test_cmdline_force_e_only
[06:19:08] [PASSED] drm_test_cmdline_res
[06:19:08] [PASSED] drm_test_cmdline_res_vesa
[06:19:08] [PASSED] drm_test_cmdline_res_vesa_rblank
[06:19:08] [PASSED] drm_test_cmdline_res_rblank
[06:19:08] [PASSED] drm_test_cmdline_res_bpp
[06:19:08] [PASSED] drm_test_cmdline_res_refresh
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[06:19:08] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[06:19:08] [PASSED] drm_test_cmdline_res_margins_force_on
[06:19:08] [PASSED] drm_test_cmdline_res_vesa_margins
[06:19:08] [PASSED] drm_test_cmdline_name
[06:19:08] [PASSED] drm_test_cmdline_name_bpp
[06:19:08] [PASSED] drm_test_cmdline_name_option
[06:19:08] [PASSED] drm_test_cmdline_name_bpp_option
[06:19:08] [PASSED] drm_test_cmdline_rotate_0
[06:19:08] [PASSED] drm_test_cmdline_rotate_90
[06:19:08] [PASSED] drm_test_cmdline_rotate_180
[06:19:08] [PASSED] drm_test_cmdline_rotate_270
[06:19:08] [PASSED] drm_test_cmdline_hmirror
[06:19:08] [PASSED] drm_test_cmdline_vmirror
[06:19:08] [PASSED] drm_test_cmdline_margin_options
[06:19:08] [PASSED] drm_test_cmdline_multiple_options
[06:19:08] [PASSED] drm_test_cmdline_bpp_extra_and_option
[06:19:08] [PASSED] drm_test_cmdline_extra_and_option
[06:19:08] [PASSED] drm_test_cmdline_freestanding_options
[06:19:08] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[06:19:08] [PASSED] drm_test_cmdline_panel_orientation
[06:19:08] ================ drm_test_cmdline_invalid =================
[06:19:08] [PASSED] margin_only
[06:19:08] [PASSED] interlace_only
[06:19:08] [PASSED] res_missing_x
[06:19:08] [PASSED] res_missing_y
[06:19:08] [PASSED] res_bad_y
[06:19:08] [PASSED] res_missing_y_bpp
[06:19:08] [PASSED] res_bad_bpp
[06:19:08] [PASSED] res_bad_refresh
[06:19:08] [PASSED] res_bpp_refresh_force_on_off
[06:19:08] [PASSED] res_invalid_mode
[06:19:08] [PASSED] res_bpp_wrong_place_mode
[06:19:08] [PASSED] name_bpp_refresh
[06:19:08] [PASSED] name_refresh
[06:19:08] [PASSED] name_refresh_wrong_mode
[06:19:08] [PASSED] name_refresh_invalid_mode
[06:19:08] [PASSED] rotate_multiple
[06:19:08] [PASSED] rotate_invalid_val
[06:19:08] [PASSED] rotate_truncated
[06:19:08] [PASSED] invalid_option
[06:19:08] [PASSED] invalid_tv_option
[06:19:08] [PASSED] truncated_tv_option
[06:19:08] ============ [PASSED] drm_test_cmdline_invalid =============
[06:19:08] =============== drm_test_cmdline_tv_options ===============
[06:19:08] [PASSED] NTSC
[06:19:08] [PASSED] NTSC_443
[06:19:08] [PASSED] NTSC_J
[06:19:08] [PASSED] PAL
[06:19:08] [PASSED] PAL_M
[06:19:08] [PASSED] PAL_N
[06:19:08] [PASSED] SECAM
[06:19:08] [PASSED] MONO_525
[06:19:08] [PASSED] MONO_625
[06:19:08] =========== [PASSED] drm_test_cmdline_tv_options ===========
[06:19:08] =============== [PASSED] drm_cmdline_parser ================
[06:19:08] ========== drmm_connector_hdmi_init (20 subtests) ==========
[06:19:08] [PASSED] drm_test_connector_hdmi_init_valid
[06:19:08] [PASSED] drm_test_connector_hdmi_init_bpc_8
[06:19:08] [PASSED] drm_test_connector_hdmi_init_bpc_10
[06:19:08] [PASSED] drm_test_connector_hdmi_init_bpc_12
[06:19:08] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[06:19:08] [PASSED] drm_test_connector_hdmi_init_bpc_null
[06:19:08] [PASSED] drm_test_connector_hdmi_init_formats_empty
[06:19:08] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[06:19:08] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[06:19:08] [PASSED] supported_formats=0x9 yuv420_allowed=1
[06:19:08] [PASSED] supported_formats=0x9 yuv420_allowed=0
[06:19:08] [PASSED] supported_formats=0x5 yuv420_allowed=1
[06:19:08] [PASSED] supported_formats=0x5 yuv420_allowed=0
[06:19:08] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[06:19:08] [PASSED] drm_test_connector_hdmi_init_null_ddc
[06:19:08] [PASSED] drm_test_connector_hdmi_init_null_product
[06:19:08] [PASSED] drm_test_connector_hdmi_init_null_vendor
[06:19:08] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[06:19:08] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[06:19:08] [PASSED] drm_test_connector_hdmi_init_product_valid
[06:19:08] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[06:19:08] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[06:19:08] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[06:19:08] ========= drm_test_connector_hdmi_init_type_valid =========
[06:19:08] [PASSED] HDMI-A
[06:19:08] [PASSED] HDMI-B
[06:19:08] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[06:19:08] ======== drm_test_connector_hdmi_init_type_invalid ========
[06:19:08] [PASSED] Unknown
[06:19:08] [PASSED] VGA
[06:19:08] [PASSED] DVI-I
[06:19:08] [PASSED] DVI-D
[06:19:08] [PASSED] DVI-A
[06:19:08] [PASSED] Composite
[06:19:08] [PASSED] SVIDEO
[06:19:08] [PASSED] LVDS
[06:19:08] [PASSED] Component
[06:19:08] [PASSED] DIN
[06:19:08] [PASSED] DP
[06:19:08] [PASSED] TV
[06:19:08] [PASSED] eDP
[06:19:08] [PASSED] Virtual
[06:19:08] [PASSED] DSI
[06:19:08] [PASSED] DPI
[06:19:08] [PASSED] Writeback
[06:19:08] [PASSED] SPI
[06:19:08] [PASSED] USB
[06:19:08] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[06:19:08] ============ [PASSED] drmm_connector_hdmi_init =============
[06:19:08] ============= drmm_connector_init (3 subtests) =============
[06:19:08] [PASSED] drm_test_drmm_connector_init
[06:19:08] [PASSED] drm_test_drmm_connector_init_null_ddc
[06:19:08] ========= drm_test_drmm_connector_init_type_valid =========
[06:19:08] [PASSED] Unknown
[06:19:08] [PASSED] VGA
[06:19:08] [PASSED] DVI-I
[06:19:08] [PASSED] DVI-D
[06:19:08] [PASSED] DVI-A
[06:19:08] [PASSED] Composite
[06:19:08] [PASSED] SVIDEO
[06:19:08] [PASSED] LVDS
[06:19:08] [PASSED] Component
[06:19:08] [PASSED] DIN
[06:19:08] [PASSED] DP
[06:19:08] [PASSED] HDMI-A
[06:19:08] [PASSED] HDMI-B
[06:19:08] [PASSED] TV
[06:19:08] [PASSED] eDP
[06:19:08] [PASSED] Virtual
[06:19:08] [PASSED] DSI
[06:19:08] [PASSED] DPI
[06:19:08] [PASSED] Writeback
[06:19:08] [PASSED] SPI
[06:19:08] [PASSED] USB
[06:19:08] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[06:19:08] =============== [PASSED] drmm_connector_init ===============
[06:19:08] ========= drm_connector_dynamic_init (6 subtests) ==========
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_init
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_init_properties
[06:19:08] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[06:19:08] [PASSED] Unknown
[06:19:08] [PASSED] VGA
[06:19:08] [PASSED] DVI-I
[06:19:08] [PASSED] DVI-D
[06:19:08] [PASSED] DVI-A
[06:19:08] [PASSED] Composite
[06:19:08] [PASSED] SVIDEO
[06:19:08] [PASSED] LVDS
[06:19:08] [PASSED] Component
[06:19:08] [PASSED] DIN
[06:19:08] [PASSED] DP
[06:19:08] [PASSED] HDMI-A
[06:19:08] [PASSED] HDMI-B
[06:19:08] [PASSED] TV
[06:19:08] [PASSED] eDP
[06:19:08] [PASSED] Virtual
[06:19:08] [PASSED] DSI
[06:19:08] [PASSED] DPI
[06:19:08] [PASSED] Writeback
[06:19:08] [PASSED] SPI
[06:19:08] [PASSED] USB
[06:19:08] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[06:19:08] ======== drm_test_drm_connector_dynamic_init_name =========
[06:19:08] [PASSED] Unknown
[06:19:08] [PASSED] VGA
[06:19:08] [PASSED] DVI-I
[06:19:08] [PASSED] DVI-D
[06:19:08] [PASSED] DVI-A
[06:19:08] [PASSED] Composite
[06:19:08] [PASSED] SVIDEO
[06:19:08] [PASSED] LVDS
[06:19:08] [PASSED] Component
[06:19:08] [PASSED] DIN
[06:19:08] [PASSED] DP
[06:19:08] [PASSED] HDMI-A
[06:19:08] [PASSED] HDMI-B
[06:19:08] [PASSED] TV
[06:19:08] [PASSED] eDP
[06:19:08] [PASSED] Virtual
[06:19:08] [PASSED] DSI
[06:19:08] [PASSED] DPI
[06:19:08] [PASSED] Writeback
[06:19:08] [PASSED] SPI
[06:19:08] [PASSED] USB
[06:19:08] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[06:19:08] =========== [PASSED] drm_connector_dynamic_init ============
[06:19:08] ==== drm_connector_dynamic_register_early (4 subtests) =====
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[06:19:08] ====== [PASSED] drm_connector_dynamic_register_early =======
[06:19:08] ======= drm_connector_dynamic_register (7 subtests) ========
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[06:19:08] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[06:19:08] ========= [PASSED] drm_connector_dynamic_register ==========
[06:19:08] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[06:19:08] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[06:19:08] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[06:19:08] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[06:19:08] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[06:19:08] ========== drm_test_get_tv_mode_from_name_valid ===========
[06:19:08] [PASSED] NTSC
[06:19:08] [PASSED] NTSC-443
[06:19:08] [PASSED] NTSC-J
[06:19:08] [PASSED] PAL
[06:19:08] [PASSED] PAL-M
[06:19:08] [PASSED] PAL-N
[06:19:08] [PASSED] SECAM
[06:19:08] [PASSED] Mono
[06:19:08] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[06:19:08] [PASSED] drm_test_get_tv_mode_from_name_truncated
[06:19:08] ============ [PASSED] drm_get_tv_mode_from_name ============
[06:19:08] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[06:19:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[06:19:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[06:19:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[06:19:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[06:19:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[06:19:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[06:19:08] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[06:19:08] [PASSED] VIC 96
[06:19:08] [PASSED] VIC 97
[06:19:08] [PASSED] VIC 101
[06:19:08] [PASSED] VIC 102
[06:19:08] [PASSED] VIC 106
[06:19:08] [PASSED] VIC 107
[06:19:08] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[06:19:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[06:19:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[06:19:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[06:19:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[06:19:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[06:19:08] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[06:19:08] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[06:19:08] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[06:19:08] [PASSED] Automatic
[06:19:08] [PASSED] Full
[06:19:08] [PASSED] Limited 16:235
[06:19:08] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[06:19:08] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[06:19:08] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[06:19:08] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[06:19:08] === drm_test_drm_hdmi_connector_get_output_format_name ====
[06:19:08] [PASSED] RGB
[06:19:08] [PASSED] YUV 4:2:0
[06:19:08] [PASSED] YUV 4:2:2
[06:19:08] [PASSED] YUV 4:4:4
[06:19:08] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[06:19:08] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[06:19:08] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[06:19:08] ============= drm_damage_helper (21 subtests) ==============
[06:19:08] [PASSED] drm_test_damage_iter_no_damage
[06:19:08] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[06:19:08] [PASSED] drm_test_damage_iter_no_damage_src_moved
[06:19:08] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[06:19:08] [PASSED] drm_test_damage_iter_no_damage_not_visible
[06:19:08] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[06:19:08] [PASSED] drm_test_damage_iter_no_damage_no_fb
[06:19:08] [PASSED] drm_test_damage_iter_simple_damage
[06:19:08] [PASSED] drm_test_damage_iter_single_damage
[06:19:08] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[06:19:08] [PASSED] drm_test_damage_iter_single_damage_outside_src
[06:19:08] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[06:19:08] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[06:19:08] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[06:19:08] [PASSED] drm_test_damage_iter_single_damage_src_moved
[06:19:08] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[06:19:08] [PASSED] drm_test_damage_iter_damage
[06:19:08] [PASSED] drm_test_damage_iter_damage_one_intersect
[06:19:08] [PASSED] drm_test_damage_iter_damage_one_outside
[06:19:08] [PASSED] drm_test_damage_iter_damage_src_moved
[06:19:08] [PASSED] drm_test_damage_iter_damage_not_visible
[06:19:08] ================ [PASSED] drm_damage_helper ================
[06:19:08] ============== drm_dp_mst_helper (3 subtests) ==============
[06:19:08] ============== drm_test_dp_mst_calc_pbn_mode ==============
[06:19:08] [PASSED] Clock 154000 BPP 30 DSC disabled
[06:19:08] [PASSED] Clock 234000 BPP 30 DSC disabled
[06:19:08] [PASSED] Clock 297000 BPP 24 DSC disabled
[06:19:08] [PASSED] Clock 332880 BPP 24 DSC enabled
[06:19:08] [PASSED] Clock 324540 BPP 24 DSC enabled
[06:19:08] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[06:19:08] ============== drm_test_dp_mst_calc_pbn_div ===============
[06:19:08] [PASSED] Link rate 2000000 lane count 4
[06:19:08] [PASSED] Link rate 2000000 lane count 2
[06:19:08] [PASSED] Link rate 2000000 lane count 1
[06:19:08] [PASSED] Link rate 1350000 lane count 4
[06:19:08] [PASSED] Link rate 1350000 lane count 2
[06:19:08] [PASSED] Link rate 1350000 lane count 1
[06:19:08] [PASSED] Link rate 1000000 lane count 4
[06:19:08] [PASSED] Link rate 1000000 lane count 2
[06:19:08] [PASSED] Link rate 1000000 lane count 1
[06:19:08] [PASSED] Link rate 810000 lane count 4
[06:19:08] [PASSED] Link rate 810000 lane count 2
[06:19:08] [PASSED] Link rate 810000 lane count 1
[06:19:08] [PASSED] Link rate 540000 lane count 4
[06:19:08] [PASSED] Link rate 540000 lane count 2
[06:19:08] [PASSED] Link rate 540000 lane count 1
[06:19:08] [PASSED] Link rate 270000 lane count 4
[06:19:08] [PASSED] Link rate 270000 lane count 2
[06:19:08] [PASSED] Link rate 270000 lane count 1
[06:19:08] [PASSED] Link rate 162000 lane count 4
[06:19:08] [PASSED] Link rate 162000 lane count 2
[06:19:08] [PASSED] Link rate 162000 lane count 1
[06:19:08] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[06:19:08] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[06:19:08] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[06:19:08] [PASSED] DP_POWER_UP_PHY with port number
[06:19:08] [PASSED] DP_POWER_DOWN_PHY with port number
[06:19:08] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[06:19:08] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[06:19:08] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[06:19:08] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[06:19:08] [PASSED] DP_QUERY_PAYLOAD with port number
[06:19:08] [PASSED] DP_QUERY_PAYLOAD with VCPI
[06:19:08] [PASSED] DP_REMOTE_DPCD_READ with port number
[06:19:08] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[06:19:08] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[06:19:08] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[06:19:08] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[06:19:08] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[06:19:08] [PASSED] DP_REMOTE_I2C_READ with port number
[06:19:08] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[06:19:08] [PASSED] DP_REMOTE_I2C_READ with transactions array
[06:19:08] [PASSED] DP_REMOTE_I2C_WRITE with port number
[06:19:08] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[06:19:08] [PASSED] DP_REMOTE_I2C_WRITE with data array
[06:19:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[06:19:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[06:19:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[06:19:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[06:19:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[06:19:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[06:19:08] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[06:19:08] ================ [PASSED] drm_dp_mst_helper ================
[06:19:08] ================== drm_exec (7 subtests) ===================
[06:19:08] [PASSED] sanitycheck
[06:19:08] [PASSED] test_lock
[06:19:08] [PASSED] test_lock_unlock
[06:19:08] [PASSED] test_duplicates
[06:19:08] [PASSED] test_prepare
[06:19:08] [PASSED] test_prepare_array
[06:19:08] [PASSED] test_multiple_loops
[06:19:08] ==================== [PASSED] drm_exec =====================
[06:19:08] =========== drm_format_helper_test (17 subtests) ===========
[06:19:08] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[06:19:08] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[06:19:08] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[06:19:08] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[06:19:08] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[06:19:08] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[06:19:08] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[06:19:08] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[06:19:08] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[06:19:08] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[06:19:08] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[06:19:08] ============== drm_test_fb_xrgb8888_to_mono ===============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[06:19:08] ==================== drm_test_fb_swab =====================
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ================ [PASSED] drm_test_fb_swab =================
[06:19:08] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[06:19:08] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[06:19:08] [PASSED] single_pixel_source_buffer
[06:19:08] [PASSED] single_pixel_clip_rectangle
[06:19:08] [PASSED] well_known_colors
[06:19:08] [PASSED] destination_pitch
[06:19:08] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[06:19:08] ================= drm_test_fb_clip_offset =================
[06:19:08] [PASSED] pass through
[06:19:08] [PASSED] horizontal offset
[06:19:08] [PASSED] vertical offset
[06:19:08] [PASSED] horizontal and vertical offset
[06:19:08] [PASSED] horizontal offset (custom pitch)
[06:19:08] [PASSED] vertical offset (custom pitch)
[06:19:08] [PASSED] horizontal and vertical offset (custom pitch)
[06:19:08] ============= [PASSED] drm_test_fb_clip_offset =============
[06:19:08] =================== drm_test_fb_memcpy ====================
[06:19:08] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[06:19:08] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[06:19:08] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[06:19:08] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[06:19:08] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[06:19:08] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[06:19:08] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[06:19:08] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[06:19:08] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[06:19:08] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[06:19:08] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[06:19:08] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[06:19:08] =============== [PASSED] drm_test_fb_memcpy ================
[06:19:08] ============= [PASSED] drm_format_helper_test ==============
[06:19:08] ================= drm_format (18 subtests) =================
[06:19:08] [PASSED] drm_test_format_block_width_invalid
[06:19:08] [PASSED] drm_test_format_block_width_one_plane
[06:19:08] [PASSED] drm_test_format_block_width_two_plane
[06:19:08] [PASSED] drm_test_format_block_width_three_plane
[06:19:08] [PASSED] drm_test_format_block_width_tiled
[06:19:08] [PASSED] drm_test_format_block_height_invalid
[06:19:08] [PASSED] drm_test_format_block_height_one_plane
[06:19:08] [PASSED] drm_test_format_block_height_two_plane
[06:19:08] [PASSED] drm_test_format_block_height_three_plane
[06:19:08] [PASSED] drm_test_format_block_height_tiled
[06:19:08] [PASSED] drm_test_format_min_pitch_invalid
[06:19:08] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[06:19:08] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[06:19:08] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[06:19:08] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[06:19:08] [PASSED] drm_test_format_min_pitch_two_plane
[06:19:08] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[06:19:08] [PASSED] drm_test_format_min_pitch_tiled
[06:19:08] =================== [PASSED] drm_format ====================
[06:19:08] ============== drm_framebuffer (10 subtests) ===============
[06:19:08] ========== drm_test_framebuffer_check_src_coords ==========
[06:19:08] [PASSED] Success: source fits into fb
[06:19:08] [PASSED] Fail: overflowing fb with x-axis coordinate
[06:19:08] [PASSED] Fail: overflowing fb with y-axis coordinate
[06:19:08] [PASSED] Fail: overflowing fb with source width
[06:19:08] [PASSED] Fail: overflowing fb with source height
[06:19:08] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[06:19:08] [PASSED] drm_test_framebuffer_cleanup
[06:19:08] =============== drm_test_framebuffer_create ===============
[06:19:08] [PASSED] ABGR8888 normal sizes
[06:19:08] [PASSED] ABGR8888 max sizes
[06:19:08] [PASSED] ABGR8888 pitch greater than min required
[06:19:08] [PASSED] ABGR8888 pitch less than min required
[06:19:08] [PASSED] ABGR8888 Invalid width
[06:19:08] [PASSED] ABGR8888 Invalid buffer handle
[06:19:08] [PASSED] No pixel format
[06:19:08] [PASSED] ABGR8888 Width 0
[06:19:08] [PASSED] ABGR8888 Height 0
[06:19:08] [PASSED] ABGR8888 Out of bound height * pitch combination
[06:19:08] [PASSED] ABGR8888 Large buffer offset
[06:19:08] [PASSED] ABGR8888 Buffer offset for inexistent plane
[06:19:08] [PASSED] ABGR8888 Invalid flag
[06:19:08] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[06:19:08] [PASSED] ABGR8888 Valid buffer modifier
[06:19:08] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[06:19:08] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[06:19:08] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[06:19:08] [PASSED] NV12 Normal sizes
[06:19:08] [PASSED] NV12 Max sizes
[06:19:08] [PASSED] NV12 Invalid pitch
[06:19:08] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[06:19:08] [PASSED] NV12 different modifier per-plane
[06:19:08] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[06:19:08] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[06:19:08] [PASSED] NV12 Modifier for inexistent plane
[06:19:08] [PASSED] NV12 Handle for inexistent plane
[06:19:08] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[06:19:08] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[06:19:08] [PASSED] YVU420 Normal sizes
[06:19:08] [PASSED] YVU420 Max sizes
[06:19:08] [PASSED] YVU420 Invalid pitch
[06:19:08] [PASSED] YVU420 Different pitches
[06:19:08] [PASSED] YVU420 Different buffer offsets/pitches
[06:19:08] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[06:19:08] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[06:19:08] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[06:19:08] [PASSED] YVU420 Valid modifier
[06:19:08] [PASSED] YVU420 Different modifiers per plane
[06:19:08] [PASSED] YVU420 Modifier for inexistent plane
[06:19:08] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[06:19:08] [PASSED] X0L2 Normal sizes
[06:19:08] [PASSED] X0L2 Max sizes
[06:19:08] [PASSED] X0L2 Invalid pitch
[06:19:08] [PASSED] X0L2 Pitch greater than minimum required
[06:19:08] [PASSED] X0L2 Handle for inexistent plane
[06:19:08] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[06:19:08] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[06:19:08] [PASSED] X0L2 Valid modifier
[06:19:08] [PASSED] X0L2 Modifier for inexistent plane
[06:19:08] =========== [PASSED] drm_test_framebuffer_create ===========
[06:19:08] [PASSED] drm_test_framebuffer_free
[06:19:08] [PASSED] drm_test_framebuffer_init
[06:19:08] [PASSED] drm_test_framebuffer_init_bad_format
[06:19:08] [PASSED] drm_test_framebuffer_init_dev_mismatch
[06:19:08] [PASSED] drm_test_framebuffer_lookup
[06:19:08] [PASSED] drm_test_framebuffer_lookup_inexistent
[06:19:08] [PASSED] drm_test_framebuffer_modifiers_not_supported
[06:19:08] ================= [PASSED] drm_framebuffer =================
[06:19:08] ================ drm_gem_shmem (8 subtests) ================
[06:19:08] [PASSED] drm_gem_shmem_test_obj_create
[06:19:08] [PASSED] drm_gem_shmem_test_obj_create_private
[06:19:08] [PASSED] drm_gem_shmem_test_pin_pages
[06:19:08] [PASSED] drm_gem_shmem_test_vmap
[06:19:08] [PASSED] drm_gem_shmem_test_get_sg_table
[06:19:08] [PASSED] drm_gem_shmem_test_get_pages_sgt
[06:19:08] [PASSED] drm_gem_shmem_test_madvise
[06:19:08] [PASSED] drm_gem_shmem_test_purge
[06:19:08] ================== [PASSED] drm_gem_shmem ==================
[06:19:08] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[06:19:08] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[06:19:08] [PASSED] Automatic
[06:19:08] [PASSED] Full
[06:19:08] [PASSED] Limited 16:235
[06:19:08] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[06:19:08] [PASSED] drm_test_check_disable_connector
[06:19:08] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[06:19:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[06:19:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[06:19:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[06:19:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[06:19:08] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[06:19:08] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[06:19:08] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[06:19:08] [PASSED] drm_test_check_output_bpc_dvi
[06:19:08] [PASSED] drm_test_check_output_bpc_format_vic_1
[06:19:08] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[06:19:08] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[06:19:08] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[06:19:08] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[06:19:08] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[06:19:08] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[06:19:08] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[06:19:08] ============ drm_test_check_hdmi_color_format =============
[06:19:08] [PASSED] AUTO -> RGB
[06:19:08] [PASSED] YCBCR422 -> YUV422
[06:19:08] [PASSED] YCBCR420 -> YUV420
[06:19:08] [PASSED] YCBCR444 -> YUV444
[06:19:08] [PASSED] RGB -> RGB
[06:19:08] ======== [PASSED] drm_test_check_hdmi_color_format =========
[06:19:08] ======== drm_test_check_hdmi_color_format_420_only ========
[06:19:08] [PASSED] RGB should fail
[06:19:08] [PASSED] YUV444 should fail
[06:19:08] [PASSED] YUV422 should fail
[06:19:08] [PASSED] YUV420 should work
[06:19:08] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[06:19:08] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[06:19:08] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[06:19:08] [PASSED] drm_test_check_broadcast_rgb_value
[06:19:08] [PASSED] drm_test_check_bpc_8_value
[06:19:08] [PASSED] drm_test_check_bpc_10_value
[06:19:08] [PASSED] drm_test_check_bpc_12_value
[06:19:08] [PASSED] drm_test_check_format_value
[06:19:08] [PASSED] drm_test_check_tmds_char_value
[06:19:08] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[06:19:08] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[06:19:08] [PASSED] drm_test_check_mode_valid
[06:19:08] [PASSED] drm_test_check_mode_valid_reject
[06:19:08] [PASSED] drm_test_check_mode_valid_reject_rate
[06:19:08] [PASSED] drm_test_check_mode_valid_reject_max_clock
[06:19:08] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[06:19:08] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[06:19:08] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[06:19:08] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[06:19:08] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[06:19:08] [PASSED] drm_test_check_infoframes
[06:19:08] [PASSED] drm_test_check_reject_avi_infoframe
[06:19:08] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[06:19:08] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[06:19:08] [PASSED] drm_test_check_reject_audio_infoframe
[06:19:08] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[06:19:08] ================= drm_managed (2 subtests) =================
[06:19:08] [PASSED] drm_test_managed_release_action
[06:19:08] [PASSED] drm_test_managed_run_action
[06:19:08] =================== [PASSED] drm_managed ===================
[06:19:08] =================== drm_mm (6 subtests) ====================
[06:19:08] [PASSED] drm_test_mm_init
[06:19:08] [PASSED] drm_test_mm_debug
[06:19:08] [PASSED] drm_test_mm_align32
[06:19:08] [PASSED] drm_test_mm_align64
[06:19:08] [PASSED] drm_test_mm_lowest
[06:19:08] [PASSED] drm_test_mm_highest
[06:19:08] ===================== [PASSED] drm_mm ======================
[06:19:08] ============= drm_modes_analog_tv (5 subtests) =============
[06:19:08] [PASSED] drm_test_modes_analog_tv_mono_576i
[06:19:08] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[06:19:08] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[06:19:08] [PASSED] drm_test_modes_analog_tv_pal_576i
[06:19:08] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[06:19:08] =============== [PASSED] drm_modes_analog_tv ===============
[06:19:08] ============== drm_plane_helper (2 subtests) ===============
[06:19:08] =============== drm_test_check_plane_state ================
[06:19:08] [PASSED] clipping_simple
[06:19:08] [PASSED] clipping_rotate_reflect
[06:19:08] [PASSED] positioning_simple
[06:19:08] [PASSED] upscaling
[06:19:08] [PASSED] downscaling
[06:19:08] [PASSED] rounding1
[06:19:08] [PASSED] rounding2
[06:19:08] [PASSED] rounding3
[06:19:08] [PASSED] rounding4
[06:19:08] =========== [PASSED] drm_test_check_plane_state ============
[06:19:08] =========== drm_test_check_invalid_plane_state ============
[06:19:08] [PASSED] positioning_invalid
[06:19:08] [PASSED] upscaling_invalid
[06:19:08] [PASSED] downscaling_invalid
[06:19:08] ======= [PASSED] drm_test_check_invalid_plane_state ========
[06:19:08] ================ [PASSED] drm_plane_helper =================
[06:19:08] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[06:19:08] ====== drm_test_connector_helper_tv_get_modes_check =======
[06:19:08] [PASSED] None
[06:19:08] [PASSED] PAL
[06:19:08] [PASSED] NTSC
[06:19:08] [PASSED] Both, NTSC Default
[06:19:08] [PASSED] Both, PAL Default
[06:19:08] [PASSED] Both, NTSC Default, with PAL on command-line
[06:19:08] [PASSED] Both, PAL Default, with NTSC on command-line
[06:19:08] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[06:19:08] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[06:19:08] ================== drm_rect (9 subtests) ===================
[06:19:08] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[06:19:08] [PASSED] drm_test_rect_clip_scaled_not_clipped
[06:19:08] [PASSED] drm_test_rect_clip_scaled_clipped
[06:19:08] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[06:19:08] ================= drm_test_rect_intersect =================
[06:19:08] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[06:19:08] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[06:19:08] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[06:19:08] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[06:19:08] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[06:19:08] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[06:19:08] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[06:19:08] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[06:19:08] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[06:19:08] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[06:19:08] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[06:19:08] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[06:19:08] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[06:19:08] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[06:19:08] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[06:19:08] ============= [PASSED] drm_test_rect_intersect =============
[06:19:08] ================ drm_test_rect_calc_hscale ================
[06:19:08] [PASSED] normal use
[06:19:08] [PASSED] out of max range
[06:19:08] [PASSED] out of min range
[06:19:08] [PASSED] zero dst
[06:19:08] [PASSED] negative src
[06:19:08] [PASSED] negative dst
[06:19:08] ============ [PASSED] drm_test_rect_calc_hscale ============
[06:19:08] ================ drm_test_rect_calc_vscale ================
[06:19:08] [PASSED] normal use
[06:19:08] [PASSED] out of max range
[06:19:08] [PASSED] out of min range
[06:19:08] [PASSED] zero dst
[06:19:08] [PASSED] negative src
[06:19:08] [PASSED] negative dst
[06:19:08] ============ [PASSED] drm_test_rect_calc_vscale ============
[06:19:08] ================== drm_test_rect_rotate ===================
[06:19:08] [PASSED] reflect-x
[06:19:08] [PASSED] reflect-y
[06:19:08] [PASSED] rotate-0
[06:19:08] [PASSED] rotate-90
[06:19:08] [PASSED] rotate-180
[06:19:08] [PASSED] rotate-270
[06:19:08] ============== [PASSED] drm_test_rect_rotate ===============
[06:19:08] ================ drm_test_rect_rotate_inv =================
[06:19:08] [PASSED] reflect-x
[06:19:08] [PASSED] reflect-y
[06:19:08] [PASSED] rotate-0
[06:19:08] [PASSED] rotate-90
[06:19:08] [PASSED] rotate-180
[06:19:08] [PASSED] rotate-270
[06:19:08] ============ [PASSED] drm_test_rect_rotate_inv =============
[06:19:08] ==================== [PASSED] drm_rect =====================
[06:19:08] ============ drm_sysfb_modeset_test (1 subtest) ============
[06:19:08] ============ drm_test_sysfb_build_fourcc_list =============
[06:19:08] [PASSED] no native formats
[06:19:08] [PASSED] XRGB8888 as native format
[06:19:08] [PASSED] remove duplicates
[06:19:08] [PASSED] convert alpha formats
[06:19:08] [PASSED] random formats
[06:19:08] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[06:19:08] ============= [PASSED] drm_sysfb_modeset_test ==============
[06:19:08] ================== drm_fixp (2 subtests) ===================
[06:19:08] [PASSED] drm_test_int2fixp
[06:19:08] [PASSED] drm_test_sm2fixp
[06:19:08] ==================== [PASSED] drm_fixp =====================
[06:19:08] ============================================================
[06:19:08] Testing complete. Ran 639 tests: passed: 639
[06:19:08] Elapsed time: 26.910s total, 1.813s configuring, 24.882s building, 0.186s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[06:19:08] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[06:19:10] 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
[06:19:20] Starting KUnit Kernel (1/1)...
[06:19:20] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[06:19:20] ================= ttm_device (5 subtests) ==================
[06:19:20] [PASSED] ttm_device_init_basic
[06:19:20] [PASSED] ttm_device_init_multiple
[06:19:20] [PASSED] ttm_device_fini_basic
[06:19:20] [PASSED] ttm_device_init_no_vma_man
[06:19:20] ================== ttm_device_init_pools ==================
[06:19:20] [PASSED] No DMA allocations, no DMA32 required
[06:19:20] [PASSED] DMA allocations, DMA32 required
[06:19:20] [PASSED] No DMA allocations, DMA32 required
[06:19:20] [PASSED] DMA allocations, no DMA32 required
[06:19:20] ============== [PASSED] ttm_device_init_pools ==============
[06:19:20] =================== [PASSED] ttm_device ====================
[06:19:20] ================== ttm_pool (8 subtests) ===================
[06:19:20] ================== ttm_pool_alloc_basic ===================
[06:19:20] [PASSED] One page
[06:19:20] [PASSED] More than one page
[06:19:20] [PASSED] Above the allocation limit
[06:19:20] [PASSED] One page, with coherent DMA mappings enabled
[06:19:20] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[06:19:20] ============== [PASSED] ttm_pool_alloc_basic ===============
[06:19:20] ============== ttm_pool_alloc_basic_dma_addr ==============
[06:19:20] [PASSED] One page
[06:19:20] [PASSED] More than one page
[06:19:20] [PASSED] Above the allocation limit
[06:19:20] [PASSED] One page, with coherent DMA mappings enabled
[06:19:20] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[06:19:20] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[06:19:20] [PASSED] ttm_pool_alloc_order_caching_match
[06:19:20] [PASSED] ttm_pool_alloc_caching_mismatch
[06:19:20] [PASSED] ttm_pool_alloc_order_mismatch
[06:19:20] [PASSED] ttm_pool_free_dma_alloc
[06:19:20] [PASSED] ttm_pool_free_no_dma_alloc
[06:19:20] [PASSED] ttm_pool_fini_basic
[06:19:20] ==================== [PASSED] ttm_pool =====================
[06:19:20] ================ ttm_resource (8 subtests) =================
[06:19:20] ================= ttm_resource_init_basic =================
[06:19:20] [PASSED] Init resource in TTM_PL_SYSTEM
[06:19:20] [PASSED] Init resource in TTM_PL_VRAM
[06:19:20] [PASSED] Init resource in a private placement
[06:19:20] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[06:19:20] ============= [PASSED] ttm_resource_init_basic =============
[06:19:20] [PASSED] ttm_resource_init_pinned
[06:19:20] [PASSED] ttm_resource_fini_basic
[06:19:20] [PASSED] ttm_resource_manager_init_basic
[06:19:20] [PASSED] ttm_resource_manager_usage_basic
[06:19:20] [PASSED] ttm_resource_manager_set_used_basic
[06:19:20] [PASSED] ttm_sys_man_alloc_basic
[06:19:20] [PASSED] ttm_sys_man_free_basic
[06:19:20] ================== [PASSED] ttm_resource ===================
[06:19:20] =================== ttm_tt (15 subtests) ===================
[06:19:20] ==================== ttm_tt_init_basic ====================
[06:19:20] [PASSED] Page-aligned size
[06:19:20] [PASSED] Extra pages requested
[06:19:20] ================ [PASSED] ttm_tt_init_basic ================
[06:19:20] [PASSED] ttm_tt_init_misaligned
[06:19:20] [PASSED] ttm_tt_fini_basic
[06:19:20] [PASSED] ttm_tt_fini_sg
[06:19:20] [PASSED] ttm_tt_fini_shmem
[06:19:20] [PASSED] ttm_tt_create_basic
[06:19:20] [PASSED] ttm_tt_create_invalid_bo_type
[06:19:20] [PASSED] ttm_tt_create_ttm_exists
[06:19:20] [PASSED] ttm_tt_create_failed
[06:19:20] [PASSED] ttm_tt_destroy_basic
[06:19:20] [PASSED] ttm_tt_populate_null_ttm
[06:19:20] [PASSED] ttm_tt_populate_populated_ttm
[06:19:20] [PASSED] ttm_tt_unpopulate_basic
[06:19:20] [PASSED] ttm_tt_unpopulate_empty_ttm
[06:19:20] [PASSED] ttm_tt_swapin_basic
[06:19:20] ===================== [PASSED] ttm_tt ======================
[06:19:20] =================== ttm_bo (14 subtests) ===================
[06:19:20] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[06:19:20] [PASSED] Cannot be interrupted and sleeps
[06:19:20] [PASSED] Cannot be interrupted, locks straight away
[06:19:20] [PASSED] Can be interrupted, sleeps
[06:19:20] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[06:19:20] [PASSED] ttm_bo_reserve_locked_no_sleep
[06:19:20] [PASSED] ttm_bo_reserve_no_wait_ticket
[06:19:20] [PASSED] ttm_bo_reserve_double_resv
[06:19:20] [PASSED] ttm_bo_reserve_interrupted
[06:19:20] [PASSED] ttm_bo_reserve_deadlock
[06:19:20] [PASSED] ttm_bo_unreserve_basic
[06:19:20] [PASSED] ttm_bo_unreserve_pinned
[06:19:20] [PASSED] ttm_bo_unreserve_bulk
[06:19:20] [PASSED] ttm_bo_fini_basic
[06:19:20] [PASSED] ttm_bo_fini_shared_resv
[06:19:20] [PASSED] ttm_bo_pin_basic
[06:19:20] [PASSED] ttm_bo_pin_unpin_resource
[06:19:20] [PASSED] ttm_bo_multiple_pin_one_unpin
[06:19:20] ===================== [PASSED] ttm_bo ======================
[06:19:20] ============== ttm_bo_validate (22 subtests) ===============
[06:19:20] ============== ttm_bo_init_reserved_sys_man ===============
[06:19:20] [PASSED] Buffer object for userspace
[06:19:20] [PASSED] Kernel buffer object
[06:19:20] [PASSED] Shared buffer object
[06:19:20] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[06:19:20] ============== ttm_bo_init_reserved_mock_man ==============
[06:19:20] [PASSED] Buffer object for userspace
[06:19:20] [PASSED] Kernel buffer object
[06:19:20] [PASSED] Shared buffer object
[06:19:20] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[06:19:20] [PASSED] ttm_bo_init_reserved_resv
[06:19:20] ================== ttm_bo_validate_basic ==================
[06:19:20] [PASSED] Buffer object for userspace
[06:19:20] [PASSED] Kernel buffer object
[06:19:20] [PASSED] Shared buffer object
[06:19:20] ============== [PASSED] ttm_bo_validate_basic ==============
[06:19:20] [PASSED] ttm_bo_validate_invalid_placement
[06:19:20] ============= ttm_bo_validate_same_placement ==============
[06:19:20] [PASSED] System manager
[06:19:20] [PASSED] VRAM manager
[06:19:20] ========= [PASSED] ttm_bo_validate_same_placement ==========
[06:19:20] [PASSED] ttm_bo_validate_failed_alloc
[06:19:20] [PASSED] ttm_bo_validate_pinned
[06:19:20] [PASSED] ttm_bo_validate_busy_placement
[06:19:20] ================ ttm_bo_validate_multihop =================
[06:19:20] [PASSED] Buffer object for userspace
[06:19:20] [PASSED] Kernel buffer object
[06:19:20] [PASSED] Shared buffer object
[06:19:20] ============ [PASSED] ttm_bo_validate_multihop =============
[06:19:20] ========== ttm_bo_validate_no_placement_signaled ==========
[06:19:20] [PASSED] Buffer object in system domain, no page vector
[06:19:20] [PASSED] Buffer object in system domain with an existing page vector
[06:19:20] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[06:19:20] ======== ttm_bo_validate_no_placement_not_signaled ========
[06:19:20] [PASSED] Buffer object for userspace
[06:19:20] [PASSED] Kernel buffer object
[06:19:20] [PASSED] Shared buffer object
[06:19:20] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[06:19:20] [PASSED] ttm_bo_validate_move_fence_signaled
[06:19:20] ========= ttm_bo_validate_move_fence_not_signaled =========
[06:19:20] [PASSED] Waits for GPU
[06:19:20] [PASSED] Tries to lock straight away
[06:19:20] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[06:19:20] [PASSED] ttm_bo_validate_swapout
[06:19:20] [PASSED] ttm_bo_validate_happy_evict
[06:19:20] [PASSED] ttm_bo_validate_all_pinned_evict
[06:19:20] [PASSED] ttm_bo_validate_allowed_only_evict
[06:19:20] [PASSED] ttm_bo_validate_deleted_evict
[06:19:20] [PASSED] ttm_bo_validate_busy_domain_evict
[06:19:20] [PASSED] ttm_bo_validate_evict_gutting
[06:19:20] [PASSED] ttm_bo_validate_recrusive_evict
[06:19:20] ================= [PASSED] ttm_bo_validate =================
[06:19:20] ============================================================
[06:19:20] Testing complete. Ran 102 tests: passed: 102
[06:19:20] Elapsed time: 11.999s total, 1.781s configuring, 10.004s building, 0.187s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 6:12 ` [PATCH v7 1/1] drm/xe/xe_ras: Add RAS " Soham Purkait
@ 2026-07-08 6:47 ` Raag Jadav
2026-07-08 7:52 ` Purkait, Soham
2026-07-08 7:40 ` Tauro, Riana
1 sibling, 1 reply; 13+ messages in thread
From: Raag Jadav @ 2026-07-08 6:47 UTC (permalink / raw)
To: Soham Purkait
Cc: intel-xe, riana.tauro, anshuman.gupta, aravind.iddamsetty,
badal.nilawar, ravi.kishore.koppuravuri, mallesh.koujalagi,
andi.shyti, rodrigo.vivi, anoop.c.vijay
On Wed, Jul 08, 2026 at 11:42:23AM +0530, Soham Purkait wrote:
> Add a sysfs interface that reports the current GPU health state and
> lets admin users and management tools update it but is readable by all
> users. Requests are routed through the sysctrl mailbox. The interface
> is present only on platforms that support the GPU health indicator.
>
> The interface is a single read/write file at the device level:
>
> $ cat /sys/.../device/gpu_health
> ok
>
> $ echo critical > /sys/.../device/gpu_health
>
> $ cat /sys/.../device/gpu_health
> critical
...
> index 000000000000..9612b97b0f88
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
> @@ -0,0 +1,30 @@
> +What: /sys/bus/pci/drivers/xe/.../gpu_health
> +Date: April 2026
> +KernelVersion: 7.2
Unless there's time travel involved here that I'm not familiar with, we
should consider using correct[1] date and version.
[1] https://jnikula.github.io/linux-kernel-tea-leaves/
...
> +/**
> + * DOC: GPU Health Indicator
> + *
> + * On Intel Xe platforms that support the GPU health indicator interface,
> + * the driver exposes a sysfs attribute at the device level as:
> + *
> + * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
The attribute is already under device <BFD>, so I'm really unsure of "gpu"
is needed here. IMO it can simply be 'health' but I'll leave it to you all.
> + * Reading the attribute returns a single line containing the current GPU
> + * health state. Writing one of the valid values updates the same. Reads
> + * are available to all users; writes are restricted to administrative
> + * users only (attribute permissions ``0644``).
Why is it readable for all users? Is there such a requirement?
Raag
^ permalink raw reply [flat|nested] 13+ messages in thread
* ✓ Xe.CI.BAT: success for drm/xe: Add support for GPU health indicator
2026-07-08 6:12 [PATCH v7 0/1] drm/xe: Add support for GPU health indicator Soham Purkait
` (2 preceding siblings ...)
2026-07-08 6:19 ` ✓ CI.KUnit: success " Patchwork
@ 2026-07-08 6:54 ` Patchwork
2026-07-08 8:11 ` ✓ Xe.CI.FULL: " Patchwork
4 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2026-07-08 6:54 UTC (permalink / raw)
To: Soham Purkait; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]
== Series Details ==
Series: drm/xe: Add support for GPU health indicator
URL : https://patchwork.freedesktop.org/series/169976/
State : success
== Summary ==
CI Bug Log - changes from xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c_BAT -> xe-pw-169976v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* IGT: IGT_8991 -> IGT_8992
* Linux: xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c -> xe-pw-169976v1
IGT_8991: c5721520bb6611ab8fcbe27db0c120b72d25b99e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_8992: 1e912fa143a35c4238a1fbcf94443175d8ce1d60 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c: 331949b3b9225375d72a6402cf94b5d6c6621d1c
xe-pw-169976v1: 169976v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/index.html
[-- Attachment #2: Type: text/html, Size: 1658 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 6:12 ` [PATCH v7 1/1] drm/xe/xe_ras: Add RAS " Soham Purkait
2026-07-08 6:47 ` Raag Jadav
@ 2026-07-08 7:40 ` Tauro, Riana
2026-07-08 7:57 ` Purkait, Soham
1 sibling, 1 reply; 13+ messages in thread
From: Tauro, Riana @ 2026-07-08 7:40 UTC (permalink / raw)
To: Soham Purkait, intel-xe, anshuman.gupta, badal.nilawar,
aravind.iddamsetty, raag.jadav, ravi.kishore.koppuravuri,
mallesh.koujalagi, andi.shyti, rodrigo.vivi
Cc: anoop.c.vijay
On 08-07-2026 11:42, Soham Purkait wrote:
> Add a sysfs interface that reports the current GPU health state and
> lets admin users and management tools update it but is readable by all
> users. Requests are routed through the sysctrl mailbox. The interface
> is present only on platforms that support the GPU health indicator.
>
> The interface is a single read/write file at the device level:
>
> $ cat /sys/.../device/gpu_health
> ok
>
> $ echo critical > /sys/.../device/gpu_health
>
> $ cat /sys/.../device/gpu_health
> critical
>
> v1:
> - Add enum for health status. (Andi, Rodrigo)
> - Return error number instead of error message in _show/_store. (Andi)
> - Move GPU health sysfs init error logging to xe_ras_init. (Andi)
> - Return only the current health state for sysfs read. (Andi, Rodrigo)
> - Add documentation for sysfs interface. (Andi, Rodrigo)
>
> v2:
> - Make logs and structures consistent with their counterparts. (Riana)
> - Drop unnecessary variables. (Andi, Riana)
> - Add correct KernelVersion. (Raag)
>
> v3:
> - Add missing blank line before #endif. (Badal)
>
> v4:
> - Add consistent "gpu" nomenclature to the gpu health indicator
> DOC blocks. (Riana)
> - Add Kdoc for gpu health indicator. (Anshuman)
>
> v5:
> - Rename struct fields to response.health, request.health. (Riana, Raag)
> - Use devm_device_add_group instead of custom sysfs init/fini. (Raag)
> - Rename health enum to shorter XE_RAS_HEALTH_*, drop redundant
> invalid-input log, and minor log/format cleanups. (Raag)
>
> Signed-off-by: Soham Purkait <soham.purkait@intel.com>
> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
> Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
> ---
> .../ABI/testing/sysfs-driver-intel-xe-ras | 30 ++++
> Documentation/gpu/xe/xe_device.rst | 9 ++
> drivers/gpu/drm/xe/xe_ras.c | 139 ++++++++++++++++++
> drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
> drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
> 5 files changed, 239 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>
> diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-ras b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
> new file mode 100644
> index 000000000000..9612b97b0f88
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
> @@ -0,0 +1,30 @@
> +What: /sys/bus/pci/drivers/xe/.../gpu_health
> +Date: April 2026
> +KernelVersion: 7.2
> +Contact: intel-xe@lists.freedesktop.org
> +Description:
> + This file exposes the current gpu health state and allows the gpu
> + health state to be updated.
> +
> + This sysfs file is present only on Intel Xe platforms that support
> + the gpu health indicator interface for RAS. Reading the current
> + health state is available to all users, while updating the health
> + state is restricted to administrative users only.
> +
> + Read returns a single line containing one of the valid values for
> + the current gpu health state. Writing one of the valid values
> + updates the current gpu health state.
> +
> + The valid values for the gpu health state are:
> +
> + ok
> + The gpu is healthy and operating within normal
> + parameters.
> +
> + warning
> + The gpu is experiencing minor issues but remains
> + operational.
> +
> + critical
> + The gpu is in a critical state and may not be
> + operational.
> diff --git a/Documentation/gpu/xe/xe_device.rst b/Documentation/gpu/xe/xe_device.rst
> index 39a937b97cd3..6fdba960c2d9 100644
> --- a/Documentation/gpu/xe/xe_device.rst
> +++ b/Documentation/gpu/xe/xe_device.rst
> @@ -8,3 +8,12 @@ Xe Device Wedging
>
> .. kernel-doc:: drivers/gpu/drm/xe/xe_device.c
> :doc: Xe Device Wedging
> +
> +.. _xe-gpu-health-indicator:
Where is this used?
> +
> +====================
> +GPU Health Indicator
> +====================
> +
> +.. kernel-doc:: drivers/gpu/drm/xe/xe_ras.c
> + :doc: GPU Health Indicator
> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
> index 74d5016d9ffe..d1214a213d6e 100644
> --- a/drivers/gpu/drm/xe/xe_ras.c
> +++ b/drivers/gpu/drm/xe/xe_ras.c
> @@ -65,6 +65,13 @@ static const char *const xe_ras_components[] = {
> };
> static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
>
> +static const char * const gpu_health_states[] = {
status or states. Use any one consistently.
> + [XE_RAS_HEALTH_OK] = "ok",
> + [XE_RAS_HEALTH_WARNING] = "warning",
> + [XE_RAS_HEALTH_CRITICAL] = "critical",
> +};
> +static_assert(ARRAY_SIZE(gpu_health_states) == XE_RAS_HEALTH_MAX);
> +
> static u8 drm_to_xe_ras_severity(u8 severity)
> {
> switch (severity) {
> @@ -332,6 +339,132 @@ int xe_ras_clear_counter(struct xe_device *xe, u8 severity, u8 component)
> return 0;
> }
>
> +static ssize_t gpu_health_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> + struct xe_ras_get_health_response response = {0};
> + struct xe_sysctrl_mailbox_command command = {0};
> + struct xe_ras_get_health_request request = {0};
> + struct xe_device *xe = kdev_to_xe_device(dev);
> + const char *health;
> + size_t rlen;
> + int ret;
> +
> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP, XE_SYSCTRL_CMD_GET_HEALTH,
> + &request, sizeof(request), &response, sizeof(response));
> + guard(xe_pm_runtime)(xe);
> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
> + if (ret) {
> + xe_err(xe, "sysctrl: failed to get health %d\n", ret);
> + return ret;
> + }
> +
> + if (rlen != sizeof(response)) {
> + xe_err(xe, "sysctrl: unexpected get health response length %zu (expected %zu)\n",
> + rlen, sizeof(response));
> + return -EIO;
> + }
> + if (response.health >= XE_RAS_HEALTH_MAX) {
> + xe_err(xe, "sysctrl: invalid health state %u\n",
> + response.health);
> + return -EIO;
> + }
> +
> + health = gpu_health_states[response.health];
> +
> + xe_dbg(xe, "[RAS]: get health: %s\n", health);
> +
> + return sysfs_emit(buf, "%s\n", health);
> +}
> +
> +static ssize_t gpu_health_store(struct device *dev, struct device_attribute *attr,
> + const char *buf, size_t count)
> +{
> + struct xe_ras_set_health_response response = {0};
> + struct xe_sysctrl_mailbox_command command = {0};
> + struct xe_ras_set_health_request request = {0};
> + struct xe_device *xe = kdev_to_xe_device(dev);
> + const char *health;
> + size_t rlen;
> + int state;
> + int ret;
> +
> + state = sysfs_match_string(gpu_health_states, buf);
> + if (state < 0)
> + return -EINVAL;
> +
> + request.health = state;
> +
> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP, XE_SYSCTRL_CMD_SET_HEALTH,
> + &request, sizeof(request), &response, sizeof(response));
> + guard(xe_pm_runtime)(xe);
> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
> + if (ret) {
> + xe_err(xe, "sysctrl: failed to set health %d\n", ret);
> + return ret;
> + }
> +
> + if (rlen != sizeof(response)) {
> + xe_err(xe, "sysctrl: unexpected set health response length %zu (expected %zu)\n",
> + rlen, sizeof(response));
> + return -EIO;
> + }
> +
> + ret = ras_status_to_errno(response.status);
> + if (ret) {
> + xe_err(xe, "sysctrl: set health command failed with status %#x\n",
> + response.status);
> + return ret;
> + }
> +
> + if (response.health >= XE_RAS_HEALTH_MAX) {
> + xe_err(xe, "sysctrl: invalid health state %u\n",
> + response.health);
> + return -EIO;
> + }
> +
> + health = gpu_health_states[response.health];
> +
> + xe_dbg(xe, "[RAS]: set health: %s\n", health);
> +
> + return count;
> +}
> +
> +static DEVICE_ATTR_RW(gpu_health);
> +
> +static struct attribute *gpu_health_attrs[] = {
> + &dev_attr_gpu_health.attr,
> + NULL,
> +};
> +
> +/**
> + * DOC: GPU Health Indicator
> + *
> + * On Intel Xe platforms that support the GPU health indicator interface,
> + * the driver exposes a sysfs attribute at the device level as:
> + *
code block would be appropriate
> + * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
> + *
> + * Reading the attribute returns a single line containing the current GPU
> + * health state. Writing one of the valid values updates the same. Reads
> + * are available to all users; writes are restricted to administrative
> + * users only (attribute permissions ``0644``).
Can these be set by firmware too? Worth mentioning incase an admin had
never set
the value and sees a warning.
Do we need to mention when user needs to use this?
> + *
> + * The valid values for the GPU health state are:
> + *
> + * - ``ok``:
> + * The GPU is healthy and operating within normal parameters.
Have you generated the document?
> + * - ``warning``:
> + * The GPU is experiencing minor issues but remains operational.
> + * - ``critical``:
> + * The GPU is in a critical state and may not be operational.
> + *
> + * See Documentation/ABI/testing/sysfs-driver-intel-xe-ras for the ABI
> + * specification.
> + */
> +static const struct attribute_group gpu_health_group = {
> + .attrs = gpu_health_attrs,
> +};
> +
> /**
> * xe_ras_init - Initialize Xe RAS
> * @xe: xe device instance
> @@ -340,6 +473,8 @@ int xe_ras_clear_counter(struct xe_device *xe, u8 severity, u8 component)
> */
> void xe_ras_init(struct xe_device *xe)
> {
> + int ret;
> +
> if (!xe->info.has_drm_ras)
> return;
>
> @@ -350,4 +485,8 @@ void xe_ras_init(struct xe_device *xe)
>
> if (IS_ENABLED(CONFIG_PCIEAER))
> ras_usp_aer_init(xe);
> +
> + ret = devm_device_add_group(xe->drm.dev, &gpu_health_group);
> + if (ret)
> + xe_err(xe, "Failed to initialize GPU health sysfs, err=%d\n", ret);
> }
> diff --git a/drivers/gpu/drm/xe/xe_ras_types.h b/drivers/gpu/drm/xe/xe_ras_types.h
> index 6688e11f57a8..4c4fbc42c956 100644
> --- a/drivers/gpu/drm/xe/xe_ras_types.h
> +++ b/drivers/gpu/drm/xe/xe_ras_types.h
> @@ -10,6 +10,21 @@
>
> #define XE_RAS_NUM_COUNTERS 16
>
> +/**
> + * enum xe_ras_health_status - gpu health status values
> + *
> + * @XE_RAS_HEALTH_OK: gpu is healthy and operating normally.
> + * @XE_RAS_HEALTH_WARNING: gpu has minor issues but is still operational.
> + * @XE_RAS_HEALTH_CRITICAL: gpu is in a critical state and may not be operational.
> + * @XE_RAS_HEALTH_MAX: Sentinel value for validation
> + */
> +enum xe_ras_health_status {
If you removed status from enum, remove from name as well.
> + XE_RAS_HEALTH_OK = 0,
> + XE_RAS_HEALTH_WARNING,
> + XE_RAS_HEALTH_CRITICAL,
> + XE_RAS_HEALTH_MAX
> +};
> +
> /**
> * struct xe_ras_error_common - Error fields that are common across all products
> */
> @@ -121,4 +136,46 @@ struct xe_ras_clear_counter_response {
> /** @reserved1: Reserved for future use */
> u32 reserved1[3];
> } __packed;
> +
> +/**
> + * struct xe_ras_get_health_request - Request structure for obtaining gpu health
> + */
> +struct xe_ras_get_health_request {
> + /** @reserved: Reserved for future use. */
> + u32 reserved[2];
> +} __packed;
> +
> +/**
> + * struct xe_ras_get_health_response - Response structure for obtaining gpu health
> + */
> +struct xe_ras_get_health_response {
> + /** @health: Current gpu health, see &enum xe_ras_health_status */
> + u8 health;
> + /** @reserved: Reserved for future use */
> + u8 reserved[3];
> +} __packed;
> +
> +/**
> + * struct xe_ras_set_health_request - Request structure for setting gpu health
> + */
> +struct xe_ras_set_health_request {
> + /** @health: New gpu health to set, see &enum xe_ras_health_status */
Let's use short description . "gpu health to be set" or just gpu health
> + u8 health;
> + /** @reserved: Reserved for future use */
> + u8 reserved[3];
> +} __packed;
> +
> +/**
> + * struct xe_ras_set_health_response - Response structure for setting gpu health
> + */
> +struct xe_ras_set_health_response {
> + /** @status: Status of set health operation, see &enum xe_ras_response_status */
> + u32 status;
> + /** @health: Resulting current gpu health, see &enum xe_ras_health_status */
Let's use short description . "current gpu health" or just gpu health
> + u8 health;
> + /** @reserved: Reserved for future use */
> + u8 reserved[3];
> + /** @reserved1: Reserved for future use */
> + u32 reserved1[2];
> +} __packed;
> #endif
> diff --git a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
> index 6e3753554510..d4da6e9ef774 100644
> --- a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
> +++ b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
> @@ -25,11 +25,15 @@ enum xe_sysctrl_group {
> * @XE_SYSCTRL_CMD_GET_COUNTER: Get error counter value
> * @XE_SYSCTRL_CMD_CLEAR_COUNTER: Clear error counter value
> * @XE_SYSCTRL_CMD_GET_PENDING_EVENT: Retrieve pending event
> + * @XE_SYSCTRL_CMD_GET_HEALTH: Retrieve current health status
gpu health
Thanks
Riana
> + * @XE_SYSCTRL_CMD_SET_HEALTH: Set new health status
> */
> enum xe_sysctrl_gfsp_cmd {
> XE_SYSCTRL_CMD_GET_COUNTER = 0x03,
> XE_SYSCTRL_CMD_CLEAR_COUNTER = 0x04,
> XE_SYSCTRL_CMD_GET_PENDING_EVENT = 0x07,
> + XE_SYSCTRL_CMD_GET_HEALTH = 0x0B,
> + XE_SYSCTRL_CMD_SET_HEALTH = 0x0C,
> };
>
> /**
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 6:47 ` Raag Jadav
@ 2026-07-08 7:52 ` Purkait, Soham
0 siblings, 0 replies; 13+ messages in thread
From: Purkait, Soham @ 2026-07-08 7:52 UTC (permalink / raw)
To: Raag Jadav
Cc: intel-xe, riana.tauro, anshuman.gupta, aravind.iddamsetty,
badal.nilawar, ravi.kishore.koppuravuri, mallesh.koujalagi,
andi.shyti, rodrigo.vivi, anoop.c.vijay
Hi Raag,
On 08-07-2026 12:17, Raag Jadav wrote:
> On Wed, Jul 08, 2026 at 11:42:23AM +0530, Soham Purkait wrote:
>> Add a sysfs interface that reports the current GPU health state and
>> lets admin users and management tools update it but is readable by all
>> users. Requests are routed through the sysctrl mailbox. The interface
>> is present only on platforms that support the GPU health indicator.
>>
>> The interface is a single read/write file at the device level:
>>
>> $ cat /sys/.../device/gpu_health
>> ok
>>
>> $ echo critical > /sys/.../device/gpu_health
>>
>> $ cat /sys/.../device/gpu_health
>> critical
> ...
>
>> index 000000000000..9612b97b0f88
>> --- /dev/null
>> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>> @@ -0,0 +1,30 @@
>> +What: /sys/bus/pci/drivers/xe/.../gpu_health
>> +Date: April 2026
>> +KernelVersion: 7.2
> Unless there's time travel involved here that I'm not familiar with, we
> should consider using correct[1] date and version.
>
> [1] https://jnikula.github.io/linux-kernel-tea-leaves/
>
> ...
>
>> +/**
>> + * DOC: GPU Health Indicator
>> + *
>> + * On Intel Xe platforms that support the GPU health indicator interface,
>> + * the driver exposes a sysfs attribute at the device level as:
>> + *
>> + * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
> The attribute is already under device <BFD>, so I'm really unsure of "gpu"
> is needed here. IMO it can simply be 'health' but I'll leave it to you all.
>
>> + * Reading the attribute returns a single line containing the current GPU
>> + * health state. Writing one of the valid values updates the same. Reads
>> + * are available to all users; writes are restricted to administrative
>> + * users only (attribute permissions ``0644``).
> Why is it readable for all users? Is there such a requirement?
> Yes it should be readable by all users.
>
> Thanks,
> Soham.
>
> Raag
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 7:40 ` Tauro, Riana
@ 2026-07-08 7:57 ` Purkait, Soham
2026-07-08 8:01 ` Tauro, Riana
0 siblings, 1 reply; 13+ messages in thread
From: Purkait, Soham @ 2026-07-08 7:57 UTC (permalink / raw)
To: Tauro, Riana, intel-xe, anshuman.gupta, badal.nilawar,
aravind.iddamsetty, raag.jadav, ravi.kishore.koppuravuri,
mallesh.koujalagi, andi.shyti, rodrigo.vivi
Cc: anoop.c.vijay
Hi Riana,
On 08-07-2026 13:10, Tauro, Riana wrote:
>
> On 08-07-2026 11:42, Soham Purkait wrote:
>> Add a sysfs interface that reports the current GPU health state and
>> lets admin users and management tools update it but is readable by all
>> users. Requests are routed through the sysctrl mailbox. The interface
>> is present only on platforms that support the GPU health indicator.
>>
>> The interface is a single read/write file at the device level:
>>
>> $ cat /sys/.../device/gpu_health
>> ok
>>
>> $ echo critical > /sys/.../device/gpu_health
>>
>> $ cat /sys/.../device/gpu_health
>> critical
>>
>> v1:
>> - Add enum for health status. (Andi, Rodrigo)
>> - Return error number instead of error message in _show/_store. (Andi)
>> - Move GPU health sysfs init error logging to xe_ras_init. (Andi)
>> - Return only the current health state for sysfs read. (Andi, Rodrigo)
>> - Add documentation for sysfs interface. (Andi, Rodrigo)
>>
>> v2:
>> - Make logs and structures consistent with their counterparts. (Riana)
>> - Drop unnecessary variables. (Andi, Riana)
>> - Add correct KernelVersion. (Raag)
>>
>> v3:
>> - Add missing blank line before #endif. (Badal)
>>
>> v4:
>> - Add consistent "gpu" nomenclature to the gpu health indicator
>> DOC blocks. (Riana)
>> - Add Kdoc for gpu health indicator. (Anshuman)
>>
>> v5:
>> - Rename struct fields to response.health, request.health. (Riana,
>> Raag)
>> - Use devm_device_add_group instead of custom sysfs init/fini. (Raag)
>> - Rename health enum to shorter XE_RAS_HEALTH_*, drop redundant
>> invalid-input log, and minor log/format cleanups. (Raag)
>>
>> Signed-off-by: Soham Purkait <soham.purkait@intel.com>
>> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
>> Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
>> ---
>> .../ABI/testing/sysfs-driver-intel-xe-ras | 30 ++++
>> Documentation/gpu/xe/xe_device.rst | 9 ++
>> drivers/gpu/drm/xe/xe_ras.c | 139 ++++++++++++++++++
>> drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
>> drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
>> 5 files changed, 239 insertions(+)
>> create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>
>> diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>> b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>> new file mode 100644
>> index 000000000000..9612b97b0f88
>> --- /dev/null
>> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>> @@ -0,0 +1,30 @@
>> +What: /sys/bus/pci/drivers/xe/.../gpu_health
>> +Date: April 2026
>> +KernelVersion: 7.2
>> +Contact: intel-xe@lists.freedesktop.org
>> +Description:
>> + This file exposes the current gpu health state and allows
>> the gpu
>> + health state to be updated.
>> +
>> + This sysfs file is present only on Intel Xe platforms that
>> support
>> + the gpu health indicator interface for RAS. Reading the current
>> + health state is available to all users, while updating the
>> health
>> + state is restricted to administrative users only.
>> +
>> + Read returns a single line containing one of the valid
>> values for
>> + the current gpu health state. Writing one of the valid values
>> + updates the current gpu health state.
>> +
>> + The valid values for the gpu health state are:
>> +
>> + ok
>> + The gpu is healthy and operating within normal
>> + parameters.
>> +
>> + warning
>> + The gpu is experiencing minor issues but remains
>> + operational.
>> +
>> + critical
>> + The gpu is in a critical state and may not be
>> + operational.
>> diff --git a/Documentation/gpu/xe/xe_device.rst
>> b/Documentation/gpu/xe/xe_device.rst
>> index 39a937b97cd3..6fdba960c2d9 100644
>> --- a/Documentation/gpu/xe/xe_device.rst
>> +++ b/Documentation/gpu/xe/xe_device.rst
>> @@ -8,3 +8,12 @@ Xe Device Wedging
>> .. kernel-doc:: drivers/gpu/drm/xe/xe_device.c
>> :doc: Xe Device Wedging
>> +
>> +.. _xe-gpu-health-indicator:
>
> Where is this used?
>
>> +
>> +====================
>> +GPU Health Indicator
>> +====================
>> +
>> +.. kernel-doc:: drivers/gpu/drm/xe/xe_ras.c
>> + :doc: GPU Health Indicator
>> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
>> index 74d5016d9ffe..d1214a213d6e 100644
>> --- a/drivers/gpu/drm/xe/xe_ras.c
>> +++ b/drivers/gpu/drm/xe/xe_ras.c
>> @@ -65,6 +65,13 @@ static const char *const xe_ras_components[] = {
>> };
>> static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
>> +static const char * const gpu_health_states[] = {
>
> status or states. Use any one consistently.
>
>> + [XE_RAS_HEALTH_OK] = "ok",
>> + [XE_RAS_HEALTH_WARNING] = "warning",
>> + [XE_RAS_HEALTH_CRITICAL] = "critical",
>> +};
>> +static_assert(ARRAY_SIZE(gpu_health_states) == XE_RAS_HEALTH_MAX);
>> +
>> static u8 drm_to_xe_ras_severity(u8 severity)
>> {
>> switch (severity) {
>> @@ -332,6 +339,132 @@ int xe_ras_clear_counter(struct xe_device *xe,
>> u8 severity, u8 component)
>> return 0;
>> }
>> +static ssize_t gpu_health_show(struct device *dev, struct
>> device_attribute *attr, char *buf)
>> +{
>> + struct xe_ras_get_health_response response = {0};
>> + struct xe_sysctrl_mailbox_command command = {0};
>> + struct xe_ras_get_health_request request = {0};
>> + struct xe_device *xe = kdev_to_xe_device(dev);
>> + const char *health;
>> + size_t rlen;
>> + int ret;
>> +
>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>> XE_SYSCTRL_CMD_GET_HEALTH,
>> + &request, sizeof(request), &response,
>> sizeof(response));
>> + guard(xe_pm_runtime)(xe);
>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>> + if (ret) {
>> + xe_err(xe, "sysctrl: failed to get health %d\n", ret);
>> + return ret;
>> + }
>> +
>> + if (rlen != sizeof(response)) {
>> + xe_err(xe, "sysctrl: unexpected get health response length
>> %zu (expected %zu)\n",
>> + rlen, sizeof(response));
>> + return -EIO;
>> + }
>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>> + response.health);
>> + return -EIO;
>> + }
>> +
>> + health = gpu_health_states[response.health];
>> +
>> + xe_dbg(xe, "[RAS]: get health: %s\n", health);
>> +
>> + return sysfs_emit(buf, "%s\n", health);
>> +}
>> +
>> +static ssize_t gpu_health_store(struct device *dev, struct
>> device_attribute *attr,
>> + const char *buf, size_t count)
>> +{
>> + struct xe_ras_set_health_response response = {0};
>> + struct xe_sysctrl_mailbox_command command = {0};
>> + struct xe_ras_set_health_request request = {0};
>> + struct xe_device *xe = kdev_to_xe_device(dev);
>> + const char *health;
>> + size_t rlen;
>> + int state;
>> + int ret;
>> +
>> + state = sysfs_match_string(gpu_health_states, buf);
>> + if (state < 0)
>> + return -EINVAL;
>> +
>> + request.health = state;
>> +
>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>> XE_SYSCTRL_CMD_SET_HEALTH,
>> + &request, sizeof(request), &response,
>> sizeof(response));
>> + guard(xe_pm_runtime)(xe);
>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>> + if (ret) {
>> + xe_err(xe, "sysctrl: failed to set health %d\n", ret);
>> + return ret;
>> + }
>> +
>> + if (rlen != sizeof(response)) {
>> + xe_err(xe, "sysctrl: unexpected set health response length
>> %zu (expected %zu)\n",
>> + rlen, sizeof(response));
>> + return -EIO;
>> + }
>> +
>> + ret = ras_status_to_errno(response.status);
>> + if (ret) {
>> + xe_err(xe, "sysctrl: set health command failed with status
>> %#x\n",
>> + response.status);
>> + return ret;
>> + }
>> +
>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>> + response.health);
>> + return -EIO;
>> + }
>> +
>> + health = gpu_health_states[response.health];
>> +
>> + xe_dbg(xe, "[RAS]: set health: %s\n", health);
>> +
>> + return count;
>> +}
>> +
>> +static DEVICE_ATTR_RW(gpu_health);
>> +
>> +static struct attribute *gpu_health_attrs[] = {
>> + &dev_attr_gpu_health.attr,
>> + NULL,
>> +};
>> +
>> +/**
>> + * DOC: GPU Health Indicator
>> + *
>> + * On Intel Xe platforms that support the GPU health indicator
>> interface,
>> + * the driver exposes a sysfs attribute at the device level as:
>> + *
> code block would be appropriate
>
>> + * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
>> + *
>> + * Reading the attribute returns a single line containing the
>> current GPU
>> + * health state. Writing one of the valid values updates the same.
>> Reads
>> + * are available to all users; writes are restricted to administrative
>> + * users only (attribute permissions ``0644``).
>
> Can these be set by firmware too? Worth mentioning incase an admin had
> never set
Does this falls under the scope of this doc ?
> the value and sees a warning.
>
> Do we need to mention when user needs to use this?
>
>
>> + *
>> + * The valid values for the GPU health state are:
>> + *
>> + * - ``ok``:
>> + * The GPU is healthy and operating within normal parameters.
>
> Have you generated the document?
yes.
Thanks,
Soham.
>
>> + * - ``warning``:
>> + * The GPU is experiencing minor issues but remains operational.
>> + * - ``critical``:
>> + * The GPU is in a critical state and may not be operational.
>> + *
>> + * See Documentation/ABI/testing/sysfs-driver-intel-xe-ras for the ABI
>> + * specification.
>> + */
>> +static const struct attribute_group gpu_health_group = {
>> + .attrs = gpu_health_attrs,
>> +};
>> +
>> /**
>> * xe_ras_init - Initialize Xe RAS
>> * @xe: xe device instance
>> @@ -340,6 +473,8 @@ int xe_ras_clear_counter(struct xe_device *xe, u8
>> severity, u8 component)
>> */
>> void xe_ras_init(struct xe_device *xe)
>> {
>> + int ret;
>> +
>> if (!xe->info.has_drm_ras)
>> return;
>> @@ -350,4 +485,8 @@ void xe_ras_init(struct xe_device *xe)
>> if (IS_ENABLED(CONFIG_PCIEAER))
>> ras_usp_aer_init(xe);
>> +
>> + ret = devm_device_add_group(xe->drm.dev, &gpu_health_group);
>> + if (ret)
>> + xe_err(xe, "Failed to initialize GPU health sysfs,
>> err=%d\n", ret);
>> }
>> diff --git a/drivers/gpu/drm/xe/xe_ras_types.h
>> b/drivers/gpu/drm/xe/xe_ras_types.h
>> index 6688e11f57a8..4c4fbc42c956 100644
>> --- a/drivers/gpu/drm/xe/xe_ras_types.h
>> +++ b/drivers/gpu/drm/xe/xe_ras_types.h
>> @@ -10,6 +10,21 @@
>> #define XE_RAS_NUM_COUNTERS 16
>> +/**
>> + * enum xe_ras_health_status - gpu health status values
>> + *
>> + * @XE_RAS_HEALTH_OK: gpu is healthy and operating normally.
>> + * @XE_RAS_HEALTH_WARNING: gpu has minor issues but is still
>> operational.
>> + * @XE_RAS_HEALTH_CRITICAL: gpu is in a critical state and may not
>> be operational.
>> + * @XE_RAS_HEALTH_MAX: Sentinel value for validation
>> + */
>> +enum xe_ras_health_status {
>
> If you removed status from enum, remove from name as well.
>
>> + XE_RAS_HEALTH_OK = 0,
>> + XE_RAS_HEALTH_WARNING,
>> + XE_RAS_HEALTH_CRITICAL,
>> + XE_RAS_HEALTH_MAX
>> +};
>> +
>> /**
>> * struct xe_ras_error_common - Error fields that are common across
>> all products
>> */
>> @@ -121,4 +136,46 @@ struct xe_ras_clear_counter_response {
>> /** @reserved1: Reserved for future use */
>> u32 reserved1[3];
>> } __packed;
>> +
>> +/**
>> + * struct xe_ras_get_health_request - Request structure for
>> obtaining gpu health
>> + */
>> +struct xe_ras_get_health_request {
>> + /** @reserved: Reserved for future use. */
>> + u32 reserved[2];
>> +} __packed;
>> +
>> +/**
>> + * struct xe_ras_get_health_response - Response structure for
>> obtaining gpu health
>> + */
>> +struct xe_ras_get_health_response {
>> + /** @health: Current gpu health, see &enum xe_ras_health_status */
>> + u8 health;
>> + /** @reserved: Reserved for future use */
>> + u8 reserved[3];
>> +} __packed;
>> +
>> +/**
>> + * struct xe_ras_set_health_request - Request structure for setting
>> gpu health
>> + */
>> +struct xe_ras_set_health_request {
>> + /** @health: New gpu health to set, see &enum
>> xe_ras_health_status */
>
>
> Let's use short description . "gpu health to be set" or just gpu health
>
>> + u8 health;
>> + /** @reserved: Reserved for future use */
>> + u8 reserved[3];
>> +} __packed;
>> +
>> +/**
>> + * struct xe_ras_set_health_response - Response structure for
>> setting gpu health
>> + */
>> +struct xe_ras_set_health_response {
>> + /** @status: Status of set health operation, see &enum
>> xe_ras_response_status */
>> + u32 status;
>> + /** @health: Resulting current gpu health, see &enum
>> xe_ras_health_status */
> Let's use short description . "current gpu health" or just gpu health
>> + u8 health;
>> + /** @reserved: Reserved for future use */
>> + u8 reserved[3];
>> + /** @reserved1: Reserved for future use */
>> + u32 reserved1[2];
>> +} __packed;
>> #endif
>> diff --git a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>> b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>> index 6e3753554510..d4da6e9ef774 100644
>> --- a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>> +++ b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>> @@ -25,11 +25,15 @@ enum xe_sysctrl_group {
>> * @XE_SYSCTRL_CMD_GET_COUNTER: Get error counter value
>> * @XE_SYSCTRL_CMD_CLEAR_COUNTER: Clear error counter value
>> * @XE_SYSCTRL_CMD_GET_PENDING_EVENT: Retrieve pending event
>> + * @XE_SYSCTRL_CMD_GET_HEALTH: Retrieve current health status
>
> gpu health
>
> Thanks
> Riana
>
>> + * @XE_SYSCTRL_CMD_SET_HEALTH: Set new health status
>> */
>> enum xe_sysctrl_gfsp_cmd {
>> XE_SYSCTRL_CMD_GET_COUNTER = 0x03,
>> XE_SYSCTRL_CMD_CLEAR_COUNTER = 0x04,
>> XE_SYSCTRL_CMD_GET_PENDING_EVENT = 0x07,
>> + XE_SYSCTRL_CMD_GET_HEALTH = 0x0B,
>> + XE_SYSCTRL_CMD_SET_HEALTH = 0x0C,
>> };
>> /**
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 7:57 ` Purkait, Soham
@ 2026-07-08 8:01 ` Tauro, Riana
2026-07-08 8:14 ` Purkait, Soham
0 siblings, 1 reply; 13+ messages in thread
From: Tauro, Riana @ 2026-07-08 8:01 UTC (permalink / raw)
To: Purkait, Soham, intel-xe, anshuman.gupta, badal.nilawar,
aravind.iddamsetty, raag.jadav, ravi.kishore.koppuravuri,
mallesh.koujalagi, andi.shyti, rodrigo.vivi
Cc: anoop.c.vijay
On 08-07-2026 13:27, Purkait, Soham wrote:
> Hi Riana,
>
> On 08-07-2026 13:10, Tauro, Riana wrote:
>>
>> On 08-07-2026 11:42, Soham Purkait wrote:
>>> Add a sysfs interface that reports the current GPU health state and
>>> lets admin users and management tools update it but is readable by all
>>> users. Requests are routed through the sysctrl mailbox. The interface
>>> is present only on platforms that support the GPU health indicator.
>>>
>>> The interface is a single read/write file at the device level:
>>>
>>> $ cat /sys/.../device/gpu_health
>>> ok
>>>
>>> $ echo critical > /sys/.../device/gpu_health
>>>
>>> $ cat /sys/.../device/gpu_health
>>> critical
>>>
>>> v1:
>>> - Add enum for health status. (Andi, Rodrigo)
>>> - Return error number instead of error message in _show/_store.
>>> (Andi)
>>> - Move GPU health sysfs init error logging to xe_ras_init. (Andi)
>>> - Return only the current health state for sysfs read. (Andi,
>>> Rodrigo)
>>> - Add documentation for sysfs interface. (Andi, Rodrigo)
>>>
>>> v2:
>>> - Make logs and structures consistent with their counterparts.
>>> (Riana)
>>> - Drop unnecessary variables. (Andi, Riana)
>>> - Add correct KernelVersion. (Raag)
>>>
>>> v3:
>>> - Add missing blank line before #endif. (Badal)
>>>
>>> v4:
>>> - Add consistent "gpu" nomenclature to the gpu health indicator
>>> DOC blocks. (Riana)
>>> - Add Kdoc for gpu health indicator. (Anshuman)
>>>
>>> v5:
>>> - Rename struct fields to response.health, request.health. (Riana,
>>> Raag)
>>> - Use devm_device_add_group instead of custom sysfs init/fini. (Raag)
>>> - Rename health enum to shorter XE_RAS_HEALTH_*, drop redundant
>>> invalid-input log, and minor log/format cleanups. (Raag)
>>>
>>> Signed-off-by: Soham Purkait <soham.purkait@intel.com>
>>> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>>> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
>>> Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
>>> ---
>>> .../ABI/testing/sysfs-driver-intel-xe-ras | 30 ++++
>>> Documentation/gpu/xe/xe_device.rst | 9 ++
>>> drivers/gpu/drm/xe/xe_ras.c | 139
>>> ++++++++++++++++++
>>> drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
>>> drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
>>> 5 files changed, 239 insertions(+)
>>> create mode 100644
>>> Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>
>>> diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>> b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>> new file mode 100644
>>> index 000000000000..9612b97b0f88
>>> --- /dev/null
>>> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>> @@ -0,0 +1,30 @@
>>> +What: /sys/bus/pci/drivers/xe/.../gpu_health
>>> +Date: April 2026
>>> +KernelVersion: 7.2
>>> +Contact: intel-xe@lists.freedesktop.org
>>> +Description:
>>> + This file exposes the current gpu health state and allows
>>> the gpu
>>> + health state to be updated.
>>> +
>>> + This sysfs file is present only on Intel Xe platforms that
>>> support
>>> + the gpu health indicator interface for RAS. Reading the
>>> current
>>> + health state is available to all users, while updating the
>>> health
>>> + state is restricted to administrative users only.
>>> +
>>> + Read returns a single line containing one of the valid
>>> values for
>>> + the current gpu health state. Writing one of the valid values
>>> + updates the current gpu health state.
>>> +
>>> + The valid values for the gpu health state are:
>>> +
>>> + ok
>>> + The gpu is healthy and operating within normal
>>> + parameters.
>>> +
>>> + warning
>>> + The gpu is experiencing minor issues but remains
>>> + operational.
>>> +
>>> + critical
>>> + The gpu is in a critical state and may not be
>>> + operational.
>>> diff --git a/Documentation/gpu/xe/xe_device.rst
>>> b/Documentation/gpu/xe/xe_device.rst
>>> index 39a937b97cd3..6fdba960c2d9 100644
>>> --- a/Documentation/gpu/xe/xe_device.rst
>>> +++ b/Documentation/gpu/xe/xe_device.rst
>>> @@ -8,3 +8,12 @@ Xe Device Wedging
>>> .. kernel-doc:: drivers/gpu/drm/xe/xe_device.c
>>> :doc: Xe Device Wedging
>>> +
>>> +.. _xe-gpu-health-indicator:
>>
>> Where is this used?
>>
>>> +
>>> +====================
>>> +GPU Health Indicator
>>> +====================
>>> +
>>> +.. kernel-doc:: drivers/gpu/drm/xe/xe_ras.c
>>> + :doc: GPU Health Indicator
>>> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
>>> index 74d5016d9ffe..d1214a213d6e 100644
>>> --- a/drivers/gpu/drm/xe/xe_ras.c
>>> +++ b/drivers/gpu/drm/xe/xe_ras.c
>>> @@ -65,6 +65,13 @@ static const char *const xe_ras_components[] = {
>>> };
>>> static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
>>> +static const char * const gpu_health_states[] = {
>>
>> status or states. Use any one consistently.
>>
>>> + [XE_RAS_HEALTH_OK] = "ok",
>>> + [XE_RAS_HEALTH_WARNING] = "warning",
>>> + [XE_RAS_HEALTH_CRITICAL] = "critical",
>>> +};
>>> +static_assert(ARRAY_SIZE(gpu_health_states) == XE_RAS_HEALTH_MAX);
>>> +
>>> static u8 drm_to_xe_ras_severity(u8 severity)
>>> {
>>> switch (severity) {
>>> @@ -332,6 +339,132 @@ int xe_ras_clear_counter(struct xe_device *xe,
>>> u8 severity, u8 component)
>>> return 0;
>>> }
>>> +static ssize_t gpu_health_show(struct device *dev, struct
>>> device_attribute *attr, char *buf)
>>> +{
>>> + struct xe_ras_get_health_response response = {0};
>>> + struct xe_sysctrl_mailbox_command command = {0};
>>> + struct xe_ras_get_health_request request = {0};
>>> + struct xe_device *xe = kdev_to_xe_device(dev);
>>> + const char *health;
>>> + size_t rlen;
>>> + int ret;
>>> +
>>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>>> XE_SYSCTRL_CMD_GET_HEALTH,
>>> + &request, sizeof(request), &response,
>>> sizeof(response));
>>> + guard(xe_pm_runtime)(xe);
>>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>>> + if (ret) {
>>> + xe_err(xe, "sysctrl: failed to get health %d\n", ret);
>>> + return ret;
>>> + }
>>> +
>>> + if (rlen != sizeof(response)) {
>>> + xe_err(xe, "sysctrl: unexpected get health response length
>>> %zu (expected %zu)\n",
>>> + rlen, sizeof(response));
>>> + return -EIO;
>>> + }
>>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>>> + response.health);
>>> + return -EIO;
>>> + }
>>> +
>>> + health = gpu_health_states[response.health];
>>> +
>>> + xe_dbg(xe, "[RAS]: get health: %s\n", health);
>>> +
>>> + return sysfs_emit(buf, "%s\n", health);
>>> +}
>>> +
>>> +static ssize_t gpu_health_store(struct device *dev, struct
>>> device_attribute *attr,
>>> + const char *buf, size_t count)
>>> +{
>>> + struct xe_ras_set_health_response response = {0};
>>> + struct xe_sysctrl_mailbox_command command = {0};
>>> + struct xe_ras_set_health_request request = {0};
>>> + struct xe_device *xe = kdev_to_xe_device(dev);
>>> + const char *health;
>>> + size_t rlen;
>>> + int state;
>>> + int ret;
>>> +
>>> + state = sysfs_match_string(gpu_health_states, buf);
>>> + if (state < 0)
>>> + return -EINVAL;
>>> +
>>> + request.health = state;
>>> +
>>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>>> XE_SYSCTRL_CMD_SET_HEALTH,
>>> + &request, sizeof(request), &response,
>>> sizeof(response));
>>> + guard(xe_pm_runtime)(xe);
>>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>>> + if (ret) {
>>> + xe_err(xe, "sysctrl: failed to set health %d\n", ret);
>>> + return ret;
>>> + }
>>> +
>>> + if (rlen != sizeof(response)) {
>>> + xe_err(xe, "sysctrl: unexpected set health response length
>>> %zu (expected %zu)\n",
>>> + rlen, sizeof(response));
>>> + return -EIO;
>>> + }
>>> +
>>> + ret = ras_status_to_errno(response.status);
>>> + if (ret) {
>>> + xe_err(xe, "sysctrl: set health command failed with status
>>> %#x\n",
>>> + response.status);
>>> + return ret;
>>> + }
>>> +
>>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>>> + response.health);
>>> + return -EIO;
>>> + }
>>> +
>>> + health = gpu_health_states[response.health];
>>> +
>>> + xe_dbg(xe, "[RAS]: set health: %s\n", health);
>>> +
>>> + return count;
>>> +}
>>> +
>>> +static DEVICE_ATTR_RW(gpu_health);
>>> +
>>> +static struct attribute *gpu_health_attrs[] = {
>>> + &dev_attr_gpu_health.attr,
>>> + NULL,
>>> +};
>>> +
>>> +/**
>>> + * DOC: GPU Health Indicator
>>> + *
>>> + * On Intel Xe platforms that support the GPU health indicator
>>> interface,
>>> + * the driver exposes a sysfs attribute at the device level as:
>>> + *
>> code block would be appropriate
>>
>>> + * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
>>> + *
>>> + * Reading the attribute returns a single line containing the
>>> current GPU
>>> + * health state. Writing one of the valid values updates the same.
>>> Reads
>>> + * are available to all users; writes are restricted to administrative
>>> + * users only (attribute permissions ``0644``).
>>
>> Can these be set by firmware too? Worth mentioning incase an admin
>> had never set
> Does this falls under the scope of this doc ?
I am asking. Do you know if firmware is allowed to set it too? Or is it
only admin.
If as a admin i am reading this document i see that only i am allowed to
set.
>> the value and sees a warning.
>>
>> Do we need to mention when user needs to use this?
>>
>>
>>> + *
>>> + * The valid values for the GPU health state are:
>>> + *
>>> + * - ``ok``:
>>> + * The GPU is healthy and operating within normal parameters.
>>
>> Have you generated the document?
> yes.
Any reason for having the description and the status in different lines?
Thanks
Riana
>
> Thanks,
> Soham.
>>
>>> + * - ``warning``:
>>> + * The GPU is experiencing minor issues but remains operational.
>>> + * - ``critical``:
>>> + * The GPU is in a critical state and may not be operational.
>>> + *
>>> + * See Documentation/ABI/testing/sysfs-driver-intel-xe-ras for the ABI
>>> + * specification.
>>> + */
>>> +static const struct attribute_group gpu_health_group = {
>>> + .attrs = gpu_health_attrs,
>>> +};
>>> +
>>> /**
>>> * xe_ras_init - Initialize Xe RAS
>>> * @xe: xe device instance
>>> @@ -340,6 +473,8 @@ int xe_ras_clear_counter(struct xe_device *xe,
>>> u8 severity, u8 component)
>>> */
>>> void xe_ras_init(struct xe_device *xe)
>>> {
>>> + int ret;
>>> +
>>> if (!xe->info.has_drm_ras)
>>> return;
>>> @@ -350,4 +485,8 @@ void xe_ras_init(struct xe_device *xe)
>>> if (IS_ENABLED(CONFIG_PCIEAER))
>>> ras_usp_aer_init(xe);
>>> +
>>> + ret = devm_device_add_group(xe->drm.dev, &gpu_health_group);
>>> + if (ret)
>>> + xe_err(xe, "Failed to initialize GPU health sysfs,
>>> err=%d\n", ret);
>>> }
>>> diff --git a/drivers/gpu/drm/xe/xe_ras_types.h
>>> b/drivers/gpu/drm/xe/xe_ras_types.h
>>> index 6688e11f57a8..4c4fbc42c956 100644
>>> --- a/drivers/gpu/drm/xe/xe_ras_types.h
>>> +++ b/drivers/gpu/drm/xe/xe_ras_types.h
>>> @@ -10,6 +10,21 @@
>>> #define XE_RAS_NUM_COUNTERS 16
>>> +/**
>>> + * enum xe_ras_health_status - gpu health status values
>>> + *
>>> + * @XE_RAS_HEALTH_OK: gpu is healthy and operating normally.
>>> + * @XE_RAS_HEALTH_WARNING: gpu has minor issues but is still
>>> operational.
>>> + * @XE_RAS_HEALTH_CRITICAL: gpu is in a critical state and may not
>>> be operational.
>>> + * @XE_RAS_HEALTH_MAX: Sentinel value for validation
>>> + */
>>> +enum xe_ras_health_status {
>>
>> If you removed status from enum, remove from name as well.
>>
>>> + XE_RAS_HEALTH_OK = 0,
>>> + XE_RAS_HEALTH_WARNING,
>>> + XE_RAS_HEALTH_CRITICAL,
>>> + XE_RAS_HEALTH_MAX
>>> +};
>>> +
>>> /**
>>> * struct xe_ras_error_common - Error fields that are common
>>> across all products
>>> */
>>> @@ -121,4 +136,46 @@ struct xe_ras_clear_counter_response {
>>> /** @reserved1: Reserved for future use */
>>> u32 reserved1[3];
>>> } __packed;
>>> +
>>> +/**
>>> + * struct xe_ras_get_health_request - Request structure for
>>> obtaining gpu health
>>> + */
>>> +struct xe_ras_get_health_request {
>>> + /** @reserved: Reserved for future use. */
>>> + u32 reserved[2];
>>> +} __packed;
>>> +
>>> +/**
>>> + * struct xe_ras_get_health_response - Response structure for
>>> obtaining gpu health
>>> + */
>>> +struct xe_ras_get_health_response {
>>> + /** @health: Current gpu health, see &enum xe_ras_health_status */
>>> + u8 health;
>>> + /** @reserved: Reserved for future use */
>>> + u8 reserved[3];
>>> +} __packed;
>>> +
>>> +/**
>>> + * struct xe_ras_set_health_request - Request structure for setting
>>> gpu health
>>> + */
>>> +struct xe_ras_set_health_request {
>>> + /** @health: New gpu health to set, see &enum
>>> xe_ras_health_status */
>>
>>
>> Let's use short description . "gpu health to be set" or just gpu health
>>
>>> + u8 health;
>>> + /** @reserved: Reserved for future use */
>>> + u8 reserved[3];
>>> +} __packed;
>>> +
>>> +/**
>>> + * struct xe_ras_set_health_response - Response structure for
>>> setting gpu health
>>> + */
>>> +struct xe_ras_set_health_response {
>>> + /** @status: Status of set health operation, see &enum
>>> xe_ras_response_status */
>>> + u32 status;
>>> + /** @health: Resulting current gpu health, see &enum
>>> xe_ras_health_status */
>> Let's use short description . "current gpu health" or just gpu health
>>> + u8 health;
>>> + /** @reserved: Reserved for future use */
>>> + u8 reserved[3];
>>> + /** @reserved1: Reserved for future use */
>>> + u32 reserved1[2];
>>> +} __packed;
>>> #endif
>>> diff --git a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>> b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>> index 6e3753554510..d4da6e9ef774 100644
>>> --- a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>> +++ b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>> @@ -25,11 +25,15 @@ enum xe_sysctrl_group {
>>> * @XE_SYSCTRL_CMD_GET_COUNTER: Get error counter value
>>> * @XE_SYSCTRL_CMD_CLEAR_COUNTER: Clear error counter value
>>> * @XE_SYSCTRL_CMD_GET_PENDING_EVENT: Retrieve pending event
>>> + * @XE_SYSCTRL_CMD_GET_HEALTH: Retrieve current health status
>>
>> gpu health
>>
>> Thanks
>> Riana
>>
>>> + * @XE_SYSCTRL_CMD_SET_HEALTH: Set new health status
>>> */
>>> enum xe_sysctrl_gfsp_cmd {
>>> XE_SYSCTRL_CMD_GET_COUNTER = 0x03,
>>> XE_SYSCTRL_CMD_CLEAR_COUNTER = 0x04,
>>> XE_SYSCTRL_CMD_GET_PENDING_EVENT = 0x07,
>>> + XE_SYSCTRL_CMD_GET_HEALTH = 0x0B,
>>> + XE_SYSCTRL_CMD_SET_HEALTH = 0x0C,
>>> };
>>> /**
^ permalink raw reply [flat|nested] 13+ messages in thread
* ✓ Xe.CI.FULL: success for drm/xe: Add support for GPU health indicator
2026-07-08 6:12 [PATCH v7 0/1] drm/xe: Add support for GPU health indicator Soham Purkait
` (3 preceding siblings ...)
2026-07-08 6:54 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-07-08 8:11 ` Patchwork
4 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2026-07-08 8:11 UTC (permalink / raw)
To: Purkait, Soham; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 35189 bytes --]
== Series Details ==
Series: drm/xe: Add support for GPU health indicator
URL : https://patchwork.freedesktop.org/series/169976/
State : success
== Summary ==
CI Bug Log - changes from xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c_FULL -> xe-pw-169976v1_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-169976v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [PASS][1] -> [FAIL][2] ([Intel XE#3718] / [Intel XE#6078])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-8/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-dp-2:
- shard-bmg: [PASS][3] -> [FAIL][4] ([Intel XE#6078])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-8/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-dp-2.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-dp-2.html
* igt@kms_big_fb@4-tiled-8bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2327])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-3/igt@kms_big_fb@4-tiled-8bpp-rotate-270.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#1124]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-1/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-addfb:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#2328] / [Intel XE#7367])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-8/igt@kms_big_fb@yf-tiled-addfb.html
* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#607] / [Intel XE#7361])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#1124])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-6/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html
* igt@kms_bw@linear-tiling-2-displays-target-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#367]) +2 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-8/igt@kms_bw@linear-tiling-2-displays-target-3840x2160p.html
* igt@kms_ccs@bad-rotation-90-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2652]) +8 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-1/igt@kms_ccs@bad-rotation-90-4-tiled-lnl-ccs@pipe-c-dp-2.html
* igt@kms_ccs@crc-primary-suspend-y-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#3432])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-3/igt@kms_ccs@crc-primary-suspend-y-tiled-ccs.html
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2887]) +7 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc.html
* igt@kms_chamelium_color@gamma:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2325] / [Intel XE#7358])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_chamelium_color@gamma.html
* igt@kms_chamelium_color_pipeline@plane-lut1d-lut1d:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#7358]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_chamelium_color_pipeline@plane-lut1d-lut1d.html
* igt@kms_chamelium_color_pipeline@plane-lut1d-pre-ctm3x4:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#7358])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-2/igt@kms_chamelium_color_pipeline@plane-lut1d-pre-ctm3x4.html
* igt@kms_chamelium_hpd@dp-hpd-storm-disable:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2252]) +2 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-8/igt@kms_chamelium_hpd@dp-hpd-storm-disable.html
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][18] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +3 other tests fail
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-9/igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2.html
* igt@kms_cursor_crc@cursor-sliding-256x85:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2320]) +2 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@kms_cursor_crc@cursor-sliding-256x85.html
* igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#309] / [Intel XE#7343])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-6/igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size.html
* igt@kms_cursor_legacy@single-bo:
- shard-lnl: [PASS][21] -> [ABORT][22] ([Intel XE#8007]) +1 other test abort
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-lnl-4/igt@kms_cursor_legacy@single-bo.html
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-6/igt@kms_cursor_legacy@single-bo.html
* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#1340] / [Intel XE#7435])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3.html
* igt@kms_dsc@dsc-with-output-formats-with-bpc:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#8265])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_dsc@dsc-with-output-formats-with-bpc.html
* igt@kms_fbcon_fbt@psr:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#6126] / [Intel XE#776])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-10/igt@kms_fbcon_fbt@psr.html
* igt@kms_flip@2x-plain-flip-ts-check-interruptible:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#1421])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-5/igt@kms_flip@2x-plain-flip-ts-check-interruptible.html
* igt@kms_flip@2x-wf_vblank-ts-check:
- shard-bmg: [PASS][27] -> [FAIL][28] ([Intel XE#3098]) +1 other test fail
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-6/igt@kms_flip@2x-wf_vblank-ts-check.html
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_flip@2x-wf_vblank-ts-check.html
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][29] -> [FAIL][30] ([Intel XE#301]) +1 other test fail
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [PASS][31] -> [FAIL][32] ([Intel XE#301] / [Intel XE#3149]) +1 other test fail
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#7178] / [Intel XE#7351]) +2 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-default-mode:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#1397] / [Intel XE#7385]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-5/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling:
- shard-lnl: NOTRUN -> [SKIP][35] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385]) +1 other test skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-6/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling.html
* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#6312] / [Intel XE#651]) +1 other test skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-4/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-indfb-pgflip-blt:
- shard-lnl: NOTRUN -> [SKIP][37] ([Intel XE#6312])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-2/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#656] / [Intel XE#7905]) +8 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#7061] / [Intel XE#7356])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-5/igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-tiling-linear:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#4141]) +7 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbc-tiling-linear.html
* igt@kms_frontbuffer_tracking@fbcdrrs-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2352] / [Intel XE#7399])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcdrrs-tiling-y.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-rgb565-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#2311]) +34 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcdrrshdr-rgb565-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-modesetfrombusy:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#7865]) +7 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-4/igt@kms_frontbuffer_tracking@fbcpsrhdr-modesetfrombusy.html
* igt@kms_frontbuffer_tracking@hdr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#7061]) +2 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-3/igt@kms_frontbuffer_tracking@hdr-argb161616f-draw-blt.html
* igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-pri-shrfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#2313]) +37 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-10/igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#7905]) +5 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-1/igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-cur-indfb-draw-render.html
* igt@kms_joiner@invalid-modeset-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#6911] / [Intel XE#7378])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_joiner@invalid-modeset-ultra-joiner.html
* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#7283]) +1 other test skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier.html
* igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-cc-modifier:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#7283])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-2/igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-cc-modifier.html
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b:
- shard-lnl: NOTRUN -> [SKIP][51] ([Intel XE#2763] / [Intel XE#6886]) +1 other test skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-5/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b.html
* igt@kms_pm_dc@dc5-dpms:
- shard-lnl: [PASS][52] -> [FAIL][53] ([Intel XE#8399])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-lnl-3/igt@kms_pm_dc@dc5-dpms.html
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-8/igt@kms_pm_dc@dc5-dpms.html
* igt@kms_pm_dc@dc6-psr:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#7794])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_pm_dc@dc6-psr.html
* igt@kms_pm_lpsp@kms-lpsp:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#2499])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_pm_lpsp@kms-lpsp.html
* igt@kms_psr2_sf@psr2-cursor-plane-move-continuous-exceed-fully-sf:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#1489]) +4 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@kms_psr2_sf@psr2-cursor-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr@fbc-pr-primary-blt:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#2234] / [Intel XE#2850]) +5 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-10/igt@kms_psr@fbc-pr-primary-blt.html
* igt@kms_rotation_crc@primary-rotation-270:
- shard-bmg: NOTRUN -> [SKIP][58] ([Intel XE#3904] / [Intel XE#7342])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-9/igt@kms_rotation_crc@primary-rotation-270.html
* igt@kms_scaling_modes@scaling-mode-full:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#2413])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-9/igt@kms_scaling_modes@scaling-mode-full.html
* igt@kms_sharpness_filter@invalid-filter-with-scaling-mode:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#6503]) +1 other test skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-10/igt@kms_sharpness_filter@invalid-filter-with-scaling-mode.html
* igt@kms_vrr@lobf:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#2168] / [Intel XE#7444])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-9/igt@kms_vrr@lobf.html
* igt@xe_compute@ccs-mode-basic:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#6599])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@xe_compute@ccs-mode-basic.html
* igt@xe_evict@evict-mixed-threads-large-multi-vm:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#6540] / [Intel XE#688]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-8/igt@xe_evict@evict-mixed-threads-large-multi-vm.html
* igt@xe_evict@evict-small-external-multi-queue:
- shard-bmg: NOTRUN -> [SKIP][64] ([Intel XE#8370])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-9/igt@xe_evict@evict-small-external-multi-queue.html
* igt@xe_exec_balancer@once-virtual-basic:
- shard-lnl: NOTRUN -> [SKIP][65] ([Intel XE#7482]) +1 other test skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-1/igt@xe_exec_balancer@once-virtual-basic.html
* igt@xe_exec_basic@multigpu-no-exec-null-defer-mmap:
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#1392])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-1/igt@xe_exec_basic@multigpu-no-exec-null-defer-mmap.html
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#2322] / [Intel XE#7372]) +5 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-rebind.html
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr:
- shard-lnl: NOTRUN -> [SKIP][68] ([Intel XE#8374]) +1 other test skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-6/igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr.html
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#8374]) +5 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-10/igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-dyn-priority-smem:
- shard-lnl: NOTRUN -> [SKIP][70] ([Intel XE#8364]) +3 other tests skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-3/igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-dyn-priority-smem.html
* igt@xe_exec_multi_queue@two-queues-preempt-mode-basic-smem:
- shard-bmg: NOTRUN -> [SKIP][71] ([Intel XE#8364]) +18 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-8/igt@xe_exec_multi_queue@two-queues-preempt-mode-basic-smem.html
* igt@xe_exec_reset@cm-multi-queue-cat-error:
- shard-bmg: NOTRUN -> [SKIP][72] ([Intel XE#8369]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@xe_exec_reset@cm-multi-queue-cat-error.html
* igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-wt-multi-vma:
- shard-lnl: NOTRUN -> [SKIP][73] ([Intel XE#6196])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-1/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-wt-multi-vma.html
* igt@xe_exec_threads@threads-multi-queue-rebind-err:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#8378]) +4 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@xe_exec_threads@threads-multi-queue-rebind-err.html
* igt@xe_exec_threads@threads-multi-queue-shared-vm-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][75] ([Intel XE#8378])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-2/igt@xe_exec_threads@threads-multi-queue-shared-vm-userptr-invalidate-race.html
* igt@xe_fault_injection@vm-create-fail-xe_pt_create:
- shard-bmg: [PASS][76] -> [ABORT][77] ([Intel XE#8007]) +2 other tests abort
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-1/igt@xe_fault_injection@vm-create-fail-xe_pt_create.html
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-6/igt@xe_fault_injection@vm-create-fail-xe_pt_create.html
* igt@xe_media_fill@media-fill:
- shard-bmg: NOTRUN -> [SKIP][78] ([Intel XE#2459] / [Intel XE#2596] / [Intel XE#7321] / [Intel XE#7453])
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-9/igt@xe_media_fill@media-fill.html
* igt@xe_multigpu_svm@mgpu-atomic-op-conflict:
- shard-bmg: NOTRUN -> [SKIP][79] ([Intel XE#6964]) +1 other test skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@xe_multigpu_svm@mgpu-atomic-op-conflict.html
* igt@xe_page_reclaim@pat-index-xd:
- shard-bmg: NOTRUN -> [SKIP][80] ([Intel XE#7793]) +1 other test skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@xe_page_reclaim@pat-index-xd.html
* igt@xe_pat@pat-sw-hw-suspend:
- shard-bmg: NOTRUN -> [FAIL][81] ([Intel XE#7695])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@xe_pat@pat-sw-hw-suspend.html
* igt@xe_pm@s3-exec-after:
- shard-lnl: NOTRUN -> [SKIP][82] ([Intel XE#584] / [Intel XE#7369])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-3/igt@xe_pm@s3-exec-after.html
* igt@xe_query@multigpu-query-cs-cycles:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#944])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@xe_query@multigpu-query-cs-cycles.html
* igt@xe_sriov_admin@bulk-preempt-timeout-vfs-disabled:
- shard-lnl: NOTRUN -> [SKIP][84] ([Intel XE#7174])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-5/igt@xe_sriov_admin@bulk-preempt-timeout-vfs-disabled.html
* igt@xe_sriov_auto_provisioning@selfconfig-basic:
- shard-lnl: NOTRUN -> [SKIP][85] ([Intel XE#4130] / [Intel XE#7366])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-3/igt@xe_sriov_auto_provisioning@selfconfig-basic.html
* igt@xe_sriov_flr@flr-twice:
- shard-bmg: [PASS][86] -> [FAIL][87] ([Intel XE#6569])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-4/igt@xe_sriov_flr@flr-twice.html
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@xe_sriov_flr@flr-twice.html
* igt@xe_sriov_vfio@bind-unbind-vfs@numvfs-16:
- shard-bmg: [PASS][88] -> [FAIL][89] ([Intel XE#7992]) +24 other tests fail
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-3/igt@xe_sriov_vfio@bind-unbind-vfs@numvfs-16.html
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@xe_sriov_vfio@bind-unbind-vfs@numvfs-16.html
#### Possible fixes ####
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-bmg: [FAIL][90] ([Intel XE#3321]) -> [PASS][91] +1 other test pass
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-7/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-7/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][92] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-8/igt@xe_evict@evict-mixed-many-threads-small.html
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-8/igt@xe_evict@evict-mixed-many-threads-small.html
* igt@xe_exec_system_allocator@fault-benchmark:
- shard-bmg: [FAIL][94] ([Intel XE#8020]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-7/igt@xe_exec_system_allocator@fault-benchmark.html
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-8/igt@xe_exec_system_allocator@fault-benchmark.html
* igt@xe_fault_injection@inject-fault-probe-function-xe_device_probe_early:
- shard-bmg: [ABORT][96] ([Intel XE#8007]) -> [PASS][97] +1 other test pass
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-3/igt@xe_fault_injection@inject-fault-probe-function-xe_device_probe_early.html
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@xe_fault_injection@inject-fault-probe-function-xe_device_probe_early.html
#### Warnings ####
* igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k:
- shard-bmg: [ABORT][98] ([Intel XE#8007]) -> [SKIP][99] ([Intel XE#2252])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-5/igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k.html
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-5/igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k.html
- shard-lnl: [ABORT][100] ([Intel XE#8007]) -> [SKIP][101] ([Intel XE#373])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-lnl-5/igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k.html
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-lnl-6/igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k.html
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][102] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][103] ([Intel XE#2509] / [Intel XE#7437])
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c/shard-bmg-8/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/shard-bmg-4/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
[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#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#2168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2168
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2328
[Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
[Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2459
[Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2596
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3098
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/607
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6126
[Intel XE#6196]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6196
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[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#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
[Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7321
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7361
[Intel XE#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366
[Intel XE#7367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7367
[Intel XE#7369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7369
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7378
[Intel XE#7385]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7385
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7435
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7444]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7444
[Intel XE#7453]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7453
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7695]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7695
[Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7794]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7794
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8020
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8399
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* IGT: IGT_8991 -> IGT_8992
* Linux: xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c -> xe-pw-169976v1
IGT_8991: c5721520bb6611ab8fcbe27db0c120b72d25b99e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_8992: 1e912fa143a35c4238a1fbcf94443175d8ce1d60 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5364-331949b3b9225375d72a6402cf94b5d6c6621d1c: 331949b3b9225375d72a6402cf94b5d6c6621d1c
xe-pw-169976v1: 169976v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169976v1/index.html
[-- Attachment #2: Type: text/html, Size: 38972 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 8:01 ` Tauro, Riana
@ 2026-07-08 8:14 ` Purkait, Soham
2026-07-08 9:19 ` Tauro, Riana
0 siblings, 1 reply; 13+ messages in thread
From: Purkait, Soham @ 2026-07-08 8:14 UTC (permalink / raw)
To: Tauro, Riana, intel-xe, anshuman.gupta, badal.nilawar,
aravind.iddamsetty, raag.jadav, ravi.kishore.koppuravuri,
mallesh.koujalagi, andi.shyti, rodrigo.vivi
Cc: anoop.c.vijay
On 08-07-2026 13:31, Tauro, Riana wrote:
>
> On 08-07-2026 13:27, Purkait, Soham wrote:
>> Hi Riana,
>>
>> On 08-07-2026 13:10, Tauro, Riana wrote:
>>>
>>> On 08-07-2026 11:42, Soham Purkait wrote:
>>>> Add a sysfs interface that reports the current GPU health state and
>>>> lets admin users and management tools update it but is readable by all
>>>> users. Requests are routed through the sysctrl mailbox. The interface
>>>> is present only on platforms that support the GPU health indicator.
>>>>
>>>> The interface is a single read/write file at the device level:
>>>>
>>>> $ cat /sys/.../device/gpu_health
>>>> ok
>>>>
>>>> $ echo critical > /sys/.../device/gpu_health
>>>>
>>>> $ cat /sys/.../device/gpu_health
>>>> critical
>>>>
>>>> v1:
>>>> - Add enum for health status. (Andi, Rodrigo)
>>>> - Return error number instead of error message in _show/_store.
>>>> (Andi)
>>>> - Move GPU health sysfs init error logging to xe_ras_init. (Andi)
>>>> - Return only the current health state for sysfs read. (Andi,
>>>> Rodrigo)
>>>> - Add documentation for sysfs interface. (Andi, Rodrigo)
>>>>
>>>> v2:
>>>> - Make logs and structures consistent with their counterparts.
>>>> (Riana)
>>>> - Drop unnecessary variables. (Andi, Riana)
>>>> - Add correct KernelVersion. (Raag)
>>>>
>>>> v3:
>>>> - Add missing blank line before #endif. (Badal)
>>>>
>>>> v4:
>>>> - Add consistent "gpu" nomenclature to the gpu health indicator
>>>> DOC blocks. (Riana)
>>>> - Add Kdoc for gpu health indicator. (Anshuman)
>>>>
>>>> v5:
>>>> - Rename struct fields to response.health, request.health.
>>>> (Riana, Raag)
>>>> - Use devm_device_add_group instead of custom sysfs init/fini.
>>>> (Raag)
>>>> - Rename health enum to shorter XE_RAS_HEALTH_*, drop redundant
>>>> invalid-input log, and minor log/format cleanups. (Raag)
>>>>
>>>> Signed-off-by: Soham Purkait <soham.purkait@intel.com>
>>>> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>>>> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
>>>> Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
>>>> ---
>>>> .../ABI/testing/sysfs-driver-intel-xe-ras | 30 ++++
>>>> Documentation/gpu/xe/xe_device.rst | 9 ++
>>>> drivers/gpu/drm/xe/xe_ras.c | 139
>>>> ++++++++++++++++++
>>>> drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
>>>> drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
>>>> 5 files changed, 239 insertions(+)
>>>> create mode 100644
>>>> Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>>
>>>> diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>> b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>> new file mode 100644
>>>> index 000000000000..9612b97b0f88
>>>> --- /dev/null
>>>> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>> @@ -0,0 +1,30 @@
>>>> +What: /sys/bus/pci/drivers/xe/.../gpu_health
>>>> +Date: April 2026
>>>> +KernelVersion: 7.2
>>>> +Contact: intel-xe@lists.freedesktop.org
>>>> +Description:
>>>> + This file exposes the current gpu health state and allows
>>>> the gpu
>>>> + health state to be updated.
>>>> +
>>>> + This sysfs file is present only on Intel Xe platforms that
>>>> support
>>>> + the gpu health indicator interface for RAS. Reading the
>>>> current
>>>> + health state is available to all users, while updating the
>>>> health
>>>> + state is restricted to administrative users only.
>>>> +
>>>> + Read returns a single line containing one of the valid
>>>> values for
>>>> + the current gpu health state. Writing one of the valid values
>>>> + updates the current gpu health state.
>>>> +
>>>> + The valid values for the gpu health state are:
>>>> +
>>>> + ok
>>>> + The gpu is healthy and operating within normal
>>>> + parameters.
>>>> +
>>>> + warning
>>>> + The gpu is experiencing minor issues but remains
>>>> + operational.
>>>> +
>>>> + critical
>>>> + The gpu is in a critical state and may not be
>>>> + operational.
>>>> diff --git a/Documentation/gpu/xe/xe_device.rst
>>>> b/Documentation/gpu/xe/xe_device.rst
>>>> index 39a937b97cd3..6fdba960c2d9 100644
>>>> --- a/Documentation/gpu/xe/xe_device.rst
>>>> +++ b/Documentation/gpu/xe/xe_device.rst
>>>> @@ -8,3 +8,12 @@ Xe Device Wedging
>>>> .. kernel-doc:: drivers/gpu/drm/xe/xe_device.c
>>>> :doc: Xe Device Wedging
>>>> +
>>>> +.. _xe-gpu-health-indicator:
>>>
>>> Where is this used?
>>>
>>>> +
>>>> +====================
>>>> +GPU Health Indicator
>>>> +====================
>>>> +
>>>> +.. kernel-doc:: drivers/gpu/drm/xe/xe_ras.c
>>>> + :doc: GPU Health Indicator
>>>> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
>>>> index 74d5016d9ffe..d1214a213d6e 100644
>>>> --- a/drivers/gpu/drm/xe/xe_ras.c
>>>> +++ b/drivers/gpu/drm/xe/xe_ras.c
>>>> @@ -65,6 +65,13 @@ static const char *const xe_ras_components[] = {
>>>> };
>>>> static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
>>>> +static const char * const gpu_health_states[] = {
>>>
>>> status or states. Use any one consistently.
>>>
>>>> + [XE_RAS_HEALTH_OK] = "ok",
>>>> + [XE_RAS_HEALTH_WARNING] = "warning",
>>>> + [XE_RAS_HEALTH_CRITICAL] = "critical",
>>>> +};
>>>> +static_assert(ARRAY_SIZE(gpu_health_states) == XE_RAS_HEALTH_MAX);
>>>> +
>>>> static u8 drm_to_xe_ras_severity(u8 severity)
>>>> {
>>>> switch (severity) {
>>>> @@ -332,6 +339,132 @@ int xe_ras_clear_counter(struct xe_device
>>>> *xe, u8 severity, u8 component)
>>>> return 0;
>>>> }
>>>> +static ssize_t gpu_health_show(struct device *dev, struct
>>>> device_attribute *attr, char *buf)
>>>> +{
>>>> + struct xe_ras_get_health_response response = {0};
>>>> + struct xe_sysctrl_mailbox_command command = {0};
>>>> + struct xe_ras_get_health_request request = {0};
>>>> + struct xe_device *xe = kdev_to_xe_device(dev);
>>>> + const char *health;
>>>> + size_t rlen;
>>>> + int ret;
>>>> +
>>>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>>>> XE_SYSCTRL_CMD_GET_HEALTH,
>>>> + &request, sizeof(request), &response,
>>>> sizeof(response));
>>>> + guard(xe_pm_runtime)(xe);
>>>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>>>> + if (ret) {
>>>> + xe_err(xe, "sysctrl: failed to get health %d\n", ret);
>>>> + return ret;
>>>> + }
>>>> +
>>>> + if (rlen != sizeof(response)) {
>>>> + xe_err(xe, "sysctrl: unexpected get health response length
>>>> %zu (expected %zu)\n",
>>>> + rlen, sizeof(response));
>>>> + return -EIO;
>>>> + }
>>>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>>>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>>>> + response.health);
>>>> + return -EIO;
>>>> + }
>>>> +
>>>> + health = gpu_health_states[response.health];
>>>> +
>>>> + xe_dbg(xe, "[RAS]: get health: %s\n", health);
>>>> +
>>>> + return sysfs_emit(buf, "%s\n", health);
>>>> +}
>>>> +
>>>> +static ssize_t gpu_health_store(struct device *dev, struct
>>>> device_attribute *attr,
>>>> + const char *buf, size_t count)
>>>> +{
>>>> + struct xe_ras_set_health_response response = {0};
>>>> + struct xe_sysctrl_mailbox_command command = {0};
>>>> + struct xe_ras_set_health_request request = {0};
>>>> + struct xe_device *xe = kdev_to_xe_device(dev);
>>>> + const char *health;
>>>> + size_t rlen;
>>>> + int state;
>>>> + int ret;
>>>> +
>>>> + state = sysfs_match_string(gpu_health_states, buf);
>>>> + if (state < 0)
>>>> + return -EINVAL;
>>>> +
>>>> + request.health = state;
>>>> +
>>>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>>>> XE_SYSCTRL_CMD_SET_HEALTH,
>>>> + &request, sizeof(request), &response,
>>>> sizeof(response));
>>>> + guard(xe_pm_runtime)(xe);
>>>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>>>> + if (ret) {
>>>> + xe_err(xe, "sysctrl: failed to set health %d\n", ret);
>>>> + return ret;
>>>> + }
>>>> +
>>>> + if (rlen != sizeof(response)) {
>>>> + xe_err(xe, "sysctrl: unexpected set health response length
>>>> %zu (expected %zu)\n",
>>>> + rlen, sizeof(response));
>>>> + return -EIO;
>>>> + }
>>>> +
>>>> + ret = ras_status_to_errno(response.status);
>>>> + if (ret) {
>>>> + xe_err(xe, "sysctrl: set health command failed with status
>>>> %#x\n",
>>>> + response.status);
>>>> + return ret;
>>>> + }
>>>> +
>>>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>>>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>>>> + response.health);
>>>> + return -EIO;
>>>> + }
>>>> +
>>>> + health = gpu_health_states[response.health];
>>>> +
>>>> + xe_dbg(xe, "[RAS]: set health: %s\n", health);
>>>> +
>>>> + return count;
>>>> +}
>>>> +
>>>> +static DEVICE_ATTR_RW(gpu_health);
>>>> +
>>>> +static struct attribute *gpu_health_attrs[] = {
>>>> + &dev_attr_gpu_health.attr,
>>>> + NULL,
>>>> +};
>>>> +
>>>> +/**
>>>> + * DOC: GPU Health Indicator
>>>> + *
>>>> + * On Intel Xe platforms that support the GPU health indicator
>>>> interface,
>>>> + * the driver exposes a sysfs attribute at the device level as:
>>>> + *
>>> code block would be appropriate
>>>
>>>> + * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
>>>> + *
>>>> + * Reading the attribute returns a single line containing the
>>>> current GPU
>>>> + * health state. Writing one of the valid values updates the same.
>>>> Reads
>>>> + * are available to all users; writes are restricted to
>>>> administrative
>>>> + * users only (attribute permissions ``0644``).
>>>
>>> Can these be set by firmware too? Worth mentioning incase an admin
>>> had never set
>> Does this falls under the scope of this doc ?
>
>
> I am asking. Do you know if firmware is allowed to set it too? Or is
> it only admin.
> If as a admin i am reading this document i see that only i am allowed
> to set.
Then It could be explicitly mentioned that : for only inbound cases.
As reset of the part is out of the scope of this doc.
>>> the value and sees a warning.
>>>
>>> Do we need to mention when user needs to use this?
>>>
>>>
>>>> + *
>>>> + * The valid values for the GPU health state are:
>>>> + *
>>>> + * - ``ok``:
>>>> + * The GPU is healthy and operating within normal parameters.
>>>
>>> Have you generated the document?
>> yes.
>
> Any reason for having the description and the status in different lines?
Just for the aesthetics nothing else.
Thanks,
Soham
>
> Thanks
> Riana
>
>>
>> Thanks,
>> Soham.
>>>
>>>> + * - ``warning``:
>>>> + * The GPU is experiencing minor issues but remains operational.
>>>> + * - ``critical``:
>>>> + * The GPU is in a critical state and may not be operational.
>>>> + *
>>>> + * See Documentation/ABI/testing/sysfs-driver-intel-xe-ras for the
>>>> ABI
>>>> + * specification.
>>>> + */
>>>> +static const struct attribute_group gpu_health_group = {
>>>> + .attrs = gpu_health_attrs,
>>>> +};
>>>> +
>>>> /**
>>>> * xe_ras_init - Initialize Xe RAS
>>>> * @xe: xe device instance
>>>> @@ -340,6 +473,8 @@ int xe_ras_clear_counter(struct xe_device *xe,
>>>> u8 severity, u8 component)
>>>> */
>>>> void xe_ras_init(struct xe_device *xe)
>>>> {
>>>> + int ret;
>>>> +
>>>> if (!xe->info.has_drm_ras)
>>>> return;
>>>> @@ -350,4 +485,8 @@ void xe_ras_init(struct xe_device *xe)
>>>> if (IS_ENABLED(CONFIG_PCIEAER))
>>>> ras_usp_aer_init(xe);
>>>> +
>>>> + ret = devm_device_add_group(xe->drm.dev, &gpu_health_group);
>>>> + if (ret)
>>>> + xe_err(xe, "Failed to initialize GPU health sysfs,
>>>> err=%d\n", ret);
>>>> }
>>>> diff --git a/drivers/gpu/drm/xe/xe_ras_types.h
>>>> b/drivers/gpu/drm/xe/xe_ras_types.h
>>>> index 6688e11f57a8..4c4fbc42c956 100644
>>>> --- a/drivers/gpu/drm/xe/xe_ras_types.h
>>>> +++ b/drivers/gpu/drm/xe/xe_ras_types.h
>>>> @@ -10,6 +10,21 @@
>>>> #define XE_RAS_NUM_COUNTERS 16
>>>> +/**
>>>> + * enum xe_ras_health_status - gpu health status values
>>>> + *
>>>> + * @XE_RAS_HEALTH_OK: gpu is healthy and operating normally.
>>>> + * @XE_RAS_HEALTH_WARNING: gpu has minor issues but is still
>>>> operational.
>>>> + * @XE_RAS_HEALTH_CRITICAL: gpu is in a critical state and may not
>>>> be operational.
>>>> + * @XE_RAS_HEALTH_MAX: Sentinel value for validation
>>>> + */
>>>> +enum xe_ras_health_status {
>>>
>>> If you removed status from enum, remove from name as well.
>>>
>>>> + XE_RAS_HEALTH_OK = 0,
>>>> + XE_RAS_HEALTH_WARNING,
>>>> + XE_RAS_HEALTH_CRITICAL,
>>>> + XE_RAS_HEALTH_MAX
>>>> +};
>>>> +
>>>> /**
>>>> * struct xe_ras_error_common - Error fields that are common
>>>> across all products
>>>> */
>>>> @@ -121,4 +136,46 @@ struct xe_ras_clear_counter_response {
>>>> /** @reserved1: Reserved for future use */
>>>> u32 reserved1[3];
>>>> } __packed;
>>>> +
>>>> +/**
>>>> + * struct xe_ras_get_health_request - Request structure for
>>>> obtaining gpu health
>>>> + */
>>>> +struct xe_ras_get_health_request {
>>>> + /** @reserved: Reserved for future use. */
>>>> + u32 reserved[2];
>>>> +} __packed;
>>>> +
>>>> +/**
>>>> + * struct xe_ras_get_health_response - Response structure for
>>>> obtaining gpu health
>>>> + */
>>>> +struct xe_ras_get_health_response {
>>>> + /** @health: Current gpu health, see &enum
>>>> xe_ras_health_status */
>>>> + u8 health;
>>>> + /** @reserved: Reserved for future use */
>>>> + u8 reserved[3];
>>>> +} __packed;
>>>> +
>>>> +/**
>>>> + * struct xe_ras_set_health_request - Request structure for
>>>> setting gpu health
>>>> + */
>>>> +struct xe_ras_set_health_request {
>>>> + /** @health: New gpu health to set, see &enum
>>>> xe_ras_health_status */
>>>
>>>
>>> Let's use short description . "gpu health to be set" or just gpu health
>>>
>>>> + u8 health;
>>>> + /** @reserved: Reserved for future use */
>>>> + u8 reserved[3];
>>>> +} __packed;
>>>> +
>>>> +/**
>>>> + * struct xe_ras_set_health_response - Response structure for
>>>> setting gpu health
>>>> + */
>>>> +struct xe_ras_set_health_response {
>>>> + /** @status: Status of set health operation, see &enum
>>>> xe_ras_response_status */
>>>> + u32 status;
>>>> + /** @health: Resulting current gpu health, see &enum
>>>> xe_ras_health_status */
>>> Let's use short description . "current gpu health" or just gpu health
>>>> + u8 health;
>>>> + /** @reserved: Reserved for future use */
>>>> + u8 reserved[3];
>>>> + /** @reserved1: Reserved for future use */
>>>> + u32 reserved1[2];
>>>> +} __packed;
>>>> #endif
>>>> diff --git a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>> b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>> index 6e3753554510..d4da6e9ef774 100644
>>>> --- a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>> +++ b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>> @@ -25,11 +25,15 @@ enum xe_sysctrl_group {
>>>> * @XE_SYSCTRL_CMD_GET_COUNTER: Get error counter value
>>>> * @XE_SYSCTRL_CMD_CLEAR_COUNTER: Clear error counter value
>>>> * @XE_SYSCTRL_CMD_GET_PENDING_EVENT: Retrieve pending event
>>>> + * @XE_SYSCTRL_CMD_GET_HEALTH: Retrieve current health status
>>>
>>> gpu health
>>>
>>> Thanks
>>> Riana
>>>
>>>> + * @XE_SYSCTRL_CMD_SET_HEALTH: Set new health status
>>>> */
>>>> enum xe_sysctrl_gfsp_cmd {
>>>> XE_SYSCTRL_CMD_GET_COUNTER = 0x03,
>>>> XE_SYSCTRL_CMD_CLEAR_COUNTER = 0x04,
>>>> XE_SYSCTRL_CMD_GET_PENDING_EVENT = 0x07,
>>>> + XE_SYSCTRL_CMD_GET_HEALTH = 0x0B,
>>>> + XE_SYSCTRL_CMD_SET_HEALTH = 0x0C,
>>>> };
>>>> /**
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v7 1/1] drm/xe/xe_ras: Add RAS GPU health indicator
2026-07-08 8:14 ` Purkait, Soham
@ 2026-07-08 9:19 ` Tauro, Riana
0 siblings, 0 replies; 13+ messages in thread
From: Tauro, Riana @ 2026-07-08 9:19 UTC (permalink / raw)
To: Purkait, Soham, intel-xe, anshuman.gupta, badal.nilawar,
aravind.iddamsetty, raag.jadav, ravi.kishore.koppuravuri,
mallesh.koujalagi, andi.shyti, rodrigo.vivi
Cc: anoop.c.vijay
On 08-07-2026 13:44, Purkait, Soham wrote:
>
> On 08-07-2026 13:31, Tauro, Riana wrote:
>>
>> On 08-07-2026 13:27, Purkait, Soham wrote:
>>> Hi Riana,
>>>
>>> On 08-07-2026 13:10, Tauro, Riana wrote:
>>>>
>>>> On 08-07-2026 11:42, Soham Purkait wrote:
>>>>> Add a sysfs interface that reports the current GPU health state and
>>>>> lets admin users and management tools update it but is readable by
>>>>> all
>>>>> users. Requests are routed through the sysctrl mailbox. The interface
>>>>> is present only on platforms that support the GPU health indicator.
>>>>>
>>>>> The interface is a single read/write file at the device level:
>>>>>
>>>>> $ cat /sys/.../device/gpu_health
>>>>> ok
>>>>>
>>>>> $ echo critical > /sys/.../device/gpu_health
>>>>>
>>>>> $ cat /sys/.../device/gpu_health
>>>>> critical
>>>>>
>>>>> v1:
>>>>> - Add enum for health status. (Andi, Rodrigo)
>>>>> - Return error number instead of error message in _show/_store.
>>>>> (Andi)
>>>>> - Move GPU health sysfs init error logging to xe_ras_init. (Andi)
>>>>> - Return only the current health state for sysfs read. (Andi,
>>>>> Rodrigo)
>>>>> - Add documentation for sysfs interface. (Andi, Rodrigo)
>>>>>
>>>>> v2:
>>>>> - Make logs and structures consistent with their counterparts.
>>>>> (Riana)
>>>>> - Drop unnecessary variables. (Andi, Riana)
>>>>> - Add correct KernelVersion. (Raag)
>>>>>
>>>>> v3:
>>>>> - Add missing blank line before #endif. (Badal)
>>>>>
>>>>> v4:
>>>>> - Add consistent "gpu" nomenclature to the gpu health indicator
>>>>> DOC blocks. (Riana)
>>>>> - Add Kdoc for gpu health indicator. (Anshuman)
>>>>>
>>>>> v5:
>>>>> - Rename struct fields to response.health, request.health.
>>>>> (Riana, Raag)
>>>>> - Use devm_device_add_group instead of custom sysfs init/fini.
>>>>> (Raag)
>>>>> - Rename health enum to shorter XE_RAS_HEALTH_*, drop redundant
>>>>> invalid-input log, and minor log/format cleanups. (Raag)
>>>>>
>>>>> Signed-off-by: Soham Purkait <soham.purkait@intel.com>
>>>>> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>>>>> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
>>>>> Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
>>>>> ---
>>>>> .../ABI/testing/sysfs-driver-intel-xe-ras | 30 ++++
>>>>> Documentation/gpu/xe/xe_device.rst | 9 ++
>>>>> drivers/gpu/drm/xe/xe_ras.c | 139
>>>>> ++++++++++++++++++
>>>>> drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
>>>>> drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
>>>>> 5 files changed, 239 insertions(+)
>>>>> create mode 100644
>>>>> Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>>>
>>>>> diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>>> b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>>> new file mode 100644
>>>>> index 000000000000..9612b97b0f88
>>>>> --- /dev/null
>>>>> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-ras
>>>>> @@ -0,0 +1,30 @@
>>>>> +What: /sys/bus/pci/drivers/xe/.../gpu_health
>>>>> +Date: April 2026
>>>>> +KernelVersion: 7.2
>>>>> +Contact: intel-xe@lists.freedesktop.org
>>>>> +Description:
>>>>> + This file exposes the current gpu health state and allows
>>>>> the gpu
>>>>> + health state to be updated.
>>>>> +
>>>>> + This sysfs file is present only on Intel Xe platforms
>>>>> that support
>>>>> + the gpu health indicator interface for RAS. Reading the
>>>>> current
>>>>> + health state is available to all users, while updating
>>>>> the health
>>>>> + state is restricted to administrative users only.
>>>>> +
>>>>> + Read returns a single line containing one of the valid
>>>>> values for
>>>>> + the current gpu health state. Writing one of the valid
>>>>> values
>>>>> + updates the current gpu health state.
>>>>> +
>>>>> + The valid values for the gpu health state are:
>>>>> +
>>>>> + ok
>>>>> + The gpu is healthy and operating within normal
>>>>> + parameters.
>>>>> +
>>>>> + warning
>>>>> + The gpu is experiencing minor issues but remains
>>>>> + operational.
>>>>> +
>>>>> + critical
>>>>> + The gpu is in a critical state and may not be
>>>>> + operational.
>>>>> diff --git a/Documentation/gpu/xe/xe_device.rst
>>>>> b/Documentation/gpu/xe/xe_device.rst
>>>>> index 39a937b97cd3..6fdba960c2d9 100644
>>>>> --- a/Documentation/gpu/xe/xe_device.rst
>>>>> +++ b/Documentation/gpu/xe/xe_device.rst
>>>>> @@ -8,3 +8,12 @@ Xe Device Wedging
>>>>> .. kernel-doc:: drivers/gpu/drm/xe/xe_device.c
>>>>> :doc: Xe Device Wedging
>>>>> +
>>>>> +.. _xe-gpu-health-indicator:
>>>>
>>>> Where is this used?
>>>>
>>>>> +
>>>>> +====================
>>>>> +GPU Health Indicator
>>>>> +====================
>>>>> +
>>>>> +.. kernel-doc:: drivers/gpu/drm/xe/xe_ras.c
>>>>> + :doc: GPU Health Indicator
>>>>> diff --git a/drivers/gpu/drm/xe/xe_ras.c
>>>>> b/drivers/gpu/drm/xe/xe_ras.c
>>>>> index 74d5016d9ffe..d1214a213d6e 100644
>>>>> --- a/drivers/gpu/drm/xe/xe_ras.c
>>>>> +++ b/drivers/gpu/drm/xe/xe_ras.c
>>>>> @@ -65,6 +65,13 @@ static const char *const xe_ras_components[] = {
>>>>> };
>>>>> static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);
>>>>> +static const char * const gpu_health_states[] = {
>>>>
>>>> status or states. Use any one consistently.
>>>>
>>>>> + [XE_RAS_HEALTH_OK] = "ok",
>>>>> + [XE_RAS_HEALTH_WARNING] = "warning",
>>>>> + [XE_RAS_HEALTH_CRITICAL] = "critical",
>>>>> +};
>>>>> +static_assert(ARRAY_SIZE(gpu_health_states) == XE_RAS_HEALTH_MAX);
>>>>> +
>>>>> static u8 drm_to_xe_ras_severity(u8 severity)
>>>>> {
>>>>> switch (severity) {
>>>>> @@ -332,6 +339,132 @@ int xe_ras_clear_counter(struct xe_device
>>>>> *xe, u8 severity, u8 component)
>>>>> return 0;
>>>>> }
>>>>> +static ssize_t gpu_health_show(struct device *dev, struct
>>>>> device_attribute *attr, char *buf)
>>>>> +{
>>>>> + struct xe_ras_get_health_response response = {0};
>>>>> + struct xe_sysctrl_mailbox_command command = {0};
>>>>> + struct xe_ras_get_health_request request = {0};
>>>>> + struct xe_device *xe = kdev_to_xe_device(dev);
>>>>> + const char *health;
>>>>> + size_t rlen;
>>>>> + int ret;
>>>>> +
>>>>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>>>>> XE_SYSCTRL_CMD_GET_HEALTH,
>>>>> + &request, sizeof(request), &response,
>>>>> sizeof(response));
>>>>> + guard(xe_pm_runtime)(xe);
>>>>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>>>>> + if (ret) {
>>>>> + xe_err(xe, "sysctrl: failed to get health %d\n", ret);
>>>>> + return ret;
>>>>> + }
>>>>> +
>>>>> + if (rlen != sizeof(response)) {
>>>>> + xe_err(xe, "sysctrl: unexpected get health response
>>>>> length %zu (expected %zu)\n",
>>>>> + rlen, sizeof(response));
>>>>> + return -EIO;
>>>>> + }
>>>>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>>>>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>>>>> + response.health);
>>>>> + return -EIO;
>>>>> + }
>>>>> +
>>>>> + health = gpu_health_states[response.health];
>>>>> +
>>>>> + xe_dbg(xe, "[RAS]: get health: %s\n", health);
>>>>> +
>>>>> + return sysfs_emit(buf, "%s\n", health);
>>>>> +}
>>>>> +
>>>>> +static ssize_t gpu_health_store(struct device *dev, struct
>>>>> device_attribute *attr,
>>>>> + const char *buf, size_t count)
>>>>> +{
>>>>> + struct xe_ras_set_health_response response = {0};
>>>>> + struct xe_sysctrl_mailbox_command command = {0};
>>>>> + struct xe_ras_set_health_request request = {0};
>>>>> + struct xe_device *xe = kdev_to_xe_device(dev);
>>>>> + const char *health;
>>>>> + size_t rlen;
>>>>> + int state;
>>>>> + int ret;
>>>>> +
>>>>> + state = sysfs_match_string(gpu_health_states, buf);
>>>>> + if (state < 0)
>>>>> + return -EINVAL;
>>>>> +
>>>>> + request.health = state;
>>>>> +
>>>>> + xe_sysctrl_create_command(&command, XE_SYSCTRL_GROUP_GFSP,
>>>>> XE_SYSCTRL_CMD_SET_HEALTH,
>>>>> + &request, sizeof(request), &response,
>>>>> sizeof(response));
>>>>> + guard(xe_pm_runtime)(xe);
>>>>> + ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
>>>>> + if (ret) {
>>>>> + xe_err(xe, "sysctrl: failed to set health %d\n", ret);
>>>>> + return ret;
>>>>> + }
>>>>> +
>>>>> + if (rlen != sizeof(response)) {
>>>>> + xe_err(xe, "sysctrl: unexpected set health response
>>>>> length %zu (expected %zu)\n",
>>>>> + rlen, sizeof(response));
>>>>> + return -EIO;
>>>>> + }
>>>>> +
>>>>> + ret = ras_status_to_errno(response.status);
>>>>> + if (ret) {
>>>>> + xe_err(xe, "sysctrl: set health command failed with
>>>>> status %#x\n",
>>>>> + response.status);
>>>>> + return ret;
>>>>> + }
>>>>> +
>>>>> + if (response.health >= XE_RAS_HEALTH_MAX) {
>>>>> + xe_err(xe, "sysctrl: invalid health state %u\n",
>>>>> + response.health);
>>>>> + return -EIO;
>>>>> + }
>>>>> +
>>>>> + health = gpu_health_states[response.health];
>>>>> +
>>>>> + xe_dbg(xe, "[RAS]: set health: %s\n", health);
>>>>> +
>>>>> + return count;
>>>>> +}
>>>>> +
>>>>> +static DEVICE_ATTR_RW(gpu_health);
>>>>> +
>>>>> +static struct attribute *gpu_health_attrs[] = {
>>>>> + &dev_attr_gpu_health.attr,
>>>>> + NULL,
>>>>> +};
>>>>> +
>>>>> +/**
>>>>> + * DOC: GPU Health Indicator
>>>>> + *
>>>>> + * On Intel Xe platforms that support the GPU health indicator
>>>>> interface,
>>>>> + * the driver exposes a sysfs attribute at the device level as:
>>>>> + *
>>>> code block would be appropriate
>>>>
>>>>> + * ``/sys/bus/pci/drivers/xe/<BDF>/gpu_health``
Nit: This is okay. But for consistency with the file use <devices>
>>>>> + *
>>>>> + * Reading the attribute returns a single line containing the
>>>>> current GPU
>>>>> + * health state. Writing one of the valid values updates the
>>>>> same. Reads
>>>>> + * are available to all users; writes are restricted to
>>>>> administrative
>>>>> + * users only (attribute permissions ``0644``).
No need to mention permissions
>>>>
>>>> Can these be set by firmware too? Worth mentioning incase an admin
>>>> had never set
>>> Does this falls under the scope of this doc ?
>>
>>
>> I am asking. Do you know if firmware is allowed to set it too? Or is
>> it only admin.
>> If as a admin i am reading this document i see that only i am allowed
>> to set.
> Then It could be explicitly mentioned that : for only inbound cases.
> As reset of the part is out of the scope of this doc.
To confirm, apart from admin (IB/OOB) no one else can set this
Not even firmware?
Thanks
Riana
>>>> the value and sees a warning.
>>>>
>>>> Do we need to mention when user needs to use this?
>>>>
>>>>
>>>>> + *
>>>>> + * The valid values for the GPU health state are:
>>>>> + *
>>>>> + * - ``ok``:
>>>>> + * The GPU is healthy and operating within normal parameters.
>>>>
>>>> Have you generated the document?
>>> yes.
>>
>> Any reason for having the description and the status in different lines?
> Just for the aesthetics nothing else.
>
> Thanks,
> Soham
>>
>> Thanks
>> Riana
>>
>>>
>>> Thanks,
>>> Soham.
>>>>
>>>>> + * - ``warning``:
>>>>> + * The GPU is experiencing minor issues but remains operational.
>>>>> + * - ``critical``:
>>>>> + * The GPU is in a critical state and may not be operational.
>>>>> + *
>>>>> + * See Documentation/ABI/testing/sysfs-driver-intel-xe-ras for
>>>>> the ABI
>>>>> + * specification.
>>>>> + */
>>>>> +static const struct attribute_group gpu_health_group = {
>>>>> + .attrs = gpu_health_attrs,
>>>>> +};
>>>>> +
>>>>> /**
>>>>> * xe_ras_init - Initialize Xe RAS
>>>>> * @xe: xe device instance
>>>>> @@ -340,6 +473,8 @@ int xe_ras_clear_counter(struct xe_device *xe,
>>>>> u8 severity, u8 component)
>>>>> */
>>>>> void xe_ras_init(struct xe_device *xe)
>>>>> {
>>>>> + int ret;
>>>>> +
>>>>> if (!xe->info.has_drm_ras)
>>>>> return;
>>>>> @@ -350,4 +485,8 @@ void xe_ras_init(struct xe_device *xe)
>>>>> if (IS_ENABLED(CONFIG_PCIEAER))
>>>>> ras_usp_aer_init(xe);
>>>>> +
>>>>> + ret = devm_device_add_group(xe->drm.dev, &gpu_health_group);
>>>>> + if (ret)
>>>>> + xe_err(xe, "Failed to initialize GPU health sysfs,
>>>>> err=%d\n", ret);
>>>>> }
>>>>> diff --git a/drivers/gpu/drm/xe/xe_ras_types.h
>>>>> b/drivers/gpu/drm/xe/xe_ras_types.h
>>>>> index 6688e11f57a8..4c4fbc42c956 100644
>>>>> --- a/drivers/gpu/drm/xe/xe_ras_types.h
>>>>> +++ b/drivers/gpu/drm/xe/xe_ras_types.h
>>>>> @@ -10,6 +10,21 @@
>>>>> #define XE_RAS_NUM_COUNTERS 16
>>>>> +/**
>>>>> + * enum xe_ras_health_status - gpu health status values
>>>>> + *
>>>>> + * @XE_RAS_HEALTH_OK: gpu is healthy and operating normally.
>>>>> + * @XE_RAS_HEALTH_WARNING: gpu has minor issues but is still
>>>>> operational.
>>>>> + * @XE_RAS_HEALTH_CRITICAL: gpu is in a critical state and may
>>>>> not be operational.
>>>>> + * @XE_RAS_HEALTH_MAX: Sentinel value for validation
>>>>> + */
>>>>> +enum xe_ras_health_status {
>>>>
>>>> If you removed status from enum, remove from name as well.
>>>>
>>>>> + XE_RAS_HEALTH_OK = 0,
>>>>> + XE_RAS_HEALTH_WARNING,
>>>>> + XE_RAS_HEALTH_CRITICAL,
>>>>> + XE_RAS_HEALTH_MAX
>>>>> +};
>>>>> +
>>>>> /**
>>>>> * struct xe_ras_error_common - Error fields that are common
>>>>> across all products
>>>>> */
>>>>> @@ -121,4 +136,46 @@ struct xe_ras_clear_counter_response {
>>>>> /** @reserved1: Reserved for future use */
>>>>> u32 reserved1[3];
>>>>> } __packed;
>>>>> +
>>>>> +/**
>>>>> + * struct xe_ras_get_health_request - Request structure for
>>>>> obtaining gpu health
>>>>> + */
>>>>> +struct xe_ras_get_health_request {
>>>>> + /** @reserved: Reserved for future use. */
>>>>> + u32 reserved[2];
>>>>> +} __packed;
>>>>> +
>>>>> +/**
>>>>> + * struct xe_ras_get_health_response - Response structure for
>>>>> obtaining gpu health
>>>>> + */
>>>>> +struct xe_ras_get_health_response {
>>>>> + /** @health: Current gpu health, see &enum
>>>>> xe_ras_health_status */
>>>>> + u8 health;
>>>>> + /** @reserved: Reserved for future use */
>>>>> + u8 reserved[3];
>>>>> +} __packed;
>>>>> +
>>>>> +/**
>>>>> + * struct xe_ras_set_health_request - Request structure for
>>>>> setting gpu health
>>>>> + */
>>>>> +struct xe_ras_set_health_request {
>>>>> + /** @health: New gpu health to set, see &enum
>>>>> xe_ras_health_status */
>>>>
>>>>
>>>> Let's use short description . "gpu health to be set" or just gpu
>>>> health
>>>>
>>>>> + u8 health;
>>>>> + /** @reserved: Reserved for future use */
>>>>> + u8 reserved[3];
>>>>> +} __packed;
>>>>> +
>>>>> +/**
>>>>> + * struct xe_ras_set_health_response - Response structure for
>>>>> setting gpu health
>>>>> + */
>>>>> +struct xe_ras_set_health_response {
>>>>> + /** @status: Status of set health operation, see &enum
>>>>> xe_ras_response_status */
>>>>> + u32 status;
>>>>> + /** @health: Resulting current gpu health, see &enum
>>>>> xe_ras_health_status */
>>>> Let's use short description . "current gpu health" or just gpu health
>>>>> + u8 health;
>>>>> + /** @reserved: Reserved for future use */
>>>>> + u8 reserved[3];
>>>>> + /** @reserved1: Reserved for future use */
>>>>> + u32 reserved1[2];
>>>>> +} __packed;
>>>>> #endif
>>>>> diff --git a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>>> b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>>> index 6e3753554510..d4da6e9ef774 100644
>>>>> --- a/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>>> +++ b/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
>>>>> @@ -25,11 +25,15 @@ enum xe_sysctrl_group {
>>>>> * @XE_SYSCTRL_CMD_GET_COUNTER: Get error counter value
>>>>> * @XE_SYSCTRL_CMD_CLEAR_COUNTER: Clear error counter value
>>>>> * @XE_SYSCTRL_CMD_GET_PENDING_EVENT: Retrieve pending event
>>>>> + * @XE_SYSCTRL_CMD_GET_HEALTH: Retrieve current health status
>>>>
>>>> gpu health
>>>>
>>>> Thanks
>>>> Riana
>>>>
>>>>> + * @XE_SYSCTRL_CMD_SET_HEALTH: Set new health status
>>>>> */
>>>>> enum xe_sysctrl_gfsp_cmd {
>>>>> XE_SYSCTRL_CMD_GET_COUNTER = 0x03,
>>>>> XE_SYSCTRL_CMD_CLEAR_COUNTER = 0x04,
>>>>> XE_SYSCTRL_CMD_GET_PENDING_EVENT = 0x07,
>>>>> + XE_SYSCTRL_CMD_GET_HEALTH = 0x0B,
>>>>> + XE_SYSCTRL_CMD_SET_HEALTH = 0x0C,
>>>>> };
>>>>> /**
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-07-08 9:19 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08 6:12 [PATCH v7 0/1] drm/xe: Add support for GPU health indicator Soham Purkait
2026-07-08 6:12 ` [PATCH v7 1/1] drm/xe/xe_ras: Add RAS " Soham Purkait
2026-07-08 6:47 ` Raag Jadav
2026-07-08 7:52 ` Purkait, Soham
2026-07-08 7:40 ` Tauro, Riana
2026-07-08 7:57 ` Purkait, Soham
2026-07-08 8:01 ` Tauro, Riana
2026-07-08 8:14 ` Purkait, Soham
2026-07-08 9:19 ` Tauro, Riana
2026-07-08 6:18 ` ✗ CI.checkpatch: warning for drm/xe: Add support for " Patchwork
2026-07-08 6:19 ` ✓ CI.KUnit: success " Patchwork
2026-07-08 6:54 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-08 8:11 ` ✓ Xe.CI.FULL: " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.