From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06D64C48260 for ; Tue, 13 Feb 2024 10:37:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/BO5Fe+G/qGaM4bBb5n4CVMdVs05X8tBxTVYjfTfXrM=; b=HucnZqqC4nXTNW bV7ikpUixUebsXfjVEVx5bWU2eUf37ylUtzQalS3gDbWMjBVbEz0IxUrrwVQMyCsOUaDzICUdn/Tf eTlhBh2kPmOWi9rg6JCLUm8RSoOEYPbT6F+ZtOIu7fGLu7YQeAbxnHQO9p52Oxyikq3RJ2MCz4pgE /UtjZlgspnbRXvBizT7p9HJnsfhvVsN3CoP3fojRWmYQTUJ+Zvf7Eoqj6t94CfOwK+GY8+vcl1YUI oEWrndJf5nlEBwY2girQowCPOloRtRgjAKzKp+FEpz0DT5cbL1fO2MdqYjvyPsw4HPnT/EuA7WSt+ hczsxNyL/6yau5rMNUAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZqA0-00000008r2g-0SHh; Tue, 13 Feb 2024 10:37:08 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZq9s-00000008qxF-0MCd for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 10:37:02 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rZq9q-0003H8-TP for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 11:36:58 +0100 Received: from [2a0a:edc0:0:b01:1d::7b] (helo=bjornoya.blackshift.org) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rZq9q-000SoX-FE for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 11:36:58 +0100 Received: from dspam.blackshift.org (localhost [127.0.0.1]) by bjornoya.blackshift.org (Postfix) with SMTP id 0B57E28D544 for ; Tue, 13 Feb 2024 10:36:58 +0000 (UTC) Received: from hardanger.blackshift.org (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by bjornoya.blackshift.org (Postfix) with ESMTPS id 6BF6028D51F; Tue, 13 Feb 2024 10:36:55 +0000 (UTC) Received: from [172.20.34.65] (localhost [::1]) by hardanger.blackshift.org (OpenSMTPD) with ESMTP id dc26c151; Tue, 13 Feb 2024 10:36:54 +0000 (UTC) From: Marc Kleine-Budde Subject: [PATCH v8 0/3] Add ECC feature support to Tx and Rx FIFOs for Xilinx CAN Controller. Date: Tue, 13 Feb 2024 11:36:42 +0100 Message-Id: <20240213-xilinx_ecc-v8-0-8d75f8b80771@pengutronix.de> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADpGy2UC/23MQQrCMBCF4auUWRuZJMZWV95Dithk2g5IWpIaI qV3N3bt8n/wvhUiBaYI12qFQIkjT75Ec6jAjk8/kGBXGhSqEyqpReYX+/wga0WjJfbGmDNKhHK YA/Wcd+zelh45LlP47HaSv/Uvk6RAQVpp7C5Yu66+zeSH9xImz/noCNpt277ak10qqQAAAA== To: Appana Durga Kedareswara rao , Naga Sureshkumar Relli , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michal Simek Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Goud , Conor Dooley X-Mailer: b4 0.13-dev-f0463 X-Developer-Signature: v=1; a=openpgp-sha256; l=1791; i=mkl@pengutronix.de; h=from:subject:message-id; bh=NQFk6wv6h9t3jdfRJgwcW/SYE2bxvuDeigGOTR/4ws0=; b=owEBbQGS/pANAwAKASg4oj56LbxvAcsmYgBly0Y9E5T3iPK50/89vKqgjcywzg9volRy+nQIf dUYqANooaqJATMEAAEKAB0WIQRQQLqG4LYE3Sm8Pl8oOKI+ei28bwUCZctGPQAKCRAoOKI+ei28 b0E8CACYXyqGOOSlVUU8TCQhBIQYUM7pvlFJyeiYZH6lEk+WOOJlHzCRj7m2H7me41Ph+IsapmR Dhw0+wnW2N/gY38OdzFsVPiYm9D5LW8TeIV4KsMyx6k6+rekLJ4lvfgYYEbMKxZqtmliJAwwTOC JK82YS/oatenIiKRfMehabQrk6nNkxUn3Ax/ABdTPDE21DVZjy+AwWV1Fh5H6yarXmrdUXd0sDo Fq25I0WAhK8FICjoXMGwUEcyZWrjooJUFD8WLEJ8NNryH4uG1s0OTqlgYqrZ4TTJZwPVwqhS0Jk 97l52iA8Y4ynL8GY3JsxnNVFDZ6Wk5YwAFrysPByB8JKbn1D X-Developer-Key: i=mkl@pengutronix.de; a=openpgp; fpr=C1400BA0B3989E6FBC7D5B5C2B5EE211C58AEA54 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_023700_222851_64544B61 X-CRM114-Status: GOOD ( 14.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Changes in v8: - Use u64_stats_sync instead of spinlock - Renamed stats strings: use "_" instead of "-" - Renamed stats strings: add "_errors" trailer - Renamed stats variables similar to stats strings 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 | 169 ++++++++++++++++++++- 2 files changed, 170 insertions(+), 4 deletions(-) --- base-commit: a3522a2edb3faf8cb98d38c2a99f5967beef24e2 change-id: 20240213-xilinx_ecc-8310f5556010 Best regards, -- Marc Kleine-Budde _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel