[PATCH v2 0/8] wifi: ath12k: Introduce device group abstraction

Harshitha Prem quic_hprem at quicinc.com
Wed May 1 08:34:04 PDT 2024



On 4/30/2024 5:24 PM, Kalle Valo wrote:
> 47] WARNING: possible circular locking dependency detected
> [  147.211599] 6.9.0-rc5-wt-ath+ #1403 Not tainted

Thank you, Kalle, for sharing the full logs. Unfortunately, I did not 
see this warning in my testbed with QCN9274.

Seems like during rmmod case, ath12k_core_soc_destroy() is invoked with 
ag->mutex lock which in-turn invokes ath12k_qmi_deinit_service() where 
cancel_work_sync for qmi events are called. So, if 
ATH12K_QMI_EVENT_FW_READY was in queue during rmmod, it would hit a 
deadlock as in core start it requires ag->mutex lock. But, this scenario 
is quite unlikely to occur where rmmod and FW_READY event are going to 
be in parallel. Nevertheless, it has to be addressed. I will check 
further on this warning and see how to address this.

Thanks,
Harshitha



More information about the ath12k mailing list