Loading
net: hns3: dump more reg info based on ras mod
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9KKIX CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=8a4bda8cb9e43e1fae96c4c4aa94069f49dc3a68 ---------------------------------------------------------------------- When the driver received an interrupte for hardware error, it will try to restore by resetting. But the hardware registers will also be reset at this case, which make it hard to analysis why the hardware error occurs. This patch dumps these registers before resetting to help analyze the hardware error occurs. Signed-off-by:Peiyang Wang <wangpeiyang1@huawei.com> Signed-off-by:
Hao Chen <chenhao418@huawei.com>