On 21.10.2022 19:45, Kunihiko Hayashi wrote:
Since AVE has its own suspend/resume functions, there is no need to callThe commit description doesn't make clear (any longer) what the issue
mdio_bus suspend/resume functions. Set phydev->mac_managed_pm to true
to avoid the calls.
is that you're fixing. You should mention the WARN_ON() dump here
like in your first attempt.
In addition, ave_open() executes __phy_resume() via phy_start() inThis sounds like an improvement, being independent of the actual fix.
ave_resume(), so no need to call phy_resume() explicitly. Remove it.
The preferred approach would be:
- submit the fix to net
- submit the improvement in a separate patch to net-next