From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.34739.1676341096897678151 for ; Mon, 13 Feb 2023 18:18:17 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=WA90iij/; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676341096; x=1707877096; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=xBqiDEjEi1uVgOcAs1h7crCudHBYghvS+4mgAQju3Bg=; b=WA90iij/+g2d4uDlnlQbk0/iOG5cLIzJ5OvmFlO9lG3snvusCDns3FbS t+CWcDRucAc2wwlR1yOK52uNwwyWFNJy97ibj1SFeyfbTl9tPcDxB7eFM G+afXAl1563m6gF4n53aJNcdvofSKn4E5Ew9fxhwOmqWLW9bHSAAn/dkY kbnJjKPv1H2EsEr/+GkYjdxY42Oxuq7bgCRVvn1110qMBXMnW6Lhr2jwu 4ZgwF2LAOj6/IMtdspSjZJGfbJ7WsZYcgw67e8rjY2VqewT8CNOsF2nNr 2LncqYCagxB3YuknhDEihn6td0u/6Y+a+J9XyUkxjtiXlmffw6vhowXCQ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="358466387" X-IronPort-AV: E=Sophos;i="5.97,294,1669104000"; d="scan'208";a="358466387" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2023 18:18:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="646601150" X-IronPort-AV: E=Sophos;i="5.97,294,1669104000"; d="scan'208";a="646601150" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga006.jf.intel.com with ESMTP; 13 Feb 2023 18:18:16 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 13 Feb 2023 18:18:15 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 13 Feb 2023 18:18:15 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 13 Feb 2023 18:18:15 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.107) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 13 Feb 2023 18:18:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MN6NfeBQ44jvD9yjJQrAy0mZRJw+exuMV3KVzudYUUcKeFUOzLyPs5eaQnoE3vefpdutWR1rrgQn1M5GBzWApMko01H4YPoqav7IQzY03sYHeI3m5IpFKiINl8sYhWiJCA3i8+LKunJ0XfdPNMTI+o5kJtUxx59EfVWhWBlgNTxiKP6UY3v53cizkmwz6olRVwR4qFZPzoGFt1jasl3HGaKRq0r8m18p03FGg81U+71MMOjziw6onNfJD+SB984yK5BFzyqo8y9ZTf9Vf8rM5TtPjj1STYhioLEmaK/UOUNIXJTmqP+Jck7ppsZLcFzvdbw7Ect7sl9964HC3Fr5Og== 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=pJHSEAB14kdVA8i/r1GgN3IwclrPtFijOIOhqP8hWX4=; b=UUPlNGHEIrmQB2zOQApP6tAsqj5cfLMueCbqBcACAL/fgY5MsRGmmLwFsd7Fpe2zOwMmGLp3q0eJ0lPwz1UnMbILXP+QNxeUlwqDzUUX0ukvMRRieT9hu4iQWnz6Z+7Bx0OQa9pqajtuPmwnYQP/foZXVrkuaM9KrxL47oo7+MO/saCdjVBTb82g5TUsgR9ushvlaHB12ycrbgjDaDd+LLkpa1CLJGVFuGbQk2nAgGkvmMkJv1MJT2nT/EApr38xfLCtMQ9z0oo2dWceMzO+YPnlLmDuOfkprH1mSKxLDoFynmx9OdUWAtVmEvooHzNJ5I9IltBDU7e1/vK1Me3ulA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by DM4PR11MB6408.namprd11.prod.outlook.com (2603:10b6:8:b7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Tue, 14 Feb 2023 02:18:13 +0000 Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::f890:e4ec:e2d8:5831]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::f890:e4ec:e2d8:5831%4]) with mapi id 15.20.6086.024; Tue, 14 Feb 2023 02:18:13 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "abner.chang@amd.com" CC: "Wu, Hao A" , Garrett Kirkendall Subject: Re: [edk2-devel] [PATCH V4] MdeModulePkg/Pci: Display more information of PCIe devices Thread-Topic: [edk2-devel] [PATCH V4] MdeModulePkg/Pci: Display more information of PCIe devices Thread-Index: AQHZJkV41+fs5y+s/U+iJf+pBSI1Xa7N6KJw Date: Tue, 14 Feb 2023 02:18:12 +0000 Message-ID: References: <20230112051417.996-1-abner.chang@amd.com> In-Reply-To: <20230112051417.996-1-abner.chang@amd.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|DM4PR11MB6408:EE_ x-ms-office365-filtering-correlation-id: 9a62969f-616e-4342-0e00-08db0e31b93e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gByINAW/xGofKcAT2JEj2vur8R3VtV5g5pj/ek48Bwr6ZEPBElgagIF4cT9/zVjUV/XMTi7WaBigJsKpebmuuDL4CH72P1WkkLHoENBkHaPvrj16DoCO/ApF0N8bHndNVxD/cy+gvXquvGXElAQpeAEQtnwK4BFAYM5CCH1ZtJfkNDYsCQHpiTVDY/LBBI/lqtpqK+BAMHGGYCLt95rD6BfExC4rwT0zBbkOhkUPWCxRcz+OpbJym9vTcQgA+hD+4hIPN3cO2I6H47wbR94EvIX6qRd9HRQ0GF9B9/0JngFQ4rzU7nUWIeYf4cyu72t6sHaCTkOt8hp0fRPp50HI+mgYhKUKk3akZ9JOnfsEiX3/cTI1jV3ndGpBVoELDBElN4FC/9/WBnEQxqbsuwiIslfdxugnBEsyDaKa2Myz2H5qgQD8VlthTVYS+gFHSZ8oB+7Qlpp6l/V1GCwRVQimB2rW6R10gB/UlUgPndpqB8eKv/Sl93fEN9HhZCtXXTnlE/It3SIW75OFHaoi/0B7Qbkbx3VhmcwuNGODkfVy5qlU9ylWRU98MXRktwUQgBdxy4OngJuMVjk1+w14tUu+gtZV8ku5imyku78E/hD9Hrws4oysHNfLytzzf3DHymxOVsMpD2zQRvyyKMnEWWocD3DBDCQp3WeSn79HKXfI7lOvH4UrGERI49nXbQ2rPtYcXHXhfmlaUJCa22j/F46bFF/lPuCxag3Pg0fdKf344ro= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN6PR11MB8244.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(396003)(366004)(346002)(376002)(136003)(451199018)(38070700005)(38100700002)(82960400001)(122000001)(86362001)(66476007)(8936002)(52536014)(41300700001)(2906002)(5660300002)(54906003)(316002)(4326008)(110136005)(64756008)(8676002)(33656002)(66446008)(66556008)(76116006)(66946007)(71200400001)(83380400001)(966005)(478600001)(7696005)(9686003)(53546011)(6506007)(186003)(26005)(55016003)(66899018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Et0Inrj+O54vT6gyp1Rek16l+gzR3hQZpdfA5o64hnIFaCKfmWDFJpMU5/Rt?= =?us-ascii?Q?sbdpjgkDXm2x7cEPbiX/8pftQwqUfjz9Jon01YGtn8csc/0oh7Y+XzYqp+Jd?= =?us-ascii?Q?jgLXkF6pNMYLQi8213p4GmuCGapBhtHfpCohM3pKHXfQyYjeJCkvhgka562F?= =?us-ascii?Q?ScZPXWFckAodX0sCWZzJigSpKuDVsRgqZshiPyohMODDfFL3EWayX4jN/RHi?= =?us-ascii?Q?EJNwJ/8SI3BXacW7/Yim6PGghUFIP1Dst+31nnXy1MW4lU/NAUpSk9D84E5+?= =?us-ascii?Q?hmixQKjprZFYLumtdu6ESBlBCeDj+OwyaeVAcpOgqmQnTuaQr7WAYa61Wpvx?= =?us-ascii?Q?KzAmfks1n6lkJe8rAivE+wO0eb2vP3wFqhG2107JkPN+1EKzPU41GzqBYrfJ?= =?us-ascii?Q?lMN72rWQXv/+QblIrr/PjX5nN4fudK5+Q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z07YUE5U0VpBYQuF6wKRavqLhOQPTRGslI0o7VMmWzTbCCca94GhVb7zeywj?= =?us-ascii?Q?TSQ52yjYkB/B0E16CnChnYomZuddTtnNRFss0LlDlRhlG5333r+ddQ7f5p5N?= =?us-ascii?Q?PHY4ZmNoHwKeYbBhJ/vsaoSncKQIM5T9BFtQvrLGFalL05v4UbhNRu8WZUzd?= =?us-ascii?Q?j97nvuRzZ0k0X3kDEuqLwbePaj5wTxSLnPtDuCYjIFKoHmXz3xV3XjXPymib?= =?us-ascii?Q?4lr0vTLPSlCxsn1kqiLFleQI0sqw4qiChpJ7sEBg?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a62969f-616e-4342-0e00-08db0e31b93e X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2023 02:18:12.6470 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Q6ago7MtfPzEt98Xor3GTNA+y9AaGvE27g6JJ8OKhEkO0C3Fdy9ME+JL2xDUgMXcbcEwFzF/1R3RZ7wf1C2+8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6408 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Chang, > Abner via groups.io > Sent: Thursday, January 12, 2023 1:14 PM > To: devel@edk2.groups.io > Cc: Wu, Hao A ; Ni, Ray ; Garrett > Kirkendall ; Abner Chang > > Subject: [edk2-devel] [PATCH V4] MdeModulePkg/Pci: Display more > information of PCIe devices >=20 > From: Abner Chang >=20 > In V4: Update the copyright to 2023. > In V3: Add AMD copyright. > In V2: Remove the signed-off-by: Abner Chang >=20 > Display PCIe Vendor ID and Device ID in DEBUG message. >=20 > Signed-off-by: Jiangang He > Cc: Hao A Wu > Cc: Ray Ni > Cc: Garrett Kirkendall > Cc: Abner Chang > --- > MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >=20 > diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > index 8eca8596958..6594b8eae83 100644 > --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > @@ -3,6 +3,7 @@ >=20 > Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
> (C) Copyright 2015 Hewlett Packard Enterprise Development LP
> +Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
> SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > **/ > @@ -227,13 +228,15 @@ PciSearchDevice ( >=20 > DEBUG (( > DEBUG_INFO, > - "PciBus: Discovered %s @ [%02x|%02x|%02x]\n", > + "PciBus: Discovered %s @ [%02x|%02x|%02x] [VID =3D 0x%x, DID =3D > 0x%0x]\n", > IS_PCI_BRIDGE (Pci) ? L"PPB" : > IS_CARDBUS_BRIDGE (Pci) ? L"P2C" : > L"PCI", > Bus, > Device, > - Func > + Func, > + Pci->Hdr.VendorId, > + Pci->Hdr.DeviceId > )); >=20 > if (!IS_PCI_BRIDGE (Pci)) { > -- > 2.37.1.windows.1 >=20 >=20 >=20 >=20 >=20