All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC 0/5] Fix the sh_eth race between open and MDIO bus registration
@ 2014-03-18 23:25 Laurent Pinchart
  2014-03-19  7:41 ` Geert Uytterhoeven
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Laurent Pinchart @ 2014-03-18 23:25 UTC (permalink / raw)
  To: linux-sh

Hello,

This patch series attempts to fix the race condition that exists in the sh_eth
driver between network device open and MDIO bus registration. The actual fix
is in patch 4/5, with previous patches preparing the driver and patch 5/5
cleaning up an unrelated issue.

I've based the idea on Sergei's attempt to fix the problem and can successfully
boot the Koelsch board over NFS with this series. I might have missed other
issues though, hence the RFC status.

The patches are based on top of Simon's latest devel branch plus the following
two patches

	sh_eth: add device tree support
	sh_eth: update OF PHY registeration

Sergei, assuming this series gets accepted, should I send it to the netdev
mailing list or would you like to take it in your tree to avoid conflicts ?

Laurent Pinchart (5):
  sh_eth: Use the platform device for memory allocation
  sh_eth: Use the platform device as the MDIO bus parent
  sh_eth: Simplify MDIO bus initialization and release
  sh_eth: Register MDIO bus before registering the network device
  sh_eth: Remove goto statements that jump straight to a return

 drivers/net/ethernet/renesas/sh_eth.c | 82 +++++++++++++----------------------
 1 file changed, 29 insertions(+), 53 deletions(-)

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2014-03-19 16:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 23:25 [PATCH/RFC 0/5] Fix the sh_eth race between open and MDIO bus registration Laurent Pinchart
2014-03-19  7:41 ` Geert Uytterhoeven
2014-03-19  9:14 ` Ben Dooks
2014-03-19 10:07 ` Laurent Pinchart
2014-03-19 13:35 ` Geert Uytterhoeven
2014-03-19 15:06 ` Laurent Pinchart
2014-03-19 15:45 ` Ben Dooks
2014-03-19 15:48 ` Laurent Pinchart
2014-03-19 15:56 ` Ben Dooks
2014-03-19 16:12 ` Sergei Shtylyov

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.