[PATCH v2 0/3] can: xilinx_can: Add ECC feature support
From: Srinivas Goud
Date: Tue Aug 22 2023 - 06:45:58 EST
Add ECC feature support to Tx and Rx FIFO’s for Xilinx CAN Controller.
Part of this feature configuration and counter registers added in
Xilinx CAN Controller for 1bit/2bit ECC errors count and reset.
Also driver reports 1bit/2bit ECC errors for FIFO's based on
ECC error interrupts.
xlnx,has-ecc is optional property and is added to Xilinx CAN Controller
node if ECC block enabled in the HW.
Add ethtool stats interface for getting all the ECC errors information.
There is no public documentation for it available.
---
BRANCH: linux-can-next/testing
Changes in v2:
Addressed review comments
Added ethtool stats interface
Updated commit description
Srinivas Goud (3):
dt-bindings: can: xilinx_can: Add ECC property ‘xlnx,has-ecc’
can: xilinx_can: Add ECC support
can: xilinx_can: Add ethtool stats interface for ECC errors
.../devicetree/bindings/net/can/xilinx,can.yaml | 5 +
drivers/net/can/xilinx_can.c | 154 +++++++++++++++++++--
2 files changed, 144 insertions(+), 15 deletions(-)
--
2.1.1