Hello community,

here is the log from the commit of package dmidecode.15106 for 
openSUSE:Leap:15.2:Update checked in at 2020-11-27 06:24:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/dmidecode.15106 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.dmidecode.15106.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dmidecode.15106"

Fri Nov 27 06:24:47 2020 rev:1 rq:850342 version:3.2

Changes:
--------
New Changes file:

--- /dev/null   2020-11-18 17:46:03.679371574 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.dmidecode.15106.new.5913/dmidecode.changes 
    2020-11-27 06:24:48.665154356 +0100
@@ -0,0 +1,265 @@
+-------------------------------------------------------------------
+Fri Oct 30 16:45:17 UTC 2020 - Jean Delvare <jdelv...@suse.de>
+
+Partial support for SMBIOS 3.4.0:
+- dmidecode-add-memory-device-types-from-smbios-3.4.0.patch,
+  dmidecode-add-processor-characteristics-bits-from-smbios-3.4.0.patch,
+  dmidecode-add-processor-upgrades-from-smbios-3.4.0.patch,
+  dmidecode-add-slot-characteristics2-from-smbios-3.4.0.patch,
+  dmidecode-add-system-slot-types-from-smbios-3.4.0.patch: Add
+  enumerated values from SMBIOS 3.4.0 (bsc#1174257).
+
+1 presentation fix from upstream:
+- dmidecode-skip-details-of-uninstalled-memory-modules.patch:
+  Skip details of uninstalled memory modules (bsc#1174257).
+
+-------------------------------------------------------------------
+Wed Dec 18 11:08:18 UTC 2019 - Jean Delvare <jdelv...@suse.de>
+
+Partial support for SMBIOS 3.3.0:
+- dmidecode-add-enumerated-values-from-smbios-3.3.0.patch: Add
+  enumerated values from SMBIOS 3.3.0 (bsc#1153533 bsc#1158833
+  jsc#SLE-10875).
+
+3 recommended fixes from upstream:
+- dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch: Only
+  scan /dev/mem for entry point on x86 (fixes reboot on ARM64).
+- dmidecode-fix-formatting-of-tpm-table-output.patch: Fix
+  formatting of TPM table output (missing newlines).
+- dmidecode-fix-system-slot-information-for-pcie-ssd.patch: Fix
+  System Slot Information for PCIe SSD.
+
+-------------------------------------------------------------------
+Wed Jan 16 09:23:52 UTC 2019 - jdelv...@suse.de
+
+- dmidecode-add-logical-non-volatile-device.patch: Add "Logical
+  non-volatile device" to the memory device types (bsc#1120149).
+- Use %doc directly on files instead of installing them explicitly.
+
+-------------------------------------------------------------------
+Mon Jan 14 16:32:30 CET 2019 - jdelv...@suse.de
+
+- Don't overwrite the path of license (boo#1121851).
+
+-------------------------------------------------------------------
+Mon Oct 22 14:51:29 CEST 2018 - jdelv...@suse.de
+
+- dmidecode-fix-redfish-hostname-print-length.patch: Fix Redfish
+  Hostname print length (bsc#1112755).
+
+-------------------------------------------------------------------
+Mon Sep 17 13:01:40 CEST 2018 - jdelv...@suse.de
+
+- Update to upstream version 3.2 (FATE#326044):
+  * [COMPATIBILITY] The UUID is now displayed using lowercase
+    letters, per RFC 4122 (#53569). You must ensure that any code
+    parsing it is case-insensitive.
+  * Support for SMBIOS 3.2.0. This includes new processor names,
+    new socket and port connector types, new system slot state and
+    property, and support for non-volatile memory (NVDIMM).
+  * Support for Redfish management controllers.
+  * A new command line option to query a specific structure by its
+    handle.
+  * A new command line option to query the system family string.
+  * Support for 3 ThinkPad-specific structures (patch #9642).
+  * Support for HPE's new company name.
+  * Support UEFI on FreeBSD.
+  * Important bug fixes:
+    Fix firmware version of TPM device
+    Fix the HPE UEFI feature flag check
+  * (biosdecode) A new command line option to fully decode PIR
+    information (support request #109339).
+  * Obsoletes dmioem-reflect-hpe-new-company-name.patch,
+    dmidecode-fix-tpm-device-firmware-version.patch, and
+    dmioem-fix-hpe-type-219-uefi-flag.patch.
+  * CHANGELOG is gone, package more compact NEWS file instead.
+- Reenable signature checking.
+- Use %license for LICENSE file.
+
+-------------------------------------------------------------------
+Tue Apr 17 09:54:57 UTC 2018 - jdelv...@suse.de
+
+- dmioem-reflect-hpe-new-company-name.patch: Reflect HPE's new
+  company name.
+- dmidecode-fix-tpm-device-firmware-version.patch: Fix firmware
+  version of TPM device.
+- dmioem-fix-hpe-type-219-uefi-flag.patch: Fix the reporting of
+  HP/HPE UEFI feature.
+
+-------------------------------------------------------------------
+Mon Jul 17 14:43:37 CEST 2017 - jdelv...@suse.de
+
+- Add missing bug numbers and FATE references in changes file
+  (bsc#1041670).
+
+-------------------------------------------------------------------
+Wed May 24 13:50:05 UTC 2017 - jdelv...@suse.de
+
+- Update to upstream version 3.1:
+  * Support for SMBIOS 3.1.0 and 3.1.1. This includes new chassis
+    types, new processor family names, new processor family upgrade
+    names, and new slot types, as well as support of larger BIOS
+    ROM sizes and cache sizes, and a new structure type (43, TPM
+    Device.)
+  * A new command line option to query OEM strings.
+  * All error messages are now printed on stderr (#47274, #48158.)
+  * Fixes a crash with SIGBUS (#46066.)
+  * Various minor fixes, improvements and cleanups.
+  * Obsoletes dmidecode-01-add-no-sysfs-option-description-to-h-output.patch,
+    dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch,
+    dmidecode-03-let-read_file-return-the-actual-data-size.patch,
+    dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch,
+    dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch,
+    dmidecode-06-hide-irrelevant-fixup-message.patch, and
+    dmidecode-07-only-decode-one-dmi-table.patch.
+
+-------------------------------------------------------------------
+Fri Jan 20 13:18:38 CET 2017 - jdelv...@suse.de
+
+- dmidecode-07-only-decode-one-dmi-table.patch: Only decode one
+  DMI table.
+  https://savannah.nongnu.org/bugs/?50022
+
+-------------------------------------------------------------------
+Tue May  3 14:10:41 UTC 2016 - jdelv...@suse.de
+
+- dmidecode-01-add-no-sysfs-option-description-to-h-output.patch:
+  Add "--no-sysfs" option description to -h output.
+- dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch:
+  Fix 'No SMBIOS nor DMI entry point found' on SMBIOS3.
+- dmidecode-03-let-read_file-return-the-actual-data-size.patch:
+  Let read_file return the actual data size.
+- dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch:
+  Use read_file() to read the DMI table from sysfs.
+  https://savannah.nongnu.org/bugs/?46176
+- dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch:
+  Use DWORD for Structure table maximum size in SMBIOS3.
+- dmidecode-06-hide-irrelevant-fixup-message.patch:
+  Hide irrelevant fixup message.
+  http://savannah.nongnu.org/support/?109024
+
+-------------------------------------------------------------------
+Thu Sep  3 10:57:15 CEST 2015 - jdelv...@suse.de
+
+- Update to upstream version 3.0 (FATE#320746, FATE#320773):
+  * Adds support for SMBIOS 3.0. This includes a new (64-bit) entry
+    point format and new enumerated values for recent hardware.
+  * Adds support for the new kernel interface (as of Linux v4.2) as
+    an alternative to relying on /dev/mem to access the entry point
+    and DMI table.
+  * Adds decoding of Acer-specific DMI type 170 and HP-specific DMI
+    types 212, 219 and 233.
+  * Obsoletes dmidecode-1.173-drop-cast.patch,
+    dmidecode-1.175-fix-SMBIOS-2.8.0.patch,
+    dmidecode-1.176-SMBIOS-2.8-is-supported.patch,
+    dmidecode-1.177-decode-pcie3-slot-id.patch,
+    dmidecode-1.181-decode-CPUID-recent-AMD.patch, and
+    dmidecode-1.182-decode-ddr4-memory-type.patch.
+  * Various minor fixes and clean-ups.
+  * Skip the SMBIOS version comparison in quiet mode (bsc#974862).
+
+-------------------------------------------------------------------
+Sun Feb 22 09:07:28 UTC 2015 - meiss...@suse.com
+
+- dmidecode.keyring was empty, reference the savannah keyring.
+  but the tarball is signed by someone unknown without gpg signatures,
+  so no keyring for now.
+
+-------------------------------------------------------------------
+Fri Feb 20 20:55:12 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Add gpg signature
+
+-------------------------------------------------------------------
+Mon Oct 13 14:00:09 CEST 2014 - jdelv...@suse.de
+
+- 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) (bsc#955705).
+  https://savannah.nongnu.org/bugs/?43370
+
+-------------------------------------------------------------------
+Mon Jan 13 17:31:16 CET 2014 - jdelv...@suse.de
+
+- dmidecode-1.176-SMBIOS-2.8-is-supported.patch: Bump
+  SUPPORTED_SMBIOS_VER so that SMBIOS 2.8 implementations don't
+  trigger a warning.
+- dmidecode-1.177-decode-pcie3-slot-id.patch: Decode ID of PCI
+  Express 3 slots (DMI type 9.)
+  https://savannah.nongnu.org/bugs/?40178
+
+-------------------------------------------------------------------
+Fri Apr 26 12:37:12 UTC 2013 - guilla...@opensuse.org
+
+- Enable build for ARM
+
++++ 68 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.dmidecode.15106.new.5913/dmidecode.changes

New:
----
  dmidecode-3.2.tar.xz
  dmidecode-3.2.tar.xz.sig
  dmidecode-add-enumerated-values-from-smbios-3.3.0.patch
  dmidecode-add-logical-non-volatile-device.patch
  dmidecode-add-memory-device-types-from-smbios-3.4.0.patch
  dmidecode-add-processor-characteristics-bits-from-smbios-3.4.0.patch
  dmidecode-add-processor-upgrades-from-smbios-3.4.0.patch
  dmidecode-add-slot-characteristics2-from-smbios-3.4.0.patch
  dmidecode-add-system-slot-types-from-smbios-3.4.0.patch
  dmidecode-fix-formatting-of-tpm-table-output.patch
  dmidecode-fix-redfish-hostname-print-length.patch
  dmidecode-fix-system-slot-information-for-pcie-ssd.patch
  dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch
  dmidecode-skip-details-of-uninstalled-memory-modules.patch
  dmidecode.changes
  dmidecode.keyring
  dmidecode.spec

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

Other differences:
------------------
++++++ dmidecode.spec ++++++
#
# spec file for package dmidecode
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           dmidecode
Version:        3.2
Release:        0
Summary:        DMI table decoder
License:        GPL-2.0-or-later
Group:          System/Console
Url:            http://www.nongnu.org/dmidecode/
Source0:        
http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
Source1:        
http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig
# https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode
Source2:        %{name}.keyring
Patch1:         dmidecode-fix-redfish-hostname-print-length.patch
Patch2:         dmidecode-add-logical-non-volatile-device.patch
Patch3:         dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch
Patch4:         dmidecode-fix-formatting-of-tpm-table-output.patch
Patch5:         dmidecode-fix-system-slot-information-for-pcie-ssd.patch
Patch6:         dmidecode-add-enumerated-values-from-smbios-3.3.0.patch
Patch7:         dmidecode-add-memory-device-types-from-smbios-3.4.0.patch
Patch8:         dmidecode-add-processor-upgrades-from-smbios-3.4.0.patch
Patch9:         dmidecode-add-slot-characteristics2-from-smbios-3.4.0.patch
Patch10:        dmidecode-add-system-slot-types-from-smbios-3.4.0.patch
Patch11:        
dmidecode-add-processor-characteristics-bits-from-smbios-3.4.0.patch
Patch12:        dmidecode-skip-details-of-uninstalled-memory-modules.patch
Provides:       pmtools:%{_sbindir}/dmidecode
Obsoletes:      pmtools < 20071117
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  xz
ExclusiveArch:  %ix86 ia64 x86_64 %arm aarch64

%description
Dmidecode reports information about your system's hardware as described
in your system BIOS according to the SMBIOS/DMI standard. This
information typically includes system manufacturer, model name, serial
number, BIOS version, asset tag as well as a lot of other details of
varying level of interest and reliability depending on the
manufacturer. This will often include usage status for the CPU sockets,
expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the
list of I/O ports (e.g. serial, parallel, USB).

Beware that DMI data have proven to be too unreliable to be blindly
trusted. Dmidecode does not scan your hardware, it only reports what
the BIOS told it to.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1

%build
make CFLAGS="%{optflags}" %{?_smp_mflags}

%install
install -dm 755 %{buildroot}%{_sbindir}
install -dm 755 %{buildroot}%{_mandir}/man8
install -dm 755 %{buildroot}%{_docdir}/%{name}
%ifarch ia64 %arm aarch64
for i in dmidecode ; do
%else
for i in dmidecode vpddecode ownership biosdecode ; do
%endif
install -m 755 $i %{buildroot}%{_sbindir}/
install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/
done

%files
%defattr(-,root,root)
%{_sbindir}/*
%dir %{_docdir}/%{name}
%doc AUTHORS NEWS README
%{_mandir}/man8/*
%license LICENSE

%changelog
++++++ dmidecode-add-enumerated-values-from-smbios-3.3.0.patch ++++++
From: Jean Delvare <jdelv...@suse.de>
Date: Wed, 23 Oct 2019 12:44:13 +0200
Subject: dmidecode: Add enumerated values from SMBIOS 3.3.0
Git-commit: 3fa833fd78ff5eb74f9459e061e26e063ed648d5
Patch-mainline: yes
References: bsc#1153533 bsc#1158833 jsc#SLE-10875

Add all the enumerated values from the SMBIOS 3.3.0 specification
update that was released last month.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
Reviewed-by: Jerry Hoemann <jerry.hoem...@hpe.com>
---
 dmidecode.c |   44 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 9 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -932,6 +932,10 @@ static const char *dmi_processor_family(
                { 0x140, "WinChip" },
                { 0x15E, "DSP" },
                { 0x1F4, "Video Processor" },
+
+               { 0x200, "RV32" },
+               { 0x201, "RV64" },
+               { 0x202, "RV128" },
        };
        /*
         * Note to developers: when adding entries to this list, check if
@@ -1815,6 +1819,9 @@ static const char *dmi_slot_type(u8 code
                "PCI Express Mini 52-pin without bottom-side keep-outs",
                "PCI Express Mini 76-pin" /* 0x23 */
        };
+       static const char *type_0x30[] = {
+               "CXL FLexbus 1.0" /* 0x30 */
+       };
        static const char *type_0xA0[] = {
                "PC-98/C20", /* 0xA0 */
                "PC-98/C24",
@@ -1838,7 +1845,14 @@ static const char *dmi_slot_type(u8 code
                "PCI Express 3 x2",
                "PCI Express 3 x4",
                "PCI Express 3 x8",
-               "PCI Express 3 x16" /* 0xB6 */
+               "PCI Express 3 x16",
+               out_of_spec, /* 0xB7 */
+               "PCI Express 4",
+               "PCI Express 4 x1",
+               "PCI Express 4 x2",
+               "PCI Express 4 x4",
+               "PCI Express 4 x8",
+               "PCI Express 4 x16" /* 0xBD */
        };
        /*
         * Note to developers: when adding entries to these lists, check if
@@ -1847,7 +1861,9 @@ static const char *dmi_slot_type(u8 code
 
        if (code >= 0x01 && code <= 0x23)
                return type[code - 0x01];
-       if (code >= 0xA0 && code <= 0xB6)
+       if (code == 0x30)
+               return type_0x30[code - 0x30];
+       if (code >= 0xA0 && code <= 0xBD)
                return type_0xA0[code - 0xA0];
        return out_of_spec;
 }
@@ -1951,6 +1967,12 @@ static void dmi_slot_id(u8 code1, u8 cod
                case 0xB4: /* PCI Express 3 */
                case 0xB5: /* PCI Express 3 */
                case 0xB6: /* PCI Express 3 */
+               case 0xB8: /* PCI Express 4 */
+               case 0xB9: /* PCI Express 4 */
+               case 0xBA: /* PCI Express 4 */
+               case 0xBB: /* PCI Express 4 */
+               case 0xBC: /* PCI Express 4 */
+               case 0xBD: /* PCI Express 4 */
                        printf("%sID: %u\n", prefix, code1);
                        break;
                case 0x07: /* PCMCIA */
@@ -2292,12 +2314,13 @@ static const char *dmi_memory_array_loca
                "PC-98/C20 Add-on Card", /* 0xA0 */
                "PC-98/C24 Add-on Card",
                "PC-98/E Add-on Card",
-               "PC-98/Local Bus Add-on Card" /* 0xA3 */
+               "PC-98/Local Bus Add-on Card",
+               "CXL Flexbus 1.0" /* 0xA4 */
        };
 
        if (code >= 0x01 && code <= 0x0A)
                return location[code - 0x01];
-       if (code >= 0xA0 && code <= 0xA3)
+       if (code >= 0xA0 && code <= 0xA4)
                return location_0xA0[code - 0xA0];
        return out_of_spec;
 }
@@ -2420,10 +2443,11 @@ static const char *dmi_memory_device_for
                "RIMM",
                "SODIMM",
                "SRIMM",
-               "FB-DIMM" /* 0x0F */
+               "FB-DIMM",
+               "Die" /* 0x10 */
        };
 
-       if (code >= 0x01 && code <= 0x0F)
+       if (code >= 0x01 && code <= 0x10)
                return form_factor[code - 0x01];
        return out_of_spec;
 }
@@ -2472,10 +2496,12 @@ static const char *dmi_memory_device_typ
                "LPDDR2",
                "LPDDR3",
                "LPDDR4",
-               "Logical non-volatile device" /* 0x1F */
+               "Logical non-volatile device",
+               "HBM",
+               "HBM2" /* 0x21 */
        };
 
-       if (code >= 0x01 && code <= 0x1F)
+       if (code >= 0x01 && code <= 0x21)
                return type[code - 0x01];
        return out_of_spec;
 }
@@ -2531,7 +2557,7 @@ static void dmi_memory_technology(u8 cod
                "NVDIMM-N",
                "NVDIMM-F",
                "NVDIMM-P",
-               "Intel persistent memory" /* 0x07 */
+               "Intel Optane DC persistent memory" /* 0x07 */
        };
        if (code >= 0x01 && code <= 0x07)
                printf(" %s", technology[code - 0x01]);
++++++ dmidecode-add-logical-non-volatile-device.patch ++++++
From: Jean Delvare <jdelv...@suse.de>
Date: Wed, 16 Jan 2019 09:04:55 +0100
Subject: dmidecode: Add "Logical non-volatile device" to the memory device types
Git-commit: 74dfb854b8199ddb0a27e89296fa565f4706cb9d
Patch-mainline: yes
References: bsc#1120149

When adding support for non-volative memory, we forgot to add
"Logical non-volatile device" to the list of memory types. This
causes NVDIMM modules to show up as <OUT OF SPEC>. Fix the problem
by adding the missing enumerated value.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
Reviewed-by: Jerry Hoemann <jerry.hoem...@hpe.com>
---
 dmidecode.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -2469,10 +2469,11 @@ static const char *dmi_memory_device_typ
                "LPDDR",
                "LPDDR2",
                "LPDDR3",
-               "LPDDR4" /* 0x1E */
+               "LPDDR4",
+               "Logical non-volatile device" /* 0x1F */
        };
 
-       if (code >= 0x01 && code <= 0x1E)
+       if (code >= 0x01 && code <= 0x1F)
                return type[code - 0x01];
        return out_of_spec;
 }
++++++ dmidecode-add-memory-device-types-from-smbios-3.4.0.patch ++++++
From: Prabhakar pujeri <prabhakar.puj...@gmail.com>
Date: Mon, 19 Oct 2020 14:38:04 +0200
Subject: Add new memory device types from SMBIOS spec 3.4.0
Git-commit: 7e25483a392e292c58cea67ba4d052856c2f35d0
Patch-mainline: yes
References: bsc#1174257

Added 2 more new values (0x22 and 0x23).
---
 dmidecode.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -2498,10 +2498,12 @@ static const char *dmi_memory_device_typ
                "LPDDR4",
                "Logical non-volatile device",
                "HBM",
-               "HBM2" /* 0x21 */
+               "HBM2",
+               "DDR5",
+               "LPDDR5" /* 0x23 */
        };
 
-       if (code >= 0x01 && code <= 0x21)
+       if (code >= 0x01 && code <= 0x23)
                return type[code - 0x01];
        return out_of_spec;
 }
++++++ dmidecode-add-processor-characteristics-bits-from-smbios-3.4.0.patch 
++++++
From: Prabhakar pujeri <prabhakar.puj...@gmail.com>
Date: Fri, 23 Oct 2020 17:45:16 +0200
Subject: Add new processor characteristics bits from SMBIOS spec 3.4.0
Git-commit: b289de9deb325eeef7919a1f4e3ac1f93b099c16
Patch-mainline: yes
References: bsc#1174257

* The bit to indicate 128-bit capable processor
* The bit to indicate processor supports returning ARM64  SoC ID
---
 dmidecode.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -1318,7 +1318,9 @@ static void dmi_processor_characteristic
                "Hardware Thread",
                "Execute Protection",
                "Enhanced Virtualization",
-               "Power/Performance Control" /* 7 */
+               "Power/Performance Control",
+               "128-bit Capable"
+               "Arm64 SoC ID" /* 9 */
        };
 
        if ((code & 0x00FC) == 0)
@@ -1328,7 +1330,7 @@ static void dmi_processor_characteristic
                int i;
 
                printf("\n");
-               for (i = 2; i <= 7; i++)
+               for (i = 2; i <= 9; i++)
                        if (code & (1 << i))
                                printf("%s%s\n", prefix, characteristics[i - 
2]);
        }
++++++ dmidecode-add-processor-upgrades-from-smbios-3.4.0.patch ++++++
From: Prabhakar pujeri <prabhakar.puj...@gmail.com>
Date: Mon, 19 Oct 2020 14:38:04 +0200
Subject: Add new processor upgrades from SMBIOS spec 3.4.0
Git-commit: b3b4c29f38b29a6ac3779ff97363d42fd3061c4a
Patch-mainline: yes
References: bsc#1174257

Added 2 more new values (0x3D and 0x3E).
---
 dmidecode.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -1286,10 +1286,12 @@ static const char *dmi_processor_upgrade
                "Socket LGA2066",
                "Socket BGA1392",
                "Socket BGA1510",
-               "Socket BGA1528" /* 0x3C */
+               "Socket BGA1528",
+               "Socket LGA4189",
+               "Socket LGA1200" /* 0x3E */
        };
 
