HWPOISON
Posted Aug 31, 2009 18:50 UTC (Mon) by
jzbiciak (
✭ supporter ✭, #5246)
In reply to:
HWPOISON by dlang
Parent article:
HWPOISON
Background scrubbing works by reading memory locations, checking the ECC, and correcting correctable errors proactively before they become uncorrectable. If background scrubbing detects something uncorrectable, it can (and it seems like it ought to) signal a machine check.
Take a look here:
http://patchwork.kernel.org/patch/16897/
There is a notion of an "action optional" machine check. It's still a machine check, and it can be triggered by scrubbing. Quoting:
Action Optional means that the CPU detected some form of corruption in
the background and tells the OS about using a machine check
exception. The OS can then take appropriate action, like killing the
process with the corrupted data or logging the event properly to disk.
This code snippet on the linked page illustrates some of the "action optional" machine check exceptions:
+
+ /* known AO MCACODs: handle by calling high level handler */
+ MASK(MCI_UC_SAR|0xfff0, MCI_UC_S|0xc0, AO,
+ "Action optional: memory scrubbing error", SER),
+ MASK(MCI_UC_SAR|MCACOD, MCI_UC_S|0x17a, AO,
+ "Action optional: last level cache writeback error", SER),
+
(
Log in to post comments)