From nobody Mon Apr 29 08:30:12 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+92208+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+92208+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1659982520; cv=none; d=zohomail.com; s=zohoarc; b=J7Ihx+jEyqm4F5UBo/6vKwO2S31eMYvrR7+vqq2HKxB0ch0ZvaAnqUUJlNTRQaS7gK1ohXBNd7HrqzNeFAkad4AVNm4+HWHeiA9HEznvamNJiiLcPOKTx0yLnDIZvvRhgTgCfaBZ4jjtsOs6t/13Lpmy5R5V3tT1sMVpjaGPwwg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1659982520; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=EHS6oUDenLVdK2EZn60ZNsoPalwJoSs78WXCK3oBOYI=; b=YIs05CBQDTOgH855ACv06EeCgTJRO9iZf3EtF+wZwqzuoLCW8N9IkeCXmQluI/LOXpUOkO7gcemcIIs/327vVG8FoLGtoEKv/sz3u3Hb+fyE1SV8Am3al7/xtLwipfAc9PDWSoIBbecUAJrF275tCJ/zEyKuCoh2Iuwyuz4CdK8= 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+92208+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1659982520077130.29088532191474; Mon, 8 Aug 2022 11:15:20 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 0xhgYY1788612xrAyt3om8Dz; Mon, 08 Aug 2022 11:15:19 -0700 X-Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web09.1125.1659751352477300030 for ; Fri, 05 Aug 2022 19:02:33 -0700 X-Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id ABD68CD1F638 for ; Sat, 6 Aug 2022 10:02:28 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id A7B01CD1F637 for ; Sat, 6 Aug 2022 10:02:28 +0800 (CST) X-Virus-Scanned: by SpamTitan at intel-email.com X-Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 713D9CD1F66E for ; Sat, 6 Aug 2022 10:02:28 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id 5C41BCD1F655 for ; Sat, 6 Aug 2022 10:02:25 +0800 (CST) X-Received: from localhost.localdomain ([223.65.118.153]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Sat, 06 Aug 2022 10:02:25 +0800 X-WM-Sender: xueshengfeng@byosoft.com.cn X-Originating-IP: 223.65.118.153 X-WM-AuthFlag: YES X-WM-AuthUser: xueshengfeng@byosoft.com.cn From: "xueshengfeng via groups.io" To: devel@edk2.groups.io, ray.ni@intel.com, zhichao.gao@intel.com Cc: gaoliming@byosoft.com.cn, Shengfengx Xue Subject: [edk2-devel] [PATCH] ShellPkg/SmbiosView: Smbiosview tool is not show Extended Speed and Extended Configured Memory Speed in type 17. Date: Sat, 6 Aug 2022 10:02:13 +0800 Message-Id: <2fcf297e06328cd25e92756b7fd13ed39cb9231b.1659749541.git.shengfengx.xue@intel.com> 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,xueshengfeng@byosoft.com.cn X-Gm-Message-State: l14dXEP1JrClyi6Xdyhv8rEsx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1659982519; bh=2nHr9C2C6LYM3YCehNqyBm/1bKLQD3Phtwk2AXplUs8=; h=Cc:Date:From:Reply-To:Subject:To; b=GbFkN3oF+uUQzBUQgeU9S91/JWckdTHKaiHeghZMWBwYIKYf26sQgj7S3ifnR5SBTEE V49QcPFDBueUbkxqHSU+gwtvEf21H3LTLg9kfqXTVZlBZp+Hr/0OS03/yTzulwJLcJv28 jTgdogoT2B5BTo3YYc95mAZ2fL5MXBlEM5c= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1659982521897100009 Content-Type: text/plain; charset="utf-8" From: Shengfengx Xue REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4014 if Configured Memory Speed is 65,535 MT/s or greater, and the actual speed is stored in the Extended Configured Memory Speed field. but current Smbiosview have no this logic. Signed-off-by: Shengfengx Xue Reviewed-by: Zhichao Gao --- .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintIn= fo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index a0ee286c9a..0ab9f5063a 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -878,6 +878,11 @@ SmbiosPrintStructure ( } } =20 + if (AE_SMBIOS_VERSION (0x3, 0x3) && (Struct->Hdr->Length > 0x54)) { + PRINT_STRUCT_VALUE_H (Struct, Type17, ExtendedSpeed); + PRINT_STRUCT_VALUE_H (Struct, Type17, ExtendedConfiguredMemorySpee= d); + } + break; =20 // --=20 2.26.2.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 (#92208): https://edk2.groups.io/g/devel/message/92208 Mute This Topic: https://groups.io/mt/92898444/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-