-       if (code >= 0x01 && code <= 0x3C)
+       if (code >= 0x01 && code <= 0x3E)
                return upgrade[code - 0x01];
        return out_of_spec;
 }
++++++ dmidecode-add-slot-characteristics2-from-smbios-3.4.0.patch ++++++
From: Prabhakar pujeri <prabhakar.puj...@gmail.com>
Date: Mon, 19 Oct 2020 15:04:30 +0200
Subject: Add new slot characteristics2 from SMBIOS spec 3.4.0
Git-commit: 4304d3aca801534ae0e4ebab5e4b4cef0c866315
Patch-mainline: yes
References: bsc#1174257

* The bit to indicate PCIe surprise removal support.
* The bit to indicate Flexbus CXL 1.0 version.
* The bit to indicate Flexbus CXL 2.0 version.
---
 dmidecode.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -2000,7 +2000,10 @@ static void dmi_slot_characteristics(u8
                "PME signal is supported", /* 0 */
                "Hot-plug devices are supported",
                "SMBus signal is supported",
-               "PCIe slot bifurcation is supported" /* 3 */
+               "PCIe slot bifurcation is supported",
+               "Async/surprise removal is supported",
+               "Flexbus slot, CXL 1.0 capable",
+               "Flexbus slot, CXL 2.0 capable" /* 6 */
        };
 
        if (code1 & (1 << 0))
