[POWERPC] cell: Support pinhole-reset on IBM cell blades
authorArnd Bergmann <arnd@arndb.de>
Wed, 22 Aug 2007 17:01:26 +0000 (03:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 25 Aug 2007 06:58:26 +0000 (16:58 +1000)
commit3addf55c9415f9da039947b33d064332137e49fe
tree27d4984020eb684690202545fb6938f5f24390b2
parentfa7f374bbf6d8e5fc7dd281a62498041066aaf43
[POWERPC] cell: Support pinhole-reset on IBM cell blades

The Cell Broadband Engine has a method of injecting a
system-reset-exception from an external source into the
operating system, which should trigger the regular behaviour
of entering xmon or kdump.

Unfortunately, the exception handler cannot distinguish it from
other interrupt causes by the SRR1 register, which gets used
for this on Power 6 and others.

IBM Blade servers that want to support triggering the
system reset exception using a pinhole button in the front
panel therefore use an extra register to determine the
reset cause.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
--
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/cbe_regs.h
arch/powerpc/platforms/cell/pervasive.c