freebsd-dev/sys/arm
Andrew Turner e81032ad24 Fix a lock up where we enter swapper() with interrupts disabled.
In smp_rendezvous_cpus we expect to wait for all cpus to enter
smp_rendezvous_action. If we call this holding a proc lock swapper may
attempt to also lock it, however as interrupts are disabled the cpu never
handles the ipi. Because smp_rendezvous_action waits for all signaled
cpus before contining it may get caught waiting for the cpu running swapper
as the proc mutex will be unlocked after smp_rendezvous_cpus finishes.

The fix is to enable interrupts in the configure stage as we should be
doing.

MFC after:	1 week
2015-05-23 23:08:16 +00:00
..
allwinner Add the MMC/SD driver for Allwinner SoCs. 2015-05-21 17:39:42 +00:00
altera/socfpga Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
amlogic/aml8726 CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
annapurna/alpine More tr -d '\r' t make config happy and 2015-05-16 20:04:49 +00:00
arm Fix a lock up where we enter swapper() with interrupts disabled. 2015-05-23 23:08:16 +00:00
at91 Need to handle the !FDT case still too... I thought in r270025 we 2015-05-22 05:02:53 +00:00
broadcom/bcm2835 Fix the SMP initialization on RPi 2 (BCM2836). 2015-05-13 01:48:47 +00:00
cavium/cns11xx Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
conf Switch TI platform support code from using FreeBSD's custom-baked DTS 2015-05-22 03:16:18 +00:00
freescale CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
include Export the eflags field from the elf header. This allows better 2015-05-22 20:50:35 +00:00
lpc Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
mv Include vm/pmap.h for pmap_kextract. 2015-04-04 23:03:11 +00:00
qemu Use the new gic option. While here remove extra whitespace from the ned of 2015-05-10 09:37:54 +00:00
rockchip Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
samsung Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
ti Remove an unused header. 2015-05-23 14:48:03 +00:00
versatile Include vm/pmap.h for pmap_kextract. 2015-04-04 23:03:11 +00:00
xilinx Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
xscale Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00