CXL Memory Firmware Error Record Persistence

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing Compute Express Link (CXL) devices face data loss and operational disruptions due to error records being lost when powered down or switched between hosts, as previous approaches rely on passive error detection and do not effectively preserve error logs across device resets or host changes.

Innovation Solution

The implementation of Coherent Device Attribute Table (CDAT) interface to record and communicate error information within the CXL device firmware, allowing error records to persist across power cycles and host changes, enabling CXL Memory Block Error Synchronization (CMBES) for masking invalid memory units and preventing system-wide disabling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If error records are stored in volatile memory of CXL device, then error detection is fast and simple, but error records are lost when device is powered down or switched between hosts

Engineering Contradiction:
Improveerror record preservationVSAvoiderror log loss
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent applies preliminary action by proactively copying error records from volatile memory to persistent storage (firmware or non-volatile memory) before the device is powered down or switched between hosts. This ensures that error information is preserved in advance, preventing data loss when the volatile memory is cleared during power cycles or host transitions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements the copying principle by creating a duplicate copy of error records from volatile memory and storing it in persistent storage media such as firmware or non-volatile memory. This copy mechanism ensures that error information survives power cycles and host switches, allowing the new host to retrieve and continue error logging without loss.

Inventive Principle:
Principle #26Copying

2Reliability

If passive error detection is used in previous approaches, then system complexity is reduced, but error records cannot be preserved across device resets or host changes

Engineering Contradiction:
Improveerror record persistenceVSAvoiderror handling mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary mechanism (error record copying process involving firmware or non-volatile storage) that bridges the gap between volatile error logging and persistent error preservation. This intermediary layer enables error records to survive power cycles and host switches while maintaining a relatively simple overall system architecture that builds upon existing passive error detection frameworks.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If CXL device is switched between hosts, then device versatility and adaptability are improved, but error records are lost and require re-detection

Engineering Contradiction:
Improvehost switching capabilityVSAvoiderror re-detection time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by copying error records to persistent storage before the device is switched to a new host. This advance preparation ensures that when the device connects to a new host, the error records are already preserved and can be immediately retrieved, eliminating the need for time-consuming re-detection processes and enabling continuous error monitoring across host transitions.

Inventive Principle:
Principle #10Preliminary action

4Productivity

If error records are not preserved, then device reusability is reduced, but storage complexity and power consumption are minimized

Engineering Contradiction:
Improvedevice reusabilityVSAvoidfirmware storage power consumption
Core Design Contradiction:
ProductivityVSUse of energy by stationary object

Solution Approach 1:

The patent implements copying by creating a duplicate of error records in persistent storage only when needed for preservation, rather than continuously maintaining elaborate error logging systems. This selective copying approach enables device reusability across hosts while minimizing ongoing power consumption, as the persistent storage is only actively accessed during error record transfer operations rather than requiring continuous power for complex error management hardware.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20240403166A1Method, apparatus and a non-transitory machine-readable storage medium including firmware for a CXL memory device
Publication Date: 2024.12.05 INTEL CORP
  • US20240403166A1 patent drawing
  • US20240403166A1 patent drawing
  • US20240403166A1 patent drawing

AI summary

Provided is a method comprising obtaining information about a detected memory error in a memory device, the memory device being connected to a first host via a compute express link, CXL, interface. The method comprises further recording the memory error information into a firmware of the memory device.