@@ -2015,7 +2018,7 @@ static void dmi_slot_characteristics(u8
                for (i = 1; i <= 7; i++)
                        if (code1 & (1 << i))
                                printf("%s%s\n", prefix, characteristics1[i - 
1]);
-               for (i = 0; i <= 3; i++)
+               for (i = 0; i <= 6; i++)
                        if (code2 & (1 << i))
                                printf("%s%s\n", prefix, characteristics2[i]);
        }
++++++ dmidecode-add-system-slot-types-from-smbios-3.4.0.patch ++++++
From: Jean Delvare <jdelv...@suse.de>
Date: Wed, 21 Oct 2020 15:24:40 +0200
Subject: dmidecode: Add new system slot types from SMBIOS spec 3.4.0
Git-commit: c54348130a2a2e267bb0435d61b21760aec9dfa9
Patch-mainline: yes
References: bsc#1174257

Based on an earlier patch from Prabhakar Pujeri (Dell).

Version 3.4.0 of the SMBIOS specification adds 14 new system slot
types and updates 2 (DMI type 9).

Signed-off-by: Jean Delvare <jdelv...@suse.de>
---
 dmidecode.c |   26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -1815,11 +1815,16 @@ static const char *dmi_slot_type(u8 code
                "MXM Type IV",
                "MXM 3.0 Type A",
                "MXM 3.0 Type B",
-               "PCI Express 2 SFF-8639",
-               "PCI Express 3 SFF-8639",
+               "PCI Express 2 SFF-8639 (U.2)",
+               "PCI Express 3 SFF-8639 (U.2)",
                "PCI Express Mini 52-pin with bottom-side keep-outs",
                "PCI Express Mini 52-pin without bottom-side keep-outs",
-               "PCI Express Mini 76-pin" /* 0x23 */
+               "PCI Express Mini 76-pin"
+               "PCI Express 4 SFF-8639 (U.2)",
+               "PCI Express 5 SFF-8639 (U.2)",
+               "OCP NIC 3.0 Small Form Factor (SFF)",
+               "OCP NIC 3.0 Large Form Factor (LFF)",
+               "OCP NIC Prior to 3.0" /* 0x28 */
        };
        static const char *type_0x30[] = {
                "CXL FLexbus 1.0" /* 0x30 */
@@ -1854,18 +1859,27 @@ static const char *dmi_slot_type(u8 code
                "PCI Express 4 x2",
                "PCI Express 4 x4",
                "PCI Express 4 x8",
-               "PCI Express 4 x16" /* 0xBD */
+               "PCI Express 4 x16",
+               "PCI Express 5",
+               "PCI Express 5 x1",
+               "PCI Express 5 x2",
+               "PCI Express 5 x4",
+               "PCI Express 5 x8",
+               "PCI Express 5 x16",
+               "PCI Express 6+",
+               "EDSFF E1",
+               "EDSFF E3" /* 0xC6 */
        };
        /*
         * Note to developers: when adding entries to these lists, check if
         * function dmi_slot_id below needs updating too.
         */
 
-       if (code >= 0x01 && code <= 0x23)
+       if (code >= 0x01 && code <= 0x28)
                return type[code - 0x01];
        if (code == 0x30)
                return type_0x30[code - 0x30];
-       if (code >= 0xA0 && code <= 0xBD)
+       if (code >= 0xA0 && code <= 0xC6)
                return type_0xA0[code - 0xA0];
        return out_of_spec;
 }
