Re: [PATCH v3 00/19] irqdomain: fix mapping race and clean up locking

From: Johan Hovold
Date: Fri Dec 09 2022 - 11:16:32 EST


Hi Thomas,

On Fri, Dec 09, 2022 at 04:51:00PM +0100, Thomas Gleixner wrote:
> Johan!
>
> On Fri, Dec 09 2022 at 15:01, Johan Hovold wrote:
> > Parallel probing (e.g. due to asynchronous probing) of devices that
> > share interrupts can currently result in two mappings for the same
> > hardware interrupt to be created.
> >
> > This series fixes this mapping race and clean up the irqdomain locking
> > so that in the end the global irq_domain_mutex is only used for managing
> > the likewise global irq_domain_list, while domain operations (e.g.
> > IRQ allocations) use per-domain (hierarchy) locking.
>
> Can you please rebase that on top of:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core

The series is based on next-20221208 which should contain that branch in
its current state if I'm not mistaken.

I just tried applying it on top of irq/core and did not notice any
problems.

Johan