All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: netdev@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org,
	Wolfram Sang <wsa+renesas@sang-engineering.com>
Subject: [PATCH net v2 0/2] net: renesas: set 'mac_managed_pm' at probe time
Date: Wed, 15 Mar 2023 08:41:13 +0100	[thread overview]
Message-ID: <20230315074115.3008-1-wsa+renesas@sang-engineering.com> (raw)

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(-)

-- 
2.30.2


             reply	other threads:[~2023-03-15  7:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  7:41 Wolfram Sang [this message]
2023-03-15  7:41 ` [PATCH net v2 1/2] ravb: avoid PHY being resumed when interface is not up Wolfram Sang
2023-03-16 19:56   ` Sergey Shtylyov
2023-03-16 20:01   ` Florian Fainelli
2023-03-16 20:06     ` Wolfram Sang
2023-03-16 20:07       ` Florian Fainelli
2023-03-15  7:41 ` [PATCH net v2 2/2] sh_eth: " Wolfram Sang
2023-03-16 19:58   ` Sergey Shtylyov
2023-03-17  0:30 ` [PATCH net v2 0/2] net: renesas: set 'mac_managed_pm' at probe time patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230315074115.3008-1-wsa+renesas@sang-engineering.com \
    --to=wsa+renesas@sang-engineering.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.