[PATCH] soc: mediatek: mtk-devapc: release IRQ before unmapping registers
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Nov 17 02:48:07 PST 2026
On Fri, 02 Oct 2026 16:20:28 -0400, Myeonghun Pak wrote:
> The managed IRQ remains registered until devres cleanup after remove
> returns, but remove explicitly unmaps the registers used by its handler.
>
> An interrupt handler already in flight when stop_devapc() is called can
> continue accessing ctx->infra_base after iounmap().
>
> Release and synchronize the IRQ before unmapping the register region.
>
> [...]
Applied to v7.4-next/soc, thanks!
[1/1] soc: mediatek: mtk-devapc: release IRQ before unmapping registers
commit: bf97386b6ba804df2e3a42933a4c955659a4263b
Cheers,
Angelo
More information about the Linux-mediatek
mailing list