[2.5] [PATCH] Don't loop looking for free SLB entries in do_slb_bolted

Anton Blanchard anton at samba.org
Fri Dec 12 16:51:11 EST 2003


> Its been soaking on a large box for a while now. Its completely untested
> on POWER3 however :)

And we popped a bug in the patch. The valid bit is in the correct spot,
no idea what we were moving from 2^11 (I suspect it was my bad spec
reading).

Anton


diff -puN arch/ppc64/kernel/head.S~debug_slb_rewrite arch/ppc64/kernel/head.S
--- foo_work/arch/ppc64/kernel/head.S~debug_slb_rewrite	2003-12-11 15:51:17.110465423 -0600
+++ foo_work-anton/arch/ppc64/kernel/head.S	2003-12-11 15:51:31.704685017 -0600
@@ -997,7 +997,9 @@ SLB_NUM_ENTRIES = 64
 	 * non recoverable point (after setting srr0/1) - Anton
 	 */
 	slbmfee	r21,r22
+#if 0
 	insrdi	r21,r21,12,36		/* move valid bit 2^11 to 2^27 */
+#endif
 	srdi	r21,r21,27
 	/*
 	 * This is incorrect (r1 is not the kernel stack) if we entered

_

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





More information about the Linuxppc64-dev mailing list