netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v8 0/3] Ethernet DWMAC5 fault IRQ support
@ 2024-01-10 11:16 Suraj Jaiswal
  2024-01-10 11:16 ` [PATCH net-next v9 1/3] dt-bindings: net: qcom,ethqos: add binding doc for safety IRQ for sa8775p Suraj Jaiswal
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Suraj Jaiswal @ 2024-01-10 11:16 UTC (permalink / raw)
  To: quic_jsuraj, 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, netdev,
	linux-arm-msm, devicetree, linux-kernel, linux-stm32,
	Prasad Sodagudi, Andrew Halaney, Rob Herring
  Cc: kernel

From: Suraj Jaiswal <jsuraj@qti.qualcomm.com>

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 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 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 | 41 ++++++++++++++++++-
 .../ethernet/stmicro/stmmac/stmmac_platform.c |  8 ++++
 7 files changed, 67 insertions(+), 11 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH net-next v8 0/3] Ethernet DWMAC5 fault IRQ support
@ 2023-12-21  7:36 Suraj Jaiswal
  0 siblings, 0 replies; 9+ messages in thread
From: Suraj Jaiswal @ 2023-12-21  7:36 UTC (permalink / raw)
  To: quic_jsuraj, 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, netdev,
	linux-arm-msm, devicetree, linux-kernel, linux-stm32,
	Prasad Sodagudi, Andrew Halaney, Rob Herring
  Cc: kernel

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-28 17:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 11:16 [PATCH net-next v8 0/3] Ethernet DWMAC5 fault IRQ support Suraj Jaiswal
2024-01-10 11:16 ` [PATCH net-next v9 1/3] dt-bindings: net: qcom,ethqos: add binding doc for safety IRQ for sa8775p Suraj Jaiswal
2024-01-10 11:16 ` [PATCH net-next v9 2/3] arm64: dts: qcom: sa8775p: enable safety IRQ Suraj Jaiswal
2024-01-28 17:45   ` (subset) " Bjorn Andersson
2024-01-10 11:16 ` [PATCH net-next v9 3/3] net: stmmac: Add driver support for DWMAC5 common " Suraj Jaiswal
2024-01-10 12:07   ` Denis Kirjanov
2024-01-22 10:00     ` Serge Semin
2024-01-10 15:40 ` [PATCH net-next v8 0/3] Ethernet DWMAC5 fault IRQ support Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2023-12-21  7:36 Suraj Jaiswal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).