linux/drivers/net/wireless/ath/wil6210
Dedy Lansky f4519fd937 wil6210: make sure DR bit is read before rest of the status message
Due to compiler optimization, it's possible that dr_bit (descriptor
ready) is read last from the status message.
Due to race condition between HW writing the status message and
driver reading it, other fields that were read earlier (before dr_bit)
could have invalid values.

Fix this by explicitly reading the dr_bit first and then using rmb
before reading the rest of the status message.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-09-12 18:06:53 +03:00
..
boot_loader.h
cfg80211.c wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00
debug.c
debugfs.c wil6210: add debugfs to show PMC ring content 2019-09-12 18:06:32 +03:00
ethtool.c
fw.c
fw.h wil6210: add support for multiple sections in brd file 2019-05-03 08:04:04 +03:00
fw_inc.c wil6210: add support for multiple sections in brd file 2019-05-03 08:04:04 +03:00
interrupt.c wil6210: fix missed MISC mbox interrupt 2019-05-03 08:04:36 +03:00
Kconfig ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
main.c wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00
Makefile ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
netdev.c wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00
p2p.c
pcie_bus.c wil6210: clear FW and ucode log address 2019-06-27 20:50:19 +03:00
pm.c wil6210: check mid is valid 2019-04-03 15:34:47 +03:00
pmc.c wil6210: add debugfs to show PMC ring content 2019-09-12 18:06:32 +03:00
pmc.h wil6210: add debugfs to show PMC ring content 2019-09-12 18:06:32 +03:00
rx_reorder.c wil6210: Delete an unnecessary kfree() call in wil_tid_ampdu_rx_alloc() 2019-09-04 09:07:29 +03:00
trace.c
trace.h wil6210: support up to 20 stations in AP mode 2019-02-28 11:24:29 +02:00
txrx.c wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00
txrx.h wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00
txrx_edma.c wil6210: make sure DR bit is read before rest of the status message 2019-09-12 18:06:53 +03:00
txrx_edma.h wil6210: make sure DR bit is read before rest of the status message 2019-09-12 18:06:53 +03:00
wil6210.h wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00
wil_crash_dump.c wil6210: prevent device memory access while in reset or suspend 2019-04-03 15:34:04 +03:00
wil_platform.c
wil_platform.h
wmi.c wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00
wmi.h wil6210: fix PTK re-key race 2019-09-12 18:06:42 +03:00