[net-next v3 0/3] rework IRQ handling in mtk_eth_soc

Frank Wunderlich posted 3 patches 3 months, 3 weeks ago
There is a newer version of this series
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 56 ++++++++++++++-------
drivers/net/ethernet/mediatek/mtk_eth_soc.h |  5 ++
2 files changed, 44 insertions(+), 17 deletions(-)
[net-next v3 0/3] rework IRQ handling in mtk_eth_soc
Posted by Frank Wunderlich 3 months, 3 weeks ago
From: Frank Wunderlich <frank-w@public-files.de>

This series introduces named IRQs while keeping the index based way
for older dts.
Further it makes some cleanup like adding consts for index access and
avoids loading first IRQ which was not used on non SHARED_INT SoCs.

Frank Wunderlich (3):
  net: ethernet: mtk_eth_soc: support named IRQs
  net: ethernet: mtk_eth_soc: add consts for irq index
  net: ethernet: mtk_eth_soc: change code to skip first IRQ completely

 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 56 ++++++++++++++-------
 drivers/net/ethernet/mediatek/mtk_eth_soc.h |  5 ++
 2 files changed, 44 insertions(+), 17 deletions(-)

-- 
2.43.0
Aw: [net-next v3 0/3] rework IRQ handling in mtk_eth_soc
Posted by Frank Wunderlich 3 months, 3 weeks ago
> Gesendet: Sonntag, 15. Juni 2025 um 17:03
> Von: "Frank Wunderlich" <linux@fw-web.de>

sorry, missed the changelog:

v3:
added patches
- #2 (add constants for irq index)
- #3 (skip first IRQ on ! MTK_SHARED_INT)
to the v2 non-series patch

https://patchwork.kernel.org/project/netdevbpf/patch/20250615084521.32329-1-linux@fw-web.de/

Tested on BPI-R4/mt7988 with IRQ names and BPI-R2/mt7623 and BPI-R3/mt7986 with upstreamed
dts via index-mode.
I do not have any MTK_SHARED_INT (mt7621/mt7628) boards to testing.