* INIT handler return does not work
@ 2006-01-10 15:36 Francois WELLENREITER
0 siblings, 0 replies; only message in thread
From: Francois WELLENREITER @ 2006-01-10 15:36 UTC (permalink / raw)
To: linux-ia64
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
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
[-- Attachment #2: correct_init_return.patch --]
[-- Type: text/x-patch, Size: 446 bytes --]
--- linux-2.6.15_reference/arch/ia64/kernel/mca_asm.S 2006-01-03 04:21:10.000000000 +0100
+++ linux-2.6.15_modified/arch/ia64/kernel/mca_asm.S 2006-01-10 16:10:31.000000000 +0100
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-10 15:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-10 15:36 INIT handler return does not work Francois WELLENREITER
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox