Hello community,

here is the log from the commit of package dmidecode for openSUSE:Factory 
checked in at 2014-10-14 07:10:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dmidecode (Old)
 and      /work/SRC/openSUSE:Factory/.dmidecode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dmidecode"

Changes:
--------
--- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes      2014-01-14 
21:45:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2014-10-14 
07:10:23.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Oct 13 14:00:09 CEST 2014 - [email protected]
+
+- dmidecode-1.181-decode-CPUID-recent-AMD.patch: Decode the CPUID
+  of recent AMD processors (DMI type 4).
+- dmidecode-1.182-decode-ddr4-memory-type.patch: Add support for
+  DDR4 memory type (DMI type 17).
+  https://savannah.nongnu.org/bugs/?43370
+
+-------------------------------------------------------------------

New:
----
  dmidecode-1.181-decode-CPUID-recent-AMD.patch
  dmidecode-1.182-decode-ddr4-memory-type.patch

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

Other differences:
------------------
++++++ dmidecode.spec ++++++
--- /var/tmp/diff_new_pack.a74TRg/_old  2014-10-14 07:10:23.000000000 +0200
+++ /var/tmp/diff_new_pack.a74TRg/_new  2014-10-14 07:10:23.000000000 +0200
@@ -29,6 +29,8 @@
 Patch2:         dmidecode-1.175-fix-SMBIOS-2.8.0.patch
 Patch3:         dmidecode-1.176-SMBIOS-2.8-is-supported.patch
 Patch4:         dmidecode-1.177-decode-pcie3-slot-id.patch
+Patch5:         dmidecode-1.181-decode-CPUID-recent-AMD.patch
+Patch6:         dmidecode-1.182-decode-ddr4-memory-type.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 ia64 x86_64 %arm aarch64
 Obsoletes:      pmtools < 20071117
@@ -53,6 +55,8 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 %build
 make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}

++++++ dmidecode-1.181-decode-CPUID-recent-AMD.patch ++++++
Subject: Decode the CPUID of recent AMD processors
Upstream: yes, 1.181
---
 dmidecode.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -1012,11 +1012,11 @@ static void dmi_processor_id(u8 type, co
                sig = 1;
        else if ((type >= 0x18 && type <= 0x1D) /* AMD */
              || type == 0x1F /* AMD */
-             || (type >= 0x38 && type <= 0x3E) /* AMD */
-             || (type >= 0x46 && type <= 0x49) /* AMD */
+             || (type >= 0x38 && type <= 0x3F) /* AMD */
+             || (type >= 0x46 && type <= 0x4F) /* AMD */
              || (type >= 0x83 && type <= 0x8F) /* AMD */
              || (type >= 0xB6 && type <= 0xB7) /* AMD */
-             || (type >= 0xE6 && type <= 0xEF)) /* AMD */
+             || (type >= 0xE4 && type <= 0xEF)) /* AMD */
                sig = 2;
        else if (type == 0x01 || type == 0x02)
        {
++++++ dmidecode-1.182-decode-ddr4-memory-type.patch ++++++
Subject: Add support for DDR4 memory type
Upstream: yes, 1.182
References: savannah#43370

Patch from Tomohiro Kimura. The value was taken from preliminary SMBIOS
specification version 3.0.0d. This closes bug #43370.
---
 dmidecode.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -2311,10 +2311,11 @@ static const char *dmi_memory_device_typ
                "Reserved",
                "Reserved",
                "DDR3",
-               "FBD2", /* 0x19 */
+               "FBD2",
+               "DDR4" /* 0x1A */
        };
 
-       if (code >= 0x01 && code <= 0x19)
+       if (code >= 0x01 && code <= 0x1A)
                return type[code - 0x01];
        return out_of_spec;
 }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to