]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "PCI: imx6: Skip controller_id generation logic for i.MX7D"
authorRyan Matthews <ryanmatthews@fastmail.com>
Sun, 4 May 2025 19:13:55 +0000 (15:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 May 2025 07:43:55 +0000 (09:43 +0200)
commit28cfd94980bb69033718a9d684a44ccc13c32821
tree23b91fe00944830fc8f060c7b4b42b3261772f18
parent47e24c86cb20515d1da56aadf063775232e22336
Revert "PCI: imx6: Skip controller_id generation logic for i.MX7D"

This reverts commit 2a12efc567a270a155e3b886258297abd79cdea0 which is
commit f068ffdd034c93f0c768acdc87d4d2d7023c1379 upstream.

This is a backport mistake.

Deleting "IMX7D" here skips more than just controller_id logic. It skips
reset assignments too, which causes:

 imx6q-pcie 33800000.pcie: PCIe PLL lock timeout

In my case, in addition to broken PCIe, kernel boot hangs entirely.

This isn't a problem upstream because before this, they moved the rest of
the code out of the switch case.

Signed-off-by: Ryan Matthews <ryanmatthews@fastmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/dwc/pci-imx6.c