Blame SOURCES/0005-dmidecode-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch

bc2754
From b3b4c29f38b29a6ac3779ff97363d42fd3061c4a Mon Sep 17 00:00:00 2001
bc2754
From: Prabhakar pujeri <prabhakar.pujeri@gmail.com>
bc2754
Date: Mon, 19 Oct 2020 14:38:04 +0200
bc2754
Subject: [PATCH] Add new processor upgrades from SMBIOS spec 3.4.0
bc2754
bc2754
Added 2 more new values (0x3D and 0x3E).
bc2754
bc2754
Signed-off-by: Coiby Xu <coxu@redhat.com>
bc2754
---
bc2754
 dmidecode.c | 6 ++++--
bc2754
 1 file changed, 4 insertions(+), 2 deletions(-)
bc2754
bc2754
diff --git a/dmidecode.c b/dmidecode.c
bc2754
index 97ba941..eb5a5af 100644
bc2754
--- a/dmidecode.c
bc2754
+++ b/dmidecode.c
bc2754
@@ -1355,10 +1355,12 @@ static const char *dmi_processor_upgrade(u8 code)
bc2754
 		"Socket LGA2066",
bc2754
 		"Socket BGA1392",
bc2754
 		"Socket BGA1510",
bc2754
-		"Socket BGA1528" /* 0x3C */
bc2754
+		"Socket BGA1528",
bc2754
+		"Socket LGA4189",
bc2754
+		"Socket LGA1200" /* 0x3E */
bc2754
 	};
bc2754
 
bc2754
-	if (code >= 0x01 && code <= 0x3C)
bc2754
+	if (code >= 0x01 && code <= 0x3E)
bc2754
 		return upgrade[code - 0x01];
bc2754
 	return out_of_spec;
bc2754
 }
bc2754
-- 
bc2754
2.31.1
bc2754