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)
commit3b58d6a599ba8c42cb4a3df8080f459ce7edcaa7
treeb81c955fc5d9e957dfb04eb41a27e12613ecec06
parent402838a05def2e23736cec834752f3edcc38dda7
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