You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
From 93b819ef7805264dbd0f60015e4c24084ebb091d Mon Sep 17 00:00:00 2001
|
|
From: Armin Wolf <W_Armin@gmx.de>
|
|
Date: Tue, 19 Dec 2023 17:25:34 +0100
|
|
Subject: [PATCH] dmidecode: Expand list of recognized CPU sockets
|
|
|
|
On an AMD Ryzen 5 7600, the Processor Upgrade field
|
|
displays <OUT OF SPEC> due to it not recognizing the
|
|
AM5 CPU socket.
|
|
Fix this by expanding the list of CPU sockets to match
|
|
the list specified in SMBIOS 3.7.0.
|
|
|
|
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
|
|
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
---
|
|
dmidecode.c | 12 ++++++++++--
|
|
1 file changed, 10 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/dmidecode.c b/dmidecode.c
|
|
index 77cb2fc..1261749 100644
|
|
--- a/dmidecode.c
|
|
+++ b/dmidecode.c
|
|
@@ -1453,10 +1453,18 @@ static const char *dmi_processor_upgrade(u8 code)
|
|
"Socket LGA1211",
|
|
"Socket LGA2422",
|
|
"Socket LGA5773",
|
|
- "Socket BGA5773" /* 0x48 */
|
|
+ "Socket BGA5773",
|
|
+ "Socket AM5",
|
|
+ "Socket SP5",
|
|
+ "Socket SP6",
|
|
+ "Socket BGA883",
|
|
+ "Socket BGA1190",
|
|
+ "Socket BGA4129",
|
|
+ "Socket LGA4710",
|
|
+ "Socket LGA7529" /* 0x50 */
|
|
};
|
|
|
|
- if (code >= 0x01 && code <= 0x48)
|
|
+ if (code >= 0x01 && code <= 0x50)
|
|
return upgrade[code - 0x01];
|
|
return out_of_spec;
|
|
}
|
|
--
|
|
2.43.0
|
|
|