[PATCH net] net: stmmac: dwmac-imx: request high frequency mode

Shenwei Wang shenwei.wang at nxp.com
Wed Oct 4 13:16:15 PDT 2023


> -----Original Message-----
> From: Florian Fainelli <f.fainelli at gmail.com>
> Sent: Wednesday, October 4, 2023 3:00 PM
> To: Shenwei Wang <shenwei.wang at nxp.com>; David S. Miller
> > Signed-off-by: Mario Castaneda <mario.ignacio.castaneda.lopez at nxp.com>
> > Signed-off-by: Shenwei Wang <shenwei.wang at nxp.com>
> > Tested-by: Mario Castaneda <mario.ignacio.castaneda.lopez at nxp.com>
> 
> I assume that you cannot go full dynamic and adjust the bus frequency based
> upon the negotiated link speed? There may be a need to adjust the bus
> frequency prior to starting any DMA transfers, otherwise dynamic frequency
> scaling of the bus may cause all sorts of issues?

Once BUS_FREQ_HIGH is requested, the system will not change the bus frequency 
when transitioning to a low power state. 
The hardware supports glitch-free frequency scaling, so blocks like DMA will not be 
affected during bus frequency adjustments.

Regards,
Shenwei
 
> 
> Regardless of the answer:
> 
> Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
> --
> Florian



More information about the linux-arm-kernel mailing list