diff options
| author | Zong-Zhe Yang <[email protected]> | 2022-03-14 15:12:50 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2022-04-06 10:46:03 +0300 |
| commit | edb896297abeef8c95c150247607b09517469a9a (patch) | |
| tree | e56827a3e5735d8cc46e7b1b55a46d29f8649e4a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 11fe4ccda8672db5375f8bfcb209756a31c89a82 (diff) | |
rtw89: support FW crash simulation
Originally, there is already a mechanism, SER (system error recover),
to deal with HW/FW recovery. After FW v0.13.36.0, FW supports a H2C
(host to chip) command to make a CPU exception. Then, SER is supposed
to catch this FW crash and do L2 reset. This feature is a simulation
to verify if flow of recovering from FW crash works.
Usage of fw_crash debugfs is as the following.
$ echo 1 > fw_crash // trigger FW crash and wait SER handling
$ cat fw_crash // return 0 if restart has been done
Signed-off-by: Zong-Zhe Yang <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions