Skip to contentSkip to conversation

lockdep splat in kvallo ath tree

DISCUSSION Ben Greear 3 participants 5 messages Sep 2, 2020 – Sep 11, 2020 1 message not in the archive Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

The patch below adds a call to ath10k_debug_fw_stats_request(ar), which expects ar->conf_mutex to be held, but it is *not* held in this code path. This leads to warnings when lockdep is enabled.

greearb@bendt7 ath10k]$ git show 4913e675630ec
commit 4913e675630ec1a15c92651f426a63755c71b91b

Author: Wen Gong <[email protected]>
Date:   Thu Apr 23 10:27:58 2020 +0800

ath10k: enable rx duration report default for wmi tlv

When run command "iw dev wlan0 station dump", the rx duration is 0. When firmware indicate WMI_UPDATE_STATS_EVENTID, extended flag of statsis not set by default, so firmware do not report rx duration.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw

+ ath10k

Quoted 7 lines · Ben Greear

The patch below adds a call to ath10k_debug_fw_stats_request(ar), which expects ar->conf_mutex to be held, but it is *not* held in this code path. This leads to warnings when lockdep is enabled.

greearb@bendt7 ath10k]$ git show 4913e675630ec
commit 4913e675630ec1a15c92651f426a63755c71b91b

Quoted 8 lines
Author: Wen Gong <[email protected]>
Date:   Thu Apr 23 10:27:58 2020 +0800

ath10k: enable rx duration report default for wmi tlv

When run command "iw dev wlan0 station dump", the rx duration is 0. When firmware indicate WMI_UPDATE_STATS_EVENTID, extended flag of statsis not set by default, so firmware do not report rx duration.

Wen, please investigate this.

Signature · 6 lines
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw
In reply to Ben Greear

+ ath10k

Quoted 7 lines · Ben Greear

The patch below adds a call to ath10k_debug_fw_stats_request(ar), which expects ar->conf_mutex to be held, but it is *not* held in this code path. This leads to warnings when lockdep is enabled.

greearb@bendt7 ath10k]$ git show 4913e675630ec
commit 4913e675630ec1a15c92651f426a63755c71b91b

Quoted 8 lines
Author: Wen Gong <[email protected]>
Date:   Thu Apr 23 10:27:58 2020 +0800

ath10k: enable rx duration report default for wmi tlv

When run command "iw dev wlan0 station dump", the rx duration is 0. When firmware indicate WMI_UPDATE_STATS_EVENTID, extended flag of statsis not set by default, so firmware do not report rx duration.

Wen, please investigate this.

Signature · 1 line
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
#4 lore raw
In reply to a message not in the archive
Quoted 14 lines · Kalle Valo

+ ath10k

Quoted 10 lines · Ben Greear

The patch below adds a call to ath10k_debug_fw_stats_request(ar), which expects ar->conf_mutex to be held, but it is *not* held in this code path. This leads to warnings when lockdep is enabled.

greearb@bendt7 ath10k]$ git show 4913e675630ec
commit 4913e675630ec1a15c92651f426a63755c71b91b

Author: Wen Gong <[email protected]>
Date:   Thu Apr 23 10:27:58 2020 +0800
Quoted 8 lines
Quoted 6 lines

ath10k: enable rx duration report default for wmi tlv

When run command "iw dev wlan0 station dump", the rx duration is
0.
When firmware indicate WMI_UPDATE_STATS_EVENTID, extended flag of statsis not set by default, so firmware do not report rx duration.

Wen, please investigate this.

Yes, Kalle, I will do that.

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#5 lore raw
In reply to a message not in the archive
Quoted 14 lines · Kalle Valo

+ ath10k

Quoted 10 lines · Ben Greear

The patch below adds a call to ath10k_debug_fw_stats_request(ar), which expects ar->conf_mutex to be held, but it is *not* held in this code path. This leads to warnings when lockdep is enabled.

greearb@bendt7 ath10k]$ git show 4913e675630ec
commit 4913e675630ec1a15c92651f426a63755c71b91b

Author: Wen Gong <[email protected]>
Date:   Thu Apr 23 10:27:58 2020 +0800
Quoted 8 lines
Quoted 6 lines

ath10k: enable rx duration report default for wmi tlv

When run command "iw dev wlan0 station dump", the rx duration is
0.
When firmware indicate WMI_UPDATE_STATS_EVENTID, extended flag of statsis not set by default, so firmware do not report rx duration.

Wen, please investigate this.

Yes, Kalle, I will do that.