[PATCH] PPC64 iSeries fails to boot

Stephen Rothwell sfr at canb.auug.org.au
Sun Jun 27 21:24:35 EST 2004


Hi Andrew, Linus,

Jeremy Katz of Red Hat reported that his iSeries machine would not boot
with 2.6.7 based kernels.  It appears that with the inclusion of Paul
Mackerras' patch "Optimize exception/syscall entry/exit" a small previous
patch got reverted.  Here is that patch again.  The lack of this patch
does not stop all iSeries machines booting, but it does stop some.

Please apply.

Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>

--
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.6.7-bk9/arch/ppc64/kernel/head.S 2.6.7-bk9.head/arch/ppc64/kernel/head.S
--- 2.6.7-bk9/arch/ppc64/kernel/head.S	2004-06-27 13:31:01.000000000 +1000
+++ 2.6.7-bk9.head/arch/ppc64/kernel/head.S	2004-06-27 20:22:13.000000000 +1000
@@ -631,6 +631,9 @@
 	.globl SystemReset_Iseries
 SystemReset_Iseries:
 	mfspr	r13,SPRG3		/* Get paca address */
+	mfmsr	r24
+	ori	r24,r24,MSR_RI
+	mtmsrd	r24			/* RI on */
 	lhz	r24,PACAPACAINDEX(r13)	/* Get processor # */
 	cmpwi	0,r24,0			/* Are we processor 0? */
 	beq	.__start_initialization_iSeries	/* Start up the first processor */

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list