i7core_edac: Use Device 3 function 2 to report errors with RDIMM's
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Sep 2009 02:49:59 +0000 (23:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:44:56 +0000 (11:44 -0300)
commitb4e8f0b6eaa1e99f1a64e539466a8ee2fb521d62
tree564a3a5e2acb692c697744658d01dc5cd293516d
parent61053fdedb2080dadc18dc37abbba90d2e74bc03
i7core_edac: Use Device 3 function 2 to report errors with RDIMM's

Nehalem and upper chipsets provide an special device that has corrected memory
error counters detected with registered dimms. This device is only seen if
there are registered memories plugged.

After this patch, on a machine fully equiped with RDIMM's, it will use the
Device 3 function 2 to count corrected errors instead on relying at mcelog.

For unregistered DIMMs, it will keep the old behavior, counting errors
via mcelog.

This patch were developed together with Keith Mannthey <kmannth@us.ibm.com>

Signed-off-by: Keith Mannthey <kmannth@us.ibm.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c