diff options
author | Leon Yen <leon.yen@mediatek.com> | 2024-03-07 12:46:32 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2024-05-02 13:44:51 +0300 |
commit | ecf0b2b8a37c8464186620bef37812a117ff6366 (patch) | |
tree | 6fb03b203f4e339683e7f38a84fffc1c215189f7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4a40fcbfe3ab4846670b59b81c914ed7e7dac2b3 (diff) | |
download | linux-ecf0b2b8a37c8464186620bef37812a117ff6366.tar.xz |
wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
During chip recovery (e.g. chip reset), there is a possible situation that
kernel worker reset_work is holding the lock and waiting for kernel thread
stat_worker to be parked, while stat_worker is waiting for the release of
the same lock.
It causes a deadlock resulting in the dumping of hung tasks messages and
possible rebooting of the device.
This patch prevents the execution of stat_worker during the chip recovery.
Signed-off-by: Leon Yen <leon.yen@mediatek.com>
Signed-off-by: Ming Yen Hsieh <MingYen.Hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions