diff options
author | Huang Ying <ying.huang@intel.com> | 2010-05-18 10:35:22 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-05-20 06:41:40 +0400 |
commit | 482908b49ebfa453dd0455910c951c750567c05d (patch) | |
tree | bafbeb8e02d235e5438fafe69039caf0bb208785 /include/linux/i2c/max732x.h | |
parent | a08f82d08053fb6e3aa3635c2c26456d96337c8b (diff) | |
download | linux-482908b49ebfa453dd0455910c951c750567c05d.tar.xz |
ACPI, APEI, Use ERST for persistent storage of MCE
Traditionally, fatal MCE will cause Linux print error log to console
then reboot. Because MCE registers will preserve their content after
warm reboot, the hardware error can be logged to disk or network after
reboot. But system may fail to warm reboot, then you may lose the
hardware error log. ERST can help here. Through saving the hardware
error log into flash via ERST before go panic, the hardware error log
can be gotten from the flash after system boot successful again.
The fatal MCE processing procedure with ERST involved is as follow:
- Hardware detect error, MCE raised
- MCE read MCE registers, check error severity (fatal), prepare error record
- Write MCE error record into flash via ERST
- Go panic, then trigger system reboot
- System reboot, /sbin/mcelog run, it reads /dev/mcelog to check flash
for error record of previous boot via ERST, and output and clear
them if available
- /sbin/mcelog logs error records into disk or network
ERST only accepts CPER record format, but there is no pre-defined CPER
section can accommodate all information in struct mce, so a customized
section type is defined to hold struct mce inside a CPER record as an
error section.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/i2c/max732x.h')
0 files changed, 0 insertions, 0 deletions