]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: dwc: Apply ECRC workaround for DesignWare cores prior to 5.10a
authorManikanta Maddireddy <mmaddireddy@nvidia.com>
Fri, 10 Apr 2026 06:25:07 +0000 (11:55 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 May 2026 21:01:11 +0000 (16:01 -0500)
commit1e1b554c2b910591aa3fffdb8077a2ca33bf3cb2
tree024e659056dc65ba30376b74def24958748f9569
parent254f49634ee16a731174d2ae34bc50bd5f45e731
PCI: dwc: Apply ECRC workaround for DesignWare cores prior to 5.10a

The ECRC (TLP digest) workaround was originally applied only for DesignWare
core version 4.90a. Per discussion in Synopsys case, the dependency of the
iATU TD bit on ECRC generation was removed in 5.10a, so apply the
workaround for all DWC versions below that release.

Replace the misleading comment that referred to raw version constants
with readable DesignWare release name to help readability.

Fixes: b210b1595606 ("PCI: dwc: Apply ECRC workaround to DesignWare 5.00a as well")
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
[mani: corrected fixes tag format]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260410062507.657453-1-mmaddireddy@nvidia.com
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h