[PATCH] powerpc/52xx/media5200: Consolidate chained IRQ handler install/remove

Madhavan Srinivasan maddy at linux.ibm.com
Wed Apr 8 14:28:47 AEST 2026


On Mon, 19 Jan 2026 14:04:50 +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/media5200: Consolidate chained IRQ handler install/remove
      https://git.kernel.org/powerpc/c/1ef8cf10cdbe79823fd6de0f0b93ca996045d1cc

cheers


More information about the Linuxppc-dev mailing list