linux_dsm_epyc7002/drivers/net/wireless/ath/wil6210
Maya Erez 452133a717 wil6210: prevent external wmi commands during suspend flow
In __wmi_send we check if fw is ready at the beginning of the function.
While we wait for the completion of the previous command, system suspend
can be invoked and reset the HW, causing __wmi_send to read from HW
registers while it is not ready.
Taking the wmi_mutex in the reset flow when setting the FW ready bit
to zero will prevent the above race condition.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2015-12-08 16:50:28 +02:00
..
boot_loader.h wil6210: report boot loader error 2015-08-06 09:44:02 +03:00
cfg80211.c wil6210: unify wmi_set_ie() error handling 2015-08-06 09:43:24 +03:00
debug.c wil6210: add handling of RX HTRSH interrupt 2014-12-01 15:57:22 -05:00
debugfs.c wil6210: Add proper handling for invalid frames on Rx 2015-10-09 11:39:05 +03:00
ethtool.c wil6210: use inline functions for register access 2015-08-06 09:43:43 +03:00
fw_inc.c wil6210: use inline functions for register access 2015-08-06 09:43:43 +03:00
fw.c wil6210: use inline functions for register access 2015-08-06 09:43:43 +03:00
fw.h wil6210: firmware download 2014-09-11 15:27:36 -04:00
interrupt.c wil6210: fix device ready detection 2015-10-29 13:06:47 +02:00
ioctl.c wil6210: use inline functions for register access 2015-08-06 09:43:43 +03:00
Kconfig wil6210: dump firmware memory when firmware crashes 2015-10-09 11:39:19 +03:00
main.c wil6210: prevent external wmi commands during suspend flow 2015-12-08 16:50:28 +02:00
Makefile wil6210: dump firmware memory when firmware crashes 2015-10-09 11:39:19 +03:00
netdev.c wil6210: allow to handle Rx on 2 cores 2015-08-06 09:43:50 +03:00
pcie_bus.c wil6210: fix warning in system power management code 2015-10-09 11:39:03 +03:00
pm.c wil6210: system power management 2015-08-06 09:43:56 +03:00
pmc.c wil6210: pmc logger bug fix 2015-10-09 11:39:09 +03:00
pmc.h wil6210: Add pmc debug mechanism memory management 2015-05-04 20:55:43 +03:00
rx_reorder.c wil6210: support BAR (BlockAck Req) 2015-10-09 11:39:13 +03:00
trace.c wil6210: trace support 2013-05-22 15:08:27 -04:00
trace.h wil6210: Align WMI header with latest FW 2013-07-22 16:54:37 -04:00
txrx.c wil6210: hold wil->mutex while managing vrings 2015-11-16 21:51:20 +02:00
txrx.h wil6210: support BAR (BlockAck Req) 2015-10-09 11:39:13 +03:00
wil6210.h wil6210: fix device ready detection 2015-10-29 13:06:47 +02:00
wil_crash_dump.c wil6210: dump firmware memory when firmware crashes 2015-10-09 11:39:19 +03:00
wil_platform.c wil6210: use <> vs. "" for global include 2015-08-06 09:42:32 +03:00
wil_platform.h wil6210: platform hooks for modile init/exit 2015-06-09 14:39:12 +03:00
wmi.c wil6210: prevent external wmi commands during suspend flow 2015-12-08 16:50:28 +02:00
wmi.h wil6210: Support hidden SSID 2015-06-09 14:39:04 +03:00