summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-02-23 21:47:09 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-02-23 21:47:09 +0000
commitd8b8e34c0941caadb05671ae0aa2cb5f0276240d (patch)
tree09e5c16e753280b4412636697c46e80456c555dc /sys/arch
parent42062fa7e00cf3cac8b43034c4ddd41d12409946 (diff)
Disable mailbox interrupts on all cores upon attach instead of enabling the
mailbox 0 interrupt on all cores. Seems to make GENERIC.MP work on the rpi3.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/dev/bcm2836_intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/dev/bcm2836_intr.c b/sys/arch/arm64/dev/bcm2836_intr.c
index c2275960f4c..27e45923fae 100644
--- a/sys/arch/arm64/dev/bcm2836_intr.c
+++ b/sys/arch/arm64/dev/bcm2836_intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2836_intr.c,v 1.6 2018/02/01 07:41:33 deraadt Exp $ */
+/* $OpenBSD: bcm2836_intr.c,v 1.7 2018/02/23 21:47:08 kettenis Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
@@ -201,7 +201,7 @@ bcm_intc_attach(struct device *parent, struct device *self, void *aux)
ARM_LOCAL_INT_TIMER(i), 0);
for (i = 0; i < 4; i++)
bus_space_write_4(sc->sc_iot, sc->sc_lioh,
- ARM_LOCAL_INT_MAILBOX(i), 1);
+ ARM_LOCAL_INT_MAILBOX(i), 0);
for (i = 0; i < INTC_NIRQ; i++) {
TAILQ_INIT(&sc->sc_bcm_intc_handler[i].is_list);