Message ID | 20231221073620.232619-1-quic_jsuraj@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-7943-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp246763dyi; Wed, 20 Dec 2023 23:37:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlKw+X0H8C7IV3bcylbDTz6MLTRfVlZtYkBgkR13mjQw5w/HGCyeik6sjkTzAu4GFdw/X7 X-Received: by 2002:a05:622a:5c8:b0:425:61d0:92d4 with SMTP id d8-20020a05622a05c800b0042561d092d4mr28148668qtb.113.1703144277614; Wed, 20 Dec 2023 23:37:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703144277; cv=none; d=google.com; s=arc-20160816; b=pgfEzrOGuD5dvTUcN75RVlZ5Cnks8yoVG7HdNCV+4UHF8SpHTHD559XMf24dwMPq97 vXArAZEo5YkMl7P91knpCwxiS9ESty2KOQgYAvfCTmUl0SAl1fjAgcVxTCVsLOcbpghW evKnQmY5qROfS7aT8CAkwHpTRi63dF2UlwrEcLUNMzasqzwNkzwUbayXidbbsSRJq7+O dVEBaDwnc9Jmj/iThWXINCjRLy2X+FvEQAb33//LxNVJtHDEBUQyK4ft5HZKCW/QX2Yu /ADSGlyRiQbpI6mvBeNMRU2m128G/AMWQOsFf1YqKwMyJ/7JWxwf3ZgBQl/OlSJ5pxP6 xMuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=qb/ypePJtdXqQ3FRvv3Ch4tcS3bWkEngLP6gGUO/v10=; fh=AO1athPla3jqhCn4k6adBHi7gs3A5EcpzQmM6u71SYU=; b=P9LmfE3uhCLQ0MM3ouHmmTHI5WsERO1H6sSBnVwLXK7GgcuxRJYevRO/eDsOnsmLGg BEkBArQ7TtRD++3KhCMEwq+aLmaVylcE/ZB8FzvxGNYLt1TpQbrcxP4QiSkLk+NHaU8h LhneNSKVNG/DyXjANd3+f2m5bHLm2E0fqpePKcIoMrz2VGJYmpzXNOmZ4AxdzgzXQxHJ cBfedyCMkUbGNORBaIVfkZd2RjkfcuewFiumtzWPERIoFPj/Tzdj3rBjjN4Sr2IhniFK Od+lYD2XI/yk+WsXZDHC5/5gDYhSGR/n/Imoi5h45RqveBbEVJFxRYtsvocO3OKxm7ch eJrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jFMleq3l; spf=pass (google.com: domain of linux-kernel+bounces-7943-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7943-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j9-20020ac85c49000000b0042753e8dba0si1628044qtj.623.2023.12.20.23.37.57 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 23:37:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7943-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jFMleq3l; spf=pass (google.com: domain of linux-kernel+bounces-7943-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7943-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6AA931C22FE0 for <ouuuleilei@gmail.com>; Thu, 21 Dec 2023 07:37:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2692A16431; Thu, 21 Dec 2023 07:37:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jFMleq3l" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FBFB18026; Thu, 21 Dec 2023 07:37:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL63ETl032369; Thu, 21 Dec 2023 07:36:43 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=qb/ypeP JtdXqQ3FRvv3Ch4tcS3bWkEngLP6gGUO/v10=; b=jFMleq3lhPwDf7GjcWDeeUq jz2TFG/yXL7hsXNjnTyvhNLPjyxuvQ1NlR3lBAofgh5CiXowttVmYhXAgG3jJajT ifP1Bg0Xc7Pfvk5LOPCzHSe/V1xaHpYzmrwkD3YLWjZhzvUIW2FdaUAQ9GhLUXaU HK4f/809R+VLIVVOjUGtNvWog4rDtqTL886kbXoKeuk25Yk7mSKbzql6n00qy9PT cW1W/1LYTBiD96YE8f1VHxl7Hi0Mb8MUwFYR5CyI7xPwYZLVM+BYt1TjJBPCDZni MHGmY+F2Ldggmk96ynLt8d61XCNRQGbeiHanFaFz7kr8KUllr8c7gmjr5p3BWeQ= = Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4dwx0sjx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 07:36:43 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL7agOQ011209 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 07:36:42 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; Wed, 20 Dec 2023 23:36:31 -0800 From: Suraj Jaiswal <quic_jsuraj@quicinc.com> To: <quic_jsuraj@quicinc.com>, Vinod Koul <vkoul@kernel.org>, Bhupesh Sharma <bhupesh.sharma@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, "Jakub Kicinski" <kuba@kernel.org>, Rob Herring <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Alexandre Torgue <alexandre.torgue@foss.st.com>, "Jose Abreu" <joabreu@synopsys.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, <netdev@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, Prasad Sodagudi <psodagud@quicinc.com>, Andrew Halaney <ahalaney@redhat.com>, Rob Herring <robh@kernel.org> CC: <kernel@quicinc.com> Subject: [PATCH net-next v8 0/3] Ethernet DWMAC5 fault IRQ support Date: Thu, 21 Dec 2023 13:06:17 +0530 Message-ID: <20231221073620.232619-1-quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: RYpfyKicoLQnp0Kiv_0pzo1cSd7GeVE7 X-Proofpoint-GUID: RYpfyKicoLQnp0Kiv_0pzo1cSd7GeVE7 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-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 mlxscore=0 mlxlogscore=942 phishscore=0 clxscore=1015 suspectscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210054 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785876214437255277 X-GMAIL-MSGID: 1785876214437255277 |
Series | Ethernet DWMAC5 fault IRQ support | |
Message
Suraj Jaiswal
Dec. 21, 2023, 7:36 a.m. UTC
Add support to listen Ethernet HW common safery IRQ for correctable and uncorrectable fault. The safety IRQ will be triggered for ECC(error correction code), DPP(data path parity, FSM(finite state machine) error. Changes since v8: - Use shared IRQ for sfty - update error message Changes since v7: - Add support of common sfty irq on stmmac_request_irq_multi_msi. - Remove uncecessary blank line. Changes since v6: - use name sfty_irq instead of safety_common_irq. Changes since v5: - Add description of ECC, DPP, FSM Changes since v4: - 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 common safety IRQ .../devicetree/bindings/net/qcom,ethqos.yaml | 9 +++-- .../devicetree/bindings/net/snps,dwmac.yaml | 6 ++- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 10 +++-- drivers/net/ethernet/stmicro/stmmac/common.h | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac.h | 3 ++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 37 +++++++++++++++++++ .../ethernet/stmicro/stmmac/stmmac_platform.c | 8 ++++ 7 files changed, 65 insertions(+), 9 deletions(-)