]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
HACK: Enable evtchn and timer IRQ on secondary CPUs
authorJulien Grall <julien.grall@linaro.org>
Wed, 14 May 2014 18:45:02 +0000 (19:45 +0100)
committerJulien Grall <julien.grall@linaro.org>
Sun, 12 Apr 2015 11:08:17 +0000 (12:08 +0100)
sys/arm/arm/gic.c

index 607e02ad2cdd953f37f7f3c3bcd82f507af35748..7e5e08317b6f3d46a200351770b40e1c5b7d11a0 100644 (file)
@@ -194,6 +194,8 @@ gic_init_secondary(device_t dev)
        gic_d_write_4(sc, GICD_ISENABLER(27 >> 5), (1UL << (27 & 0x1F)));
        gic_d_write_4(sc, GICD_ISENABLER(29 >> 5), (1UL << (29 & 0x1F)));
        gic_d_write_4(sc, GICD_ISENABLER(30 >> 5), (1UL << (30 & 0x1F)));
+       /* Activate IRQ 31, ie private evtchn IRQ */
+       gic_d_write_4(sc, GICD_ISENABLER(31 >> 5), (1UL << (31 & 0x1F)));
 }
 
 #if 0