]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the arm call to intr_pic_init_secondary earlier in the secondary CPU
authorandrew <andrew@FreeBSD.org>
Tue, 14 Jun 2016 16:41:39 +0000 (16:41 +0000)
committerandrew <andrew@FreeBSD.org>
Tue, 14 Jun 2016 16:41:39 +0000 (16:41 +0000)
commitfca40282bdcb0e3e93b17942f42fb76c7ace4c1e
tree28afbcc0d518cd24c42b0ee9c17b754ffa5ac805
parent107ea631d3524a5b7c33054071b7d31b92cbed07
Move the arm call to intr_pic_init_secondary earlier in the secondary CPU
initialisation. This ensures it will complete before signalling to the boot
CPU it has booted. This fixes a race with the GIC where the arm_gic_map may
not be populated before it is used to bind interrupts leading to some
interrupts becoming bound to no CPUs.

Approved by: re (kib)
Sponsored by: ABT Systems Ltd
sys/arm/arm/mp_machdep.c