Message ID | 20240130114102.4116046-1-quic_jsuraj@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-44537-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1154724dyb; Tue, 30 Jan 2024 03:42:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUnfo6gEkJC/A508CQetAKNKjVtqqRS8T/Jn2sKJsHOwVKzftnp8lTXpS2ezZ0i0OY38uF X-Received: by 2002:ad4:4eee:0:b0:685:5dc8:ec9b with SMTP id dv14-20020ad44eee000000b006855dc8ec9bmr8893219qvb.25.1706614929510; Tue, 30 Jan 2024 03:42:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706614929; cv=pass; d=google.com; s=arc-20160816; b=JuMCpQ/36SYytXhnoW6gSe/MVeg8A+Z1VqkeAcdHBapH6LfsWBXBEQwo6H8Z7ft4UE oSOSYWIHtVvw8449b+HOiyPOkoTfSscEdrTUm2Cmzr2oszOOIcQsRQK7gPa5pbOlENvm RY6eScMOwUjHzbA95oFothHHmW4ocIJMKOADJ9AP+8zCQZb6XeTLWe/OAdLayXrhUdHK hvWn+/rLV5S9jbY1tAhFmroiqGO7Qok6eRyjeMdP+jZs0dW6R1yvIJbvHSJwSECu+CYM qyNAyHjPaSEQ6sVJDCiwXL0X3UH1yH3ptQByofODo2aFY6W1JqtBBFzDmClMej1R70qH 0lUw== ARC-Message-Signature: i=2; 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=7JXWKUW1E7ghsDEkZBFGU82nOmZDcd1ujbS6PKH4dAo=; fh=AO1athPla3jqhCn4k6adBHi7gs3A5EcpzQmM6u71SYU=; b=SPRYM5uM3GztjBmI2qs/nwMcOlSNt55M6/kpqxNSampTxsS1Sv2jFqRZIvZypHqzAD g0sA4177EuRTgPYRjJzPttxXT2reNVGKWlX37XjVhjTxAIOIVCh1+VW0jJjXi42dDynQ 8H84TMv/VOa6YCwo0N1bt7bzUtuzf0z/34ZcNjzmTfRZfqLLX30REhVSBtSRjx6jij7b RJjB6o1JzeN15+GVQd6txkU9NL+L837FD4+hQowVGDWDZf1/ALhgtLk3NtcPl54Y3exK /K/VdoydZhJKAR5JcEQmLm3TFrUfOM8VWDsQ5yMaO4SPD7ZS8S3wAoAqrsCJ6WIwW5IQ Pg9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dqqhvpKP; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-44537-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44537-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 jq8-20020ad45fc8000000b006861cd0d440si9817060qvb.528.2024.01.30.03.42.09 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 03:42:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44537-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=dqqhvpKP; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-44537-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44537-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 511CD1C21407 for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 11:42:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BF7267E67; Tue, 30 Jan 2024 11:41:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dqqhvpKP" 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 3AE966773D; Tue, 30 Jan 2024 11:41:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706614901; cv=none; b=okUnjq9XOU8nGtpNduIifpXV0Jj1qxR/LqTA2/xo+EN13wZEdub3zfPIYHQp/+gKNHIl3sSqyxTx8DsCpnZTl1SfvevQR4lmSDyZIBofHFkX02fSUkMaZ1SMOjhAWDSmBVf7yt3ucww3lH1oet6+ZK7cSOmEZcFfTBaeOsBiG0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706614901; c=relaxed/simple; bh=wtaYERKeZ+R3zZ5LbShluTuKloWqQszXmSmTGmoqJ+s=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=YroSO2oogz7FRTRUUjvgg1N8ygG9YQUZMaP7xheQbiE8hFu9SqFF/phX2H71g4qumpk+VuSjai4SzNqAGdjkVrkXJgrKS09fHhV0CR4R7oT+iQj4pZ5jJRnCaWz3awOYanDTppqyBniDNqaPmlGb1CrJxNEz8u+h3KaYv+s2mQo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=dqqhvpKP; arc=none smtp.client-ip=205.220.168.131 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 40UATr6s004965; Tue, 30 Jan 2024 11:41:25 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=7JXWKUW 1E7ghsDEkZBFGU82nOmZDcd1ujbS6PKH4dAo=; b=dqqhvpKPByheIOn5/3brqza 036hCTwaaXUAUimIBnacYUIOAPRl6yQzoYdacFPXzCdaOv1PRGuVJuws2jBjbN8M x2P4ecLHR2uILcNWP0TDT/dZk5i8YKS3QMFfQwI2rZ/sVJ3JpjmzEV88lUK6JEZI dc5o3X1SKxEf11lWJPVpdviM++YEUMnepcOU87W/bGvF/zHqXzN7EuPWIWRUXHo1 xKTK2fszzErPzfFlAE5T0oB/lMax+b7jczOQdTCuTwiWw7FI8INhl3VY3Farr9c0 8gVm+zN1sbeeW4Xu3LHQ4LNF/8ruY/AoHDEGMxc1K27VDncvh4vJuiquObZZoIA= = Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxydh04q5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 11:41:25 +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 40UBfOlp026860 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 11:41:24 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, 30 Jan 2024 03:41:15 -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 v11 0/3] Ethernet common fault IRQ support Date: Tue, 30 Jan 2024 17:10:59 +0530 Message-ID: <20240130114102.4116046-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: 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: OehGOF_7sBrjiKHDrYBag1puAl0vBB3V X-Proofpoint-GUID: OehGOF_7sBrjiKHDrYBag1puAl0vBB3V X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-30_05,2024-01-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxscore=0 malwarescore=0 clxscore=1015 spamscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=892 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300085 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789515456576672309 X-GMAIL-MSGID: 1789515456576672309 |
Series | Ethernet common fault IRQ support | |
Message
Suraj Jaiswal
Jan. 30, 2024, 11:40 a.m. UTC
From: Suraj Jaiswal <jsuraj@codeaurora.org>
Changes since v11:
- Update debug message print
Changes since v10:
- Update commit message
Changes since v9:
- prevent race condition of safety IRQ handling
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 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 | 41 ++++++++++++++++++-
.../ethernet/stmicro/stmmac/stmmac_platform.c | 8 ++++
7 files changed, 67 insertions(+), 11 deletions(-)
Comments
On 30/01/2024 12:41, Suraj Jaiswal wrote: > Add changes to support safety IRQ handling > support for ethernet. > > Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com> > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- NAK. Read the replies you got. This was applied and anyway it is not next-next material. Please do not send DTS patches to net-next. Best regards, Krzysztof