[U-Boot] [PATCH] drivers: pci: imx: fix imx_pcie_remove function
Fabio Estevam
festevam at gmail.com
Tue Oct 10 12:12:18 UTC 2017
Hi David,
On Thu, Oct 5, 2017 at 8:46 AM, Fabio Estevam <fabio.estevam at nxp.com> wrote:
> From: Sven-Ola Tuecke <sven-ola.tuecke at numberfour.eu>
>
> We have at least a minor count of boards, that failed to re-initialize
> PCI express in the Linux kernel. Typical failure rate is 20% on affected
> boards. This is mitigated by commit 6ecbe1375671 ("drivers: pci: imx:
> add imx_pcie_remove function").
>
> However, at least on some i.MX6 custom boards, when calling
> assert_core_reset() as part of the first-time PCIe init, read access
> to PCIE_PL_PFLR simply hangs. Surround this readl() with
> imx_pcie_fix_dabt_handler() does not help. For this reason, the forced
> LTSSM detection is only used on the second assert_core_reset() that is
> called shorly before starting the Linux kernel.
>
> Signed-off-by: Sven-Ola Tuecke <sven-ola.tuecke at numberfour.eu>
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
Does this patch solve the PCIE_PL_PFLR hang you reported at
https://lists.denx.de/pipermail/u-boot/2017-September/307191.html ?
More information about the U-Boot
mailing list