On Thu, Aug 25, 2022 at 5:25 PM Kai-Heng Feng
[off-list ref] wrote:
The MSI is probably raised by incoming packets, so power down the device
and disable bus mastering to stop the traffic, as user confirmed this
approach works.
In addition to that, be extra safe and cancel reset task if it's running.
Cc: Josef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/all/b8db79e6857c41dab4ef08bdf826ea7c47e3bafc.1615947283.git.josef@toxicpanda.com/ (local)
BugLink: https://bugs.launchpad.net/bugs/1917471
Signed-off-by: Kai-Heng Feng <redacted>
---
v2:
- Move tg3_reset_task_cancel() outside of rtnl_lock() to prevent
deadlock.
Looks ok to me. Thanks.
Reviewed-by: Michael Chan <michael.chan@broadcom.com>