Re: [PATCH] powerpc/52xx/mpc52xx_gpt: consolidate chained IRQ handler install/remove
From: Madhavan Srinivasan
Date: Wed Apr 08 2026 - 00:33:06 EST
On Mon, 19 Jan 2026 14:12:32 +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/52xx/mpc52xx_gpt: consolidate chained IRQ handler install/remove
https://git.kernel.org/powerpc/c/7593721cd7c1315557956d5241bbb65fb33115eb
cheers