Linux I2C development
 help / color / mirror / Atom feed
* [PATCH i2c-tools v4 0/8] decode-dimms: Implement DDR5 decoding
@ 2026-07-23 13:40 Stephen Horvath
  2026-07-23 13:40 ` [PATCH i2c-tools v4 1/8] decode-dimms: Implement DDR5 checksum parsing Stephen Horvath
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Stephen Horvath @ 2026-07-23 13:40 UTC (permalink / raw)
  To: Wolfram Sang, Jean Delvare, linux-i2c@vger.kernel.org
  Cc: Stephen Horvath, Guenter Roeck, Kamil Aronowski,
	Darsey Litzenberger, Brigham Campbell

Hi, this series of patches adds DDR5 support to decode-dimms.

I'm not too experienced with perl or the JEDEC specs, so there's
probably going to be some questionable choices here, but I'd love to
hear feedback.

The first 4 patches (1, 2, 3, 4) add the essential DDR5 information to
decode-dimms.

The patches 5 & 7 haven't been tested on hardware implementations so I'm
happy for them to be dropped if they're not useful. However they add
type specific information and error log support.

Patch 8 adds XMP and EXPO support for DDR5, though I don't have access
to the datasheet for either, so I'm fine if they get dropped as well.
Though I may also implement XMP for DDR3 and DDR4 in another series if
these are well received.

Patch 6 just adds a new function `prints2`, to print a subheading,
used for the error logs, XMP and EXPO.

Signed-off-by: Stephen Horvath <s.horvath@outlook.com.au>
---
Changes in v4:
- Change the nominal VPP to 1.8V
- Fix SPD length calculation
- Add truncation to the rounding calculation
- Simplify `ddr5_round_twr` function
- Use DDR5 rounding algorithm for "Timings at Standard Speeds"
- Remove some unnecessary nanosecond conversions
- Reformat the cover letter with b4's change style
- Link to v3: https://patch.msgid.link/20260629-ddr5-v3-0-07f45075a51a@outlook.com.au

Changes in v3:
V3 has again been rebased onto master, as well as:
- The density calculation has been fixed so it no longer provides
incorrect results for >48GB modules
- tCCD_L_WR, tCCD_L_WR2, tRTP, tCCD_M, tCCD_M_WR, tCCD_M_WTR timings
have been added
- VDDQ and VPP voltages added
- Usages of DDR4 rounding has been replaced with correct DDR5 rounding
- Added a standard speed (9200) found in JESD400-5D.01
- The timings have been rearranged in order of address
- The text for the timings has been updated to more accurately reflect
the JEDEC spec
- Patches 6 and 8 have been added (`prints2` + XMP/EXPO support)
- Error log support (previously patch 6, now 7) has been improved
- Comments in patch 1 have been updated with DDR5 info
- Some patch messages have been changed slightly
- Link to v2: https://patch.msgid.link/20251106021356.208986-1-s.horvath@outlook.com.au

Changes in v2:
V2 has been rebased onto master, and patch 1 has been updated to check
byte 2 for DDR5 identification, not just byte 0, and the commit
messages have been made more formal.
- Link to v1: https://patch.msgid.link/20241114-decode-ddr5-v1-0-0ed2db8ef30f@outlook.com.au

---
Stephen Horvath (8):
      decode-dimms: Implement DDR5 checksum parsing
      decode-dimms: Decode DDR5 Manufacturer Data
      decode-dimms: Decode timings and other data for DDR5
      decode-dimms: Decode DDR5 common module information
      decode-dimms: Add basic decoding of type specific information for DDR5
      decode-dimms: Add second level separator
      decode-dimms: Decode DDR5 error log
      decode-dimms: Add DDR5 XMP 3.0 and EXPO decoding

 eeprom/decode-dimms | 840 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 834 insertions(+), 6 deletions(-)
---
base-commit: 5852f5375eea6ca9dabf31f4772cb8b8ecc905d8
change-id: 20260624-ddr5-8f35700a6a50

Best regards,
--  
Stephen Horvath <s.horvath@outlook.com.au>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-11-08 13:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 13:40 [PATCH i2c-tools v4 0/8] decode-dimms: Implement DDR5 decoding Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 1/8] decode-dimms: Implement DDR5 checksum parsing Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 2/8] decode-dimms: Decode DDR5 Manufacturer Data Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 3/8] decode-dimms: Decode timings and other data for DDR5 Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 4/8] decode-dimms: Decode DDR5 common module information Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 5/8] decode-dimms: Add basic decoding of type specific information for DDR5 Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 6/8] decode-dimms: Add second level separator Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 7/8] decode-dimms: Decode DDR5 error log Stephen Horvath
2026-07-23 13:40 ` [PATCH i2c-tools v4 8/8] decode-dimms: Add DDR5 XMP 3.0 and EXPO decoding Stephen Horvath
2026-11-08 13:51 ` [PATCH i2c-tools v4 0/8] decode-dimms: Implement DDR5 decoding Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox