linux/arch
Paul Mackerras d6a29252ad [POWERPC] Fix secondary CPU startup on old "powersurge" SMP powermacs
On the old "powersurge" SMP powermacs, the second CPU is started up
by sending it an IPI, which has the side effect of stopping the
timebase clock (so the secondary CPU's timebase can be synchronized
with the primary's).  The routine that did this used udelay, which
will hang forever when the timebase is stopped, since udelay now spins
until the timebase reaches a certain value.

The end result is that the kernel would hang when bringing up the
second CPU.  This fixes it by using a simple loop which just does a
fixed number of iterations to generate the delay.  These old systems
were all clocked at around 200 MHz or so, so a fixed number of
iterations is acceptable.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-10 13:51:00 +10:00
..
alpha [PATCH] fallout from alpha pt_regs patches 2006-10-09 14:19:07 -07:00
arm IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
arm26 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
avr32 [PATCH] AVR32: Allow renumbering of serial devices 2006-10-04 10:25:06 -07:00
cris more misc typo fixes 2006-10-03 22:34:14 +02:00
frv IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
h8300 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
i386 Merge branch 'irqclean-submit1' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 2006-10-09 14:21:45 -07:00
ia64 Merge git://git.infradead.org/~dhowells/irq-2.6 2006-10-09 14:29:26 -07:00
m32r [PATCH] m32r pt_regs fixes 2006-10-07 10:51:15 -07:00
m68k [PATCH] m68k/MVME167: SERIAL167 is no longer broken 2006-10-09 14:54:46 -07:00
m68knommu Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mips IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
parisc [PARISC] More pt_regs removal 2006-10-07 06:01:11 -06:00
powerpc [POWERPC] Fix secondary CPU startup on old "powersurge" SMP powermacs 2006-10-10 13:51:00 +10:00
ppc [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
s390 [PATCH] s390 traps.c __user annotations 2006-10-09 14:19:08 -07:00
sh fix file specification in comments 2006-10-03 23:01:26 +02:00
sh64 fix file specification in comments 2006-10-03 23:01:26 +02:00
sparc IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
sparc64 [PATCH] sparc64 irq pt_regs fallout 2006-10-09 14:19:07 -07:00
um IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
v850 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
x86_64 [PATCH] x86_64 irq: Scream but don't die if we receive an unexpected irq 2006-10-09 14:51:43 -07:00
xtensa fix file specification in comments 2006-10-03 23:01:26 +02:00