Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable Survivability mode
@ 2024-12-12  5:49 Riana Tauro
  2024-12-12  5:36 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Riana Tauro @ 2024-12-12  5:49 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, rodrigo.vivi, matthew.d.roper,
	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.
In this mode, drm card is not exposed and PCI sysfs is used to indicate
survivability mode and provide additional information required for debug

TODO : Notify mei

Riana Tauro (2):
  drm/xe: Add functions and sysfs for boot survivability
  drm/xe: Enable Boot Survivability mode

 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/xe_device.c                |   9 +-
 drivers/gpu/drm/xe/xe_device_types.h          |   4 +
 drivers/gpu/drm/xe/xe_pci.c                   |  13 +
 drivers/gpu/drm/xe/xe_pcode_api.h             |  14 ++
 drivers/gpu/drm/xe/xe_survivability_mode.c    | 228 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_survivability_mode.h    |  17 ++
 .../gpu/drm/xe/xe_survivability_mode_types.h  |  35 +++
 8 files changed, 319 insertions(+), 2 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] 20+ messages in thread

end of thread, other threads:[~2025-01-07 14:19 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12  5:49 [PATCH 0/2] Enable Survivability mode Riana Tauro
2024-12-12  5:36 ` ✓ CI.Patch_applied: success for " Patchwork
2024-12-12  5:36 ` ✗ CI.checkpatch: warning " Patchwork
2024-12-12  5:37 ` ✓ CI.KUnit: success " Patchwork
2024-12-12  5:49 ` [PATCH 1/2] RFC drm/xe: Add functions and sysfs for boot survivability Riana Tauro
2024-12-12 22:57   ` Rodrigo Vivi
2024-12-13  8:04     ` Riana Tauro
2024-12-13 20:43       ` Rodrigo Vivi
2024-12-16  8:03         ` Riana Tauro
2024-12-16 17:48           ` Rodrigo Vivi
2024-12-12  5:49 ` [PATCH 2/2] RFC drm/xe: Enable Boot Survivability mode Riana Tauro
2024-12-12 22:59   ` Rodrigo Vivi
2024-12-16 10:42   ` Jani Nikula
2024-12-16 17:46     ` Rodrigo Vivi
2025-01-07 14:18       ` Riana Tauro
2024-12-12  5:55 ` ✓ CI.Build: success for Enable " Patchwork
2024-12-12  5:58 ` ✗ CI.Hooks: failure " Patchwork
2024-12-12  5:59 ` ✓ CI.checksparse: success " Patchwork
2024-12-12  6:26 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-12 13:00 ` ✗ 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