Skip to content

Commit

Permalink
[IA64] Save register stack contents on cpu start
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Jack Steiner authored and Tony Luck committed Sep 8, 2006
1 parent 2636255 commit 1c7d670
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/ia64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 1c7d670

Please sign in to comment.