Skip to content

Commit 0889912

Browse files
andreamerelloanholt
authored andcommitted
irq-bcm2835: enable IPIs for SMP on BCM2836.
Signed-off-by: Andrea Merello <[email protected]>
1 parent 990f7b8 commit 0889912

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/irqchip/irq-bcm2835.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
#define LOCAL_PM_ROUTING_SET 0x010
8080
#define LOCAL_PM_ROUTING_CLR 0x014
8181
#define LOCAL_TIMER_INT_CONTROL0 0x040
82+
#define LOCAL_MAILBOX_INT_CONTROL0 0x050
8283
#define LOCAL_IRQ_PENDING0 0x060
8384
#define LOCAL_MAILBOX0_SET0 0x080
8485
#define LOCAL_MAILBOX0_CLR0 0x0c0
@@ -293,6 +294,8 @@ static int __init armctrl_2836_of_init(struct device_node *node,
293294
}
294295

295296
#ifdef CONFIG_SMP
297+
/* unmask IPIs */
298+
armctrl_unmask_per_cpu_irq(LOCAL_MAILBOX_INT_CONTROL0, 1);
296299
set_smp_cross_call(armctrl_send_ipi);
297300
#endif
298301

0 commit comments

Comments
 (0)