devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] can: xilinx_can: Add ECC feature support
@ 2023-11-17  9:28 Srinivas Goud
  2023-11-17  9:28 ` [PATCH v5 1/3] dt-bindings: can: xilinx_can: Add 'xlnx,has-ecc' optional property Srinivas Goud
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Srinivas Goud @ 2023-11-17  9:28 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, netdev, devicetree,
	linux-arm-kernel, linux-kernel, appana.durga.rao,
	naga.sureshkumar.relli, Srinivas Goud

Add ECC feature support to Tx and Rx FIFOs for Xilinx CAN Controller.
Part of this feature configuration and counter registers added in 
Xilinx AXI CAN Controller for 1bit/2bit ECC errors count and reset.
Also driver reports 1bit/2bit ECC errors for FIFOs based on ECC error 
interrupts.

Add xlnx,has-ecc optional property for Xilinx AXI CAN controller 
to support ECC if the ECC block is 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/master

Changes in v5:
Fix review comments
Change the sequence of updates the stats
Add get_strings and get_sset_count stats interface
Use u64 stats helper function

Changes in v4:
Fix DT binding check warning
Update xlnx,has-ecc property description

Changes in v3:
Update mailing list
Update commit description

Changes in v2:
Address review comments
Add ethtool stats interface
Update commit description


Srinivas Goud (3):
  dt-bindings: can: xilinx_can: Add 'xlnx,has-ecc' optional property
  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                       | 159 ++++++++++++++++++++-
 2 files changed, 160 insertions(+), 4 deletions(-)

-- 
2.1.1


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

end of thread, other threads:[~2023-11-19 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-17  9:28 [PATCH v5 0/3] can: xilinx_can: Add ECC feature support Srinivas Goud
2023-11-17  9:28 ` [PATCH v5 1/3] dt-bindings: can: xilinx_can: Add 'xlnx,has-ecc' optional property Srinivas Goud
2023-11-19 13:37   ` Conor Dooley
2023-11-17  9:28 ` [PATCH v5 2/3] can: xilinx_can: Add ECC support Srinivas Goud
2023-11-17  9:28 ` [PATCH v5 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;
as well as URLs for NNTP newsgroup(s).