From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web09.10513.1581105921622646235 for ; Fri, 07 Feb 2020 12:05:21 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: ashraf.javeed@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Feb 2020 12:05:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,414,1574150400"; d="scan'208";a="225644065" Received: from unknown (HELO PIDSBABIOS005.gar.corp.intel.com) ([10.223.9.183]) by fmsmga007.fm.intel.com with ESMTP; 07 Feb 2020 12:05:19 -0800 From: "Javeed, Ashraf" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu , Ray Ni Subject: [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 00/12] PciBusDxe: New PCI Express features Date: Sat, 8 Feb 2020 01:34:35 +0530 Message-Id: <20200207200447.10536-1-ashraf.javeed@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The PciBusDxe is enhanced to initialize 10 PCI Express features (patch index 3 to 12). All these PCI Express features attributes are defined based on the new PCI Express Platform Protocol definition (as per its ECR draft version 0.8): https://bugzilla.tianocore.org/show_bug.cgi?id=3D1954. For MPS, MRRS:- https://bugzilla.tianocore.org/show_bug.cgi?id=3D2194 For RO, NS, CTO:- https://bugzilla.tianocore.org/show_bug.cgi?id=3D2313 For AtomicOp, Extended Tag, LTR:- https://bugzilla.tianocore.org/show_bug.cgi?id=3D2499 For ASPM, CCC:- https://bugzilla.tianocore.org/show_bug.cgi?id=3D2500 Signed-off-by: Ashraf Javeed Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Ashraf Javeed (12): MdeModulePkg/PciBusDxe: Setup for PCI Express features MdeModulePkg/PciBusDxe: Setup PCI Express init phase PciBusDxe: New PCI Express feature Max_Payload_Size PciBusDxe: New PCI Express feature Max_Read_Req_Size PciBusDxe: New PCI Express feature Relax Ordering PciBusDxe: New PCI Express feature No-Snoop PciBusDxe: New PCI Express feature Completion Timeout PciBusDxe: New PCI Express feature AtomicOp PciBusDxe: New PCI Express feature LTR PciBusDxe: New PCI Express feature Extended Tag PciBusDxe: New PCI Express feature ASPM support PciBusDxe: New PCI Express feature Common CLock Config MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 6 ++- MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 25 ++++++++++- MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | 11 ++++- MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c | 181 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++---------------- MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 12 +++++- MdeModulePkg/Bus/Pci/PciBusDxe/PciExpressFeatures.c | 2178 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PciExpressFeatures.h | 399 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PciFeatureSupport.c | 1019 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++++++++++++++++++++++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PciFeatureSupport.h | 304 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PciPlatformSupport.c | 902 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PciPlatformSupport.h | 119 +++++++++++++= +++++++++++++++++++++++++++++++++++++++ 11 files changed, 5116 insertions(+), 40 deletions(-) create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciExpressFeatures.c create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciExpressFeatures.h create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciFeatureSupport.c create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciFeatureSupport.h create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciPlatformSupport.c create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciPlatformSupport.h --=20 2.21.0.windows.1