From: Soham Purkait <soham.purkait@intel.com>
To: intel-xe@lists.freedesktop.org, riana.tauro@intel.com,
anshuman.gupta@intel.com, aravind.iddamsetty@linux.intel.com,
badal.nilawar@intel.com, raag.jadav@intel.com,
ravi.kishore.koppuravuri@intel.com, mallesh.koujalagi@intel.com,
andi.shyti@intel.com, rodrigo.vivi@intel.com
Cc: soham.purkait@intel.com, anoop.c.vijay@intel.com
Subject: [PATCH v9 0/1] drm/xe: Add support for GPU health indicator
Date: Fri, 10 Jul 2026 09:45:56 +0530 [thread overview]
Message-ID: <20260710041555.19974-3-soham.purkait@intel.com> (raw)
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 | 7 +
drivers/gpu/drm/xe/xe_ras.c | 146 ++++++++++++++++++
drivers/gpu/drm/xe/xe_ras_types.h | 57 +++++++
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 4 +
5 files changed, 244 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-xe-ras
--
2.43.0
next reply other threads:[~2026-07-10 4:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-10 4:15 Soham Purkait [this message]
2026-07-10 4:15 ` [PATCH v9 1/1] drm/xe/xe_ras: Add RAS GPU health indicator Soham Purkait
2026-07-10 4:36 ` Raag Jadav
2026-07-10 4:22 ` ✗ CI.checkpatch: warning for drm/xe: Add support for " Patchwork
2026-07-10 4:23 ` ✓ CI.KUnit: success " Patchwork
2026-07-10 5:38 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-10 14:04 ` ✓ Xe.CI.FULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260710041555.19974-3-soham.purkait@intel.com \
--to=soham.purkait@intel.com \
--cc=andi.shyti@intel.com \
--cc=anoop.c.vijay@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=aravind.iddamsetty@linux.intel.com \
--cc=badal.nilawar@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=mallesh.koujalagi@intel.com \
--cc=raag.jadav@intel.com \
--cc=ravi.kishore.koppuravuri@intel.com \
--cc=riana.tauro@intel.com \
--cc=rodrigo.vivi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox