linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* net: ucc: tbi phy detection broken by 058112c7efc9ef43bb511c137293dddbe6e42908
@ 2014-12-19  3:49 Lennart Sorensen
  2014-12-20 17:08 ` Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Sorensen @ 2014-12-19  3:49 UTC (permalink / raw)
  To: Len Sorensen
  Cc: Florian Fainelli, netdev, linux-kernel, linuxppc-dev,
	David S. Miller, Sebastian Hesselbarth

I have been trying to move an 8360 based system from a 3.0 kernel to a
3.12 (on the way to 3.14 with ipipe/xenomai) kernel and encountered an
oops in the ucc_geth driver when using RTBI mode on one of the ucc
ports.  I haven't managed to find any commits to of_mdio or ucc_geth or
fsl_pq_mdio that would appear to address this problem, so I believe it
is still present in the latest kernel, but have not confirmed that with
testing yet.

Commit 058112c7efc9ef43bb511c137293dddbe6e42908 appears to have broken
ucc support for tbi phy detection.

With the patch in place, I am unable to get the mdio bus to create phy
devices for the tbi phy in the ucc on an 8360e, and the ucc_geth driver
causes a kernel oops, while with the patch reverted, it does create them
and the driver comes up and works.

The tbi phy is needed when using a ucc in RTBI, TBI or SGMII mode.

I am not convinced that the tbi phy really behaves quite like a real phy,
which may be why get_phy_device does not work with it.  Perhaps there
is a better way to deal with the tbi phy on the ucc for this purpose.

Certainly as it is, this patch has caused a regression though, although
probably not very many systems with ucc ports actually use one of the
affected modes so the damage isn't that great.

-- 
Len Sorensen

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19  3:49 net: ucc: tbi phy detection broken by 058112c7efc9ef43bb511c137293dddbe6e42908 Lennart Sorensen
2014-12-20 17:08 ` Florian Fainelli
2014-12-20 17:40   ` Lennart Sorensen
2015-03-25 17:13   ` Lennart Sorensen

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