summaryrefslogtreecommitdiff
path: root/lib/sg_pool.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2019-08-22 12:26:31 +0300
committerMarc Zyngier <maz@kernel.org>2019-08-30 17:23:30 +0300
commit9e8e8912b05f276dd02d39cb596dc3cf03718377 (patch)
tree9b181c816a810b619b7b26a1d482a00684353f74 /lib/sg_pool.c
parenta46bc5fd8b205050ebbdccc6d5ca4124edb8dc6c (diff)
downloadlinux-9e8e8912b05f276dd02d39cb596dc3cf03718377.tar.xz
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". [lkundrak@v3.sk: Changed "mrvl,mmp3-intc" compatible strings to "marvell,mmp3-intc". Tidied up the subject line a bit.] Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20190822092643.593488-9-lkundrak@v3.sk -- 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 <dilinger@queued.net> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20190822092643.593488-9-lkundrak@v3.sk
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions