diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-09-02 15:22:41 +0800 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-10-04 21:15:49 +0000 |
| commit | d4b7b0c77142b3bc535192fa65130474a129c487 (patch) | |
| tree | 8b1069dfaf561ed29d57d1065faf5c82dab16fee /tools/perf/scripts/python/flamegraph.py | |
| parent | 7e17084177aa6c76231c6ee8cdbbcd24f40c86cc (diff) | |
perf: xgene: initialize lock before requesting IRQ
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.
Fixes: 832c927d119b ("perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver")
Cc: stable@vger.kernel.org
Assisted-by: Codex:GPT-5
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
