Linux CAN drivers development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] can: xilinx_can: Add ECC feature support
@ 2023-08-22 10:45 Srinivas Goud
  2023-08-22 10:45 ` [PATCH v2 1/3] dt-bindings: can: xilinx_can: Add ECC property ‘xlnx,has-ecc’ Srinivas Goud
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Srinivas Goud @ 2023-08-22 10:45 UTC (permalink / raw)
  To: wg, mkl, davem, edumazet, kuba, pabeni, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, p.zabel
  Cc: git, michal.simek, linux-can, linux-arm-kernel, linux-kernel,
	gcnu.goud, Srinivas Goud

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-22 19:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22 10:45 [PATCH v2 0/3] can: xilinx_can: Add ECC feature support Srinivas Goud
2023-08-22 10:45 ` [PATCH v2 1/3] dt-bindings: can: xilinx_can: Add ECC property ‘xlnx,has-ecc’ Srinivas Goud
2023-08-22 19:30   ` Krzysztof Kozlowski
2023-08-22 10:45 ` [PATCH v2 2/3] can: xilinx_can: Add ECC support Srinivas Goud
2023-08-22 10:45 ` [PATCH v2 3/3] can: xilinx_can: Add ethtool stats interface for ECC errors Srinivas Goud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox