Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dmidecode for openSUSE:Factory 
checked in at 2026-12-01 17:19:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dmidecode (Old)
 and      /work/SRC/openSUSE:Factory/.dmidecode.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dmidecode"

Tue Dec  1 17:19:06 2026 rev:52 rq:1401627 version:3.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes      2026-09-04 
12:37:00.901429916 +0200
+++ /work/SRC/openSUSE:Factory/.dmidecode.new.1340718/dmidecode.changes 
2026-12-01 17:19:10.893094852 +0100
@@ -1,0 +2,6 @@
+Mon Nov 30 09:24:30 UTC 2026 - Jean Delvare <[email protected]>
+
+- Fix DDR5 PMIC0/RCD revision numbers (bsc#1271572)
+  * dmidecode-fix-pmic0-rcd-revision-number-decoding.patch
+
+-------------------------------------------------------------------

New:
----
  dmidecode-fix-pmic0-rcd-revision-number-decoding.patch

----------(New B)----------
  New:- Fix DDR5 PMIC0/RCD revision numbers (bsc#1271572)
  * dmidecode-fix-pmic0-rcd-revision-number-decoding.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dmidecode.spec ++++++
--- /var/tmp/diff_new_pack.MJjM2T/_old  2026-12-01 17:19:11.775131979 +0100
+++ /var/tmp/diff_new_pack.MJjM2T/_new  2026-12-01 17:19:11.776132021 +0100
@@ -29,6 +29,7 @@
 Source2:        %{name}.keyring
 # 
https://cgit.git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=566922aed8f865553aac053bbc43a9a1d3e3594a
 Patch1:         dmidecode-Display-slot-information-for-EDSFF.patch
+Patch2:         dmidecode-fix-pmic0-rcd-revision-number-decoding.patch
 BuildRequires:  xz
 ExclusiveArch:  %ix86 ia64 x86_64 %arm aarch64 riscv64
 


++++++ dmidecode-fix-pmic0-rcd-revision-number-decoding.patch ++++++
From: Jean Delvare <[email protected]>
Date: Tue, 24 Nov 2026 14:26:46 +0100
Subject: dmidecode: Fix PMIC0/RCD Revision Number decoding
Git-commit: 0aa2887763b2d1c58b6810766005740a382c31b0
Patch-mainline: yes
References: bsc#1271572

Decoding of fields PMIC0 Revision Number and RCD Revision Number in
record type 17 on DDR5 systems was incorrectly assuming that the
second byte would also be copied from the SPD EEPROM and would
contain the device type as well as its status (enabled or not). As
this isn't actually the case, decoding would always report:

        Device Type: Not Installed

Ignore the second byte as advised by the specification and decode
the Revision Number fields directly.

Reported-by: Sumathi Surabathina (Dell)
Signed-off-by: Jean Delvare <[email protected]>
Fixes: 0628ca4eb6ad ("dmidecode: Decode PMIC0 and RCD manufacturer ID and 
revision")
---
 dmidecode.c |   18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -3108,24 +3108,10 @@ static void dmi_memory_revision(const ch
        }
        else if (mem_type == 0x22 || mem_type == 0x23)  /* DDR5 */
        {
-               u8 dev_type = (code >> 8) & 0x0F;
                u8 dev_rev = code & 0xFF;
 
-               if (code & 0x8000)                      /* Installed */
-               {
-                       snprintf(attr, sizeof(attr), "%s Device Type",
-                                attr_type);
-                       pr_attr(attr, "%hu", dev_type);
-                       snprintf(attr, sizeof(attr), "%s Device Revision",
-                                attr_type);
-                       pr_attr(attr, "%hu.%hu", dev_rev >> 4, dev_rev & 0x0F);
-               }
-               else
-               {
-                       snprintf(attr, sizeof(attr), "%s Device Type",
-                                attr_type);
-                       pr_attr(attr, "Not Installed");
-               }
+               snprintf(attr, sizeof(attr), "%s Revision Number", attr_type);
+               pr_attr(attr, "%hu.%hu", dev_rev >> 4, dev_rev & 0x0F);
        }
        else                                            /* Generic fallback */
        {

Reply via email to