From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.17624.1589128074369412499 for ; Sun, 10 May 2020 09:27:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: ashraf.javeed@intel.com) IronPort-SDR: DLxkjHzuwewht2v6FKkOXomuqQsgfM7c/Vi9LfyMWPCwfNWVRRIpLO4SQ+42hCWZ2fD6mjD0tQ tGjDPrDYucaA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2020 09:27:53 -0700 IronPort-SDR: GRwq2FiKojicQ1nLk44BWITthgNRGNbA2Xg/ulTBLVAGMtAozVZtJ7DICN+1F7cJ/AvyiM5syx EceW1VNU1i4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,376,1583222400"; d="scan'208";a="463131491" Received: from pidsbabios005.gar.corp.intel.com ([10.66.128.37]) by fmsmga006.fm.intel.com with ESMTP; 10 May 2020 09:27:52 -0700 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/15] PCIe features Date: Sun, 10 May 2020 21:57:47 +0530 Message-Id: <20200510162747.9944-1-ashraf.javeed@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1954 https://bugzilla.tianocore.org/show_bug.cgi?id=3D2194 https://bugzilla.tianocore.org/show_bug.cgi?id=3D2313 https://bugzilla.tianocore.org/show_bug.cgi?id=3D2499 https://bugzilla.tianocore.org/show_bug.cgi?id=3D2500 Optimization of the PCI Express Protocol and code refactoring of the PCIe features in the PciBusDxe. Signed-off-by: Ashraf Javeed Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Cc: Ashraf Javeed --- Ashraf Javeed (15): MdePkg/Protocols: Deprecated the EFI encoded macros MdeModulePkg/PciBusDxe: PciBusDxe Code refactor MdeModulePkg/PciBus: Rename Cache PCIe Capability Structure MdeModulePkg/PciBusDxe: Refactor the PCIe Bridge enable MdeModulePkg/PciBusDxe: Locate PciePlatform/PcieOverride protocol MdeModulePkg/PciBusDxe: Add the framework to init PCIe features MdeModulePkg/PciBusDxe: Enable MaxPayloadSize feature MdeModulePkg/PciBusDxe: Enable MaxReadRequestSize feature MdeModulePkg/PciBusDxe: Enable RelaxedOrdering feature MdeModulePkg/PciBusDxe: Enable NoSnoop feature MdeModulePkg/PciBusDxe: Enable CompletionTimeout feature MdeModulePkg/PciBusDxe: Enable LTR feature MdeModulePkg/PciBusDxe: Enable AtomicOp feature MdeModulePkg/PciBusDxe: Enable ExtendedTag feature MdeModulePkg/PciBusDxe: Enable CommonClockConfiguration feature MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 3 +- MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 24 +++-------- MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | 14 +++---- MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c | 84 +++++++++++--= ------------------------ MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 2 +- 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 -------------= --------------------------------------- MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatureSupport.c | 591 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatureSupport.h | 76 +++++++++++++= ++++++++++++++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatures.c | 893 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatures.h | 148 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++ MdePkg/Include/Protocol/PciExpressPlatform.h | 630 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++-----------------------------------------------------------= ---------------------------------------------------------------------------= --------------------------------- 16 files changed, 1989 insertions(+), 5397 deletions(-) delete mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciExpressFeatures.c delete mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciExpressFeatures.h delete mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciFeatureSupport.c delete mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciFeatureSupport.h delete mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciPlatformSupport.c delete mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PciPlatformSupport.h create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatureSupport.c create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatureSupport.h create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatures.c create mode 100644 MdeModulePkg/Bus/Pci/PciBusDxe/PcieFeatures.h --=20 2.21.0.windows.1