]> git.baikalelectronics.ru Git - kernel.git/commit
amd64_edac: Fix DIMMs per DCTs output
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 3 Feb 2011 14:59:57 +0000 (15:59 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 10 Feb 2011 13:41:49 +0000 (14:41 +0100)
commit6d11fe9b3f5dedca22794928368bd5924d03f30d
treed4bc1077e2e80f15a7336244fc0bf7048070f41b
parent869003efd1b68e37d3711bba73fdc4b999e3a7b7
amd64_edac: Fix DIMMs per DCTs output

amd64_debug_display_dimm_sizes() reports the distribution of the DIMMs
on each DRAM controller and its chip select sizes. Thus, the last don't
have anything to do with whether we're running in ganged DCT mode or not
- their sizes don't change all of a sudden. Fix that by removing the
ganged-check and dump DCT0's config for DCT1 when in ganged mode since
they're identical.

Reported-and-tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c