intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Enable Survivability mode
@ 2025-01-23  7:23 Riana Tauro
  2025-01-23  7:23 ` [PATCH v4 1/3] drm/xe: Add functions and sysfs for boot survivability Riana Tauro
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Riana Tauro @ 2025-01-23  7:23 UTC (permalink / raw)
  To: intel-xe; +Cc: riana.tauro, anshuman.gupta, rodrigo.vivi, aravind.iddamsetty

Boot Survivability is a software based workflow for recovering a system
in a failed boot state. Here system recoverability is concerned with
recovering the firmware responsible for boot.

This is implemented by loading the driver with bare minimum (no drm card)
to allow the firmware to be flashed through mei-gsc and collect telemetry.
The driver's probe flow is modified such that it enters survivability mode
when pcode initialization is incomplete and boot status denotes a failure.

A survivability_mode sysfs entry is an indication of this mode.

Rev2: Initialize mei-gsc and vsec
      abstract survivability mode
      remove extra sysfs entry

Rev3: use dev logs 
      use for loop and helper functions
      return error on suspend

Rev4: fix space

Riana Tauro (3):
  drm/xe: Add functions and sysfs for boot survivability
  drm/xe: Enable Boot Survivability mode
  drm/xe: Initialize mei-gsc and vsec in survivability mode

 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/xe_device.c                |   7 +-
 drivers/gpu/drm/xe/xe_device_types.h          |   4 +
 drivers/gpu/drm/xe/xe_heci_gsc.c              |   3 +-
 drivers/gpu/drm/xe/xe_pci.c                   |  23 +-
 drivers/gpu/drm/xe/xe_pcode_api.h             |  14 ++
 drivers/gpu/drm/xe/xe_survivability_mode.c    | 238 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_survivability_mode.h    |  18 ++
 .../gpu/drm/xe/xe_survivability_mode_types.h  |  35 +++
 9 files changed, 339 insertions(+), 4 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_survivability_mode.c
 create mode 100644 drivers/gpu/drm/xe/xe_survivability_mode.h
 create mode 100644 drivers/gpu/drm/xe/xe_survivability_mode_types.h

-- 
2.47.1


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

end of thread, other threads:[~2025-01-24  3:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-23  7:23 [PATCH v4 0/3] Enable Survivability mode Riana Tauro
2025-01-23  7:23 ` [PATCH v4 1/3] drm/xe: Add functions and sysfs for boot survivability Riana Tauro
2025-01-23  7:23 ` [PATCH v4 2/3] drm/xe: Enable Boot Survivability mode Riana Tauro
2025-01-23  7:45   ` Gupta, Anshuman
2025-01-23 10:45     ` Rodrigo Vivi
2025-01-23  7:23 ` [PATCH v4 3/3] drm/xe: Initialize mei-gsc and vsec in survivability mode Riana Tauro
2025-01-23  9:31 ` ✓ CI.Patch_applied: success for Enable Survivability mode (rev4) Patchwork
2025-01-23  9:31 ` ✗ CI.checkpatch: warning " Patchwork
2025-01-24  3:18   ` Rodrigo Vivi
2025-01-23  9:32 ` ✓ CI.KUnit: success " Patchwork
2025-01-23  9:49 ` ✓ CI.Build: " Patchwork
2025-01-23  9:51 ` ✓ CI.Hooks: " Patchwork
2025-01-23  9:53 ` ✓ CI.checksparse: " Patchwork
2025-01-23 10:27 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-23 21:43 ` ✗ 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;
as well as URLs for NNTP newsgroup(s).