From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 82D96D80141 for ; Mon, 27 May 2024 05:41:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/ocrAg4bEZzkFQI8rsX5qnhlBmqmcN2pCtScW0zQVWU=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1716788464; v=1; b=sva4iuBNwtVksnxiRK2CdUYkFWRBBQ2hYvkR6/cbu5JXimf/kq4wjBcjfrF/grldEgkk0OJ2 RvNnRRjHYvlWwcLmLhIYcuaIWzeh2MBFiLjrrsiJvybJ26IhBtTaGQw9VKeJv5ZSzoMZl8jEO4o y2m9nDLqfcCJ0QnmAsnylep6JCaJS/7cYQjFBTeGlluE9KOP6tnkGifEJHDyoszXm0Vv4c6JPyx bzo4S4chPEO4Njk/rUPEc7I3334xvN0snNfs2RiztYvzmynbn+7msheJpbZOoYVHI3aRTgHS1Eo Zb1fd0mn3/ciaGhulbgTEIreNDNonrRXodEFPlBfTy6kQ== X-Received: by 127.0.0.2 with SMTP id unBQYY7687511xu0XrLpa6rk; Sun, 26 May 2024 22:41:03 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mx.groups.io with SMTP id smtpd.web11.21332.1716788462554564742 for ; Sun, 26 May 2024 22:41:02 -0700 X-CSE-ConnectionGUID: Buyp+ZLxSC+NxCcfJg0gyw== X-CSE-MsgGUID: WTqyRih1SEGPyOCJsyDirA== X-IronPort-AV: E=McAfee;i="6600,9927,11084"; a="16921252" X-IronPort-AV: E=Sophos;i="6.08,191,1712646000"; d="scan'208";a="16921252" X-Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2024 22:41:02 -0700 X-CSE-ConnectionGUID: ft3RLwhgTfOvjJlvMu77+Q== X-CSE-MsgGUID: RlMKCUUXTvuiM8qr48tt6w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,191,1712646000"; d="scan'208";a="39044494" X-Received: from liencx-desk.gar.corp.intel.com ([10.225.34.86]) by fmviesa005.fm.intel.com with ESMTP; 26 May 2024 22:41:00 -0700 From: "Lien, HoraceX" To: devel@edk2.groups.io Cc: HoraceX Lien , Zhichao Gao Subject: [edk2-devel] [PATCH] ShellPkg/Pci.c: Update supported link speed to PCIe Gen6 Date: Mon, 27 May 2024 13:40:35 +0800 Message-ID: <20240527054035.205-1-horacex.lien@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sun, 26 May 2024 22:41:02 -0700 Resent-From: horacex.lien@intel.com Reply-To: devel@edk2.groups.io,horacex.lien@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 6HbapkZ6TERGZRJxBzwpOTCZx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=sva4iuBN; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) From: HoraceX Lien REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4779 Refer to PCI express base specification Reversion 6.2, table 7-23 Link Capabilities Register. Supported Link Speeds Vector bit 5: speed 64 GT/s. Add the support to shell command 'pci'. Signed-off-by: HoraceX Lien Cc: Zhichao Gao --- ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c b/ShellPkg/L= ibrary/UefiShellDebug1CommandsLib/Pci.c index 7b11f49d0d..93622733a5 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c @@ -4809,6 +4809,9 @@ ExplainPcieLinkCap ( case 5:=0D MaxLinkSpeed =3D L"32.0 GT/s";=0D break;=0D + case 6:=0D + MaxLinkSpeed =3D L"64.0 GT/s";=0D + break;=0D default:=0D MaxLinkSpeed =3D L"Reserved";=0D break;=0D @@ -5015,6 +5018,9 @@ ExplainPcieLinkStatus ( case 5:=0D CurLinkSpeed =3D L"32.0 GT/s";=0D break;=0D + case 6:=0D + CurLinkSpeed =3D L"64.0 GT/s";=0D + break;=0D default:=0D CurLinkSpeed =3D L"Reserved";=0D break;=0D --=20 2.43.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119273): https://edk2.groups.io/g/devel/message/119273 Mute This Topic: https://groups.io/mt/106325909/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-