Re: [PATCH] amd64_edac: Memory size reported double on processorfamily 0Fh

From: Borislav Petkov
Date: Fri Sep 21 2012 - 11:10:55 EST


On Fri, Sep 21, 2012 at 09:54:09AM -0500, Josh Hunt wrote:
> So this is correct now:
> root@xxxxxxx:/sys/devices/system/edac/mc/mc0# grep . csrow*/size_mb
> csrow0/size_mb:1024
> csrow1/size_mb:1024
> csrow2/size_mb:1024
> csrow3/size_mb:1024

Ok, that's the same box where free reports 4G. Btw, it is in dmesg too:

[ 0.000000] TOM2: 0000000112000000 aka 4384M

> But this is not:
> root@xxxxxxx:/sys/devices/system/edac/mc/mc0# grep . size_mb
> 8192
>
> Attached patch seems to resolve reading size_mb from the mc in
> sysfs. I'm also attaching the new dmesg.

Yes, looks good. Will add it to my queue.

Thanks.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
--
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/