Re: [PATCH net v3] net: macb: Relocate mog_init_rings() callback from macb_mac_link_up() to macb_open()

From: Alexander Dahl

Date: Thu Feb 19 2026 - 10:37:29 EST


Hello Kevin,

Am Thu, Feb 19, 2026 at 10:52:24PM +0800 schrieb Kevin Hao:
> On Thu, Feb 19, 2026 at 03:34:54PM +0100, Alexander Dahl wrote:
> > After upgrading from 6.12.57-rt14 to 6.12.66-rt15 on a custom at91
> > sam9x60 based board with PREEMPT_RT patch, we noticed a complete
> > system lockup, which I bisected to this changeset.
> >
> > After unplugging and plugging the ethernet cable, while
> > running PROFINET, system does not respond to anything anymore.
> > Last message in kernel log is:
> >
> > [ +8.621919] macb f802c000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
> >
> > Heartbeat LED does not blink anymore, no network communication,
> > serial console does not respond anymore.
> >
> > Reverting that change locally prevents the system lockup for me, but
> > what is the proper course of action on kernel side now? Send a revert
> > to stable? Send a revert to master? Please advise.
> >
> > (I'm aware there were least two more patches on netdev referencing
> > this change, but if I'm not mistaken none of those made it to stable,
> > right?)
>
> A fix for this commit is available in the latest mainline kernel. Could you
> please verify whether it resolves the issue you encountered?
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bf9cf80cab81e39701861a42877a28295ade266f

Verified by replacing the revert with your patch backported to my
6.12.66-rt15 based tree. Answered to your patch mail, so hopefully
that change hits stable soon. Thanks for your effort.

Greets
Alex

>
> Thanks,
> Kevin