]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: disable PCI PS for QCA988X and QCA99X0
authorAnilkumar Kolli <akolli@qti.qualcomm.com>
Fri, 16 Oct 2015 12:54:51 +0000 (15:54 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 19 Oct 2015 14:38:01 +0000 (17:38 +0300)
commit85e64a41e92e22a74fde7940987b8d4ba8702133
tree1bc3ea6d0198f5cac8395a87a495843f49657651
parent58420ba2cabf12528aabe9e740c84f808b6a583d
ath10k: disable PCI PS for QCA988X and QCA99X0

This patch disables PCI PS for QCA988X and QCA99X0, Since PCI PS is
validated for QCA6174, let it be enabled only for QCA6174. It would be
better to execute PCI PS related functions only for the supported devices.

PCI time out issue is observed with QCA99X0 on x86 platform, We will
disable PCI PS for QCA988X and QCA99X0 until PCI PS is properly implemented.

Taking and releasing ps_lock is causing higher CPU consumption. Michal Kazior
suggested ps_lock overhead to be reworked so that ath10k_pci_wake/sleep
functions are called less often, i.e. move the powersave logic up (only during
irq handling, tx path, submitting fw commands) but that's a bigger change and
can be implemented later.

Signed-off-by: Anilkumar Kolli <akolli@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/pci.h