[PATCH net-next 0/2] Fix phy_link_topology initialization
Nathan Chancellor
nathan at kernel.org
Sun May 12 23:36:36 PDT 2024
Hi Maxime,
On Tue, May 07, 2024 at 12:28:19PM +0200, Maxime Chevallier wrote:
> Nathan and Heiner reported issues that occur when phylib and phy drivers
> built as modules expect the phy_link_topology to be initialized, due to
> wrong use of IS_REACHABLE.
>
> This small fixup series addresses that by moving the initialization code
> into net/core/dev.c, but at the same time implementing lazy
> initialization to only allocate the topology upon the first PHY
> insertion.
>
> This needed some refactoring, namely pass the netdevice itself as a
> parameter for phy_link_topology helpers.
>
> Thanks Heiner for the help on untangling this, and Nathan for the
> report.
Are you able to prioritize getting this series merged? This has been a
problem in -next for over a month now and the merge window is now open.
I would hate to see this regress in mainline, as my main system may be
affected by it (not sure, I got a new test machine that got bit by it in
addition to the other two I noticed it on).
Cheers,
Nathan
More information about the linux-arm-kernel
mailing list