[PATCH v4 0/3] Enable Survivability mode
Riana Tauro
riana.tauro at intel.com
Thu Jan 23 07:23:40 UTC 2025
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
More information about the Intel-xe
mailing list