Re: [PATCH] powerpc/44x/uic: Consolidate chained IRQ handler install/remove

From: Madhavan Srinivasan

Date: Wed Apr 08 2026 - 00:31:59 EST


On Mon, 19 Jan 2026 14:35:07 +0800, Chen Ni wrote:
> The driver currently sets the handler data and the chained handler in
> two separate steps. This creates a theoretical race window where an
> interrupt could fire after the handler is set but before the data is
> assigned, leading to a NULL pointer dereference.
>
> Replace the two calls with irq_set_chained_handler_and_data() to set
> both the handler and its data atomically under the irq_desc->lock.
>
> [...]

Applied to powerpc/next.

[1/1] powerpc/44x/uic: Consolidate chained IRQ handler install/remove
https://git.kernel.org/powerpc/c/5716cacebac887b45091c658caa6d1ea25c238dc

cheers