From 52d5638621d2634e1a6fb7290a3328112f946a57 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Thu, 4 Nov 2021 10:09:15 +0800 Subject: [PATCH] Fix the "OUT OF SPEC" error for Intel(R) Xeon(R) Platinum 8375C CPU Release dmidecode-3.3-3 Resolves: rhbz#1996988 Signed-off-by: Coiby Xu --- ...ssor-upgrades-from-SMBIOS-spec-3.4.0.patch | 34 +++++++++++++++++++ dmidecode.spec | 8 ++++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch diff --git a/0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch b/0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch new file mode 100644 index 0000000..94de9a6 --- /dev/null +++ b/0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch @@ -0,0 +1,34 @@ +From b3b4c29f38b29a6ac3779ff97363d42fd3061c4a Mon Sep 17 00:00:00 2001 +From: Prabhakar pujeri +Date: Mon, 19 Oct 2020 14:38:04 +0200 +Subject: [PATCH] Add new processor upgrades from SMBIOS spec 3.4.0 + +Added 2 more new values (0x3D and 0x3E). + +Signed-off-by: Coiby Xu +--- + dmidecode.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/dmidecode.c b/dmidecode.c +index 97ba941..eb5a5af 100644 +--- a/dmidecode.c ++++ b/dmidecode.c +@@ -1355,10 +1355,12 @@ static const char *dmi_processor_upgrade(u8 code) + "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; + } +-- +2.31.1 + diff --git a/dmidecode.spec b/dmidecode.spec index 4c76f06..b810437 100644 --- a/dmidecode.spec +++ b/dmidecode.spec @@ -1,7 +1,7 @@ Summary: Tool to analyse BIOS DMI data Name: dmidecode Version: 3.3 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 License: GPLv2+ Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz @@ -9,6 +9,8 @@ URL: https://www.nongnu.org/dmidecode/ BuildRequires: gcc make ExclusiveArch: %{ix86} x86_64 ia64 aarch64 +Patch0: 0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch + %description dmidecode reports information about x86 & ia64 hardware as described in the system BIOS according to the SMBIOS/DMI standard. This information @@ -22,6 +24,7 @@ I/O ports (e.g. serial, parallel, USB). %prep %setup -q +%patch0 -p1 %build %make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" @@ -41,6 +44,9 @@ I/O ports (e.g. serial, parallel, USB). %{_mandir}/man8/* %changelog +* Thus Nov 04 2021 Coiby Xu - 1:3.3-3 +- Resolves: rhbz#1996988 + * Mon Aug 09 2021 Mohan Boddu - 1:3.3-2 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688