Re: stmmac on Banana PI CPU stalls since Linux 6.6
From: Petr Tesařík <hidden>
Date: 2024-01-26 11:10:31
On Fri, 26 Jan 2024 11:54:20 +0100 Marc Haber [off-list ref] wrote:
On Fri, Jan 26, 2024 at 08:51:22AM +0100, Petr Tesařík wrote:quoted
On Thu, 25 Jan 2024 12:00:46 -0800 Florian Fainelli [off-list ref] wrote:quoted
Did not Petr try to address the same problem essentially: https://lore.kernel.org/netdev/20240105091556.15516-1-petr@tesarici.cz/ (local) this was not deemed the proper solution and I don't think one has been posted since then, but it looks about your issue here Marc.Yes, it looks like the same issue I ran into on my NanoPi. I'm sorry I've been busy with other things lately, so I could not test and submit my changes.Is it worth trying your patch from the message cited above, knowing that is not the final solution?
Depends. It solves the deadlock (at least for me); my NanoPi has been running stable for over a month with this patch. But it also introduces a new spinlock, which usually reduces performance. In any case, you can give it a try to verify that you hit the same issue.
quoted
I hope I can find some time for this bug again during the coming weekend (it's not for my day job). It's motivating to know that I'm not the only affected person on the planet. ;-)I am ready to test if you want me to ;-)
Then you may want to start by verifying that it is indeed the same issue. Try the linked patch. Thank you! Petr T