diff options
author | Peiyang Wang <[email protected]> | 2024-04-10 20:53:53 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-12 18:56:51 -0700 |
commit | 8a4bda8cb9e43e1fae96c4c4aa94069f49dc3a68 (patch) | |
tree | c2f9d90d3775e8d13c688996e64de480e481f47a /rust/helpers.c | |
parent | b20250afcfb4d3b94ae520ae7afed591ebe5cb5b (diff) |
net: hns3: dump more reg info based on ras mod
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 <[email protected]>
Signed-off-by: Jijie Shao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions