Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp412182rdh; Tue, 19 Dec 2023 02:49:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsJGMCneniJ0RxugK/ovowlCw95vIBL7yYGE8ho2w4JiWJ3FQe2pKWxVHytBWLnAFQBUCj X-Received: by 2002:a05:6214:2684:b0:67f:49ae:9adb with SMTP id gm4-20020a056214268400b0067f49ae9adbmr1140951qvb.41.1702982948040; Tue, 19 Dec 2023 02:49:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702982948; cv=none; d=google.com; s=arc-20160816; b=Ipa1GCY+IiUUEDJy9uylsS8mCPLFFbZ2b2FfUA04QcKDDbHj3XR5Op+lRCbx2luwme xN1FkCtjVUvil0P4ycG0lhiqrq3QETSno3DV12nG3tcA+i1cr7ZmdNeceTdh9u5uA3Ut jl7jngHjcZgAMQNFMmwzYfr2EpkKkl9dOTDjBljR6+hJY02/nH9g6COXGBcVyYuVPx/h v2iw6UH30MJCEFLaCZIJOL5d1W6/opb/awezxJHxoeBVxa5mWUFqb1pJ213Q0KxWfj4v TVMOF1DTNnXVVyRelyRmVz3RXUlNHp7sPqA9RT0WUm2OVDo8mVqD09hsTX/bFmo4rgsa pS9w== 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=44MG7mgjm5PkhVKpIcOLnozSZMVMijII2/FuLxCp5Yo=; fh=AO1athPla3jqhCn4k6adBHi7gs3A5EcpzQmM6u71SYU=; b=aQPtq3yAPB079ALmugkrMN3kdl3cH/RkhmadJEPEpcMAwd00crnyWb+of4GVJTRDh/ yfwhLmcWPa5gMPYb7Iol1MYH6v/L0w0XbKHeqU8JMzhTzbWCTnqImN3ehCdaiYWSDGxX d3AR/WwOKPXXuTs6HpEeylt4xetijDNY7yH8sPXszsdESnDApXIoL0Xd4HkY+1gkV+za BegeV0d167fNWyHmPVQ+tnEXXcuJ/CugkXrEbHwz68hDvfrdYGDVPFBEbBS5CLaqt6tW 4qOyF0UNya+2QhuIaC0RmpqA0oc8p1IxSt/8y+BIcGKKpyFR7BY+uzJmTDys7UKqyHxX xkAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UvSLgwQq; spf=pass (google.com: domain of linux-kernel+bounces-5029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s4-20020a05620a254400b0077f8b361e3csi17134306qko.54.2023.12.19.02.49.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 02:49:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UvSLgwQq; spf=pass (google.com: domain of linux-kernel+bounces-5029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5029-linux.lists.archive=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 79B8A1C22FAD for ; Tue, 19 Dec 2023 10:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22AC714F82; Tue, 19 Dec 2023 10:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="UvSLgwQq" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 0D27515494; Tue, 19 Dec 2023 10:48:54 +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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BJAZSl6006295; Tue, 19 Dec 2023 10:48:40 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=44MG7mg jm5PkhVKpIcOLnozSZMVMijII2/FuLxCp5Yo=; b=UvSLgwQqMff8Cvlfq4q/Gc7 rq0uaYRGOSc47vHGlkjE3/m4m5bBWmqFqzJrY5pW0w8WgCpPhJL39gQnXvVOADwc lkYJq+G7jUe18PAytO0pFSYCbPehOa0p0nHDZdD0Q3tnq4SxSeJ+ifqbes8dnw4v Xw3yUK5DQHZjnpGl6ITJdI4aEp/IvDd/tIskvjC0Xw67bwTb9+iDyXbpXSJdETpl z1HYBauq9LyCR22/05QhuFJ5eut+8lumPiFdj0vEZrVyuzZYsk55h35Ujdi0iNUG zjfvcJBjdqdmhwa2RTubZRdN/DiR9yPrWKISYJhNHTBhrLtTiJXkaqUJx4KI61A= = Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v37tr88ke-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Dec 2023 10:48:40 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BJAmd8M005236 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Dec 2023 10:48:39 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; Tue, 19 Dec 2023 02:48:29 -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 , Rob Herring CC: Subject: [PATCH net-next v7 0/3] Ethernet DWMAC5 fault IRQ support Date: Tue, 19 Dec 2023 16:18:12 +0530 Message-ID: <20231219104815.3443231-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: List-Subscribe: List-Unsubscribe: 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: pojU8RgO8qSOT_rb-Sr5koYOAigS33C5 X-Proofpoint-GUID: pojU8RgO8qSOT_rb-Sr5koYOAigS33C5 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 mlxlogscore=967 adultscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 malwarescore=0 phishscore=0 impostorscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312190079 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 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 | 2 ++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 35 +++++++++++++++++++ .../ethernet/stmicro/stmmac/stmmac_platform.c | 8 +++++ 7 files changed, 62 insertions(+), 9 deletions(-) -- 2.25.1