Thread (3 messages) flat view 3 messages, 3 authors, 2021-02-12

Re: [PATCH net] net: phy: consider that suspend2ram may cut off PHY power

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-12 02:30:51

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 11 Feb 2021 22:32:52 +0100 you wrote:
Claudiu reported that on his system S2R cuts off power to the PHY and
after resuming certain PHY settings are lost. The PM folks confirmed
that cutting off power to selected components in S2R is a valid case.
Therefore resuming from S2R, same as from hibernation, has to assume
that the PHY has power-on defaults. As a consequence use the restore
callback also as resume callback.
In addition make sure that the interrupt configuration is restored.
Let's do this in phy_init_hw() and ensure that after this call
actual interrupt configuration is in sync with phydev->interrupts.
Currently, if interrupt was enabled before hibernation, we would
resume with interrupt disabled because that's the power-on default.

[...]
Here is the summary with links:
  - [net] net: phy: consider that suspend2ram may cut off PHY power
    https://git.kernel.org/netdev/net/c/4c0d2e96ba05

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help