]> git.baikalelectronics.ru Git - kernel.git/commit
amd64_edac: Add support for F15h DCT PCI config accesses
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 8 Oct 2010 16:32:29 +0000 (18:32 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:11 +0000 (14:46 +0100)
commitec186765dc2c879cc11e0827d4650f334dc311b3
treeafc2d4300b7ad6e8b8c92d02cdf176e55fddc689
parentbd2b92cd4dd3df5e6b3e6f0542f46e5f07070d51
amd64_edac: Add support for F15h DCT PCI config accesses

F15h "multiplexes" between the configuration space of the two DRAM
controllers by toggling D18F1x10C[DctCfgSel] while F10h has a different
set of registers for DCT0, and DCT1 in extended PCI config space.

Add DCT configuration space accessors per family thus wrapping all the
different access prerequisites. Clean up code while at it, shorten
names.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h
drivers/edac/amd64_edac_inj.c