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 <coxu@redhat.com>
This commit is contained in:
parent
0300343a46
commit
52d5638621
34
0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch
Normal file
34
0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From b3b4c29f38b29a6ac3779ff97363d42fd3061c4a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Prabhakar pujeri <prabhakar.pujeri@gmail.com>
|
||||||
|
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 <coxu@redhat.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Tool to analyse BIOS DMI data
|
Summary: Tool to analyse BIOS DMI data
|
||||||
Name: dmidecode
|
Name: dmidecode
|
||||||
Version: 3.3
|
Version: 3.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
|
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
|
BuildRequires: gcc make
|
||||||
ExclusiveArch: %{ix86} x86_64 ia64 aarch64
|
ExclusiveArch: %{ix86} x86_64 ia64 aarch64
|
||||||
|
|
||||||
|
Patch0: 0001-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
dmidecode reports information about x86 & ia64 hardware as described in the
|
dmidecode reports information about x86 & ia64 hardware as described in the
|
||||||
system BIOS according to the SMBIOS/DMI standard. This information
|
system BIOS according to the SMBIOS/DMI standard. This information
|
||||||
@ -22,6 +24,7 @@ I/O ports (e.g. serial, parallel, USB).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
||||||
@ -41,6 +44,9 @@ I/O ports (e.g. serial, parallel, USB).
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thus Nov 04 2021 Coiby Xu <coxu@redhat.com> - 1:3.3-3
|
||||||
|
- Resolves: rhbz#1996988
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.3-2
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.3-2
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user