On Sun, 25 Oct 2026 10:35:34 +0100, Ahmad Fatoum wrote:
> The DMA soft reset completes only once the PHY supplies the RX clock,
> which doesn't necessarily happen within 10 ms and indeed takes longer
> on a Libre Computer Alta if eth_open_all() opens the interface right
> after boot.
>
> Let's wait 200 ms like Linux's dwmac_dma_reset() does since commit
> 56311a315da7 ("net: stmmac: dwmac_lib: enlarge dma reset timeout").
>
> [...]
Applied, thanks!
[1/2] net: designware: wait longer for the MAC reset and report a timeout
https://git.pengutronix.de/cgit/barebox/commit/?id=bd4f42074f79 (link may
not be stable)
[2/2] net: phy: mdio_bus: honour open-drain PHY reset GPIOs
https://git.pengutronix.de/cgit/barebox/commit/?id=b0d9e2bac7bf (link may
not be stable)
Best regards,
--
Sascha Hauer <[email protected]>