[PATCH] pci: pcie-brcmstb: bring over some robustness improvements from Linux
Tom Rini
trini at konsulko.com
Thu Aug 31 18:26:16 CEST 2023
On Mon, Aug 14, 2023 at 04:34:13PM -0600, Sam Edwards wrote:
> Since the initial U-Boot driver was ported here from Linux, the latter
> has had a few changes for robustness/stability. This patch brings over
> two of them:
> - Do not attempt to access the configuration space of a PCIe device if
> the link has gone down, as that will result in an asynchronous SError
> interrupt which will crash U-Boot.
> - Wait for the recommended 100ms after PERST# is deasserted.
>
> I sent this patch while debugging a crash involving PCIe, but these
> are unrelated improvements. I do not believe that this patch fixes any
> real-world bug.
>
> Signed-off-by: Sam Edwards <CFSworks at gmail.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230831/632bc23c/attachment.sig>
More information about the U-Boot
mailing list