Re: [PATCH v2] net: ethernet: mtk_eth_soc: support named IRQs

From: Frank Wunderlich (linux)
Date: Sun Jun 15 2025 - 08:02:44 EST


Am 2025-06-15 12:13, schrieb Lorenzo Bianconi:
Am 2025-06-15 10:57, schrieb Lorenzo Bianconi:
> > From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
> >
> Hi Frank,
>
> I guess my comments on v1 apply even in v2. Can you please take a look?

sure

:)

Am 2025-06-15 10:57, schrieb Lorenzo Bianconi:
> > From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>

I am fine to have it in a separate patch but I would prefer to have this patch
in the same series, I think it is more clear.

I added changes for your and daniels comments to my repo (top 2 commits):

https://github.com/frank-w/BPI-Router-Linux/commits/6.16-mt7988upstream/

i would squash daniels suggestions in this patch here (MAX without __ and fixed
value of 3 to use for the loop - i guess this was intended for this purpose) and
then the change for index in second patch.

> Same here, if you are not listing them in the device tree, you can
> remove them
> in the driver too (and adjust the code to keep the backward
> compatibility).

i plan to use named IRQs on mt7988 without the reserved ones (only rx+tx + RSS IRQs),
and loading not index based.

afaik i have no SHARED_INT board (only mt7621, mt7628) so changing the
index-logic will require testing on such boards too.

I think the change will not heavily impact SHARED_INT devices.

I hope so ;)

Regards,
Lorenzo

regards Frank