From nobody Thu May 16 07:04:01 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+89182+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89182+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1650538523; cv=none; d=zohomail.com; s=zohoarc; b=Cy9R1s2XLQo36NxDdLGs1M6Ply5WKt1OIZR4RwfdznTv8iW5mcmyv8l/P97FEeGrGngpJ9r0cgMq8pVgrs05CL8GVZKCHa8NjnYkLHRVwnfOcwu44EgBaNbKzx87njZ7DqivAcrOm9ZPjHXa8pKnodpQDLVjjjG9hBG7Th+xXk4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650538523; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=yhrkC9z24I73F6wkTW91gJtcXAudpd0rFYzu+nDa5O0=; b=I2bd+SHX0MmM1rHEjHuXgNISnvq619MDGgIzre0C51DU7EHT2sHaFRGbmvXbrRyL+G8hFhg6FnRAwNV8xRPbzRbnUggjmvMDabXSfVyC637grcbvlL6l9D/tOkKGtoypQ2Xtns5s5wXvUgwyQ/PUVeDlxID1limChTdVz7r2/ew= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89182+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1650538523005635.5413812832714; Thu, 21 Apr 2022 03:55:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5J8iYY1788612xLZP18pH1Ra; Thu, 21 Apr 2022 03:55:22 -0700 X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web08.19932.1650538521052336080 for ; Thu, 21 Apr 2022 03:55:22 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10323"; a="244244414" X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="244244414" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 03:55:20 -0700 X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="727933645" X-Received: from bkex-mobl.gar.corp.intel.com ([10.215.244.157]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 03:55:17 -0700 From: "Bo Chang Ke" To: devel@edk2.groups.io Cc: Liming Gao , Michael D Kinney , Zhiguang Liu , Zhichao Gao , Dandan Bi , Star Zeng Subject: [edk2-devel] [PATCH v3] MdePkg: Update smbiosview type 9 with SMBIOS 3.5 fields Date: Thu, 21 Apr 2022 18:54:45 +0800 Message-Id: <2ec4669384abe903f49da4046b391ed2e22e2238.1650515579.git.bo-changx.ke@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,bo-changx.ke@intel.com X-Gm-Message-State: UWojkso0CS4qoFeoEoYIBwgMx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1650538522; bh=XWMDNVhSf+eF6eII9Bmec97jJD794SbPZaOjqsyUM8E=; h=Cc:Date:From:Reply-To:Subject:To; b=icKYaucz8g75TvjEloamMw2XUvDgKZDiJb8sbvHjFyzBUeg19CTKyrFQ0hHXkgHLaMA cBGuId3D+AEEdpA6qywbyvjlyJns1yiMhB7svpTpl9ix3p5UkVKoM3GVHWQfgu2lmmJQ1 lssUK8jSwgj3vCcRbKyR0aOFwFxjsyQBMJo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1650538524143100001 Content-Type: text/plain; charset="utf-8" REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3896 update smbiosview type 9 related fileds. Signed-off-by: Bo Chang Ke Cc: Liming Gao Cc: Michael D Kinney Cc: Zhiguang Liu Cc: Zhichao Gao Cc: Dandan Bi Cc: Star Zeng --- MdePkg/Include/IndustryStandard/SmBios.h | 177 ++++++++++++++--------- 1 file changed, 112 insertions(+), 65 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/Indu= stryStandard/SmBios.h index 2b1567b052..20d62680a5 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -1271,71 +1271,85 @@ typedef struct { /// System Slots - Slot Type /// typedef enum { - SlotTypeOther =3D 0x01, - SlotTypeUnknown =3D 0x02, - SlotTypeIsa =3D 0x03, - SlotTypeMca =3D 0x04, - SlotTypeEisa =3D 0x05, - SlotTypePci =3D 0x06, - SlotTypePcmcia =3D 0x07, - SlotTypeVlVesa =3D 0x08, - SlotTypeProprietary =3D 0x09, - SlotTypeProcessorCardSlot =3D 0x0A, - SlotTypeProprietaryMemoryCardSlot =3D 0x0B, - SlotTypeIORiserCardSlot =3D 0x0C, - SlotTypeNuBus =3D 0x0D, - SlotTypePci66MhzCapable =3D 0x0E, - SlotTypeAgp =3D 0x0F, - SlotTypeApg2X =3D 0x10, - SlotTypeAgp4X =3D 0x11, - SlotTypePciX =3D 0x12, - SlotTypeAgp8X =3D 0x13, - SlotTypeM2Socket1_DP =3D 0x14, - SlotTypeM2Socket1_SD =3D 0x15, - SlotTypeM2Socket2 =3D 0x16, - SlotTypeM2Socket3 =3D 0x17, - SlotTypeMxmTypeI =3D 0x18, - SlotTypeMxmTypeII =3D 0x19, - SlotTypeMxmTypeIIIStandard =3D 0x1A, - SlotTypeMxmTypeIIIHe =3D 0x1B, - SlotTypeMxmTypeIV =3D 0x1C, - SlotTypeMxm30TypeA =3D 0x1D, - SlotTypeMxm30TypeB =3D 0x1E, - SlotTypePciExpressGen2Sff_8639 =3D 0x1F, - SlotTypePciExpressGen3Sff_8639 =3D 0x20, - SlotTypePciExpressMini52pinWithBSKO =3D 0x21, ///< PCI Express Min= i 52-pin (CEM spec. 2.0) with bottom-side keep-outs. - SlotTypePciExpressMini52pinWithoutBSKO =3D 0x22, ///< PCI Express Min= i 52-pin (CEM spec. 2.0) without bottom-side keep-outs. - SlotTypePciExpressMini76pin =3D 0x23, ///< PCI Express Min= i 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card. - SlotTypeCXLFlexbus10 =3D 0x30, - SlotTypePC98C20 =3D 0xA0, - SlotTypePC98C24 =3D 0xA1, - SlotTypePC98E =3D 0xA2, - SlotTypePC98LocalBus =3D 0xA3, - SlotTypePC98Card =3D 0xA4, - SlotTypePciExpress =3D 0xA5, - SlotTypePciExpressX1 =3D 0xA6, - SlotTypePciExpressX2 =3D 0xA7, - SlotTypePciExpressX4 =3D 0xA8, - SlotTypePciExpressX8 =3D 0xA9, - SlotTypePciExpressX16 =3D 0xAA, - SlotTypePciExpressGen2 =3D 0xAB, - SlotTypePciExpressGen2X1 =3D 0xAC, - SlotTypePciExpressGen2X2 =3D 0xAD, - SlotTypePciExpressGen2X4 =3D 0xAE, - SlotTypePciExpressGen2X8 =3D 0xAF, - SlotTypePciExpressGen2X16 =3D 0xB0, - SlotTypePciExpressGen3 =3D 0xB1, - SlotTypePciExpressGen3X1 =3D 0xB2, - SlotTypePciExpressGen3X2 =3D 0xB3, - SlotTypePciExpressGen3X4 =3D 0xB4, - SlotTypePciExpressGen3X8 =3D 0xB5, - SlotTypePciExpressGen3X16 =3D 0xB6, - SlotTypePciExpressGen4 =3D 0xB8, - SlotTypePciExpressGen4X1 =3D 0xB9, - SlotTypePciExpressGen4X2 =3D 0xBA, - SlotTypePciExpressGen4X4 =3D 0xBB, - SlotTypePciExpressGen4X8 =3D 0xBC, - SlotTypePciExpressGen4X16 =3D 0xBD + SlotTypeOther =3D 0x01, + SlotTypeUnknown =3D 0x02, + SlotTypeIsa =3D 0x03, + SlotTypeMca =3D 0x04, + SlotTypeEisa =3D 0x05, + SlotTypePci =3D 0x06, + SlotTypePcmcia =3D 0x07, + SlotTypeVlVesa =3D 0x08, + SlotTypeProprietary =3D 0x09, + SlotTypeProcessorCardSlot =3D 0x0A, + SlotTypeProprietaryMemoryCardSlot =3D 0x0B, + SlotTypeIORiserCardSlot =3D 0x0C, + SlotTypeNuBus =3D 0x0D, + SlotTypePci66MhzCapable =3D 0x0E, + SlotTypeAgp =3D 0x0F, + SlotTypeApg2X =3D 0x10, + SlotTypeAgp4X =3D 0x11, + SlotTypePciX =3D 0x12, + SlotTypeAgp8X =3D 0x13, + SlotTypeM2Socket1_DP =3D 0x14, + SlotTypeM2Socket1_SD =3D 0x15, + SlotTypeM2Socket2 =3D 0x16, + SlotTypeM2Socket3 =3D 0x17, + SlotTypeMxmTypeI =3D 0x18, + SlotTypeMxmTypeII =3D 0x19, + SlotTypeMxmTypeIIIStandard =3D 0x1A, + SlotTypeMxmTypeIIIHe =3D 0x1B, + SlotTypeMxmTypeIV =3D 0x1C, + SlotTypeMxm30TypeA =3D 0x1D, + SlotTypeMxm30TypeB =3D 0x1E, + SlotTypePciExpressGen2Sff_8639 =3D 0x1F, + SlotTypePciExpressGen3Sff_8639 =3D 0x20, + SlotTypePciExpressMini52pinWithBSKO =3D 0x21, ///< PCI = Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs. + SlotTypePciExpressMini52pinWithoutBSKO =3D 0x22, ///< PCI = Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs. + SlotTypePciExpressMini76pin =3D 0x23, ///< PCI = Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card. + SlotTypePCIExpressGen4SFF_8639 =3D 0x24, ///< U.2 + SlotTypePCIExpressGen5SFF_8639 =3D 0x25, ///< U.2 + SlotTypeOCPNIC30SmallFormFactor =3D 0x26, ///< SFF + SlotTypeOCPNIC30LargeFormFactor =3D 0x27, ///< LFF + SlotTypeOCPNICPriorto30 =3D 0x28, + SlotTypeCXLFlexbus10 =3D 0x30, + SlotTypePC98C20 =3D 0xA0, + SlotTypePC98C24 =3D 0xA1, + SlotTypePC98E =3D 0xA2, + SlotTypePC98LocalBus =3D 0xA3, + SlotTypePC98Card =3D 0xA4, + SlotTypePciExpress =3D 0xA5, + SlotTypePciExpressX1 =3D 0xA6, + SlotTypePciExpressX2 =3D 0xA7, + SlotTypePciExpressX4 =3D 0xA8, + SlotTypePciExpressX8 =3D 0xA9, + SlotTypePciExpressX16 =3D 0xAA, + SlotTypePciExpressGen2 =3D 0xAB, + SlotTypePciExpressGen2X1 =3D 0xAC, + SlotTypePciExpressGen2X2 =3D 0xAD, + SlotTypePciExpressGen2X4 =3D 0xAE, + SlotTypePciExpressGen2X8 =3D 0xAF, + SlotTypePciExpressGen2X16 =3D 0xB0, + SlotTypePciExpressGen3 =3D 0xB1, + SlotTypePciExpressGen3X1 =3D 0xB2, + SlotTypePciExpressGen3X2 =3D 0xB3, + SlotTypePciExpressGen3X4 =3D 0xB4, + SlotTypePciExpressGen3X8 =3D 0xB5, + SlotTypePciExpressGen3X16 =3D 0xB6, + SlotTypePciExpressGen4 =3D 0xB8, + SlotTypePciExpressGen4X1 =3D 0xB9, + SlotTypePciExpressGen4X2 =3D 0xBA, + SlotTypePciExpressGen4X4 =3D 0xBB, + SlotTypePciExpressGen4X8 =3D 0xBC, + SlotTypePciExpressGen4X16 =3D 0xBD, + SlotTypePCIExpressGen5 =3D 0xBE, + SlotTypePCIExpressGen5X1 =3D 0xBF, + SlotTypePCIExpressGen5X2 =3D 0xC0, + SlotTypePCIExpressGen5X4 =3D 0xC1, + SlotTypePCIExpressGen5X8 =3D 0xC2, + SlotTypePCIExpressGen5X16 =3D 0xC3, + SlotTypePCIExpressGen6andBeyond =3D 0xC4, + SlotTypeEnterpriseandDatacenter1UE1FormFactorSlot =3D 0xC5, + SlotTypeEnterpriseandDatacenter3E3FormFactorSlot =3D 0xC6 } MISC_SLOT_TYPE; =20 /// @@ -1358,6 +1372,39 @@ typedef enum { SlotDataBusWidth32X =3D 0x0E ///< Or X32 } MISC_SLOT_DATA_BUS_WIDTH; =20 +/// +/// System Slots - Slot Physical Width. +/// +typedef enum { + SlotPhysicalWidthOther =3D 0x01, + SlotPhysicalWidthUnknown =3D 0x02, + SlotPhysicalWidth8Bit =3D 0x03, + SlotPhysicalWidth16Bit =3D 0x04, + SlotPhysicalWidth32Bit =3D 0x05, + SlotPhysicalWidth64Bit =3D 0x06, + SlotPhysicalWidth128Bit =3D 0x07, + SlotPhysicalWidth1X =3D 0x08, ///< Or X1 + SlotPhysicalWidth2X =3D 0x09, ///< Or X2 + SlotPhysicalWidth4X =3D 0x0A, ///< Or X4 + SlotPhysicalWidth8X =3D 0x0B, ///< Or X8 + SlotPhysicalWidth12X =3D 0x0C, ///< Or X12 + SlotPhysicalWidth16X =3D 0x0D, ///< Or X16 + SlotPhysicalWidth32X =3D 0x0E ///< Or X32 +} MISC_SLOT_PHYSICAL_WIDTH; + +/// +/// System Slots - Slot Information. +/// +typedef enum { + Others =3D 0x00, + Gen1 =3D 0x01, + Gen2 =3D 0x01, + Gen3 =3D 0x03, + Gen4 =3D 0x04, + Gen5 =3D 0x05, + Gen6 =3D 0x06 +} MISC_SLOT_INFORMATION; + /// /// System Slots - Current Usage. /// --=20 2.32.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89182): https://edk2.groups.io/g/devel/message/89182 Mute This Topic: https://groups.io/mt/90603139/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-