linux_dsm_epyc7002/drivers/pci/host
Sergei Shtylyov 3ad1d32744 PCI: rcar: Poll PHYRDY in rcar_pcie_hw_init()
In all the R-Car gen1/2/3 manuals, we are instructed to poll PCIEPHYSR
for PHYRDY=1 at an early stage of the PCIEC initialization -- while
the driver only does this on R-Car H1 (polling a PHY specific register).
Add the PHYRDY polling to rcar_pcie_hw_init(). Note that without the
special PHY driver on the R-Car V3H (R8A77980) the PCIEC initialization
just freezes the kernel -- adding the PHYRDY polling allows the init code
to exit gracefully on timeout (PHY starts powered down after reset on this
SoC).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
2018-05-04 10:00:07 +01:00
..
Kconfig PCI: tegra: Add PCI_MSI_IRQ_DOMAIN kconfig dependency 2018-03-14 18:30:09 +00:00
Makefile PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller 2018-01-31 11:13:27 +00:00
pci-aardvark.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-ftpci100.c PCI: faraday: Make struct faraday_pci_variant static 2018-03-22 12:22:30 +00:00
pci-host-common.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pci-host-generic.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-hyperv.c PCI: hv: Only queue new work items in hv_pci_devices_present() if necessary 2018-03-16 18:19:03 +00:00
pci-mvebu.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-rcar-gen2.c PCI: rcar-gen2: Remove duplicated bit-wise or of RCAR_PCI_INT_SIGRETABORT 2018-02-23 13:58:42 +00:00
pci-tegra.c PCI: tegra: Add power management support 2018-03-19 09:37:46 +00:00
pci-thunder-ecam.c PCI: Add SPDX GPL-2.0 to replace COPYING boilerplate 2018-01-28 15:48:54 -06:00
pci-thunder-pem.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-v3-semi.c PCI: v3-semi: Remove unnecessary semicolon 2018-03-22 12:24:31 +00:00
pci-versatile.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pci-xgene-msi.c PCI: xgene: Fix the xgene_msi_probe() return code 2018-02-14 15:24:38 +00:00
pci-xgene.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-altera-msi.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-altera.c PCI: altera: Fix bool initialization in tlp_read_packet() 2018-02-28 16:44:11 +00:00
pcie-iproc-bcma.c PCI: iproc: Remove dependency on ARM specific struct pci_sys_data 2018-03-21 14:22:36 +00:00
pcie-iproc-msi.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-iproc-platform.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-iproc.c PCI: iproc: Remove dependency on ARM specific struct pci_sys_data 2018-03-21 14:22:36 +00:00
pcie-iproc.h PCI: iproc: Remove dependency on ARM specific struct pci_sys_data 2018-03-21 14:22:36 +00:00
pcie-mediatek.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-rcar.c PCI: rcar: Poll PHYRDY in rcar_pcie_hw_init() 2018-05-04 10:00:07 +01:00
pcie-rockchip.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
pcie-tango.c pci-v4.15-changes 2017-11-15 15:01:28 -08:00
pcie-xilinx-nwl.c PCI: pcie-xilinx-nwl: Fix mask value to disable MSIs 2018-03-23 11:16:21 +00:00
pcie-xilinx.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
vmd.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00