summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-07-09 01:27:43 +0300
committerBjorn Helgaas <bhelgaas@google.com>2022-07-13 22:53:02 +0300
commit38f897ae3d44900f627cad708a15db498ce2ca31 (patch)
tree966f142f5afa762fe820b6178a271945b203ae43 /tools/perf/scripts/python/export-to-postgresql.py
parent553d12b20c10953617cc195f9e447a177c776f9d (diff)
downloadlinux-38f897ae3d44900f627cad708a15db498ce2ca31.tar.xz
PCI: qcom: Set up rev 2.1.0 PARF_PHY before enabling clocks
We currently enable clocks BEFORE we write to PARF_PHY_CTRL reg to enable clocks and resets. This causes the driver to never set to a ready state with the error 'Phy link never came up'. This is caused by the PHY clock getting enabled before setting the required bits in the PARF regs. A workaround for this was set but with this new discovery we can drop the workaround and use a proper solution to the problem by just enabling the clock only AFTER the PARF_PHY_CTRL bit is set. This correctly sets up the PCIe link and makes it usable even when a bootloader leaves the PCIe link in an undefined state. Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver") Link: https://lore.kernel.org/r/20220708222743.27019-1-ansuelsmth@gmail.com Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions