* [PATCH] - Save register stack contents on cpu start
@ 2006-08-31 16:34 Jack Steiner
0 siblings, 0 replies; only message in thread
From: Jack Steiner @ 2006-08-31 16:34 UTC (permalink / raw)
To: linux-ia64
The SN PROM uses the register stack in the slave loop. The contents
must be preserved for the OS to return to the slave loop via offlining
a cpu or for kexec. A 'flushrs" is needed to force the stack to be written
to memory prior to changing bspstore.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Index: linux/arch/ia64/kernel/head.S
=================================--- linux.orig/arch/ia64/kernel/head.S 2006-08-31 11:14:49.000000000 -0500
+++ linux/arch/ia64/kernel/head.S 2006-08-31 11:20:37.405590270 -0500
@@ -197,6 +197,11 @@ start_ap:
;;
srlz.i
;;
+ {
+ flushrs // must be first insn in group
+ srlz.i
+ }
+ ;;
/*
* Save the region registers, predicate before they get clobbered
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-31 16:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 16:34 [PATCH] - Save register stack contents on cpu start Jack Steiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox