aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBaochen Qiang <[email protected]>2025-06-12 01:31:50 +0000
committerJeff Johnson <[email protected]>2025-06-17 23:28:35 +0000
commit9a353a4a11a475578be3c02dd17e70afe3a4a7f6 (patch)
tree78bb22378c4454b7a9d22320d0048df57147f152 /net/unix/af_unix.c
parentwifi: ath12k: fix documentation on firmware stats (diff)
downloadkernel-9a353a4a11a475578be3c02dd17e70afe3a4a7f6.tar.gz
kernel-9a353a4a11a475578be3c02dd17e70afe3a4a7f6.zip
wifi: ath12k: avoid burning CPU while waiting for firmware stats
ath12k_mac_get_fw_stats() is busy polling fw_stats_done flag while waiting firmware finishing sending all events. This is not good as CPU is monopolized and kept burning during the wait. Change to the completion mechanism to fix it. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Tested-on: QCN9274 hw2.0 WLAN.WBE.1.5-01651-QCAHKSWPL_SILICONZ-1 Fixes: e367c924768b ("wifi: ath12k: Request vdev stats from firmware") Reported-by: GrĂ©goire Stein <[email protected]> Closes: https://lore.kernel.org/ath12k/AS8P190MB120575BBB25FCE697CD7D4988763A@AS8P190MB1205.EURP190.PROD.OUTLOOK.COM/ Signed-off-by: Baochen Qiang <[email protected]> Tested-by: GrĂ©goire Stein <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jeff Johnson <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions