From a910d3801cff45d5194f323665331624ae10cb54 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 8 May 2025 18:41:49 +0800 Subject: [PATCH 1/4] Update dmidecode.c added new intel cpu family support --- dmidecode.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dmidecode.c b/dmidecode.c index 547cb48..0603c98 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -1010,6 +1010,15 @@ static const char *dmi_processor_family(const struct dmi_header *h, u16 ver) { 0x26F, "Multi-Core Loongson 3B 5xxx" }, { 0x270, "Multi-Core Loongson 3C 5xxx" }, { 0x271, "Multi-Core Loongson 3D 5xxx" }, + + { 0x300, "Intel® Core™ 3" }, + { 0x301, "Intel® Core™ 5" }, + { 0x302, "Intel® Core™ 7" }, + { 0x303, "Intel® Core™ 9" }, + { 0x304, "Intel® Core™ Ultra 3" }, + { 0x305, "Intel® Core™ Ultra 5" }, + { 0x306, "Intel® Core™ Ultra 7" }, + { 0x307, "Intel® Core™ Ultra 9" }, }; /* * Note to developers: when adding entries to this list, check if From 38a83a80b2c509b0b85da7a9fda2b8b3d7a94a8f Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 9 May 2025 10:09:22 +0800 Subject: [PATCH 2/4] Update dmidecode.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add new socket type [7.5.5 Processor Information — Processor Upgrade] --- dmidecode.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dmidecode.c b/dmidecode.c index 0603c98..e1d8eb5 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -1471,10 +1471,18 @@ static const char *dmi_processor_upgrade(u8 code) "Socket BGA1190", "Socket BGA4129", "Socket LGA4710", - "Socket LGA7529" /* 0x50 */ + "Socket LGA7529", /* 0x50 */ + + "Socket LGA1964", /* 0x51 */ + "Socket LGA1792", /* 0x52 */ + "Socket LGA2049", /* 0x53 */ + "Socket LGA2551", /* 0x54 */ + "Socket LGA1851", /* 0x55 */ + "Socket LGA2114", /* 0x56 */ + "Socket LGA1851" /* 0x57 */ }; - if (code >= 0x01 && code <= 0x50) + if (code >= 0x01 && code <= 0x57) return upgrade[code - 0x01]; return out_of_spec; } From 0c0455dd4216d24b5749854f88f215d779e0dd6c Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 9 May 2025 10:12:31 +0800 Subject: [PATCH 3/4] Update dmidecode.c --- dmidecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmidecode.c b/dmidecode.c index e1d8eb5..6ecfb2a 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -1479,7 +1479,7 @@ static const char *dmi_processor_upgrade(u8 code) "Socket LGA2551", /* 0x54 */ "Socket LGA1851", /* 0x55 */ "Socket LGA2114", /* 0x56 */ - "Socket LGA1851" /* 0x57 */ + "Socket LGA2833" /* 0x57 */ }; if (code >= 0x01 && code <= 0x57) From fcdd02d3214255126fe773fe96a64199d04d2b10 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 9 May 2025 21:56:20 +0800 Subject: [PATCH 4/4] Update dmidecode.c --- dmidecode.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dmidecode.c b/dmidecode.c index 6ecfb2a..f61c922 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -1473,13 +1473,13 @@ static const char *dmi_processor_upgrade(u8 code) "Socket LGA4710", "Socket LGA7529", /* 0x50 */ - "Socket LGA1964", /* 0x51 */ - "Socket LGA1792", /* 0x52 */ - "Socket LGA2049", /* 0x53 */ - "Socket LGA2551", /* 0x54 */ + "Socket BGA1964", /* 0x51 */ + "Socket BGA1792", /* 0x52 */ + "Socket BGA2049", /* 0x53 */ + "Socket BGA2551", /* 0x54 */ "Socket LGA1851", /* 0x55 */ - "Socket LGA2114", /* 0x56 */ - "Socket LGA2833" /* 0x57 */ + "Socket BGA2114", /* 0x56 */ + "Socket BGA2833" /* 0x57 */ }; if (code >= 0x01 && code <= 0x57)