netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] net: phy: add shutdown hook to struct phy_driver
@ 2020-09-30  9:47 Jisheng Zhang
  2020-09-30 19:09 ` Andrew Lunn
  0 siblings, 1 reply; 11+ messages in thread
From: Jisheng Zhang @ 2020-09-30  9:47 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller
  Cc: netdev, linux-kernel

Hi,

A GE phy supports pad isolation which can save power in WOL mode. But once the
isolation is enabled, the MAC can't send/receive pkts to/from the phy because
the phy is "isolated". To make the PHY work normally, I need to move the
enabling isolation to suspend hook, so far so good. But the isolation isn't
enabled in system shutdown case, to support this, I want to add shutdown hook
to net phy_driver, then also enable the isolation in the shutdown hook. Is
there any elegant solution?

Or we can break the assumption: ethernet can still send/receive pkts after
enabling WoL, no?

Thanks in advance,
Jisheng

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-10-06  7:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-30  9:47 [RFC] net: phy: add shutdown hook to struct phy_driver Jisheng Zhang
2020-09-30 19:09 ` Andrew Lunn
2020-09-30 20:07   ` Florian Fainelli
2020-09-30 20:11     ` Andrew Lunn
2020-09-30 20:23       ` Florian Fainelli
2020-10-05  8:53         ` Jisheng Zhang
2020-10-05 15:41           ` Florian Fainelli
2020-10-05 15:54             ` Heiner Kallweit
2020-10-05 16:00               ` Florian Fainelli
2020-10-06  5:45                 ` Heiner Kallweit
2020-10-06  7:17                   ` Jisheng Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).