diff options
| author | Serge Semin <fancer.lancer@gmail.com> | 2025-09-18 12:16:30 +0300 |
|---|---|---|
| committer | Serge Semin <fancer.lancer@gmail.com> | 2026-08-13 20:36:54 +0300 |
| commit | 9919ac0db02eb8175d599f5cac8c76b2d2a3785e (patch) | |
| tree | a815be85ccf8869478abe4ca16dd128e8d001176 | |
| parent | a176b9aa714e180c333ca366d3a7b8dc4a9f087a (diff) | |
| download | linux-9919ac0db02eb8175d599f5cac8c76b2d2a3785e.tar.gz linux-9919ac0db02eb8175d599f5cac8c76b2d2a3785e.zip | |
net: stmmac: dwmac1000: Convert GPI and PCS IRQs to being expected
DW GMAC low-level code considers the DMA_STATUS.GLI flag being set as
unexpected and prints an ugly warning to the system log. The bit indicates
an PCS/RGMII/GPI interrupt. Since the RGMII PCS IRQs handling has been
already added and the GPI IRQ handling is about to be added let's remove
that semantics since the respective IRQs are now expected.
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
| -rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c b/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c index 90d2d93c322f..031deffde9d9 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c @@ -254,8 +254,7 @@ int dwmac_dma_interrupt(struct stmmac_priv *priv, void __iomem *ioaddr, x->rx_early_irq++; } /* Optional hardware blocks, interrupts should be disabled */ - if (unlikely(intr_status & - (DMA_STATUS_GPI | DMA_STATUS_GMI | DMA_STATUS_GLI))) + if (unlikely(intr_status & (DMA_STATUS_GPI | DMA_STATUS_GMI))) pr_warn("%s: unexpected status %08x\n", __func__, intr_status); /* Clear the interrupt by writing a logic 1 to the CSR5[15-0] */ |
