Re: [EDAC-AMD64] Display correct RAM sizes in ganged mode on F10CPUs

From: Borislav Petkov
Date: Tue Feb 01 2011 - 13:50:28 EST


On Sat, Jan 29, 2011 at 04:15:31PM -0500, Markus Trippelsdorf wrote:
> The EDAC_AMD64 module displays only half the actual memory size, when
> RAM is running in ganged mode on F10 CPUs. Fix this by moving the the
> conversion factor check out of the if block, where it is never reached.
>
> With this patch:
>
> Unganged:
> amd64: DRAM ECC enabled.
> EDAC amd64: F10h detected (node 0).
> EDAC amd64: using x4 syndromes.
> EDAC MC: DCT0 chip selects:
> kernel: EDAC amd64: MC: 0: 1024MB 1: 1024MB
> kernel: EDAC amd64: MC: 2: 1024MB 3: 1024MB
> kernel: EDAC amd64: MC: 4: 0MB 5: 0MB
> kernel: EDAC amd64: MC: 6: 0MB 7: 0MB
> kernel: EDAC MC: DCT1 chip selects:
> kernel: EDAC amd64: MC: 0: 1024MB 1: 1024MB
> kernel: EDAC amd64: MC: 2: 1024MB 3: 1024MB
> kernel: EDAC amd64: MC: 4: 0MB 5: 0MB
> kernel: EDAC amd64: MC: 6: 0MB 7: 0MB
> kernel: EDAC amd64: MCT channel count: 2

Hmm, can you send me your whole dmesg without your patch, dmidecode
output and the exact model of your DIMMs.

Thanks.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/