From: Francois WELLENREITER <francois.wellenreiter@bull.net>
To: linux-ia64@vger.kernel.org
Subject: INIT handler return does not work
Date: Tue, 10 Jan 2006 15:36:46 +0000 [thread overview]
Message-ID: <43C3D48E.5040206@bull.net> (raw)
[-- 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
reply other threads:[~2006-01-10 15:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43C3D48E.5040206@bull.net \
--to=francois.wellenreiter@bull.net \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox