From nobody Sat May 4 00:49:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55856+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55856+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1584289898; cv=none; d=zohomail.com; s=zohoarc; b=fQbMI3YTPFIu+WCBontTfRtcxjCUOqwMbh2Pq7XjJZ4NSahyhCnkeucbGP2eDRHT2DM142ufbU1KbRO6BqcLUAft2CQjI92EbE8NSUX8BmsCUVPitkcczvy8keHtTcxp18StMdKGnf+kpT1jr2aR5M87tTL4nV1RzDuvUl+Po28= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1584289898; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=KdgemAG6x0Sqp3aDcvkXi15Obn5+gQQt4hZBVJU+N8I=; b=HJ31pEQsNJum5KanKiYe9ye3dMups8G7KtU1BKhufWw8a9IdTicvgLnD6b9Rvkpa9GHMPwdOHWwtLL7k8GEoOlEN8It/6s7jKo5eRxIzsgHgNN5mbVY15OsziQgD9eXHjpUTT8ca6HOr/SWseEdXg0rkxdGsjy+LD4lEvcDHwjs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55856+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 158428989850498.03668125754962; Sun, 15 Mar 2020 09:31:38 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id DsNsYY1788612xRrUrog3noc; Sun, 15 Mar 2020 09:31:38 -0700 X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.45208.1584289897155204004 for ; Sun, 15 Mar 2020 09:31:37 -0700 IronPort-SDR: PexLu99A97L4HkS0pW6pUdGPGkbCNtknQNR6VQhjztQhNsUq8ocZs6oH/MwUSCJx3qOKQZr43x 89XSufjib88g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2020 09:31:36 -0700 IronPort-SDR: QsmObscoVc1WRJB8YDEZYKy7Xef8+H+pBMl21NZlyJHCR3rmtXuJJ4BZVkI2xfxY2P/0ilHqPF 5hfNBUXY7new== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,557,1574150400"; d="scan'208";a="247214802" X-Received: from unknown (HELO PIDSBABIOS005.gar.corp.intel.com) ([10.223.9.183]) by orsmga006.jf.intel.com with ESMTP; 15 Mar 2020 09:31:33 -0700 From: "Javeed, Ashraf" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao Subject: =?UTF-8?B?W2VkazItZGV2ZWxdIFtQQVRDSCBWMV0g77u/TWRlUGtnLVBjaUV4cHJlc3M0MC5oOiBEVlNFQyBkZWZpbml0aW9uIG1pc3Npbmc=?= Date: Sun, 15 Mar 2020 22:01:28 +0530 Message-Id: <20200315163128.9476-1-ashraf.javeed@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,ashraf.javeed@intel.com X-Gm-Message-State: clnViWFYpDiHEXdDcEyDsG1Ix1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1584289898; bh=yxRf/m+tF+i/27Q8Am/n6I5ZMhPgoM+1mMAtksDVDQY=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=XxOHTSkEyn7F3neWspItDTANlGcLcfZ7M99zGFYnbOOMEdf/mvyk3ZBOcS8/BdN5Qbd ZW8qi6xIq91pMeclsFz2aIYC1oY6DY0tqJ5uqWb1dk1Vhea2wSTriy1iyfXXGnMXLC4RD Iov3xXl74AJD3e51UUjzHJuN83PhcSxZrjU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2598 All registers definition of DVSEC are defined as per the PCI Express Base Specification 4.0 chapter 7.9.6. Signed-off-by: Ashraf Javeed Cc: Michael D Kinney Cc: Liming Gao --- MdePkg/Include/IndustryStandard/PciExpress40.h | 24 ++++++++++++++++++++++= ++ 1 file changed, 24 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/PciExpress40.h b/MdePkg/Includ= e/IndustryStandard/PciExpress40.h index 9d9b272546..02c30a7757 100644 --- a/MdePkg/Include/IndustryStandard/PciExpress40.h +++ b/MdePkg/Include/IndustryStandard/PciExpress40.h @@ -4,6 +4,7 @@ Support for the PCI Express 4.0 standard. This header file may not define all structures. Please extend as required. =20 Copyright (c) 2018, American Megatrends, Inc. All rights reserved.
+Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -76,6 +77,29 @@ typedef struct { UINT32 Reserved; PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_LANE_EQUALIZATION_CONTROL LaneEquali= zationControl[1]; } PCI_EXPRESS_EXTENDED_CAPABILITIES_PHYSICAL_LAYER_16_0; + +typedef union { + struct { + UINT32 DvsecVendorId : 16; //bi= t 0..15 + UINT32 DvsecRevision : 4; //bi= t 16..19 + UINT32 DvsecLength : 12; //bi= t 20..31 + }Bits; + UINT32 Uint32; +}PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1; + +typedef union { + struct { + UINT16 DvsecId : 16; //bi= t 0..15 + }Bits; + UINT16 Uint16; +}PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2; + +typedef struct { + PCI_EXPRESS_EXTENDED_CAPABILITIES_HEADER Header; + PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1 Designated= VendorSpecificHeader1; + PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2 Designated= VendorSpecificHeader2; + UINT8 Designated= VendorSpecific[1]; +}PCI_EXPRESS_EXTENDED_CAPABILITIES_DESIGNATED_VENDOR_SPECIFIC; ///@} =20 #pragma pack() --=20 2.21.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 (#55856): https://edk2.groups.io/g/devel/message/55856 Mute This Topic: https://groups.io/mt/71976297/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-