Re: [Regression] wifi problems since tg3 started throwing rcu stall warnings

From: Mingcong Bai
Date: Thu Nov 14 2024 - 22:01:59 EST


Hi Frederic,

<snip>

Just in case, Mingcong Bai can you test the following patch without the
revert and see if it triggers something?

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 35949ec1f935..b4f8ed8138d3 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -5170,6 +5170,7 @@ void rcutree_migrate_callbacks(int cpu)
struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu);
bool needwake;

+ WARN_ON_ONCE(1);
if (rcu_rdp_is_offloaded(rdp))
return;


Please find attached the dmesg with your patch (and no revert) against 6.12-rc7.

Best Regards,
Mingcong Bai



Thanks.


Thanx, Paul

Attachment: dmesg-tg3-warn-on-once.log
Description: application/json