summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorWright Feng <wright.feng@cypress.com>2022-09-29 06:10:00 +0300
committerKalle Valo <kvalo@kernel.org>2022-10-04 11:28:28 +0300
commit2aca4f3734bd717e04943ddf340d49ab62299a00 (patch)
tree007e2a6371f9dcf9feacc6c516b30d010a4b4ba6 /tools/perf/scripts/python/net_dropmonitor.py
parentdcb485dfc83bfa407e6dbdfb99f02be1446692ce (diff)
downloadlinux-2aca4f3734bd717e04943ddf340d49ab62299a00.tar.xz
brcmfmac: return error when getting invalid max_flowrings from dongle
When firmware hit trap at initialization, host will read abnormal max_flowrings number from dongle, and it will cause kernel panic when doing iowrite to initialize dongle ring. To detect this error at early stage, we directly return error when getting invalid max_flowrings(>256). Signed-off-by: Wright Feng <wright.feng@cypress.com> Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com> Signed-off-by: Ian Lin <ian.lin@infineon.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220929031001.9962-3-ian.lin@infineon.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions