diff options
author | Marc Zyngier <maz@kernel.org> | 2021-10-21 18:04:13 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-26 11:19:38 +0100 |
commit | dd098a0e031928cf88c89f7577d31821e1f0e6de (patch) | |
tree | 91d593ebe27df71fa063e8a610610be27e2981ae /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | eb5411334c289c473bc11d5cef8b0bea8d7ce324 (diff) |
irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
The MIPS GIC driver uses irq_cpu_online() to go and program the
per-CPU interrupts. However, this method iterates over all IRQs
in the system, despite only 3 per-CPU interrupts being of interest.
Let's be terribly bold and do the iteration ourselves. To ensure
mutual exclusion, hold the gic_lock spinlock that is otherwise
taken while dealing with these interrupts.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/20211021170414.3341522-3-maz@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions