summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMagnus Lindholm <linmag7@gmail.com>2026-07-06 18:56:46 +0200
committerMagnus Lindholm <linmag7@gmail.com>2026-07-19 13:16:15 +0200
commit3e4c9102e0af08f1d0206a59f0f9962964ae2193 (patch)
tree568f4e9ddd804432c0eed5ebcc8f0a03f7e5c53e /tools/perf/scripts/python
parentcfdf5b879d092ef277a0a657278f7f7f47be8adc (diff)
alpha: use raw spinlocks for low-level platform locks
Some Alpha platform locks are used as low-level hardware serialization locks in interrupt-controller and chipset access paths. These paths can run while IRQ state is being changed or while lockdep is tracking that state, so regular spinlock instrumentation is not appropriate once lockdep is enabled. Convert the affected Tsunami and Rawhide platform locks to raw_spinlock_t. This keeps the locks as simple hardware serialization locks and avoids lockdep recursion or IRQ-state mismatches when CONFIG_PROVE_LOCKING is enabled. This is a preparatory change for enabling lockdep hardirq state tracking on Alpha. Reviewed-by: Matt Turner <mattst88@gmail.com> Tested-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Magnus Lindholm <linmag7@gmail.com> Link: https://lore.kernel.org/r/20260706170019.2941459-6-linmag7@gmail.com Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions