Skip to content

Add support to configure DWC for ECRC

Vidya Sagar linux-pci lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 14 repliesIn review
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

* Addressed Ethan Zhao's comments for patch-1

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI/AER: Add pcie_is_ecrc_enabled() APIdrivers/pci/pci.h drivers/pci/pcie/aer.c+13 -00 replies
2/2PCI: dwc: Add support to configure for ECRCdrivers/pci/controller/dwc/pcie-designware.c drivers/pci/controller/dwc/pcie-designware.h+7 -214 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJingoo Han
1/2R-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/2] Add support to configure DWC for ECRC

This series has two patches.

Patch-1: Adds a public API to query if the system has ECRC policty turned on.

Patch-2: DesignWare core PCIe IP has a TLP Digest (TD) override bit in one of its control registers of ATU. This bit needs to be programmed for proper ECRC functionality. This is currently identified as an issue with DesignWare IP version 4.90a. DWC code queries the PCIe sub-system through the API added in Patch-1 to find out if ECRC is turned on or not and configures ATU accordingly.

V3:
* Addressed Ethan Zhao's comments for patch-1

V2:
* Addressed Jingoo's review comments

Vidya Sagar (2):
PCI/AER: Add pcie_is_ecrc_enabled() API
PCI: dwc: Add support to configure for ECRC

 drivers/pci/controller/dwc/pcie-designware.c |  8 ++++++--
 drivers/pci/controller/dwc/pcie-designware.h |  1 +
 drivers/pci/pci.h                            |  2 ++
 drivers/pci/pcie/aer.c                       | 11 +++++++++++
 4 files changed, 20 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1