Re: [PATCH v2 0/2] irqchip: convert ls-extirq to a platform driver

From: Ioana Ciornei

Date: Wed Jan 14 2026 - 07:00:38 EST


On Tue, Jan 13, 2026 at 09:20:02PM +0100, Thomas Gleixner wrote:
> On Tue, Jan 13 2026 at 20:43, Vladimir Oltean wrote:
> > On Tue, Jan 13, 2026 at 07:36:48PM +0100, Thomas Gleixner wrote:
> >> Yes. I've marked it "wait for update" and that's the state since
> >> Dec. 5th.
> >
> > Thanks for the response. I've since looked at the code, and Alexander's
> > cleanups are more than "nice", they are required, because when you
> > convert a driver from IRQCHIP_DECLARE() to platform_driver, you
> > introduce the possibility for it to be unbound from the device, and when
> > you do that, the memory that ls_extirq_probe() has allocated needs to be
> > freed.
>
> Oh, didn't look in that detail. Thanks for catching it!
>
> > Ioana, Alexander, could you please start a discussion to see who can
> > submit the follow up to this thread?
>
> Yes please.

What I propose is for me to submit a v3 which squashes Alexander's 3/3
patch (the managed resource changes) into this 2/2 patch.

The alternative would be to extend this 2/2 patch by adding a .remove()
callback only for it to be removed in the next patch which does the
conversion to devres. I don't think that is necessary or even desired.

Alexander, please let me know if you have any objections to this
approach.

Ioana