i7core_edac: Adds write unlock to MC registers
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 10 Jul 2009 01:14:35 +0000 (22:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:44:50 +0000 (11:44 -0300)
commite9bd2e73793bf0f7fcd8f94b532bb8f5c5b44171
tree850cc08ec621dea67cdaf8bb5ef03f14ee452815
parentd5381642ab01b084787925acdf26b5524d434476
i7core_edac: Adds write unlock to MC registers

The public Intel Xeon 5500 volume 2 datasheet describes, on page 53,
session 2.6.7 a register that can lock/unlock Memory Controller the
configuration register, called MC_CFG_CONTROL.

Adds support for it in the hope that software error injection would
work. With my tests with Xeon 35xx, there's still something missing.
With a program that does sequencial bit writes at dev 0.0, sometimes, it
produces error injection, after unblocking the MC_CFG_CONTROL (and,
sometimes, it just locks my testing machine).

I'll try later to discover by trial and error what's the register that
solves this issue on Xeon 35xx.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c
include/linux/pci_ids.h