From 312ac039ebee268585fd709952e3224272aa592a Mon Sep 17 00:00:00 2001 From: Shenbagadevi R Date: Thu, 2 May 2024 13:06:00 +0530 Subject: [PATCH 1/4] MdePkg: Added support for Smbios 3.7.0 Spec REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4563 As per Smbios 3.7.0 spec, added CXL 3.0 support in Type 9, also added PMIC & RCD manufacturer ID and Revision information in Type17. Cc: Sainadh N Cc: Sundaresan S Cc: Srinivasan M Cc: Ramesh R Signed-off-by: Shenbagadevi R Reviewed-by: Gaoliming --- MdePkg/Include/IndustryStandard/SmBios.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 020733b777..c07cfcb814 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -1524,7 +1524,7 @@ typedef struct { UINT8 AsyncSurpriseRemoval : 1; UINT8 FlexbusSlotCxl10Capable : 1; UINT8 FlexbusSlotCxl20Capable : 1; - UINT8 Reserved : 1; ///< Set to 0. + UINT8 FlexbusSlotCxl30Capable : 1; /// SMBIOS spec 3.7.0 updated CXL 3.0 support } MISC_SLOT_CHARACTERISTICS2; /// @@ -2027,6 +2027,13 @@ typedef struct { // UINT32 ExtendedSpeed; UINT32 ExtendedConfiguredMemorySpeed; + // + // Add for smbios 3.7.0 + // + UINT16 Pmic0ManufacturerID; + UINT16 Pmic0RevisionNumber; + UINT16 RcdManufacturerID; + UINT16 RcdRevisionNumber; } SMBIOS_TABLE_TYPE17; /// From a2a41a4eac560b99cadfb6231bff3913816cb4a0 Mon Sep 17 00:00:00 2001 From: Jason Zhao Date: Tue, 27 Aug 2024 13:33:42 +0800 Subject: [PATCH 2/4] MdePkg/SmBios.h: Add new Socket Type for SMBIOS Type4 The patch adds new socket type(Type 4, Offset 32h) for SMBIOS Type4 based on SMBIOS v3.8.0. Signed-off-by: Jason Zhao --- MdePkg/Include/IndustryStandard/SmBios.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index c07cfcb814..9d0dec2575 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -1020,6 +1020,10 @@ typedef struct { // Add for smbios 3.6 // UINT16 ThreadEnabled; + // + // Add for smbios 3.8 + // + SMBIOS_TABLE_STRING SocketType; } SMBIOS_TABLE_TYPE4; /// From 0cd30a4831331a28bdcff383a1c2bc3e1ec342ea Mon Sep 17 00:00:00 2001 From: Jason Zhao Date: Mon, 2 Sep 2024 20:41:42 +0800 Subject: [PATCH 3/4] MdePkg/SmBios.h: Add new Processor Upgrade definition for SMBIOS Type4 The patch adds ProcessorUpgradeInvalid(0xFF) definition in Processor Upgrade(Type 4, Offset 19h) for SMBIOS Type4 based on SMBIOS v3.8.0. Processor Upgrade should be 0xFF when no other valid enumeration is available. Signed-off-by: Jason Zhao --- MdePkg/Include/IndustryStandard/SmBios.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 9d0dec2575..8ba61297e8 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -887,7 +887,8 @@ typedef enum { ProcessorUpgradeSocketBGA2551 = 0x54, ProcessorUpgradeSocketLGA1851 = 0x55, ProcessorUpgradeSocketBGA2114 = 0x56, - ProcessorUpgradeSocketBGA2833 = 0x57 + ProcessorUpgradeSocketBGA2833 = 0x57, + ProcessorUpgradeInvalid = 0xFF } PROCESSOR_UPGRADE; /// From ed4e6aa4fbfd3249629a3231661c422c83a7382f Mon Sep 17 00:00:00 2001 From: Revathy V Date: Mon, 14 Oct 2024 11:29:35 +0530 Subject: [PATCH 4/4] MdePkg: Updated Type 4 Info as per Smbios 3.8.0 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4861 Added PROCESSOR_FAMILY_NAME support in MdePkg. Signed-off-by: Revathy --- MdePkg/Include/IndustryStandard/SmBios.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 8ba61297e8..d82d04b595 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -706,6 +706,7 @@ typedef enum { ProcessorFamilyIntelCoreI5 = 0xCD, ProcessorFamilyIntelCoreI3 = 0xCE, ProcessorFamilyIntelCoreI9 = 0xCF, + ProcessorFamilyIntelXeonD = 0xD0, /// Smbios spec 3.8 updated this value ProcessorFamilyViaC7M = 0xD2, ProcessorFamilyViaC7D = 0xD3, ProcessorFamilyViaC7 = 0xD4,