Star64_linux/drivers/pci/controller/dwc
Marc Zyngier 87dccf0932 PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link
The vim3l board does not work with a standard PCIe switch (ASM1184e),
spitting all kind of errors - hinting at HW misconfiguration (no link,
port enumeration issues, etc).

According to the the Synopsys DWC PCIe Reference Manual, in the section
dedicated to the PLCR register, bit 7 is described (FAST_LINK_MODE) as:

"Sets all internal timers to fast mode for simulation purposes."

it is sound to set this bit from a simulation perspective, but on actual
silicon, which expects timers to have a nominal value, it is not.

Make sure the FAST_LINK_MODE bit is cleared when configuring the RC
to solve this problem.

Link: https://lore.kernel.org/r/20200429164230.309922-1-maz@kernel.org
Fixes: 9c0ef6d34f ("PCI: amlogic: Add the Amlogic Meson PCIe controller driver")
Signed-off-by: Marc Zyngier <maz@kernel.org>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Rob Herring <robh@kernel.org>
2020-05-22 15:05:23 +01:00
..
Kconfig PCI: tegra: Add support for PCIe endpoint mode in Tegra194 2020-03-31 09:13:17 +01:00
Makefile PCI: dwc: intel: PCIe RC controller driver 2020-01-09 11:57:18 +00:00
pci-dra7xx.c PCI: dwc: pci-dra7xx: Use devm_platform_ioremap_resource_byname() 2020-05-22 15:05:23 +01:00
pci-exynos.c PCI: exynos: Rename Exynos to lowercase 2020-01-13 13:46:15 +00:00
pci-imx6.c Merge branch 'remotes/lorenzo/pci/misc' 2019-09-23 16:10:26 -05:00
pci-keystone.c PCI: keystone: Allow AM654 PCIe Endpoint to raise MSI-X interrupt 2020-04-02 17:57:10 +01:00
pci-layerscape-ep.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pci-layerscape.c PCI: layerscape: Add LS1028a support 2019-11-08 10:45:00 +00:00
pci-meson.c PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link 2020-05-22 15:05:23 +01:00
pcie-al.c PCI: dwc: al: Add Amazon Annapurna Labs PCIe controller driver 2019-09-16 14:16:44 +01:00
pcie-armada8k.c PCI: armada8x: Propagate errors for optional PHYs 2019-09-04 15:42:38 +01:00
pcie-artpec6.c PCI: artpec6: Configure FTS with dwc helper function 2020-01-09 11:57:29 +00:00
pcie-designware-ep.c PCI: dwc: Clean up computing of msix_tbl 2020-05-05 10:55:54 +01:00
pcie-designware-host.c PCI: dwc: Fix inner MSI IRQ domain registration 2020-05-22 15:05:23 +01:00
pcie-designware-plat.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pcie-designware.c PCI: dwc: Program outbound ATU upper limit register 2020-05-22 15:05:23 +01:00
pcie-designware.h PCI: dwc: Program outbound ATU upper limit register 2020-05-22 15:05:23 +01:00
pcie-hisi.c PCI: dwc: Make hisi_pcie_platform_ops static 2020-05-05 11:02:46 +01:00
pcie-histb.c PCI: histb: Propagate errors for optional regulators 2019-09-04 15:43:09 +01:00
pcie-intel-gw.c PCI: dwc: intel: Make intel_pcie_cpu_addr() static 2020-05-22 15:05:23 +01:00
pcie-kirin.c PCI: kirin: Make structure kirin_dw_pcie_ops constant 2019-08-21 11:45:14 +01:00
pcie-qcom.c PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM 2020-02-26 10:59:29 +00:00
pcie-spear13xx.c PCI: spear13xx: Drop unnecessary root_bus_nr setting 2018-07-13 14:10:55 +01:00
pcie-tegra194.c PCI: tegra: Print -EPROBE_DEFER error message at debug level 2020-04-02 17:57:10 +01:00
pcie-uniphier.c PCI: uniphier: remove module code from built-in driver 2020-01-13 16:38:50 +00:00