[PATCH] perf: xgene: initialize lock before requesting IRQ

Will Deacon will at kernel.org
Sun Oct 4 15:09:18 PDT 2026


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



More information about the linux-arm-kernel mailing list