Thread (41 messages) 41 messages, 6 authors, 2023-01-16

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

From: Johan Hovold <johan@kernel.org>
Date: 2023-01-16 13:58:12
Also in: linux-mips, lkml, platform-driver-x86

On Tue, Dec 20, 2022 at 11:30:42AM +0800, Mark-PK Tsai wrote:
quoted
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.
Tested-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>

We have the same issue and this patch series fix that.
Thanks!

Link: https://lore.kernel.org/lkml/20221219130620.21092-1-mark-pk.tsai@mediatek.com/ (local)
Thanks for confirming. I just sent a v4 with a couple of clarifying
comments added to the final patch.

Johan

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help