]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba99c450e6ca927762db4608ea5edec3dd91edf5
tree850cc08ec621dea67cdaf8bb5ef03f14ee452815
parent7daf0f4f73f6952474460735ef162ac027db7ada
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