Thread (44 messages) 44 messages, 3 authors, 2023-02-09

Re: [PATCH v4 04/19] irqdomain: Fix association race

From: Thomas Gleixner <hidden>
Date: 2023-01-17 23:35:28
Also in: linux-mips, lkml, platform-driver-x86

On Mon, Jan 16 2023 at 14:50, Johan Hovold wrote:
The sanity check for an already mapped virq was done outside of the
s/was/is/
irq_domain_mutex-protected section which meant that an (unlikely) racing
s/meant/means/
association may not be detected.
You describe the status quo and then correctly what the fix is:
Fix this by factoring out the association implementation, which will
also be used in follow-on changes to rework the locking.
Otherwise your fix fixes something which existed in the past, no?

Thanks,

        tglx

_______________________________________________
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