linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* phy_attach_direct()'s use of device_bind_driver()
@ 2021-02-10 22:13 Saravana Kannan
  2021-02-10 22:40 ` Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Saravana Kannan @ 2021-02-10 22:13 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller,
	Jakub Kicinski
  Cc: Android Kernel Team, netdev, LKML, Jon Hunter

Hi,

This email was triggered by this other email[1].

Why is phy_attach_direct() directly calling device_bind_driver()
instead of using bus_probe_device()? I'm asking because this is
causing device links status to not get updated correctly and causes
this[2] warning.

We can fix the device links issue with something like this[3], but
want to understand the reason for the current implementation of
phy_attach_direct() before we go ahead and put in that fix.

Thanks,
Saravana

[1] - https://lore.kernel.org/lkml/e11bc6a2-ec9d-ea3b-71f7-13c9f764bbfc@nvidia.com/#t
[2] - https://lore.kernel.org/lkml/56f7d032-ba5a-a8c7-23de-2969d98c527e@nvidia.com/
[3] - https://lore.kernel.org/lkml/6a43e209-1d2d-b10a-4564-0289d54135d3@nvidia.com/

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

end of thread, other threads:[~2021-02-12 14:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 22:13 phy_attach_direct()'s use of device_bind_driver() Saravana Kannan
2021-02-10 22:40 ` Heiner Kallweit
2021-02-10 22:52 ` Andrew Lunn
2021-02-10 23:29   ` Saravana Kannan
2021-02-11  7:31     ` Heiner Kallweit
2021-02-11  8:57       ` Saravana Kannan
2021-02-11  9:29         ` Heiner Kallweit
2021-02-11 13:57         ` Andrew Lunn
2021-02-12  3:42           ` Saravana Kannan
2021-02-12 14:04             ` Andrew Lunn
2021-02-10 22:56 ` Andrew Lunn
2021-02-11 10:21   ` Jon Hunter
2021-02-11 14:03     ` Andrew Lunn

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