]> asedeno.scripts.mit.edu Git - linux.git/commit
edac: sb_edac.c should not require prescence of IMC_DDRIO device
authorLuck, Tony <tony.luck@intel.com>
Thu, 28 Mar 2013 16:59:15 +0000 (09:59 -0700)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Apr 2013 13:32:40 +0000 (10:32 -0300)
commitde4772c621487fd4cadb4138f2481297c8e0cb0d
tree074895ee1887707634c372397959ec03e3be2eec
parent33ad41263da5df8ac55d4010a015063ff88712e8
edac: sb_edac.c should not require prescence of IMC_DDRIO device

The Sandy Bridge EDAC driver uses a register in the IMC_DDRIO CSR
space to determine the type of DIMMs (registered or unregistered).
But this device does not exist on some single socket Sandy Bridge
servers.  While the type of DIMMs is nice to know, it is not essential
for this driver's other functions. So it seems harsh to have it
refuse to load at all when it cannot find this device.

Make the check for this device be optional. If it isn't present
just report the memory type as "MEM_UNKNOWN".

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/sb_edac.c