One of the reasons for the CRI to enter survivability mode is corrupted storage. A corrupted storage partition table can make recovery impossible. A new partition with a pre-defined size, covering the entire storage, should replace partitions detected from the storage when the card is in survivability mode to allow a full memory update.
This series intended to be merged via drm tree for consistency and requires ack from MTD maintainer. Signed-off-by: Alexander Usyskin <[email protected]> --- Changes in v3: - Fix minor checkpatch complain - Add Miquel ack - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Replace usual partitions with survivability one instead of adding addition partition to avoid problems with two partitons pointing to the same memory area. - The change is in the mtd part; Miquel, I feel that this requires re-review/ack from your side. - Link to v1: https://lore.kernel.org/r/[email protected] --- Alexander Usyskin (2): mtd: mtd_intel_dg: add survivability partition drm/xe/nvm: define survivabilty partition drivers/gpu/drm/xe/xe_nvm.c | 13 ++++++-- drivers/mtd/devices/mtd_intel_dg.c | 65 ++++++++++++++++++++++++++++---------- include/linux/intel_dg_nvm_aux.h | 1 + 3 files changed, 60 insertions(+), 19 deletions(-) --- base-commit: 3fc93d311249d5ad969a520dd3aae73bc007d431 change-id: 20260715-cri_surviv-5a6faf7586f1 Best regards, -- Alexander Usyskin <[email protected]>
