From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 592A77803D7 for ; Fri, 18 Aug 2023 06:55:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=UCLIIW0fS1BOWBCdCaEZtmCfmMfyPw9uwlwrFgNCMGY=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1692341752; v=1; b=fzYA4rGrTJTdwI/tddWG12d0/9+XpmMdftlnsNwGPM/O9Mh6OipP2I20KZ3DGXO3YEJgEv6d 7TcXaryP/9d5IAPLb09NM++jeQrzTKShFFbvCUanUpVRllA79qmyeNf0S7vGnho9GlDJqdYDi9I r6folDhW9TYkO5zxqfNXj5p0= X-Received: by 127.0.0.2 with SMTP id 108QYY7687511xnnyboux1He; Thu, 17 Aug 2023 23:55:52 -0700 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.129]) by mx.groups.io with SMTP id smtpd.web11.6319.1692341751671304907 for ; Thu, 17 Aug 2023 23:55:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XbYQfM4xDeyElu4PnOeQIbNefg+neWHpOV+dh0B6rt2UN8SV+9kitbXChmtuVYBIrmHTTzDBtesTtpeajB7eapXzgc3WgIPKIGzO6g4pxAU/Bc1vD8Hp//kN5O/vCHdrtHQNSONoKiR0pIFukE/vDeC5IVf0xZALM5X6Ik+JGjZGvqXD4zn/KvtMH5cy1+KoL+yH2jXeGJi1EhaJTZvz4IfK9CyrbG/OqhCj8JOoytDHYvKcFWSkBxX/EPz3BZmA14yblhW7xWQyUIfP0X2yEAOdfAOWU2uK661+wieLYrmEddoEhwItaQb8Ii27teGP5/XEFrjhkAMpfJ827iXbTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nFQlgc6PqxH+A9Wm+2+oTGN/8GeXOvaddA4RRf8HMoI=; b=XJGwY84qDJQr/1/E5nOnZ7n4NY4PQhNhD+GA1B+8uCJ2sqzsvWxcGCSjo+Ongno2HpHpGsKrjz3Tf6m8T66vN0UZy0/9bbNt6ETo+mAI1ve1EpefTLqy7OfnwKZY+MCG93EzsGHk1xRayw2Om1eOIxRTbfWJk+mFz4qg8s2FXbeFxJSYzl+V3yQK4WqG0lwqPoycvhSQZRRNAXkcM9CczWGs4lknMWYdTANJJPi7m77MFzR9IBannMhn7b4LDLT0VwYFMQr/CbUnDw6NoRhGctfggbyjw6KOL/ulmwqIDhzIPGWFg2QuEoHjxywA5OMECEgagS7mSDGdUM32axgAGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none X-Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by BL1PR01MB7723.prod.exchangelabs.com (2603:10b6:208:397::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Fri, 18 Aug 2023 06:55:47 +0000 X-Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::47db:e2da:2ade:2e19]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::47db:e2da:2ade:2e19%5]) with mapi id 15.20.6699.020; Fri, 18 Aug 2023 06:55:46 +0000 From: "Nhi Pham via groups.io" To: devel@edk2.groups.io Cc: Nhi Pham , Zhichao Gao Subject: [edk2-devel] [PATCH 1/1] ShellPkg/SmbiosView: Update display of PCIe system slot ID Date: Fri, 18 Aug 2023 13:53:47 +0700 Message-Id: <20230818065347.436331-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: SI2PR01CA0011.apcprd01.prod.exchangelabs.com (2603:1096:4:191::6) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|BL1PR01MB7723:EE_ X-MS-Office365-Filtering-Correlation-Id: 448efc16-f7a1-4f6f-eb2c-08db9fb8258e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: kgLZ0bapsYLPXfwtYffJUdKjygCz1iL0v/LjvnwAE5Vusq7/6wVI5Cv5aHZIDqh7+O6qYRtALboTWuU2uV+jI8atTUlGCcN7oBK1E9INLqoOlwiJcuMu80uswX48Z81jCSo8qzg30hYtuycMraZ8Z2crldzO7JGg7jM0H0TIbRMZqxU6w9ytk3FCFrhiGGeNebQNeDv6xU0YDvvTrYTRKjgiWvwDXQHtspNazfjlFijJ30NGpPbzuEQp8TJipPq//emTrkuO5K3OrHFJlvH4oyyLxfYtg+P97vZR4uVesgtMIruI606bDvICpBjftVIALcClKkY+CbY6USElDkfC3KVBi7JGeUvRNAeWxoGISkfwTQZlbZvjRk2LnEZeKy8ehlbAqi0XnZosWY9aWRgWStRGOI+NFq32pISPymW+6HXZYKYTtC9SYRROIVKkYJoQFu+RkHm6qIl133d+0Eho+thSbOtvfshc9yItQ8hou6V2FbPX8Lqh7nit9ob4S2uU/6GOVy+9XXXxxLEgz6wrPBdz21Gvl2GFr4w6ddsRVI2KhLUzgAx+iue/xiiVDy4C8EcNwRtnW33T4cwCeZXGzq0hnX3hfu9nWWvn/mmgSMNdtm4ijPANcugR2FnJcv1U X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Y6dzBqVe4HPiHc2MRncxKpswzZI4Fzb5jJwXzNTbE3QcOXszW6ADmtp95qrS?= =?us-ascii?Q?CwJU5Rp9FKvilFduiGAHiGxrvyuPs74l+CtQHHttRWRMG1lIvV9l64Zx/dUf?= =?us-ascii?Q?kW9iL7HSuf6ouetsCcxFUkLp+97Yx9JGOCow2tjinxB77uAPOpl1k9XrRYTv?= =?us-ascii?Q?DexbZVobh3GxiLKwT2bIzoJ2jpYoADYKwQ+/58HZpmslkNW1EVgr394zd69a?= =?us-ascii?Q?123GUpldvFWcIjY10Q37DkHjqsC6Wj5Dfjdmp9QRzLEi7MaceXGx7drqDf5d?= =?us-ascii?Q?JXrqrxvVnrHMsq6HUuVBirbL84HfvSDxNgWFpxTHOBkCRNQnjIlU4uWQ4Bkl?= =?us-ascii?Q?47DSX2Ft8aOhVKiUj3aOx8X22aolk6XzFppxx7uitnejqECUKYPMMZ1SvsR5?= =?us-ascii?Q?UjxApI4btitjt2l5iuOuqx6BHanSatpvIHgH7Od17TzIeomNG4OGK6R//iTQ?= =?us-ascii?Q?mhn0ESYirfddAagX5yV2q2a9gEw0B/HiSF4or3D/h7ApPyUGcGsLuO6J8yFy?= =?us-ascii?Q?bjTMYm5hqDmxDig16zDi9WO3IwzSKyaL3HVn7kgybnuKvvcBzj2TwdhPR6M6?= =?us-ascii?Q?ejUBioSWoh3t5bZtchCyZgM2chAE8jTEooq2Xa5SNEoITfSXiav19TFEkbR/?= =?us-ascii?Q?Z28ak8nkUHkbrJfsX17zMyVDtC6WySyYmadmx83dgtjG9CyPP+Mqdj5AxSYP?= =?us-ascii?Q?1Bf6X3ijD5twGtdAFT9DSM+PsXpADgNB4RDlG8fF5yJlmTHkL5yPUu/XCdI8?= =?us-ascii?Q?vj2X7Znv8RxeSeOoGLyFHQZit05okX3Lydmgopmwb17mNQlWp0N3xCX+XvZk?= =?us-ascii?Q?tFOeIEmsr/4u9zUOnSbNwVqtCfuuV7/DPIcXLNu3wdkXIhdM7Zf6/Guio3Rw?= =?us-ascii?Q?BIc+1GWthQUwykO3vWDiYewti0/SSnMN9vzKhMTjYM03Kp5rhxJh9K0i6tTO?= =?us-ascii?Q?GT+baUAWbknnC5oDcpqtH8GUNSgyIG6SiepkyWd/O3IAZFMH3EqQ80UoihBL?= =?us-ascii?Q?HbN7m9GWXzgrVuXy1gdwOkORUA6vwgeaEpqkAoazi75zkufaqy5Qb+G7CZdM?= =?us-ascii?Q?UKg0g9Vz/pFCLIsYfQhULH95vfVJB7KZCpbt0ERIdmsGHtuuFhHtOq4xMbz3?= =?us-ascii?Q?rq2Vqo26PuA2rGIElNcvOVyF0b/9370WeN8jvYd82Yl73WasHQ7tQ0yghDb2?= =?us-ascii?Q?zRDCiUFRyMod10bZ50PGWZachxiFSEn1fbajJ7YtDYNoYogCbbAwq0vDUacV?= =?us-ascii?Q?prj/Xe15DNmg6L9MTioeFY7Go28r6RvSELeRepT+XTghitNO8rbj/oIiFMAM?= =?us-ascii?Q?rkZsm6nwiO/rcbNcju+tNflHWiQkeq2nSIVMZvJE1P2+h93zBrrIcQwVTBYR?= =?us-ascii?Q?fvHb9na7UTfmyuGlHCynzgok1yKw5vxcgEe4Sa1/+3fDkZX13HuKjvJL3FHa?= =?us-ascii?Q?2jZ89AqlLlFZtSkFZ+pftWnB7gzjQUc2VU6xttgDZXdIJiUtaOX0YozEBygV?= =?us-ascii?Q?6X7X/oV+LajUxisuOpPp9bVw9qJhUsqO0qnJsNLPYZqJDtLhTNUTndjwgbtg?= =?us-ascii?Q?0h53Y7AtiDnj7uox611qPeX4zXc351j070qG5ixpVMzxe3OI+/sjyNtRBRtQ?= =?us-ascii?Q?4gEVZiLsyfiBF+VPPAOCoh4=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 448efc16-f7a1-4f6f-eb2c-08db9fb8258e X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2023 06:55:46.0092 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: pnlYNkzlmsiuG5KMYqVlFqdiJVt3pPlWzuIs0V++LEI4Tu3O8gSpdItk/eA0l7p8WdYRo+y08G+WxCTq8TxwAwjtexJOSKBW00EBOrWFkzo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7723 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 Reply-To: devel@edk2.groups.io,nhi@os.amperecomputing.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: U3R5Ytua2acGXtHe1Na4fP4Sx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=fzYA4rGr; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This updates the system slot ID up to SlotTypePCIExpressGen6andBeyond (0xC4) to cover modern PCIe Gen. Cc: Zhichao Gao Signed-off-by: Nhi Pham --- ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintIn= fo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index f55d5f953c04..b6968cb36acb 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -3105,7 +3105,7 @@ DisplaySystemSlotId ( break; =20 default: - if (((SlotType >=3D 0x0E) && (SlotType <=3D 0x12)) || ((SlotType >= =3D 0xA6) && (SlotType <=3D 0xB6))) { + if (((SlotType >=3D 0x0E) && (SlotType <=3D 0x12)) || ((SlotType >= =3D 0xA6) && (SlotType <=3D 0xC4))) { ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTI= NFO_VALUE_PRESENT), gShellDebug1HiiHandle, SlotId); } else { ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTI= NFO_UNDEFINED_SLOT_ID), gShellDebug1HiiHandle); --=20 2.25.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 (#107843): https://edk2.groups.io/g/devel/message/107843 Mute This Topic: https://groups.io/mt/100816049/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-