From patchwork Thu Dec 7 09:21:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 17675 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4655009vqy; Thu, 7 Dec 2023 01:27:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7Sew0rkLq2UsBcKqHAvSfCgM8q2rxjfWVV/JIMliXvNLapJQ7JF2EVA/xzFKob2cRroiH X-Received: by 2002:a05:6808:1384:b0:3b9:e319:6a1b with SMTP id c4-20020a056808138400b003b9e3196a1bmr98416oiw.14.1701941247534; Thu, 07 Dec 2023 01:27:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701941247; cv=none; d=google.com; s=arc-20160816; b=QK5aUPkSLAo5EMWTpEz7p2D0nX4OjEext+vAo9upk2ZV6ddexra1pezMvWcEIEEwtE ym762agLp3U3aGHKUop4Er3k8dUL+ksOw7v6NO19dDNEtr1m8YuO+pAH1zt68M1wbmRF NFw5Wrle5scP3mz3NnQtK9JzNigM127vXfSw+1hJqq7Ojj1sGFxkkq1BOHNKO1MYFymR 363RsyS6zvkXB2ppe5OFSuV0LVrjZM+fktNfg2vayiZZLeGqrBvPBiIDB4TSQJIthQ7b B3ZPPQ9BpSz83ppdyJYiQsbna34lV2BDKNa8NzfT439IOOF9cs6gPOoZ+gyuomJEhnco YpPA== 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=+uh7qxnuBPPrGZ8PMa6CKhUYOybpe6G0XLx55F8ufkg=; fh=gw1nGGRvPTMpMB1+2yIHl2JD2hbsUI2mdSe/41PDYQ8=; b=L9xcKiu3R7+Ppy6+IOBh+WoX/g0RPtcQUeFZvzc0evv61vqhahJYvciORxddAUss8X vb2Cm+OwIGcKzPAhFHuMBaYzRSjMWUGC+b3CvSffQVJm6wSJku4MsbljIzQnKB971muR x0OnxrOkK1LculwJ2WusFsQanrZnFIODDR/iLWFiO91dvBqsBdhjwhGHWPJIKoVpgqqE sC4yQbjsr4tWSPr3+k2MHWrKXDo9HyDoVjHrdFiVAqqvEpallUfPCCLqYj/MHDT1tZoC bgsQBXJYckhi5tNOuCl7UFWJbJokHYMhaAij66JbpPAfXcOedZQ/AQ3evcLamk6x38F9 Do+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hKG9yuGI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p68-20020a634247000000b005c6259da621si832867pga.555.2023.12.07.01.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:27:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hKG9yuGI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 6E466809B752; Thu, 7 Dec 2023 01:27:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231633AbjLGJ0z (ORCPT + 99 others); Thu, 7 Dec 2023 04:26:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231538AbjLGJ0y (ORCPT ); Thu, 7 Dec 2023 04:26:54 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95E9AAC; Thu, 7 Dec 2023 01:27:00 -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 3B79QIV5011931; Thu, 7 Dec 2023 09:26:45 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=+uh7qxnuBPPrGZ8PMa6CKhUYOybpe6G0XLx55F8ufkg=; b=hKG9yuGIi9QoKrqUN1sGUYwCrl8LG28Zx8ISFuVyyAbX/PshJFE6v3Y1l7aHfd3C5RAO 1ITNPhYIcI1WnkLUsfEUBZeyf+dcyuHH6H+qH47fldgC3b8CL5w7pGw8AqHG3q9gFmmV AZgNytivyBvjIBMWtG/JKNG5V30o3orthARx+WQgSrkFDnwVV7oE4A1jX5zOSTm5TLhS rGC+BV+0l23Yh9XsdaTmuNIBdoeLloQx5H2du7sfdKEQ3rwcvfLaGJE0hqfj9c5EC2nb Dj+dxcht9uUsLq3c5N2CRZ0hgu66+8Jgm6LEeUfzSX10ZjjbClGLyT0uwGB1VKCQJ6k/ gw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uubdm0028-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Dec 2023 09:26:45 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B79Qins007139 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 7 Dec 2023 09:26:44 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; Thu, 7 Dec 2023 01:21:49 -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 v4 0/3] Ethernet DWMAC5 fault IRQ support Date: Thu, 7 Dec 2023 14:51:24 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] 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: p3K8wkCLzuE8jFCKH2nso6_PVryPaioy X-Proofpoint-GUID: p3K8wkCLzuE8jFCKH2nso6_PVryPaioy 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-07_07,2023-12-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=965 adultscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 clxscore=1015 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312070076 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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:27:05 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784614745670678999 X-GMAIL-MSGID: 1784614745670678999 Add support to listen Ethernet HW safery IRQ. The safety IRQ will be triggered for ECC, DPP, FSM error. 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 safety IRQ Support .../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 | 2 ++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 18 ++++++++++++++++++ .../ethernet/stmicro/stmmac/stmmac_platform.c | 9 +++++++++ 7 files changed, 46 insertions(+), 9 deletions(-)