> Thank you Wolfram. But I'm not sure whether it's really an issue. The flag > " mac_managed_pm" indicates that the MAC driver will take care of > suspending/resuming the PHY, that is to say the MAC driver calls > phy_stop()/phy_start() in its PM callbacks. If a ethernet interface never > brings up, the MAC PM callbacks do nothing and just return 0 directly. So I > think it's fine for the MDIO PM to do suspend/resume the PHY unless the MDIO > bus can't be accessed. I have one board here where accessing the MDIO bus times out, although I don't really understand why. And another one where the call to phy_init_hw() during resume causes issues. There might be more problems with these boards, but I think it is cleaner to avoid any MDIO bus suspend/resume if we have 'mac_managed_pm' anyway.
Attachment:
signature.asc
Description: PGP signature