Re: linux-fslc 5.4.114: rcu_preempt detected stalls on IMX7D #dunfell #meta-freescale

Otavio Salvador


Em ter., 11 de jan. de 2022 às 07:08, <benson_young@...> escreveu:
We are experiencing kernel crash when we are stress testing WiFi functionality over SDIO interface.
please see attachment for kernel dump (near end of log)
we have read that rcu_preempt dump are sometimes caused by spin lock used by driver when kernel has PREEMPT enabled.
and suggested solution is making change as something below
spin_unlock_irq(&signal->obj.wait.lock);   --->  raw_spin_unlock_irq(&signal->obj.wait.lock);
spin_lock_irq(&signal->obj.wait.lock);   -----> raw_spin_lock_irq(&signal->obj.wait.lock);
however, the wireless driver on our platform doesn't use such calls.

When we used the same wireless driver on official NXP BSP (gatesgarth), this issue isn't observed.
Attaching the kernel configs for the two BSPs.

Can anyone please advise on possible cause and solution?

much appreciate the assistance and best regards,

You'll need to compare the branches and see if it has been fixed in a newer kernel release. 

Otavio Salvador                             O.S. Systems
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

Join { to automatically receive all group messages.