1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ath/ath11k
Loic Poulain cab2d3fd68 bus: mhi: core: Add support for forced PM resume
For whatever reason, some devices like QCA6390, WCN6855 using ath11k
are not in M3 state during PM resume, but still functional. The
mhi_pm_resume should then not fail in those cases, and let the higher
level device specific stack continue resuming process.

Add an API mhi_pm_resume_force(), to force resuming irrespective of the
current MHI state. This fixes a regression with non functional ath11k WiFi
after suspend/resume cycle on some machines.

Bug report: https://bugzilla.kernel.org/show_bug.cgi?id=214179

Link: https://lore.kernel.org/regressions/871r5p0x2u.fsf@codeaurora.org/
Fixes: 020d3b26c0 ("bus: mhi: Early MHI resume failure in non M3 state")
Cc: stable@vger.kernel.org #5.13
Reported-by: Kalle Valo <kvalo@codeaurora.org>
Reported-by: Pengyu Ma <mapengyu@gmail.com>
Tested-by: Kalle Valo <kvalo@kernel.org>
Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
[mani: Switched to API, added bug report, reported-by tags and CCed stable]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20211209131633.4168-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-09 18:47:05 +01:00
..
ahb.c ath11k: Move qmi service_ins_id to hw_params 2021-02-17 11:32:10 +02:00
ahb.h ath11k: Remove rproc references from common core layer 2020-09-21 16:11:28 +03:00
ce.c ath11k: add CE interrupt support for QCN9074 2021-02-17 11:32:58 +02:00
ce.h ath11k: add CE interrupt support for QCN9074 2021-02-17 11:32:58 +02:00
core.c ath11k: change return buffer manager for QCA6390 2021-10-25 16:03:08 +03:00
core.h ath11k: add channel 2 into 6 GHz channel list 2021-09-28 16:16:54 +03:00
dbring.c ath11k: fix some sleeping in atomic bugs 2021-09-28 13:55:51 +03:00
dbring.h ath11k: Add direct buffer ring support 2020-06-15 17:21:52 +03:00
debug.c ath11k: refactor debugfs code into debugfs.c 2020-09-22 10:41:41 +03:00
debug.h ath11k: refactor debugfs code into debugfs.c 2020-09-22 10:41:41 +03:00
debugfs.c ath11k: Change number of TCL rings to one for QCA6390 2021-10-11 18:12:21 +03:00
debugfs.h ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_htt_stats.c ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_htt_stats.h ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_sta.c ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_sta.h ath11k: debugfs: move some function declarations to correct header files 2020-09-22 10:41:49 +03:00
dp.c ath11k: change return buffer manager for QCA6390 2021-10-25 16:03:08 +03:00
dp.h ath11k: Change number of TCL rings to one for QCA6390 2021-10-11 18:12:21 +03:00
dp_rx.c ath11k: change return buffer manager for QCA6390 2021-10-25 16:03:08 +03:00
dp_rx.h ath11k: Clear the fragment cache during key install 2021-05-11 20:16:21 +02:00
dp_tx.c ath11k: Change number of TCL rings to one for QCA6390 2021-10-11 18:12:21 +03:00
dp_tx.h ath11k: fix 4addr multicast packet tx 2021-09-16 12:15:40 +03:00
hal.c ath11k: setup WBM_IDLE_LINK ring once again 2021-06-12 13:31:03 +03:00
hal.h ath11k: setup REO for WCN6855 2021-06-12 13:31:02 +03:00
hal_desc.h ath11k: Add support for RX decapsulation offload 2021-09-28 13:56:28 +03:00
hal_rx.c ath11k: change return buffer manager for QCA6390 2021-10-25 16:03:08 +03:00
hal_rx.h ath11k: add support to get peer id for WCN6855 2021-06-12 13:31:04 +03:00
hal_tx.c ath11k: add data path support for QCN9074 2021-02-17 11:32:51 +02:00
hal_tx.h ath11k: add hal support for QCN9074 2021-02-17 11:32:48 +02:00
hif.h ath11k: add CE interrupt support for QCN9074 2021-02-17 11:32:58 +02:00
htc.c ath11k: set credit_update flag for flow controlled ep only 2020-12-12 06:41:34 +02:00
htc.h ath11k: htc: implement suspend handling 2020-12-12 06:41:28 +02:00
hw.c ath11k: change return buffer manager for QCA6390 2021-10-25 16:03:08 +03:00
hw.h ath11k: change return buffer manager for QCA6390 2021-10-25 16:03:08 +03:00
Kconfig ath11k: use remoteproc only with AHB devices 2020-08-17 13:07:17 +03:00
mac.c Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2021-10-20 11:56:50 +03:00
mac.h ath11k: add support for 80P80 and 160 MHz bandwidth 2021-09-28 11:51:51 +03:00
Makefile ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00
mhi.c bus: mhi: core: Add support for forced PM resume 2021-12-09 18:47:05 +01:00
mhi.h ath11k: mhi: hook suspend and resume 2020-12-12 06:41:16 +02:00
pci.c ath11k: Handle MSI enablement during rmmod and SSR 2021-10-11 18:11:36 +03:00
pci.h ath11k: add hal support for QCN9074 2021-02-17 11:32:48 +02:00
peer.c ath11k: fix 4addr multicast packet tx 2021-09-16 12:15:40 +03:00
peer.h ath11k: Update tx descriptor search index properly 2021-02-09 09:22:52 +02:00
qmi.c ath11k: Remove redundant assignment to variable fw_size 2021-10-11 09:23:51 +03:00
qmi.h ath11k: add caldata download support from EEPROM 2021-09-28 13:49:48 +03:00
reg.c ath11k: Avoid race during regd updates 2021-09-28 13:57:32 +03:00
reg.h ath11k: Avoid race during regd updates 2021-09-28 13:57:32 +03:00
rx_desc.h ath11k: add dp support for WCN6855 2021-06-12 13:31:02 +03:00
spectral.c ath11k: Fix the spectral minimum FFT bin count 2021-09-28 11:52:57 +03:00
spectral.h ath11k: add support for spectral scan 2020-06-15 17:21:54 +03:00
testmode.c ath11k: remove repeated words in comments and warnings 2020-10-28 15:44:04 +02:00
testmode.h ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
testmode_i.h ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
thermal.c net: ath11k: constify ath11k_thermal_ops 2020-08-26 16:21:17 -07:00
thermal.h ath11k: fix compiler warnings without CONFIG_THERMAL 2020-04-06 17:21:23 +03:00
trace.c ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
trace.h ath11k: Fix pktlog lite rx events 2021-09-28 13:57:30 +03:00
wmi.c ath11k: Identify DFS channel when sending scan channel list command 2021-10-13 08:47:19 +03:00
wmi.h ath11k: Add wmi peer create conf event in wmi_tlv_event_id 2021-09-28 13:57:35 +03:00
wow.c ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00
wow.h ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00