Re: [PATCH 00/39] irqdomain: Simplify interrupt handling

From: Marc Zyngier
Date: Mon May 24 2021 - 04:53:14 EST


On Fri, 21 May 2021 00:33:58 +0100,
Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>
> On Thu, May 20, 2021 at 6:37 PM Marc Zyngier <maz@xxxxxxxxxx> wrote:
>
> > Wouldn't it be nice if the irqdomain
> > would cache the irq_desc instead of forcing the core code to look it
> > up on each and every interrupt? This is what this long series is all
> > about.
>
> For gpio and pinctrl bulk conversions:
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks for that.

> I agree that Rob's idea to create a bitmap walker may be helpful
> if you have the energy for it, but this as a whole is nevertheless
> good.

I'll look into that once I figure out a good solution for handling
errors, which the caller should most probably be made aware of.

> Do they have to be applied en masse?

Not necessarily. As long as the initial infrastructure is in place,
maintainers can take the subsequent patches on their own time, as all
the original APIs are preserved.

> I think there could be some clashes and new drivers that will
> create weirdness in that case so an immutable branch for
> maintainers to pull in will be needed if you want it all in the
> next merge window.
>
> Unless you plan to merge the bottom
> patches and then let subsystem maintainers convert each
> subsystem in the next merge window.
>
> Or a base to be pulled in and then each subsystem can
> apply the bulk conversion to their subsystem only.

This last option is my preferred approach for busy subsystems. I'm
happy to take care of irqchip and of the quieter architectures such as
NIOS2 and SH, and leave the rest to their respective maintainers.

Thanks,

M.

--
Without deviation from the norm, progress is not possible.