freebsd-nq/sys/powerpc
Nathan Whitehorn 0c50edff52 Repair some races in IPI handling:
1. Make sure IPI mask is set before sending the IPI
2. Operate atomically on PS3 PIC outstanding interrupt list
3. Make sure IPIs are EOI'ed before, not after, processing. Without this,
   a second IPI could be sent partway through processing the first one,
   get erroneously acknowledge by the EOI to the first, and be lost. In
   particular in the case of smp_rendezvous(), this can be fatal.

In combination, this makes the PS3 boot SMP again. It probably also fixes
some latent bugs elsewhere.

MFC after:	2 weeks
2014-05-12 02:56:27 +00:00
..
aim Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
booke Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
conf Move the PS3 framebuffer console to use vt instead of syscons and adjust 2014-05-11 05:49:35 +00:00
cpufreq Some style(9) fixes 2013-12-13 05:54:25 +00:00
fpu Fix debug printfs in FPU_EMU to compile on powerpc64 and enable it for 2013-12-05 21:49:14 +00:00
include Small performance optimization. Clobber only cr0, rather than the entire CR. 2014-04-11 06:17:44 +00:00
mambo Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
mpc85xx Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
ofw Correct the order of arguments to mtx_init(). 2014-02-14 11:18:15 +00:00
powermac Clear the backlight level when it's turned off. Also, reduce the delay times to 2014-04-06 23:57:19 +00:00
powerpc Repair some races in IPI handling: 2014-05-12 02:56:27 +00:00
ps3 Repair some races in IPI handling: 2014-05-12 02:56:27 +00:00
pseries Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
psim Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
wii Fix typo. 2013-12-02 22:00:15 +00:00