Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Enable Survivability mode
@ 2025-01-20  6:40 Riana Tauro
  2025-01-20  6:40 ` [PATCH v3 1/3] drm/xe: Add functions and sysfs for boot survivability Riana Tauro
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Riana Tauro @ 2025-01-20  6:40 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, rodrigo.vivi, aravind.iddamsetty,
	jani.nikula, alexander.usyskin

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

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] 13+ messages in thread

end of thread, other threads:[~2025-01-22  6:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-20  6:40 [PATCH v3 0/3] Enable Survivability mode Riana Tauro
2025-01-20  6:40 ` [PATCH v3 1/3] drm/xe: Add functions and sysfs for boot survivability Riana Tauro
2025-01-21 14:50   ` Rodrigo Vivi
2025-01-20  6:40 ` [PATCH v3 2/3] drm/xe: Enable Boot Survivability mode Riana Tauro
2025-01-20  6:40 ` [PATCH v3 3/3] drm/xe: Initialize mei-gsc and vsec in survivability mode Riana Tauro
2025-01-22  6:33   ` Usyskin, Alexander
2025-01-20  9:15 ` ✓ CI.Patch_applied: success for Enable Survivability mode (rev3) Patchwork
2025-01-20  9:16 ` ✗ CI.checkpatch: warning " Patchwork
2025-01-20  9:17 ` ✓ CI.KUnit: success " Patchwork
2025-01-20  9:33 ` ✓ CI.Build: " Patchwork
2025-01-20  9:35 ` ✓ CI.Hooks: " Patchwork
2025-01-20  9:37 ` ✓ CI.checksparse: " Patchwork
2025-01-21  8:30 ` ✓ Xe.CI.BAT: " Patchwork

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