Just for the innocent readers who might be mislead by this:
Nehalem-EP DIMM error accounting already works fine today using
mcelog for most cases, including RHEL5.5 (with some limits)
and RHEL6beta with no additional changes needed.
In RHEL6 the daemon does the accounting and the client reports the errors
separated for each DIMM and separated in uc and ce. In RHEL5
the information is in a log file and can be gotten from there.
In addition the daemon supports various advanced RAS features including
predictive bad page offlining and various threshold triggers.
Already done too, see
http://permalink.gmane.org/gmane.linux.acpi.devel/45743
However the interface won't give you the topology you're asking
for, just the errors.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--