Subject: Re: [PATCH] net: phy: don't issue a module request if a driver is available

From: Francesco Valla <[email-masked]>
Date: Fri, 03 Jan 2025 19:00:45 +0100

On Thursday, 2 January 2025 at 15:21:51 Andrew Lunn <[email-masked]> wrote:
> > > One other question, how much speadup do you get with async probe of
> > > PHYs? Is it really worth the effort?
> > 
> > For me it's a reduction of ~170ms, which currently accounts for roughly the 25%
> > of the time spent before starting userspace (660ms vs 490ms, give or take a
> > couple of milliseconds). That's due to the large reset time required by the PHYs
> > to initialize
> 
> 170ms seems like a long time for a reset. Maybe check the datasheet
> and see what it says.
> 
> 	Andrew
> 

Turned out that another 50-60ms could be shaven off. I trusted the original
implementation for the platform on the reset timings, but the datasheet used
the same name for two time quantities and they chose the wrong one.

Regards,
Francesco