[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176959784390.2069162.369898481051336357.b4-ty@kernel.org>
Date: Wed, 28 Jan 2026 12:01:31 +0100
From: "Christophe Leroy (CS GROUP)" <chleroy@...nel.org>
To: qiang.zhao@....com,
Chen Ni <nichen@...as.ac.cn>
Cc: Christophe Leroy <chleroy@...nel.org>,
linuxppc-dev@...ts.ozlabs.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] soc: fsl: qe: qe_ports_ic: Consolidate chained IRQ handler install/remove
On Mon, 19 Jan 2026 13:57:15 +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, thanks!
[1/1] soc: fsl: qe: qe_ports_ic: Consolidate chained IRQ handler install/remove
Best regards,
--
Christophe Leroy (CS GROUP) <chleroy@...nel.org>
Powered by blists - more mailing lists