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