[U-Boot] [PATCH] drivers: pci: imx: fix imx_pcie_remove function
Stefano Babic
sbabic at denx.de
Thu Oct 12 16:24:28 UTC 2017
On 05/10/2017 13:46, Fabio Estevam 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>
> ---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list