aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/Makefile
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2020-09-03 13:34:56 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-09-16 10:30:42 +0100
commitacb52897cc842fae917c4441e0fefbc18133a08c (patch)
tree199d25035675590a9d50099f789db1375f2b11be /drivers/pci/controller/Makefile
parentACPI / APEI: Add a notifier chain for unknown (vendor) CPER records (diff)
downloadlinux-dev-acb52897cc842fae917c4441e0fefbc18133a08c.tar.xz
linux-dev-acb52897cc842fae917c4441e0fefbc18133a08c.zip
PCI: hip: Add handling of HiSilicon HIP PCIe controller errors
The HiSilicon HIP PCIe controller is capable of handling errors on root port and performing port reset separately at each root port. Add error handling driver for HIP PCIe controller to log and report recoverable errors. Perform root port reset and restore link status after the recovery. Following are some of the PCIe controller's recoverable errors 1. completion transmission timeout error. 2. CRS retry counter over the threshold error. 3. ECC 2 bit errors 4. AXI bresponse/rresponse errors etc. The driver placed in the drivers/pci/controller/ because the HIP PCIe controller does not use DWC IP. Link: https://lore.kernel.org/r/20200903123456.1823-3-shiju.jose@huawei.com Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Signed-off-by: Shiju Jose <shiju.jose@huawei.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/Makefile')
-rw-r--r--drivers/pci/controller/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile
index bcdbf49ab1e4..04c6edc285c5 100644
--- a/drivers/pci/controller/Makefile
+++ b/drivers/pci/controller/Makefile
@@ -31,6 +31,7 @@ obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
obj-$(CONFIG_VMD) += vmd.o
obj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o
obj-$(CONFIG_PCI_LOONGSON) += pci-loongson.o
+obj-$(CONFIG_PCIE_HISI_ERR) += pcie-hisi-error.o
# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
obj-y += dwc/
obj-y += mobiveil/