diff options
author | Deren Wu <deren.wu@mediatek.com> | 2023-02-14 05:49:57 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-04-17 16:34:34 +0300 |
commit | 9270270d62191b7549296721e8d5f3dc0df01563 (patch) | |
tree | 8c915671cf30b90bf2f527b347934c9bbb46a889 /tools/perf/scripts/python/task-analyzer.py | |
parent | fcc51acfebb85dbc3ab1bea3ce4997d7c0a3a38d (diff) | |
download | linux-9270270d62191b7549296721e8d5f3dc0df01563.tar.xz |
wifi: mt76: mt7921: fix PCI DMA hang after reboot
mt7921 just stop some workers and clean up chip status before reboot.
In stress test, there are working activities still running at the period
of .shutdown callback and that would cause some hosts cannot recover
DMA after reboot. To avoid the floating state in reboot, we use
mt7921_pci_remove() to fully deinit all resources.
Fixes: f23a0cea8bd6 ("wifi: mt76: mt7921e: add pci .shutdown() support")
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions