INIT handler return does not work
Hi everyone,
first of all, my best wishes for this new year 2006.
Second, I have worked on INIT handler code for BULL NovaScale machines and it appeared that return code do not work well due to a false argument returned by OS_INIT function (in fact the pal_min_state pointer physical address [recorded in r22 register] is not uncached as it is specified).
The reason is that the computation of this register is not well done, we have a virtual address in region 6 (souding like 0xC00000007F.....) to be converted into an uncached physical address (0x800000007F....). I think that the patch in attachment with this mail may correct this error. Best regards,
Francois WELLENREITER
arch/ia64/kernel/mca_asm.S +1 -1
@@ -847,7 +847,7 @@ ;; mov cr.iim=temp3 mov cr.iha=temp4 - dep r22=0,r22,62,2 // pal_min_state, physical, uncached + dep r22=0,r22,62,1 // pal_min_state, physical, uncached mov IA64_KR(CURRENT)=r21 ld8 r8=[temp1] // os_status ld8 r10=[temp2] // context