From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.6011.1578632168702565750 for ; Thu, 09 Jan 2020 20:56:08 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: ashraf.javeed@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2020 20:56:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,415,1571727600"; d="scan'208";a="218560861" Received: from unknown (HELO PIDSBABIOS005.gar.corp.intel.com) ([10.223.9.183]) by fmsmga008.fm.intel.com with ESMTP; 09 Jan 2020 20:56:06 -0800 From: "Javeed, Ashraf" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Ray Ni Subject: [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH V1] MdePkg/Protocols: New PCI Express Platform Protocol, EFI encodings Date: Fri, 10 Jan 2020 10:26:02 +0530 Message-Id: <20200110045602.16128-1-ashraf.javeed@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1954 Three interfaces added to PCI Express Platform Protocol:- (1) GetDevicePolicy() -> to retrieve device-specific platform policies (2) NotifyDeviceState() -> to notify platform about device PCI Express configuration state (3) GetPolicy() -> to retrieve platform policy about the PCI Express feature list PCI Express Override Protocol is made alias to PCI Express Platform Protocol. EFI encodings introduced for the following PCI Express features, are: 1. Maximum Payload Size (MPS) 2. Maximum Read Request Size (MRRS) 3. Extended Tag 4. Relax Order Enable 5. No Snoop Enable 6. ASPM support 7. Common Clock Configuration 8. Extended SYNC 9. Atomic Op 10. LTR Enable 11. PTM support 12. CTO support 13. CPM 14. L1 PM Substates New source files with unique definitions are: MdePkg/Include/Protocol/PciExpressPlatform.h, MdePkg/Include/Protocol/PciExpressOverride.h Signed-off-by: Ashraf Javeed Cc: Michael D Kinney Cc: Liming Gao Cc: Ray Ni --- In V1: Code Syntax correction made. --- MdePkg/Include/Protocol/PciExpressPlatform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Protocol/PciExpressPlatform.h b/MdePkg/Include/Protocol/PciExpressPlatform.h index 8a28418..dc58268 100644 --- a/MdePkg/Include/Protocol/PciExpressPlatform.h +++ b/MdePkg/Include/Protocol/PciExpressPlatform.h @@ -643,11 +643,11 @@ typedef struct { **/ typedef EFI_STATUS -(EFIAPI * EFI_PCI_EXPRESS_GET_POLICY) { +(EFIAPI * EFI_PCI_EXPRESS_GET_POLICY) ( IN CONST EFI_PCI_EXPRESS_PLATFORM_PROTOCOL *This, IN UINTN Size, IN OUT EFI_PCI_EXPRESS_PLATFORM_POLICY *PlatformPolicy -}; +); /// /// This protocol provides the interface between the PCI bus driver/PCI Host -- 2.21.0.windows.1