Skip to content

can: xilinx_can: Add ECC feature support

Srinivas Goud linux-arm-kernel linux-can linux-devicetree lkml netdev 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest posting 2/23 patches 2 repliesIn review
  2. v7 posting 1/23 patches 1 replySuperseded
  3. v63 patches 1 replySuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v53 patches1 replySuperseded
v43 patches4 repliesSuperseded
v33 patches4 repliesSuperseded
v23 patches1 replySuperseded
v13 patches18 repliesSuperseded

Changes in v7 from the cover letter

Update with spinlock only for stats counters

Patches in v7 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: can: xilinx_can: Add 'xlnx,has-ecc' optional propertyDocumentation/devicetree/bindings/net/can/xilinx,can.yaml+5 -00 replies
2/3can: xilinx_can: Add ECC supportdrivers/net/can/xilinx_can.c+101 -40 replies
3/3can: xilinx_can: Add ethtool stats interface for ECC errorsdrivers/net/can/xilinx_can.c+54 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH RESEND v7 0/3] can: xilinx_can: Add ECC feature support

Add ECC feature support to Tx and Rx FIFOs for Xilinx CAN Controller. ECC is an IP configuration option where counter registers are added in IP 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 v7:
Update with spinlock only for stats counters

Changes in v6:
Update commit description

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(-)
Signature · 1 line
2.1.1