NVDIMM Data Protection During BIOS Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
During a BIOS update, non-volatile dual in-line memory modules (NVDIMMs) face data loss due to the backup and restore process, where unknown data overwrites the desired data stored in flash memory, leading to system instability and data loss.
Innovation Solution
A system that disables the NVDIMM backup function after the first power cycle following a BIOS update and enables it only after the second power cycle to restore the desired data from persistent to non-persistent memory, ensuring data integrity by bypassing the initial backup of unknown data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the NVDIMM backup function is enabled during power cycle after BIOS update, then data is preserved in flash memory, but unknown data overwrites desired data causing data loss
Solution Approach 1:
The system applies preliminary anti-action by detecting BIOS update status before the power cycle backup operation and preemptively disabling the backup function when an update is detected. This prevents the harmful backup of unknown data from occurring in the first place, thereby protecting desired data from being overwritten while still allowing normal backup operations when no update is present
2Loss of information
If the NVDIMM backup function is disabled after BIOS update, then data loss is prevented, but the backup function cannot restore desired data from flash memory
Solution Approach 1:
The system implements dynamics by making the backup function state-dependent rather than fixed. The backup function dynamically adjusts its behavior based on the system state: it is disabled during the initial power cycle after BIOS update to prevent data loss, and automatically re-enabled in subsequent power cycles to allow proper data restoration. This dynamic control resolves the contradiction between protecting data and restoring data
3Reliability
If the system performs power cycle to apply BIOS settings, then system stability is improved, but NVDIMM backup routine writes unknown data to flash memory
Solution Approach 1:
The system employs feedback by continuously monitoring BIOS update status and using this information to control the backup function behavior. The feedback mechanism detects when a BIOS update has occurred and automatically adjusts the backup function state accordingly, preventing unknown data from being written to flash memory during post-update power cycles while maintaining system stability benefits
Data Source
AI summary
A system and method for protecting desired data in a non-volatile dual in line memory module (NVDIMM) in a computer system. The system includes a basic input output system (BIOS). The non-volatile dual in line memory module (NVDIMM) is coupled to a memory bus. The NVDIMM includes a non-persistent memory and a persistent memory. A processor is coupled to the memory bus. When an update is applied to the basic input output system, desired data stored in the persistent memory of the NVDIMM is protected by disabling a NVDIMM backup function after a first power cycle immediately after the BIOS update. The backup function is enabled to restore the desired data to the non-persistent memory of NVDIMM from persistent memory after a second power cycle.


