diff options
author | Sean Wang <sean.wang@mediatek.com> | 2022-07-22 01:39:35 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-09-15 13:53:58 +0300 |
commit | e5d78fd998be94fb459a3d625df7367849b997b8 (patch) | |
tree | 8eeb51fbab83c298c127a387423ff9cc133fae5c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0af1ad955919a7a289a15e844d980bcaeda7d7a6 (diff) | |
download | linux-e5d78fd998be94fb459a3d625df7367849b997b8.tar.xz |
wifi: mt76: sdio: fix the deadlock caused by sdio->stat_work
Because wake_work and sdio->stat_work share the same workqueue mt76->wq,
if sdio->stat_work cannot acquire the mutex lock such as that was possibly
held up by [mt7615, mt7921]_mutex_acquire. Additionally, if
[mt7615, mt7921]_mutex_acquire was called by sdio->stat_work self, the wake
would be blocked by itself. Thus, we move the stat_work into
ieee80211_workqueue instead to break the deadlock.
Fixes: d39b52e31aa6 ("mt76: introduce mt76_sdio module")
Co-developed-by: YN Chen <YN.Chen@mediatek.com>
Signed-off-by: YN Chen <YN.Chen@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions