Skip to contentSkip to conversation

mfd: mt6358: Using a single IRQ array instead of two companion arrays?

RFC Markus Elfring 2 participants 3 messages Nov 19, 2025 – Nov 20, 2025 Arm MediaTek

lore
Share & tools
lore
#2 lore raw
Quoted 7 lines
Quoted 5 lines

I have taken another look also at the implementation of the function “mt6358_irq_init”.
https://elixir.bootlin.com/linux/v6.18-rc6/source/drivers/mfd/mt6358-irq.c#L227-L293

I see that there are two arrays allocated so far.
How do you think about the possibility to use a single array with the needed data instead?

It'll be easier if you just submit the patch.

I would appreciate to clarify before if the adjustment of array usage can influence software run time characteristics in desirable directions here.
https://elixir.bootlin.com/linux/v6.18-rc6/source/include/linux/mfd/mt6358/core.h#L19-L26

Regards,
Markus