Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/xe: Add support for GPU health indicator
@ 2026-03-09  5:17 Soham Purkait
  2026-03-09  5:17 ` [PATCH 1/3] From: Anoop Vijay <anoop.c.vijay@intel.com> Soham Purkait
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Soham Purkait @ 2026-03-09  5:17 UTC (permalink / raw)
  To: intel-xe, riana.tauro, anshuman.gupta, aravind.iddamsetty,
	badal.nilawar, raag.jadav, ravi.kishore.koppuravuri,
	mallesh.koujalagi
  Cc: soham.purkait, anoop.c.vijay

This series adds Xe GPU health indicator support as RAS functionality
through the System Controller mailbox and which is exposed via
sysfs interface.

It introduces the health command IDs and request/response structures
used by System Controller mailbox, then wires the functionality into Xe
so user space can query and update GPU health state via a single
sysfs node.

The sysfs file (gpu_health) is placed in the device level and behaves as
follows:

$ cat /sys/.../device/gpu_health
[ok] warning critical

$ echo critical > /sys/.../device/gpu_health

$ cat /sys/.../device/gpu_health
ok warning [critical]

Anoop Vijay (1):
  From: Anoop Vijay <anoop.c.vijay@intel.com>

Soham Purkait (2):
  drm/xe/xe_ras: Add structures and commands for RAS GPU health
    indicator
  drm/xe/xe_ras: Add RAS support for GPU health indicator

 drivers/gpu/drm/xe/Makefile                   |   3 +
 drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h       |  31 ++
 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h     |  36 ++
 drivers/gpu/drm/xe/xe_device.c                |   8 +
 drivers/gpu/drm/xe/xe_device_types.h          |   6 +
 drivers/gpu/drm/xe/xe_pci.c                   |   2 +
 drivers/gpu/drm/xe/xe_pci_types.h             |   1 +
 drivers/gpu/drm/xe/xe_ras.c                   | 166 ++++++++
 drivers/gpu/drm/xe/xe_ras.h                   |  13 +
 drivers/gpu/drm/xe/xe_ras_types.h             |  65 ++++
 drivers/gpu/drm/xe/xe_sysctrl.c               |  84 ++++
 drivers/gpu/drm/xe/xe_sysctrl.h               |  21 +
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c       | 364 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h       |  31 ++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h |  50 +++
 drivers/gpu/drm/xe/xe_sysctrl_types.h         |  32 ++
 16 files changed, 913 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h
 create mode 100644 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_ras.c
 create mode 100644 drivers/gpu/drm/xe/xe_ras.h
 create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_types.h

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-04-14 11:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09  5:17 [PATCH 0/3] drm/xe: Add support for GPU health indicator Soham Purkait
2026-03-09  5:17 ` [PATCH 1/3] From: Anoop Vijay <anoop.c.vijay@intel.com> Soham Purkait
2026-03-09  5:17 ` [PATCH 2/3] drm/xe/xe_ras: Add structures and commands for RAS GPU health indicator Soham Purkait
2026-03-09  5:17 ` [PATCH 3/3] drm/xe/xe_ras: Add RAS support for " Soham Purkait
2026-04-08 11:49   ` Nilawar, Badal
2026-04-14 11:16     ` Purkait, Soham
2026-03-09  5:28 ` ✗ CI.checkpatch: warning for drm/xe: Add " Patchwork
2026-03-09  5:30 ` ✓ CI.KUnit: success " Patchwork
2026-03-09  6:36 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-09  8:31 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox