[PATCH RFC 4/4] stmmac: s32: enable multi irqs mode
Jan Petrous via B4 Relay
devnull+jan.petrous.oss.nxp.com at kernel.org
Sun Dec 14 14:15:40 PST 2025
From: "Jan Petrous (OSS)" <jan.petrous at oss.nxp.com>
Signalize support for multi irq mode.
>From now, if yoused old DT node, without channel IRQs set,
the driver fails to init with the following error:
[4.925420] s32-dwmac 4033c000.ethernet eth0: stmmac_request_irq_multi_msi: alloc rx-0 MSI -6 (error: -22)
Signed-off-by: Jan Petrous (OSS) <jan.petrous at oss.nxp.com>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-s32.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-s32.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-s32.c
index 5a485ee98fa7..284e2067a00b 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-s32.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-s32.c
@@ -2,7 +2,7 @@
/*
* NXP S32G/R GMAC glue layer
*
- * Copyright 2019-2024 NXP
+ * Copyright 2019-2025 NXP
*
*/
@@ -149,6 +149,7 @@ static int s32_dwmac_probe(struct platform_device *pdev)
plat->core_type = DWMAC_CORE_GMAC4;
plat->pmt = 1;
plat->flags |= STMMAC_FLAG_SPH_DISABLE;
+ plat->flags |= STMMAC_FLAG_MULTI_MSI_EN;
plat->rx_fifo_size = 20480;
plat->tx_fifo_size = 20480;
--
2.47.0
More information about the linux-arm-kernel
mailing list