diff options
author | Martin Blumenstingl <[email protected]> | 2023-01-08 22:13:23 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-01-16 18:27:43 +0200 |
commit | 313f6dc7c5ed723d0c5691553eff4c0090f16bb8 (patch) | |
tree | 448a02d6bab30c6ff94da49cfe30824ffb620adb /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 8a1e2fd8e2da5c8b8c438e20ebffef6881cc9ab8 (diff) |
wifi: rtw88: Use rtw_iterate_vifs() for rtw_vif_watch_dog_iter()
USB and (upcoming) SDIO support may sleep in the read/write handlers.
Make rtw_watch_dog_work() use rtw_iterate_vifs() to prevent "scheduling
while atomic" or "Voluntary context switch within RCU read-side
critical section!" warnings when accessing the registers using an SDIO
card (which is where this issue has been spotted in the real world but
it also affects USB cards).
Fixes: 78d5bf925f30 ("wifi: rtw88: iterate over vif/sta list non-atomically")
Suggested-by: Ping-Ke Shih <[email protected]>
Reviewed-by: Ping-Ke Shih <[email protected]>
Tested-by: Sascha Hauer <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions