can: mcp25xxfd: mcp25xxfd_handle_eccif(): add ECC related errata and update log messages
authorThomas Kopp <thomas.kopp@microchip.com>
Fri, 25 Sep 2020 06:56:06 +0000 (08:56 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 30 Sep 2020 08:34:30 +0000 (10:34 +0200)
commit788b83ea2ccc6a7d8ab3177ad9448597e96cbb4b
tree8ad8e4903f2534d3ae70da43564c8ca2c1229587
parent879456bedbe54f2d38b15c21dc5e3c30232b53e1
can: mcp25xxfd: mcp25xxfd_handle_eccif(): add ECC related errata and update log messages

This patch adds a reference to the recent released MCP2517FD and MCP2518FD
errata sheets and paste the explanation.

The single error correction does not always work, so always indicate that a
single error occurred. If the location of the ECC error is outside of the
TX-RAM always use netdev_notice() to log the problem. For ECC errors in the
TX-RAM, there is a recovery procedure.

Signed-off-by: Thomas Kopp <thomas.kopp@microchip.com>
Link: https://lore.kernel.org/r/20200925065606.358-1-thomas.kopp@microchip.com
[mkl: split into two patches, adjust subject and commit message]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp25xxfd/mcp25xxfd-core.c