++++++ dmidecode-fix-formatting-of-tpm-table-output.patch ++++++
From: Deomid rojer Ryabkov <roj...@fb.com>
Date: Mon, 26 Aug 2019 14:20:15 +0200
Subject: Fix formatting of TPM table output
Git-commit: 1d0db85949a5bdd96375f6131d393a11204302a6
Patch-mainline: yes

Added missing newlines.

Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43 (TPM 
Device)")

---
 dmidecode.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- dmidecode-3.2.orig/dmidecode.c      2019-08-26 14:35:26.209257695 +0200
+++ dmidecode-3.2/dmidecode.c   2019-08-26 14:35:28.271284010 +0200
@@ -4991,7 +4991,7 @@ static void dmi_decode(const struct dmi_
                        printf("\tVendor ID:");
                        dmi_tpm_vendor_id(data + 0x04);
                        printf("\n");
-                       printf("\tSpecification Version: %d.%d", data[0x08], 
data[0x09]);
+                       printf("\tSpecification Version: %d.%d\n", data[0x08], 
data[0x09]);
                        switch (data[0x08])
                        {
                                case 0x01:
@@ -5014,7 +5014,7 @@ static void dmi_decode(const struct dmi_
                                         */
                                        break;
                        }
-                       printf("\tDescription: %s", dmi_string(h, data[0x12]));
+                       printf("\tDescription: %s\n", dmi_string(h, 
data[0x12]));
                        printf("\tCharacteristics:\n");
                        dmi_tpm_characteristics(QWORD(data + 0x13), "\t\t");
                        if (h->length < 0x1F) break;
++++++ dmidecode-fix-redfish-hostname-print-length.patch ++++++
From: Charles Rose <charles.r...@dell.com>
Date: Mon, 22 Oct 2018 09:48:02 +0200
Subject: dmidecode: Fix Redfish Hostname print length
Git-commit: fde47bb227b8fa817c88d7e10a8eb771c46de1df
Patch-mainline: yes
References: bsc#1112755

Redfish Hostname prints beyond hlen characters. Fix it.

Signed-off-by: Charles Rose <charles.r...@dell.com>
Fixes: 78539b06117c ("dmidecode: Parse Modern Management Controller blocks")
Acked-by: Neil Horman <nhor...@tuxdriver.com>
Signed-off-by: Jean Delvare <jdelv...@suse.de>
---
 dmidecode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -3609,7 +3609,7 @@ static void dmi_parse_protocol_record(co
                hname = out_of_spec;
                hlen = strlen(out_of_spec);
        }
-       printf("%s\t\tRedfish Service Hostname: %*s\n", prefix, hlen, hname);
+       printf("%s\t\tRedfish Service Hostname: %.*s\n", prefix, hlen, hname);
 }
 
 /*
++++++ dmidecode-fix-system-slot-information-for-pcie-ssd.patch ++++++
From: Prabhakar pujeri <prabhakar.puj...@dell.com>
Date: Tue, 15 Oct 2019 14:24:46 +0200
Subject: dmidecode: Fix System Slot Information for PCIe SSD
Git-commit: fd08479625b5845e4d725ab628628f7ebfccc407
Patch-mainline: yes

Output for type 9 show <out of spec> for PCIe SSD. SMBIOS spec table
48 describes 2.5" and 3.5" PCIe SSD formats.

Signed-off-by: Prabhakar pujeri <prabhakar.puj...@dell.com>
Signed-off-by: Jean Delvare <jdelv...@suse.de>
---
 dmidecode.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -1900,10 +1900,12 @@ static const char *dmi_slot_length(u8 co
                "Other", /* 0x01 */
                "Unknown",
                "Short",
-               "Long" /* 0x04 */
+               "Long",
+               "2.5\" drive form factor",
+               "3.5\" drive form factor" /* 0x06 */
        };
 
-       if (code >= 0x01 && code <= 0x04)
+       if (code >= 0x01 && code <= 0x06)
                return length[code - 0x01];
        return out_of_spec;
 }
++++++ dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch ++++++
From: Jean Delvare <jdelv...@suse.de>
Date: Mon, 26 Aug 2019 14:20:15 +0200
Subject: dmidecode: Only scan /dev/mem for entry point on x86
Git-commit: e12ec26e19e02281d3e7258c3aabb88a5cf5ec1d
Patch-mainline: yes

x86 is the only architecture which can have a DMI entry point scanned
from /dev/mem. Do not attempt it on other architectures, because not
only it can't work, but it can even cause the system to reboot.

This fixes support request #109697:
https://savannah.nongnu.org/support/?109697

---
 dmidecode.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

--- dmidecode-3.2.orig/dmidecode.c      2019-08-26 14:35:22.767213766 +0200
+++ dmidecode-3.2/dmidecode.c   2019-08-26 14:35:26.209257695 +0200
@@ -2,7 +2,7 @@
  * DMI Decode
  *
  *   Copyright (C) 2000-2002 Alan Cox <a...@redhat.com>
- *   Copyright (C) 2002-2018 Jean Delvare <jdelv...@suse.de>
+ *   Copyright (C) 2002-2019 Jean Delvare <jdelv...@suse.de>
  *
  *   This program is free software; you can redistribute it and/or modify
  *   it under the terms of the GNU General Public License as published by
@@ -5535,7 +5535,7 @@ int main(int argc, char * const argv[])
        off_t fp;
        size_t size;
        int efi;
-       u8 *buf;
+       u8 *buf = NULL;
 
        /*
         * We don't want stdout and stderr to be mixed up if both are
@@ -5639,7 +5639,7 @@ int main(int argc, char * const argv[])
                        printf("Failed to get SMBIOS data from sysfs.\n");
        }
 
-       /* Next try EFI (ia64, Intel-based Mac) */
+       /* Next try EFI (ia64, Intel-based Mac, arm64) */
        efi = address_from_efi(&fp);
        switch (efi)
        {
@@ -5672,6 +5672,7 @@ int main(int argc, char * const argv[])
        goto done;
 
 memory_scan:
+#if defined __i386__ || defined __x86_64__
        if (!(opt.flags & FLAG_QUIET))
                printf("Scanning %s for entry point.\n", opt.devmem);
        /* Fallback to memory scan (x86, x86_64) */
@@ -5714,6 +5715,7 @@ int main(int argc, char * const argv[])
                        }
                }
        }
+#endif
 
 done:
        if (!found && !(opt.flags & FLAG_QUIET))
++++++ dmidecode-skip-details-of-uninstalled-memory-modules.patch ++++++
From: Jean Delvare <jdelv...@suse.de>
Date: Fri, 30 Oct 2020 15:36:19 +0100
Subject: dmidecode: Skip details of uninstalled memory modules
Git-commit: d64af9778d795c7318653f5bc3016295bf67d700
Patch-mainline: yes
References: bsc#1174257

If a memory slot is empty then by definition the fields containing
the memory module details are irrelevant. Best case they are filled
with "Unused" and "None", but in some cases they are even invalid
because the manufacturer did not bother setting the fields to
valid neutral values. So it is better to not print these fields
at all, so as to not confuse the user.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
---
 dmidecode.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -4378,6 +4378,9 @@ static void dmi_decode(const struct dmi_
                        dmi_memory_device_type_detail(WORD(data + 0x13));
                        printf("\n");
                        if (h->length < 0x17) break;
+                       /* If no module is present, the remaining fields are 
irrelevant */
+                       if (WORD(data + 0x0C) == 0)
+                               break;
                        printf("\tSpeed:");
                        dmi_memory_device_speed(WORD(data + 0x15));
                        printf("\n");
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to