diff options
author | Grzegorz Jaszczyk <[email protected]> | 2014-09-25 13:17:19 +0200 |
---|---|---|
committer | Jason Cooper <[email protected]> | 2014-11-02 01:31:10 +0000 |
commit | 758e8366754d3fa57da978fef9d2c652f7b55c02 (patch) | |
tree | 9ef9ea237bac7ce06e1e472905d128b72a0d8bf5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 298dcb2dd0267d51e4f7c94a628cd0765a50ad75 (diff) |
irqchip: armada-370-xp: Fix MPIC interrupt handling
In both Armada-375 and Armada-38x MPIC interrupts should be identified by
reading cause register multiplied by the interrupt mask.
A lack of above mentioned multiplication resulted in a bug, caused by the
fact that in Armada-375 and Armada-38x some of the interrupts
(e.g. network interrupts) can be handled either as a GIC or MPIC interrupts.
Therefore during MPIC interrupts handling, cause register shows hits from
interrupts even if they are masked for MPIC but unmasked for a GIC.
This resulted in 'bad IRQ' error, because masked MPIC interrupt without
registered interrupt handler, was trying to be handled during interrupt
handling procedure of some other unmasked MPIC interrupt (e.g. local timer
irq).
This commit fixes that by ensuring that during MPIC interrupt handling only
interrupts that are unmasked for MPIC are processed.
Signed-off-by: Grzegorz Jaszczyk <[email protected]>
Reviewed-by: Gregory CLEMENT <[email protected]>
Fixes: bc69b8adfe22 ("irqchip: armada-370-xp: Setup a chained handler for the MPIC")
Cc: <[email protected]> # v3.15+
Acked-by: Ezequiel Garcia <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions