diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-12-23 16:50:25 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-03-30 11:14:49 +0200 |
commit | e0ab3dd5f98fcca95a8290578833552e496fabaf (patch) | |
tree | 647ea33d2d395b1e87db22147fb6349b6bc2c76f /drivers/net/hamradio | |
parent | 6c23fe67e8dc825ef2fd34d1dac12fc970140a8b (diff) |
can: mcp251xfd: add dev coredump support
For easier debugging this patch adds dev coredump support to the
driver. A dev coredump is generated in case the chip fails to start or
an error in the interrupt handler is detected.
The dev coredump consists of all chip registers and chip memory, as
well as the driver's internal state of the TEF-, RX- and TX-FIFOs, it
can be analyzed with the mcp251xfd-dump tool of the can-utils:
https://github.com/linux-can/can-utils/tree/master/mcp251xfd
Link: https://lore.kernel.org/r/20210304160328.2752293-2-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions