]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: disable cpuidle during downloading firmware
authorIkjoon Jang <ikjn@chromium.org>
Wed, 6 Nov 2019 18:04:45 +0000 (20:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Nov 2019 08:45:35 +0000 (10:45 +0200)
commit717cc4b2c2019ad3c9dd6556b063dfce26c0d51f
treeb81c955fc5d9e957dfb04eb41a27e12613ecec06
parent6dc2e85d2a558613a159b36ea30f5239b8105451
ath10k: disable cpuidle during downloading firmware

Downloading ath10k firmware needs a large number of IOs and
cpuidle's miss predictions make it worse. In the worst case,
resume time can be three times longer than the average on sdio.

This patch disables cpuidle during firmware downloading by
applying PM_QOS_CPU_DMA_LATENCY in ath10k_download_fw().

Tested-on: QCA9880
Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00029

Signed-off-by: Ikjoon Jang <ikjn@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c