linux_dsm_epyc7002/drivers/pci/controller/dwc
Bjorn Andersson 02b485e31d PCI: qcom: Don't deassert reset GPIO during probe
Acquiring the reset GPIO low means that reset is being deasserted, this
is followed almost immediately with qcom_pcie_host_init() asserting it,
initializing it and then finally deasserting it again, for the link to
come up.

Some PCIe devices requires a minimum time between the initial deassert
and subsequent reset cycles. In a platform that boots with the reset
GPIO asserted this requirement is being violated by this deassert/assert
pulse.

Acquire the reset GPIO high to prevent this situation by matching the
state to the subsequent asserted state.

Fixes: 82a823833f ("PCI: qcom: Add Qualcomm PCIe controller driver")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Cc: stable@vger.kernel.org
2019-02-28 09:46:10 +00:00
..
Kconfig PCI: imx6: Add support for i.MX8MQ 2019-02-04 12:04:53 +00:00
Makefile Merge branch 'remotes/lorenzo/pci/uniphier' 2019-01-02 15:31:15 -06:00
pci-dra7xx.c PCI: dwc: dra7xx: Invoke phy_set_mode() API to set PHY mode to PHY_MODE_PCIE 2019-01-31 17:21:17 +00:00
pci-exynos.c PCI: exynos: Drop unnecessary root_bus_nr setting 2018-07-13 14:07:47 +01:00
pci-imx6.c PCI: imx: Add workaround for e10728, IMX7d PCIe PLL failure 2019-02-12 19:17:34 +00:00
pci-keystone.c PCI: keystone: Cleanup macros defined in pci-keystone.c 2018-10-17 09:59:02 +01:00
pci-layerscape.c pci-v4.21-changes 2019-01-05 17:57:34 -08:00
pci-meson.c PCI: amlogic: Add the Amlogic Meson PCIe controller driver 2018-12-19 10:24:30 +00:00
pcie-armada8k.c PCI: armada8k: Add support for gpio controlled reset signal 2018-12-18 12:01:16 +00:00
pcie-artpec6.c PCI: Update xxx_pcie_ep_raise_irq() and pci_epc_raise_irq() signatures 2018-07-19 11:34:42 +01:00
pcie-designware-ep.c PCI: dwc: Print debug error message when MSI-X entry control mask bit is set 2019-02-12 19:17:33 +00:00
pcie-designware-host.c PCI: dwc: Replace bit rotation operation (1 << bit) with BIT(bit) 2019-02-01 12:36:36 +00:00
pcie-designware-plat.c PCI: dwc: Remove unnecessary header include (signal.h) 2019-02-01 12:33:19 +00:00
pcie-designware.c PCI: dwc: Don't hard-code DBI/ATU offset 2018-12-18 12:01:17 +00:00
pcie-designware.h PCI: dwc: Improve code readability and simplify mask/unmask operations 2019-02-01 12:34:28 +00:00
pcie-hisi.c
pcie-histb.c PCI: histb: Constify dw_pcie_host_ops structure 2018-11-08 13:54:44 +00:00
pcie-kirin.c PCI: kirin: Fix section mismatch warning 2018-10-01 17:16:23 +01:00
pcie-qcom.c PCI: qcom: Don't deassert reset GPIO during probe 2019-02-28 09:46:10 +00:00
pcie-spear13xx.c PCI: spear13xx: Drop unnecessary root_bus_nr setting 2018-07-13 14:10:55 +01:00
pcie-uniphier.c PCI: uniphier: Add UniPhier PCIe host controller support 2018-12-19 10:25:44 +00:00