From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Andriy Gapon <avg-+43SdJ71VxTsG83rWm+8vg@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: decode-dimms: Module Configuration Type not reported for DDR2/3
Date: Wed, 18 Apr 2012 10:30:25 +0200 [thread overview]
Message-ID: <20120418103025.46ab7446@endymion.delvare> (raw)
In-Reply-To: <4F8DCC84.2040206-+43SdJ71VxTsG83rWm+8vg@public.gmane.org>
Hi Andriy,
On Tue, 17 Apr 2012 23:03:16 +0300, Andriy Gapon wrote:
> on 17/04/2012 14:18 Jean Delvare said the following:
> > I am attaching two patches, one for DDR2, one for DDR3, please give
> > them a try.
>
> Thanks a lot!
> I am able to test only the DDR2 part at the moment.
> With the patch I am getting the following
> Module Configuration Type Data ECC
> for these modules: http://www.valueram.com/datasheets/kvr800d2e5_2g.pdf
>
> For some definitely non-ECC modules I get the expected
> Module Configuration Type No Parity
Thanks for the report, I've applied both patches.
> P.S.
> I've noticed that the "Decoding EEPROM" message is printed with
> $dimm[$current]->{eeprom} when $opt_side_by_side is true but it is printed with
> $dimm[$current]->{file} in the other case. Not sure if this is on purpose.
I think it is on purpose. ->{file} contains the full path so it is
rather long, ->{eeprom} only contains the file name so it is much
shorter. The full path would make side-by-side output very wide, that
wouldn't be convenient, that's why the short name is used in this
output mode. In legacy output mode, the long name fits.
We _could_ use the short name in legacy output mode, as the long name
doesn't necessarily add a lot of value. I think I tried to leave the
legacy output unchanged when implementing the side-by-side output, to
avoid any regression in case someone was parsing the output of
decode-dimms. If you believe it would be better to always use the short
name, we could do that, this may even allow for a small code clean-up.
--
Jean Delvare
next prev parent reply other threads:[~2012-04-18 8:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 21:09 decode-dimms: Module Configuration Type not reported for DDR2/3 Andriy Gapon
[not found] ` <4F8C8A74.90804-+43SdJ71VxTsG83rWm+8vg@public.gmane.org>
2012-04-17 11:18 ` Jean Delvare
[not found] ` <20120417131857.4e05c67b-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-04-17 20:03 ` Andriy Gapon
[not found] ` <4F8DCC84.2040206-+43SdJ71VxTsG83rWm+8vg@public.gmane.org>
2012-04-18 8:30 ` Jean Delvare [this message]
[not found] ` <20120418103025.46ab7446-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-05-13 19:13 ` Andriy Gapon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120418103025.46ab7446@endymion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=avg-+43SdJ71VxTsG83rWm+8vg@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox