diff options
author | Rabin Vincent <[email protected]> | 2015-06-12 10:01:56 +0200 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2015-06-13 11:33:00 +0200 |
commit | 1b3ed367ce11fb39a345d807ef4168f727236083 (patch) | |
tree | be2d9178cc1b9503d664e099de37fd87134ecbaf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9cc719ab3f4f639d629ac8ff09e9b998bc006f68 (diff) |
IRQCHIP: mips-gic: Don't nest calls to do_IRQ()
The GIC chained handlers use do_IRQ() to call the subhandlers. This
means that irq_enter() calls get nested, which leads to preempt count
looking like we're in nested interrupts, which in turn leads to all
system time being accounted as IRQ time in account_system_time().
Fix it by using generic_handle_irq(). Since these same functions are
used in some systems (if cpu_has_veic) from a low-level vectored
interrupt handler which does not go throught do_IRQ(), we need to do it
conditionally.
Signed-off-by: Rabin Vincent <[email protected]>
Reviewed-by: Andrew Bresticker <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/10545/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions