Re: [PATCH] perf: xgene: initialize lock before requesting IRQ
From: Will Deacon
Date: Sun Oct 04 2026 - 18:10:36 EST
On Wed, 02 Sep 2026 15:22:41 +0800, Runyu Xiao wrote:
> xgene_pmu_probe() requests the PMU IRQ before initializing
> xgene_pmu->lock. request_irq() enables IRQ handling before it returns,
> so xgene_pmu_isr() can run in this window and acquire the uninitialized
> raw spinlock.
>
> Initialize the lock before requesting the IRQ so the handler always sees a
> valid lock.
>
> [...]
Applied to arm64 (for-next/perf), thanks!
[1/1] perf: xgene: initialize lock before requesting IRQ
https://git.kernel.org/arm64/c/d4b7b0c77142
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev