mbox series

[net,v2,0/2] net: renesas: set 'mac_managed_pm' at probe time

Message ID 20230315074115.3008-1-wsa+renesas@sang-engineering.com (mailing list archive)
Headers show
Series net: renesas: set 'mac_managed_pm' at probe time | expand

Message

Wolfram Sang March 15, 2023, 7:41 a.m. UTC
When suspending/resuming an interface which was not up, we saw mdiobus
related PM handling despite 'mac_managed_pm' being set for RAVB/SH_ETH.
Heiner kindly suggested the fix to set this flag at probe time, not at
init/open time. I implemented his suggestion and it works fine on these
two Renesas drivers.

Changes since v1:
* added tag from Michal (thanks!)
* split out patches which are for 'net' only (Thanks, Simon!)


Wolfram Sang (2):
  ravb: avoid PHY being resumed when interface is not up
  sh_eth: avoid PHY being resumed when interface is not up

 drivers/net/ethernet/renesas/ravb_main.c | 12 ++++++++++--
 drivers/net/ethernet/renesas/sh_eth.c    | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 17, 2023, 12:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 15 Mar 2023 08:41:13 +0100 you wrote:
> When suspending/resuming an interface which was not up, we saw mdiobus
> related PM handling despite 'mac_managed_pm' being set for RAVB/SH_ETH.
> Heiner kindly suggested the fix to set this flag at probe time, not at
> init/open time. I implemented his suggestion and it works fine on these
> two Renesas drivers.
> 
> Changes since v1:
> * added tag from Michal (thanks!)
> * split out patches which are for 'net' only (Thanks, Simon!)
> 
> [...]

Here is the summary with links:
  - [net,v2,1/2] ravb: avoid PHY being resumed when interface is not up
    https://git.kernel.org/netdev/net/c/7f5ebf5dae42
  - [net,v2,2/2] sh_eth: avoid PHY being resumed when interface is not up
    https://git.kernel.org/netdev/net/c/c6be7136afb2

You are awesome, thank you!