[PATCH] decode-dimms: display MAC from DDR3 SPD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JEDEC Standard No. 21-C, Annex K, Release 6

Byte 41 is specified, the lower part containing
the MAC value, identical as DDR4.
---
 eeprom/decode-dimms | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms
index b976442..2c33f0b 100755
--- a/eeprom/decode-dimms
+++ b/eeprom/decode-dimms
@@ -1703,6 +1703,12 @@ sub decode_ddr3_sdram($)
 		tns3($bytes->[27] * $mtb));
 	printl("Minimum Four Activate Window Delay (tFAW)",
 		tns3(((($bytes->[28] & 15) << 8) + $bytes->[29]) * $mtb));
+# other information
+        my @mac = ("Untested",
+                   "700 K", "600 K", "500 K", "400 K", "300 K", "200 K",
+                   undef, "Unlimited");
+        my $mac = $bytes->[41] & 0x0f;
+        printl_cond(defined $mac[$mac], "Maximum Active Count (MAC)", $mac[$mac]);
 
 # miscellaneous stuff
 	prints("Optional Features");
-- 
2.20.1




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux