summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/wmi.c
diff options
context:
space:
mode:
authorBaochen Qiang <bqiang@codeaurora.org>2021-11-19 16:36:26 +0300
committerKalle Valo <kvalo@codeaurora.org>2021-11-22 14:11:04 +0300
commite94b07493da31705c3fdd0b2854f0cffe1dacb3c (patch)
tree3ee1f577a1251a47f95e08344f3b2850c8eed1ec /drivers/net/wireless/ath/ath11k/wmi.c
parent915a081ff307d61d6551d6c16b542e03775353c4 (diff)
downloadlinux-e94b07493da31705c3fdd0b2854f0cffe1dacb3c.tar.xz
ath11k: Set IRQ affinity to CPU0 in case of one MSI vector
With VT-d disabled on Intel platform, ath11k gets only one MSI vector. In that case, ath11k does not free IRQ when doing suspend, hence the kernel has to migrate it to CPU0 (if it was affine to other CPUs) and allocates a new MSI vector. However, ath11k has no chance to reconfig it to HW srngs during this phase, thus ath11k fails to resume. This issue can be fixed by setting IRQ affinity to CPU0 before request_irq is called. With such affinity, migration will not happen and thus the vector keeps unchanged during suspend/resume. Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1 Signed-off-by: Baochen Qiang <bqiang@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211026041732.5323-1-bqiang@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/wmi.c')
0 files changed, 0 insertions, 0 deletions