public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Paul Goyette <paul-3orOWTcw9wBWk0Htik3J/w@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Preliminary support for DDR3 in decode-dimms
Date: Tue, 9 Dec 2008 15:02:30 +0100	[thread overview]
Message-ID: <20081209150230.76314c54@hyperion.delvare> (raw)
In-Reply-To: <Pine.NEB.4.64.0812090405080.8244-j58mV80z1I3O+KjX/08HYEEOCMrvLtNR@public.gmane.org>

On Tue, 9 Dec 2008 04:07:20 -0800 (PST), Paul Goyette wrote:
> On Tue, 9 Dec 2008, Jean Delvare wrote:
> 
> >
> > Thank you. I really don't mean to waste your time here, I just want to
> > make sure that the code quality is maintained at a proper level, that
> > we do not introduce any regression, and that maintaining the code in
> > the future won't be too difficult. Do what you can and I'll do the rest.
> >
> > In fact I had already started committing some clean-ups. I'll now adjust
> > your latest patch to apply on top of that. I'll let you know what I am
> > done and we can pursue with DDR3 support.
> 
> Kewl.  Let me know when you have a new baseline for me to work with.
> 
> I actually had done some of the clean-up stuff myself, but I'm more than 
> happy to have someone more familiar with perl to do that for me.  :)

Here we go. You can fetch an up-to-date version of decode-dimms with:

svn export http://lm-sensors.org/svn/i2c-tools/trunk/eeprom/decode-dimms

Main differences with your original patch:

* readspd() only reads data from the EEPROM, it doesn't attempt to
  compute the size. The reason is that you don't even know if what
  you're reading is an SPD EEPROM yet.

* All functions take a reference to the bytes array as a parameter,
  instead of the array itself.

* Handling of Rambus types is cleaner, in particular spd_sizes() isn't
  called for Rambus, as I don't think it would handle it properly. Not
  that I really care about Rambus though, given how unpopular it is. I'm
  curious if anyone actually ever ran decode-dimms on Rambus.

* Decoding of manufacturing information has moved to a separate
  function.

The rest is essentially the same as the code you had provided. I think
we ar ready to add support for DDR3 SDRAM now.

Thanks,
-- 
Jean Delvare

      parent reply	other threads:[~2008-12-09 14:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-23 15:04 Preliminary support for DDR3 in decode-dimms (fwd) Paul Goyette
     [not found] ` <Pine.NEB.4.64.0811230659540.29668-j58mV80z1I3O+KjX/08HYEEOCMrvLtNR@public.gmane.org>
2008-11-25  9:30   ` Jean Delvare
     [not found]     ` <20081125103039.2f14bac7-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-11-25 12:10       ` Paul Goyette
     [not found]         ` <Pine.NEB.4.64.0811250408050.29070-j58mV80z1I3O+KjX/08HYEEOCMrvLtNR@public.gmane.org>
2008-12-08 13:59           ` Jean Delvare
     [not found]             ` <20081208145902.5962408c-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-12-08 14:24               ` Paul Goyette
     [not found]                 ` <Pine.NEB.4.64.0812080602060.14436-j58mV80z1I3O+KjX/08HYEEOCMrvLtNR@public.gmane.org>
2008-12-08 18:05                   ` Paul Goyette
2008-12-09  9:12                   ` Jean Delvare
     [not found]                     ` <20081209101225.2ea39aae-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-12-09 12:07                       ` Paul Goyette
     [not found]                         ` <Pine.NEB.4.64.0812090405080.8244-j58mV80z1I3O+KjX/08HYEEOCMrvLtNR@public.gmane.org>
2008-12-09 14:02                           ` Jean Delvare [this message]

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=20081209150230.76314c54@hyperion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=paul-3orOWTcw9wBWk0Htik3J/w@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