linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] smsc911x: fix issues when interface is not up yet
@ 2023-03-20  9:20 Wolfram Sang
  2023-03-20  9:20 ` [PATCH net v2 1/2] smsc911x: only update stats when interface is up Wolfram Sang
  2023-03-20  9:20 ` [PATCH net v2 2/2] smsc911x: avoid PHY being resumed when interface is not up Wolfram Sang
  0 siblings, 2 replies; 8+ messages in thread
From: Wolfram Sang @ 2023-03-20  9:20 UTC (permalink / raw)
  To: netdev; +Cc: linux-renesas-soc, Geert Uytterhoeven, Wolfram Sang, linux-kernel

Similar to upstream commit 7f5ebf5dae42 ("ravb: avoid PHY being resumed
when interface is not up"), here is the fix for SMSC911x (patch 2).
Also, I saw a splat running 'ifconfig' when interface was not up. Patch
1 fixes it. Thank to Geert for a comment on this one.

Patches are based on v6.2-rc3 and tested on a Renesas APE6-EK.

Changes since v1:
* patch 1 is not a revert but a proper fix this time


Wolfram Sang (2):
  smsc911x: only update stats when interface is up
  smsc911x: avoid PHY being resumed when interface is not up

 drivers/net/ethernet/smsc/smsc911x.c | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2023-03-21 17:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20  9:20 [PATCH net v2 0/2] smsc911x: fix issues when interface is not up yet Wolfram Sang
2023-03-20  9:20 ` [PATCH net v2 1/2] smsc911x: only update stats when interface is up Wolfram Sang
2023-03-20 16:32   ` Simon Horman
2023-03-21 16:59   ` Florian Fainelli
2023-03-20  9:20 ` [PATCH net v2 2/2] smsc911x: avoid PHY being resumed when interface is not up Wolfram Sang
2023-03-20 16:33   ` Simon Horman
2023-03-21 14:39   ` Paolo Abeni
2023-03-21 17:56     ` Wolfram Sang

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