From patchwork Mon Dec 4 13:26:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 17493 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2766701vqy; Mon, 4 Dec 2023 05:38:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVX3lUcAHDx+RqudsTqSPgGvbA+ddNRevfojUz6B2NbtQfoQ1+XwiW3kaLswIh10oCPcRP X-Received: by 2002:a05:6a20:144a:b0:18c:548d:3d1a with SMTP id a10-20020a056a20144a00b0018c548d3d1amr1881608pzi.58.1701697137132; Mon, 04 Dec 2023 05:38:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701697137; cv=none; d=google.com; s=arc-20160816; b=mSVvWblN59L82z5zpaUaA6syC+DukCqWvMxnxrScE8frkCJiUYIj8LS/O5i0en+kaA 7LgJew0u+y+LNNwnhd8mFcNX+leL8PI45pD9Dw11nnDqiCpa8COdp67yTERTSOGNeoBR tOLLVRitQKbgFNOCD5blRirNsyf2AUwj3LG9JPCQlhHnuXfGdwU5EhuwA9OWkUihsoQ/ 2fH2fzeikzB/V0JCN72xcVFCeal7Dc2iOjGRNXlJvZZEPiVM5ZaYssCCpigHVgugGxzK Qdy2I8zxVNycs7Okip/wpb1Zs7qjcKdVXyFffYSVG5tOXjTEoWsU3E6ytnDptJj6SZ8L xqYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=f6cum8EU/qHcJiQXZXCKxQ3OmusZZpPYWsbk4BsV5hc=; fh=gw1nGGRvPTMpMB1+2yIHl2JD2hbsUI2mdSe/41PDYQ8=; b=QjgAOihLL1Aabe9n468uiubi+lJ0FAnTLikX5fkmIQOYdLs2GuOZX6CT5YOuFzOGd5 iuSTMz6J1ttrOzX/OdW/1F1XytzoiRFzBiDYBYUbfSVfY/IDovEPOY5zARvCn4Gy6OiJ Qvdpkgiqn3r6gRn5fARjPcvQ3Uq6s6ZwVuxzwo4MPemLXMBWonqhfS0kVVTlQjKzjp0i 8Ey25JVKs+1GHA75V/4rJ0ukGzp9gJ2NZkz4rXh4lBS/6uQPtmP6TJ51mb0neYeSSjSE 69H9+K91S1JY92UMPxl6KvQel10SDycDBL1e9el3NlMRDu1CESHS/8hezG4TWCiC1+T2 w9VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=T+vWUT9Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c2-20020a17090a8d0200b00286b22b913fsi1664425pjo.37.2023.12.04.05.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 05:38:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=T+vWUT9Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 05E1F809F895; Mon, 4 Dec 2023 05:38:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344537AbjLDNim (ORCPT + 99 others); Mon, 4 Dec 2023 08:38:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235660AbjLDNiW (ORCPT ); Mon, 4 Dec 2023 08:38:22 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B12FB2139; Mon, 4 Dec 2023 05:27:03 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B4BxS16015148; Mon, 4 Dec 2023 13:26:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=f6cum8EU/qHcJiQXZXCKxQ3OmusZZpPYWsbk4BsV5hc=; b=T+vWUT9QRBGsgwHWW5nfP4zt4pek6gW6P1Drt/7QA1tm/AhviMv9i/be92PHvZdpbO9S MizCNRuySa/n66zXOj6cwyzdynXtc7WMlrv3WYWdF0rajKINUbO3ZgRoVp7l9u3s8e46 kaYFUQbRq/UbV9BmhTFI2gmRB82z44f+LPSu+wiC+W8r+FRoRfTS1+PDIhr+ArExwA9B G0jUxqyVdbTO0II2AA3KblDKWCVvzEPMerTU6BjwhhLxgrGjPOTgSfHFUABXBROEJBDO AKmQ4RTwQCYngmepyLIPWDtAvZhdbX/29AjkCHi0tDVYOAylMgeqXj9qXQbv2vHdYhO+ Cw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3us81yh85k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Dec 2023 13:26:49 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B4DQmQI010064 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 4 Dec 2023 13:26:48 GMT Received: from hu-jsuraj-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 4 Dec 2023 05:26:39 -0800 From: Suraj Jaiswal To: , Vinod Koul , Bhupesh Sharma , Andy Gross , Bjorn Andersson , Konrad Dybcio , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Alexandre Torgue , "Jose Abreu" , Maxime Coquelin , , , , , , Prasad Sodagudi , Andrew Halaney CC: Subject: [PATCH net-next v3 0/3] Ethernet DWMAC5 fault IRQ support Date: Mon, 4 Dec 2023 18:56:14 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: sihd6brC_J_DXszfSBOm7NrweF6Z5ZaO X-Proofpoint-GUID: sihd6brC_J_DXszfSBOm7NrweF6Z5ZaO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-04_12,2023-12-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 adultscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 suspectscore=0 malwarescore=0 clxscore=1015 mlxlogscore=970 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312040101 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 05:38:54 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784358777123285563 X-GMAIL-MSGID: 1784358777123285563 Add support to listen Ethernet HW safery IRQ. The safety IRQ will be triggered for ECC, DPP, FSM error. Changes since v3: - Fix DT_CHECKER warning - use name safety for the IRQ. Suraj Jaiswal (3): dt-bindings: net: qcom,ethqos: add binding doc for safety IRQ for sa8775p arm64: dts: qcom: sa8775p: enable safety IRQ net: stmmac: Add driver support for DWMAC5 safety IRQ Support .../devicetree/bindings/net/qcom,ethqos.yaml | 9 ++++++--- .../devicetree/bindings/net/snps,dwmac.yaml | 5 +++-- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 10 ++++++---- drivers/net/ethernet/stmicro/stmmac/common.h | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 ++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 18 ++++++++++++++++++ .../ethernet/stmicro/stmmac/stmmac_platform.c | 9 +++++++++ 7 files changed, 45 insertions(+), 9 deletions(-)