diff options
author | Andres Salomon <[email protected]> | 2019-08-22 11:26:31 +0200 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2019-08-30 15:23:30 +0100 |
commit | 9e8e8912b05f276dd02d39cb596dc3cf03718377 (patch) | |
tree | 9b181c816a810b619b7b26a1d482a00684353f74 /tools/perf/util/trace-event-scripting.c | |
parent | a46bc5fd8b205050ebbdccc6d5ca4124edb8dc6c (diff) |
irqchip/mmp: Mask off interrupts from other cores
On mmp3, there's an extra set of ICU registers (ICU2) that handle
interrupts on the extra cores. When masking off interrupts on MP1,
these should be masked as well.
We add a new interrupt controller via device tree to identify when we're
looking at an mmp3 machine via compatible field of "marvell,mmp3-intc".
[[email protected]: Changed "mrvl,mmp3-intc" compatible strings to
"marvell,mmp3-intc". Tidied up the subject line a bit.]
Signed-off-by: Andres Salomon <[email protected]>
Signed-off-by: Lubomir Rintel <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
--
Changes since v1:
- Moved mmp3-specific mmp_icu2_base initialization from mmp_init_bases() to
mmp3_of_init() so that we don't have to check for marvell,mmp3-intc
compatibility twice.
- Drop an superfluous call to irq_set_default_host()
arch/arm/mach-mmp/regs-icu.h | 3 +++
drivers/irqchip/irq-mmp.c | 48 ++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
Signed-off-by: Andres Salomon <[email protected]>
Signed-off-by: Lubomir Rintel <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions